Last modified: 2008-10-12 18:35:40 UTC
It would be helpful to have a magic word __NOCATEGORY__ removing all categories from a page. The content of pages like sandboxes or certain maintenance pages changes frequently and add unwanted categories from transcluded templates. There is no other possibility to fix this issue efficiently apart from removing or hiding somehow all categories on the page, see the discussion at http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#__NOCATEGORY__ .
(In reply to comment #0) > It would be helpful to have a magic word __NOCATEGORY__ removing all categories > from a page. The content of pages like sandboxes or certain maintenance pages > changes frequently and add unwanted categories from transcluded templates. > There is no other possibility to fix this issue efficiently apart from removing > or hiding somehow all categories on the page, see the discussion at > http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#__NOCATEGORY__ > . > Seems like a very limited use case; I don't think we need this.
You can use CSS to hide categories of a given page.
(In reply to comment #1) > (In reply to comment #0) > > It would be helpful to have a magic word __NOCATEGORY__ removing all categories > > from a page. The content of pages like sandboxes or certain maintenance pages > > changes frequently and add unwanted categories from transcluded templates. > > There is no other possibility to fix this issue efficiently apart from removing > > or hiding somehow all categories on the page, see the discussion at > > http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#__NOCATEGORY__ > > . > > > > Seems like a very limited use case; I don't think we need this. > I don't think the use is limited. Personal sandboxes or temporary drafts (for example http://en.wikipedia.org/wiki/Talk:Sarah_Palin/Draft_article) are very common, and userfication (http://en.wikipedia.org/wiki/Wikipedia:Userfication) is also a common practice. Categories and templates transcluding categories have to be deactivated, which is sometimes cumbersome and affects editability. There are also new kind of maintenance pages for templates like http://en.wikipedia.org/wiki/Wikipedia:Main_Page/Protection or http://en.wikipedia.org/wiki/User:Cenarium/Protected_templates where templates are temporarily or permanently transcluded. There are certainly other possible uses. Some monobooks also are added to categories inappropriately. (In reply to comment #2) >You can use CSS to hide categories of a given page. > More precisely on the function, it should remove the page from all categories (so that readers see only articles, it's the point of "deactivating" all those categories). But whether the categories are shown at the bottom of the page is not very important. Actually, it would be better to let them for sandboxes.
Reopen as it's the other way around: the page shouldn't show up in categories. However, the page can show categories. Is more community support needed for this ? The discussion is recent (5 hrs on VP/T).
This has been on my personal wish/todo list for a long time. However, I think it would be more appropriate to use a custom tag like <nocat></nocat> rather than a page-global magic word, so that one can wrap transcluded (or substed / cut-and-pasted) content in such tags without having to disable categorization for that page entirely. That is, I'd like to be able to do this: "To mark a page for speedy deletion, type <nowiki>{{deletebecause|Reason here}}</nowiki>, which produces <nocat>{{deletebecause|Reason here}}</nocat> and (if used without the <nocat> tags) adds the page to [[:Category:Candidates for speedy deletion]]."
I prefer the <nocat></nocat> approach. However, I'm unsure if the current tag functionality will be able to cope with the odd <noinclude><nocat></noinclude>[[Category:Foo]]<noinclude></nocat></noinclude>
Agreed it would be even better, like David Göthberg suggested at VP/T, it could be used to add the page to appropriate categories and not to unwanted ones, like for various template messages pages, from http://en.wikipedia.org/wiki/Wikipedia:Template_messages. Specifically, a tag <nocat> (or <nocategory>) such that when a category or a categorizing template is wrapped in them, then the page doesn't show up in those categories. However, all categories should be shown at the bottom of the page as usual (so that new users see the categories when testing, essentially). Though having a possibility to hide them also would be handy on certain other pages, though it would require the creation of another tag. But this later point is not very important.
There's already much discussion (and also a lot of noise) about this under Bug 835 *** This bug has been marked as a duplicate of bug 835 ***