Last modified: 2010-05-15 15:41:05 UTC
Alas [[Category:Whatever]] eats nearby whitespace. A shame, as it doesn't need to but it does. Why can't it just mind its own business, and not tamper with preceding and following whitespace, if indeed any. What's the big deal you ask? Well, templates like [[Category:{{{1}}}]][[:Category:{{{1}}}|{{{1}}}]]<noinclude>... have no way of restoring those surrounding whitespace conditions, even with the <noinclude> tacked on before any newline. Users might start thinking they must now pass the surrounding whitespace into the template just to protect it. Same with just [[:Category:{{{1}}}|{{{1}}}]], only a following space is preserved, not a preceding one. Would the UNIX m4 preprocessor gobble whitespace like [[Category... ?
I think this is so that you don't have ugly whitespace at the end of an article, but if that were the only reason, why don't we just strip whitespace from the end of the article instead of from before categories? Maybe I'm wrong.
Try using [[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}]] instead of [[Category:{{{1}}}]][[:Category:{{{1}}}|{{{1}}}]]
If WebBoy's suggestion fixed it, I suppose we can close this bug.
*** Bug 11908 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 17988 ***