Guild Wars Wiki:Requests for technical administration/ParserFunctions

From Guild Wars Wiki
Jump to navigationJump to search

Request for ParserFunctions[edit]

MediaWiki extension
Additional software requirements
Additional server-side maintenance requirements
None, besides the installation itself. See [1] for instructions.
Reason for request
ParserFunctions are a near necessity for anything but the most trivial of templates. It adds such important features as conditionals, switch statements, and simple expression calculations, among others.
What else uses it
All Wikimedia projects—Wikipedia, for example—have it enabled, as does GuildWiki.
Possible pitfalls
  1. It adds a (mostly negligible) operational cost to the first render of pages. However, the results are cached and the cost is no higher than any template call (less, in fact, as most ParserFunction operations don't have additional database costs). Note that the language is not Turing-complete (it has no loops), so the operational cost is finite.
  2. It adds to the complexity of templates. This is a perennial battle about ease of use, but plenty of non-technical people find them easy to use, and the benefits are significant.