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
prop=description (desc)
- 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.
- Forrás: WikibaseClient
- Licenc: GPL-2.0-or-later
Get a short description a.k.a. subtitle explaining what the target page is about.
The description is plain text, on a single line, but otherwise arbitrary (potentially including raw HTML tags, which also should be interpreted as plain text). It must not be used in HTML unescaped!
Jellemző paraméterek:
Other general parameters are available.
- desccontinue
Ha további eredmények érhetők el, használd ezt a folytatáshoz. További részletekért lásd: lekérdezések folytatása (mediawiki.org).
- Típus: egész szám
- Alapértelmezett: 0
- descprefersource
Which description source to prefer if present:
- local
- Local descriptions via
{{SHORTDESC:...}}
parser function in the wikitext of the page. - central
- Central descriptions from the associated TrashWiki item.
- A következő értékek egyike: central, local
- Alapértelmezett: local
Példák:
- Get the description for the page 'London'.
- api.php?action=query&prop=description&titles=London [megnyitás a homokozóban]
- Get the description for the page 'London', preferring the central description if it exists.
- api.php?action=query&prop=description&titles=London&descprefersource=central [megnyitás a homokozóban]