https://bugzilla.wikimedia.org/show_bug.cgi?id=29889

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|DUPLICATE                   |

--- Comment #2 from [email protected] 2011-07-14 22:18:01 UTC ---
The other bug is a feature request. This is a distinct, isolated bug that may
also happen to eliminate the need for that other feature request. Solving this 
bug would not require a special tag or any new features like that. It would
simply require not parsing nested tags that are supposed to be simply
transcluded, and not parsed. That should resolve the problem quite cleanly.

Stated more simply, the parser should only parse the outermost level of nested
tags. Anything deeper inside should be passed along as text without being
touched, and obviously stripping out the tags that have already been processed.
Here's a simple, specific example:

<includeonly>

Everything here, and below, should be transcluded on photos of horses to make
it easy to categorize them.

<noinclude>

[[Category:Horses]] should go on pictures of horses, but not the article about
Transportation where horse pictures may be transcluded.

</noinclude>
</includeonly>

The above example template would be transcluded to a horse photo page to make
it a part of the Horses category. If the horse photo is then itself transcluded
to an article about Transportation, the Transportation article should NOT
become a part of the Horses category. 

Images are something that frequently get transcluded in other pages. With the
current buggy behavior, if you want to assign images to categories,
subsequently trying to USE the images via transclusion will result in every
page the image is used on becoming a part of the same category as the image. In
other words, there's no way to both categorize images, AND then use them with
transclusion, because the parser screws it up and pollutes the category where
the image is located.

-- 
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

Reply via email to