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

meta=wikibase (wb)

(main | query | wikibase)
  • Ten moduł wymaga praw odczytu.
  • Źródło: WikibaseClient
  • Licencja: GPL-2.0-or-later

Get information about the Wikibase client and the associated Wikibase repository.

Parametr:
wbprop

Which properties to get:

url
Base URL, script path and article path of the Wikibase repository.
siteid
The siteid of this site.
Wartości (oddziel za pomocą | lub alternatywy): siteid, url
Default: url|siteid
Przykład:
Get URL path and other information about Wikibase client and repository.
api.php?action=query&meta=wikibase [otwórz w brudnopisie]