https://bugzilla.wikimedia.org/show_bug.cgi?id=30425
Web browser: ---
Bug #: 30425
Summary: Parser should cache the output of identical template
calls as well as parameterless calls
Product: MediaWiki
Version: 1.19-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Parser
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
At http://en.wikipedia.org/w/index.php?diff=prev&oldid=445197792 we see an edit
which changed a huge number of calls to {{rating|1|3}} to calls to {{rating 1
3}}, which is a wrapper template which merely contains the former call. Doing
so slashes all the parser statistics: preprocessor node count down by 96%,
post-expand down by 89%, template argument size down by 99.9%. I haven't
looked in detail about why this is, but some sort of beneficial caching is
definitely not occuring in the more common case, and it should.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l