Last modified: 2008-01-16 08:10:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12111, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10111 - Strip out <noinclude></noinclude> sections and expand parser functions during substitution
Strip out <noinclude></noinclude> sections and expand parser functions during...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links