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=wbleditsenseelements
- Ez a modul belső használatú vagy nem stabil. A működése értesítés nélkül változhat.
- 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: WikibaseLexeme
- Licenc: GPL-2.0-or-later
Edits glosses of a Sense
- senseId
ID of the Sense, e.g. L10-S2
- Ez a paraméter kötelező.
- data
JSON-encoded gloss data
- Ez a paraméter kötelező.
- baserevid
Base Revision ID of the Lexeme, if sense elements edit conflict check is wanted.
- Típus: egész szám
Change tags to apply to the revision.
- Értékek (elválasztó: | vagy más): openrefine-3.7, openrefine-3.8, openrefine-3.9, openrefine-3.9.5, openrefine-3.10
- bot
Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "botok".
- Típus: logikai (részletek)
- 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)
- token
Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- Ez a paraméter kötelező.
- Edits Sense with the ID L12-S1 to have glosses the property of an object of producing different sensations on the eye, Eigenschaft eines Objekts, verschiedene Sinneseindrücke im Auge zu verursachen in languages en, de respectively.
- api.php?action=wbleditsenseelements&senseId=L12-S1&data={"glosses":{"en":{"value":"the property of an object of producing different sensations on the eye","language":"en"},"de":{"value":"Eigenschaft eines Objekts, verschiedene Sinneseindr\u00fccke im Auge zu verursachen","language":"de"}}} [megnyitás a homokozóban]