Pomoc MediaWiki API
To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_pag
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
- This parameter is required.
- toid
The ID to merge to
- This parameter is required.
- 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
- This parameter is required.
- Łączy dane z Q42 do Q222
- api.php?action=wbmergeitems&fromid=Q42&toid=Q222 [otwórz w brudnopisie]
- Łączy dane z Q555 do Q3
- api.php?action=wbmergeitems&fromid=Q555&toid=Q3 [otwórz w brudnopisie]
- Merges data from Q66 into Q99 ignoring any conflicting sitelinks
- api.php?action=wbmergeitems&fromid=Q66&toid=Q99&ignoreconflicts=sitelink [otwórz w brudnopisie]
- Merges data from Q66 into Q99 ignoring any conflicting sitelinks and descriptions
- api.php?action=wbmergeitems&fromid=Q66&toid=Q99&ignoreconflicts=sitelink|description [otwórz w brudnopisie]