v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Template:Purge/doc

From Dwarf Fortress Wiki
< Template:Purge
Revision as of 23:07, 31 January 2023 by Jerimee (talk | contribs) (credits and output example)
Jump to navigation Jump to search

Purge produces a link that will purge the page's cache and rebuild it from the wikitext.

In this case, instead of reading "purge cache" the text is in Dwarven: "thetust-zilir Sebïretost."

Purpose

For efficiency in service, MediaWiki caches pages. Depending on the exact sequence of actions editors follow, one may view an out-of-date version of a given page. This happens most often on heavily-edited pages and on pages which contain an instance of transclusion.

Purge adds to any page a link that, when clicked, not only reloads the page, but clears the server cache, forcing the page to be completely rendered "from scratch". This is not a one-time solution; generally, editing a page is itself sufficient to purge cache. Rather, it is a measure taken in anticipation of the frequent need to purge.

Usage

{{Purge}}

Output

thetust-zilir Sebïretost

Credit

Icon via The Oxygen Team, KDE;, LGPL <https://www.gnu.org/copyleft/lgpl.html>, via Wikimedia Commons