Requests for comment/Nasty templates

Jump to navigation Jump to search
Request for comment (RFC)
Nasty templates
Component General
Creation date 2010-05-06
Author(s) MZMcBride
Document status declined
Closed: superseded by Scribunto. -- Tim Starling (talk) 05:16, 9 July 2013 (UTC)
General2010-05-06MZMcBrideClosed: superseded by Scribunto. -- Tim Starling (talk) 05:16, 9 July 2013 (UTC)


Template:Cite and its relatives are causing excessively long parsing times for pages that call these templates hundreds of times. For a large article, nearly the entire time parsing is spent on the citations, e.g., "Rod Blagojevich corruption charges" was benchmarked at 20 s, 17 s of which were spent on the citations.[1]


The primary objective is to remove the logic of these nasty templates like Template:Cite from wikicode / ParserFunctions into PHP logic, as a means of (presumably) greatly decreasing the time spent on producing the formatted references output.

Extension:TemplateAdventures has been proposed as a possible solution to this problem.