Aide de l’API MediaWiki
Ceci est une page d’aide de l’API de MediaWiki générée automatiquement.
Documentation et exemples : https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=getheaderfooter
(main | getheaderfooter)
- Ce module nécessite des droits de lecture.
- Source : HeaderFooter
- Licence : inconnue
Retrieve the parsed output of a header or footer in the context of a certain page.
Paramètres :
- contexttitle
The title of the page that the header or footer is being added to.
- Ce paramètre est obligatoire.
- messageid
Which header or footer is being requested (e.g. a namespace header)
- Ce paramètre est obligatoire.
Exemple :
- Get the NS_MAIN footer for Main Page
- api.php?action=getheaderfooter&contexttitle=Main_Page&messageid=Hf-nsfooter- [ouvrir dans le bac à sable]