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

--- Comment #9 from dan <[email protected]> ---
(In reply to Jean-Fred from comment #6)> 
> Hmmm, I used that for nearly 3000 files without any problem though.

yes, it does work, but GWToolset doesn’t parse the single element well and
places the wikitext as:

[[Category:Category:1901 photographs Category:Photographs by Eugène Atget
Category:Paris XIXe arrondissement]]

instead of as:

[[Category:1901 photographs]]
[[Category:Photographs by Eugène Atget]]
[[Category:Paris XIXe arrondissement]]


> > i think it would be
> > better to possibly improve the GWToolset parsing of such an XML element, or
> > for now, create multiple XML elements, each containing their own category.
> > so instead of 
> > 
> > <categories>[[Category:1901 photographs]]
> > [[Category:Photographs by Eugène Atget]]
> > [[Category:Paris XIXe arrondissement]]</categories>
> > 
> > <category>1901 photographs</category>
> > <category>Photographs by Eugène Atget</category>
> > <category>Paris XIXe arrondissement]]</category>
> 
> You mean with the same XML element? Is that acceptable XML-wise?

yes, having more than one element of the same name is valid XML, so you can do
the above transposition of one <categories /> element into multiple <category
/> elements without issue. and then refer to that element in the item specific
categories section drop down. then GWToolset will "properly" place the wikitext
as:

[[Category:1901 photographs]]
[[Category:Photographs by Eugène Atget]]
[[Category:Paris XIXe arrondissement]]

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