Last modified: 2008-01-16 06:05:52 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 8332 - Templates within comment borders are being expanded when using subst:
Templates within comment borders are being expanded when using subst:
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 12652
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-20 02:10 UTC by Danny B.
Modified: 2008-01-16 06:05 UTC (History)
0 users

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


Attachments

Description Danny B. 2006-12-20 02:10:26 UTC
Template code written within comment borders (<!-- -->) is being expanded, when
entire page is substed to another one, and results in endless loop.

Example:

page "Lorem ispum" contains:
<!-- This is Lorem ispum page -->
<!-- To clear this page, use {{subst:/clear}} -->
blah blah
foo
bar


page "Lorem ispum/clear" contains:
<!-- This is Lorem ispum page -->
<!-- To clear this page, use {{subst:/clear}} -->


When saving {{subst:/clear}} in empty "Lorem ipsum" page, it expands the
template in comment and shows the <!-- WARNING: template loop detected -->
warning as well. So the result is like:

<!-- This is Lorem ispum page -->
<!-- To clear this page, use <!-- This is Lorem ispum page -->
<!-- To clear this page, use [[/clear]]<!-- WARNING: template loop detected --> -->
Comment 1 Danny B. 2008-01-16 05:20:59 UTC
Since some misunderstandings occured, I rather add the fact this is supposed to be tested in namespaces with subpages allowed.
Comment 2 Danny B. 2008-01-16 05:37:14 UTC
Looks it has been ironed out during the time with some revision since it can't be reproduced now.

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


Navigation
Links