Last modified: 2010-05-15 14:36:05 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 3298 - <noinclude>, <includeonly> and <onlyinclude> tags should work with subst: too
<noinclude>, <includeonly> and <onlyinclude> tags should work with subst: too
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.6.x
All All
: Normal enhancement with 8 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 6077 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-29 12:53 UTC by Alfio Puglisi
Modified: 2010-05-15 14:36 UTC (History)
1 user (show)

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


Attachments

Description Alfio Puglisi 2005-08-29 12:53:42 UTC
Currently, the <noinclude> tag only prevents inclusion when the template is
included the usual way. When using the subst: syntax, the noinclude tag doesn't
work and unwanted text ends up in articles (for example, categories intended for
the template only).

An easy fix would be to scan the template for noinclude tags and remove their
content (and the tags themselves) from the template string before inserting it
in the article
Comment 1 Hendrik Brummermann 2005-09-04 07:21:39 UTC
includeonly should work with "subst:", too.
Comment 2 Ævar Arnfjörð Bjarmason 2005-11-16 16:09:50 UTC
Rectified the summary to include <onlyinclude> and marking the bug as FIXED in
CVS HEAD
Comment 3 Brion Vibber 2006-06-09 23:50:23 UTC
*** Bug 6077 has been marked as a duplicate of this bug. ***

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


Navigation
Links