MediaWiki API help
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)
- This module requires read rights.
- Source: HeaderFooter
- License: unknown
Retrieve the parsed output of a header or footer in the context of a certain page.
Parameters:
- contexttitle
The title of the page that the header or footer is being added to.
- This parameter is required.
- messageid
Which header or footer is being requested (e.g. a namespace header)
- This parameter is required.
Example:
- Get the NS_MAIN footer for Main Page
- api.php?action=getheaderfooter&contexttitle=Main_Page&messageid=Hf-nsfooter- [open in sandbox]