Jump to content

Template:Page history/doc

From BattleIntelligence

{{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}} History Creates a history link for the page it is used on.
{{Page history|View the history of this page.}} 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}} History Creates a history link for Main Page.
{{Page history|View the history of this page.|page=Main Page}} View the history of this 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

Template parameters

ParameterDescriptionTypeStatus
Label1

The label of the purge link

Default
Page history
Stringoptional
Pagepage

The page to see history of

Page nameoptional

See also