MediaWiki API hulp
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=getheaderfooter
(main | getheaderfooter)
- Voor deze module zijn leesrechten nodig.
- Bron: HeaderFooter
- Licentie: onbekend
Retrieve the parsed output of a header or footer in the context of a certain page.
Specifieke parameters:
Other general parameters are available.
- contexttitle
The title of the page that the header or footer is being added to.
- Deze parameter is vereist.
- messageid
Which header or footer is being requested (e.g. a namespace header)
- Deze parameter is vereist.
Voorbeeld:
- Get the NS_MAIN footer for Main Page
- api.php?action=getheaderfooter&contexttitle=Main_Page&messageid=Hf-nsfooter- [in de sandbox openen]