Last modified: 2008-01-16 08:10:50 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 10111 - Strip out <noinclude></noinclude> sections and expand parser functions during substitution
Strip out <noinclude></noinclude> sections and expand parser functions during...
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-06-02 19:58 UTC by Hubert22
Modified: 2008-01-16 08:10 UTC (History)
1 user (show)

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


Description Hubert22 2007-06-02 19:58:41 UTC
If you expand a template using "subst" the parts excluded by <noinclude> appear in the expansion, so the expanded code does not work in the same way as the template.

It would be better, when the code between <noinclude> and </noinclude> vanishes in the expansion. The <include> </include> pair should alse vanish, but not the included code.

It would be best, when also the {{if: }} and {{switch: }} commands disappears except the code in the TRUE-branch.
Comment 1 Tim Starling 2008-01-16 08:10:50 UTC
Fixed a while ago, apparently. Parser functions aren't expanded, that's a WONTFIX. You can use {{subst:#if:...}}. 

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