Author: MediaWiki
Description:
Wikitext source of the template I'm having issues with
I have a reasonably complex conditional template that I'm trying to use for both visible tagging and auto-categorization of protected pages. So far, it works OK, but the categories are behaving strangely.
I've included the template source as an attachment.
I have enabled $wgUseCategoryBrowser, and also installed [[mw:Extension:RightFunctions]] for the very purpose of creating templates like this.
I'm not sure how to fix this, and have tried about 50 revisions of the template, tweaking things here and there to try and make it work, but I just can't. That's why I'm reporting this as a bug; I don't think it's anything I'm doing, given the dual display and wrong-category issues. Unless I'm being affected by a weird ParserFunctions problem...
So, a little background: The template {{!}} is the same as it is on en.Wikipedia; just a pipe ('|') character.
If this isn't a MediaWiki bug, I certainly hope I can at least get some help with the template; it's been driving me batty all day.
Version: 1.11.x
Severity: major
Attached: