Template:Page history/doc
Appearance
| This is a documentation subpage for Template:Page history. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
{{Page history}} produces a link that will purge the page's cache and rebuild it from the wikitext.
Purpose
{{Page history}} adds to any page a link that, when clicked, shows a pages edit history. This and it's module were created to solve a technical issue with versions of MediaWiki older than a certain version don't have the use of Special:PageHistory
Examples
| Code | Yields | Result |
|---|---|---|
{{Page history}}
|
Creates a history link for the page it is used on. | |
{{Page history|View the history of this page.}}
|
Creates a history link for the page it is used on, but with the text "View the history of this page." | |
{{Page history|page=Main Page}}
|
Creates a history link for Main Page. | |
{{Page history|View the history of this page.|page=Main Page}}
|
Creates a history link for Main Page, but with the text "View the history of this page" |
TemplateData
TemplateData for Page history
A template that produces a link that will clear the cache and rebuild page from the wikitext
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Label | 1 | The label of the purge link
| String | optional |
| Page | page | The page to see history of | Page name | optional |
See also
- {{Purge}}