Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wblinktitles
- Tento modul vyžaduje oprávnění ke čtení.
- Tento modul vyžaduje oprávnění k zápisu.
- Tento modul přijímá pouze požadavky POST.
- Zdroj: WikibaseClient
- Licence: GPL-2.0-or-later
Associates two pages on two different wikis with a Wikibase item.
- tosite
An identifier for the site on which the page resides. Use together with totitle to make a complete sitelink.
- This parameter is required.
- Jedna z následujících hodnot:
- totitle
Title of the page to associate. Use together with tosite to make a complete sitelink.
- This parameter is required.
- fromsite
An identifier for the site on which the page resides. Use together with fromtitle to make a complete sitelink.
- This parameter is required.
- Jedna z následujících hodnot:
- fromtitle
Title of the page to associate. Use together with fromsite to make a complete sitelink.
- This parameter is required.
- token
Token typu „csrf“ získaný pomocí action=query&meta=tokens.
- This parameter is required.
- bot
Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".
- Type: boolean (details)
- Add a link "Hydrogen" from the English page to "Wasserstoff" at the German page
- api.php?action=wblinktitles&fromsite=enwiki&fromtitle=Hydrogen&tosite=dewiki&totitle=Wasserstoff [otevřít v pískovišti]