MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbmergeitems
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- ソース: WikibaseClient
- ライセンス: GPL-2.0-or-later
Merges multiple items.
- fromid
統合元の ID
- この変数は必須です。
- toid
統合先の ID
- この変数は必須です。
- ignoreconflicts
Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"
- 値 (| または別の文字列で区切る): 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
Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".
- 型: 真偽値 (詳細)
- token
action=query&meta=tokens から取得した「csrf」トークン
- この変数は必須です。
- returnto
ページ名。編集内容の保存時に仮アカウントが作成された場合、API はクライアントがログインを完了するためにアクセスすべき URL を返すことがあります。このパラメーターが指定されている場合、その URL は編集されたページではなく、指定されたページにリダイレクトされます。
- タイプ : ページタイトル
- 存在しないページでも可。
- returntoquery
URL クエリパラメーター (先頭に ? を付けて指定)。編集の保存時に仮アカウントが作成された場合、API はクライアントがログインを完了するためにアクセスすべき URL を返すことがあります。このパラメーターが指定されていると、その URL は指定されたクエリパラメーター付きのページへリダイレクトされます。
- 既定値: (空)
- 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.
- 既定値: (空)
- Merges data from Q999999998 into Q999999999
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [サンドボックスで開く]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [サンドボックスで開く]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks and descriptions
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [サンドボックスで開く]