Last modified: 2004-08-21 23:18:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 55 - Templates do not get expanded more than 5 times per page
Templates do not get expanded more than 5 times per page
Status: CLOSED DUPLICATE of bug 95
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Wikipedi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-15 15:41 UTC by Alan Barrett
Modified: 2004-08-21 23:18 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alan Barrett 2004-08-15 15:41:33 UTC
If the same template is used many times on the same page, then only the first five 
instances are expanded.  This is especially bad for the [[en:Wikipedia:Vandalism in 
progress]] page, where the {{Vip}} template is used many times.

I believe that the 5-expansions limit is intended to prevent infinite recursion.  
Please replace it with a better method that prevents recursion without placing 
arbitrary limits on the number of template expansions.
Comment 1 Antoine "hashar" Musso (WMF) 2004-08-15 20:08:46 UTC
This is actually working as intended. MediaWiki got a hard limit set to 5
template inclusions (MAX_INCLUDE_REPEAT).

The purpose is to prevent recursive / massive inclusions. A patch should
probably be made to
better fix this security trouble.
Comment 2 SJ 2004-08-16 01:01:00 UTC
A problem, for instnce, on en:ViP (where a bizarrely complex template is
suggested for use with every report).
Comment 3 SJ 2004-08-18 23:02:39 UTC

*** This bug has been marked as a duplicate of 95 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links