Template:Page history

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

History of page [[{{subst:FULLPAGENAME}}]]:
}}
{{subst:#time:l j F Y, H:i,}} ~~~

  • Template:Page history

This template is similar to Template:Last edit except that on every save edit info is added. This requires </span> at the start of the added content. Only the tag on the first line is effective, the excess tags at older lines seem unavoidable, but harmless. They could be cleaned up manually from time to time.

To start it up on a page, put

<span style="display:none">{{subst:page history|}}</span>

Example:

{{subst:page history|History of page Template:Page history:
}}
Saturday 3 July 2010, 09:45, Patrick (talk)

Saturday 3 July 2010, 09:45, Patrick (talk)

Extras compared with the regular page history:

  • wikitext, so it can be edited
  • the year and date of the year are linked

Extras of the regular page history:

  • edit summaries
  • diff feature

Other differences:

  • the template gives signatures, the regular page history gives plain, official user names, with links to talk page etc.
  • the time zone is fixed in the template (UTC); the regular page history uses the user-dependent time zone
  • while the date format is dependent on user-preferences in both cases, the regular page history adds seconds in the case of ISO 8601 format, while in the template it is fixed whether seconds are displayed (currently not)


Compare also:

{{subst:Last edit|Last edit of page Template:Page history: 2010-07-3 T 09:45 UTC, by Patrick (talk)}}

See also [edit]

Substituting this template produces one or more new substitution template calls, allowing recursive change of a page, see Help:Recursive conversion of wikitext.