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
- 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.
- 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.
Change tags to apply to the revisions.
- Wartości (oddziel za pomocą | lub alternatywy):
- 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”.
- Typ: wartość boolowska (szczegóły)
- token
Token „csrf” pobrany z action=query&meta=tokens
- Ten parametr jest wymagany.
- returnto
Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.
- Typ: nazwa strony
- Akceptuje nieistniejące strony.
- returntoquery
URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.
- Domyślnie: (puste)
- returntoanchor
URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.
- Domyślnie: (puste)
- Łączy dane z Q999999998 do Q999999999
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [otwórz w brudnopisie]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [otwórz w brudnopisie]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks and descriptions
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [otwórz w brudnopisie]