Wikia

Community Central

Template is adding categories

94,040pages on
this wiki

Forum page

This Forum has been archived

Visit the new Forums
Forums: Index Support Requests Template is adding categories
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 899 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Okay, so there is an issue. One user made his templates incorrectly. They are like this { { User blog:Pjo06/MoncheleConspiracy } } when they should be like this { { Template:xxxxxx } } and it causes every page that it is on to get teh blog post category, including user, talk, and comment pages when it should not be there. How would I fix this template to not add that category.

I'm down on the daydream but that sleepwalk should be over by now, I know! 03:11, May 7, 2012 (UTC)

The quick fix would be to have him edit the User blog:Pjo06/MoncheleConspiracy page (you can do it yourself if you're a sysop there) and enclose everything with <onlyinclude> tags. That will stop the Blog posts category from being transcluded with the template. E.g.
<onlyinclude>
*content to be transcluded goes inside here
</onlyinclude>
Another equally quick fix would be to just remove the Blog posts category from that page.
Finally, another option would be to move that blog to the template namespace, and then go back and replace every single occurrence of {{User blog:Pjo06/MoncheleConspiracy}} with {{MoncheleConspiracy}} (after you've renamed the page to Template:MoncheleConspiracy). A bot could be used for this purpose -- if you don't have a bot, perhaps someone who takes bot requests here on central could help you. — Mathmagician 03:31, May 7, 2012 (UTC)

Around Wikia's network

Random Wiki