Pomoc API MediaWiki

To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wbmergeitems

(main | wbmergeitems)
  • Ten moduł wymaga praw odczytu.
  • Ten moduł wymaga praw zapisu.
  • Ten moduł akceptuje tylko żądania POST.
  • Źródło: WikibaseClient
  • Licencja: GPL-2.0-or-later

Łączy wiele elementów.

Parametry:
fromid

The ID to merge from

Ten parametr jest wymagany.
toid

The ID to merge to

Ten parametr jest wymagany.
ignoreconflicts

Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"

Wartości (oddziel za pomocą | lub alternatywy): description, sitelink, statement
summary

Summary for the edit. Will be prepended by an automatically generated comment. The length limit of the autocomment together with the summary is 260 characters. Be aware that everything above that limit will be cut off.

bot

Oznacz tę zmianę jako wykonaną przez bota. Ten znacznik adresu URL będzie brany pod uwagę tylko, jeśli użytkownik należy do grupy „bot”.

Type: boolean (details)
token

Token „csrf” pobrany z action=query&meta=tokens

Ten parametr jest wymagany.