Template:MoinMarkup/Header
<onlyinclude>{{#if:{{{Redirect}}}|#REDIRECT {{{Redirect}}}}}{{#if:{{{RefreshDelay|}}}|<!-- TODO: support refreshing the page after the specified number of seconds -->}}{{#ifeq:{{{Deprecated|}}}|{{{Deprecated|not-deprecated}}}||<!-- TODO: support deprecated pages -->}}{{#if:{{{PragmaKeywords|}}}|<!-- TODO: support SEO keywords -->}}{{#if:{{{PragmaDescripiton|}}}|<!-- TODO: support descriptions -->}}{{Template:MoinMarkup/Boilerplate}}</onlyinclude>
Header for a page imported from MoinMoin
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| MoinMarkupID | MoinMarkupID | Unique ID for this template on the page, must be the first parameter | Number | deprecated |
| Format | Format | Parser that was used by MoinMoin, usually 'wiki', 'creole', 'plain', 'python', or 'rst'; can also be any other parser name.
| Line | deprecated |
| Redirect | Redirect | URL to immediately redirect to. | URL | deprecated |
| RefreshTarget | RefreshTarget | URL to redirect to, after waiting RefreshDelay seconds. | URL | deprecated |
| RefreshDelay | RefreshDelay | Number of seconds to wait before sending the user to the page in RefreshTarget. | Number | deprecated |
| Deprecated | Deprecated | if present, indicates this page has been deprecated. | Unknown | deprecated |
| Language | Language | Page's language code | Line | deprecated |
| PragmaSectionNumbers | PragmaSectionNumbers | Controls the page's section numbering (also passed to any imported table-of-contents macros). | Line | deprecated |
| PragmaKeywords | PragmaKeywords | Add a <meta> tag with SEO keywords | Line | deprecated |
| PragmaDescription | PragmaDescription | Add a <meta> tag with a page description | Line | deprecated |
| PragmaSupplementation | PragmaSupplementation | Indicates the MoinMoin page had a supplementation page (equivalent to a talk page) | Boolean | deprecated |
| Comments | Comments | Other comments that appeared at the top of the document | String | deprecated |
| MoinMarkupID2 | MoinMarkupID2 | Same value as MoinMarkupID=, guaranteed to be the last parameter | Number | deprecated |
Please do not create new instances of this template.
When this wiki was converted from MoinMoin, we used MoinMarkup templates to represent anything that didn't translate neatly between the two formats. The goal is to gradually replace these with native MediaWiki equivalents.
The program that converted the old MoinMoin source always passes a unique MoinMarkupID= value as the first parameter, and the same value in MoinMarkupID2= as the last parameter. If you want to mass-edit every instance of this template (e.g. with the Replace Text extension), you should be able to search for something like {{MoinMarkup/Header|MoinMarkupID=(\d+)(.*)|MoinMarkupID2=\1}}.
Some notes about this template:
- #refresh doesn't seem to work on the current wiki, and the few pages that contain it seem to assume it will continue to work