MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wbmergeitems
- Ez a modul olvasási jogot igényel.
- Ez a modul írási jogot igényel.
- Ez a modul csak POST kéréseket fogad el.
- Forrás: WikibaseClient
- Licenc: GPL-2.0-or-later
Merges multiple items.
- fromid
A forráslap azonosítója
- Ez a paraméter kötelező.
- toid
A céllap azonosítója
- Ez a paraméter kötelező.
- ignoreconflicts
Array of elements of the item to ignore conflicts for. Can only contain values of "description", "sitelink" and "statement"
- Értékek (elválasztó: | vagy más): description, sitelink, statement
- summary
A szerkesztési összefoglaló. Elé kerül egy automatikusan generált megjegyzés. Az automatikus megjegyzés és az összefoglaló együttes hossza legfeljebb 260 bájt (az ékezetes karakterek két bájtot foglalnak el). A limitet túllépő összefoglaló vége le lesz vágva.
Change tags to apply to the revisions.
- Értékek (elválasztó: | vagy más):
- bot
A szerkesztés botszerkesztésnek jelölése. Csak akkor van hatása, ha a felhasználó tagja a „botok” csoportnak.
- Típus: logikai (részletek)
- token
Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- Ez a paraméter kötelező.
- 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.
- Típus: lapcím
- Nemlétező oldalakat is elfogad
- 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.
- Alapértelmezett: (üres)
- 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.
- Alapértelmezett: (üres)
- A Q42 elem beolvasztása a Q222 elembe
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999 [megnyitás a homokozóban]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink [megnyitás a homokozóban]
- Merges data from Q999999998 into Q999999999 ignoring any conflicting sitelinks and descriptions
- api.php?action=wbmergeitems&fromid=Q999999998&toid=Q999999999&ignoreconflicts=sitelink|description [megnyitás a homokozóban]