https://bugzilla.wikimedia.org/show_bug.cgi?id=29889
Web browser: ---
Bug #: 29889
Summary: <includeonly> fails to include <noinclude>, and
instead it is parsed and EXCLUDED
Product: MediaWiki
Version: 1.16.2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Parser
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
This bug causes massive proliferation of categories in places they're not
supposed to be, which breaks pretty much everything that depends on accurate
categories.
Similar bug here: https://bugzilla.wikimedia.org/show_bug.cgi?id=5210
An example:
<noinclude>
This is the "Image" template. It does stuff to image pages.
</noinclude>
<includeonly>
Here I'm doing a bunch of stuff to the image page.
<noinclude>
<!-- If a page using this template is embedded within another page, noinclude
will prevent that page from unintentionally becoming part of the Images
category. This category, and everything else within the noinclude tags and the
tags themselves, are supposed to be transcluded wherever this template is used.
But, instead, the parser skips it, even though it is within includeonly or
onlyinclude tags -->
[[Category:Images]]
</noinclude>
</includeonly>
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l