Community Wishlist Survey 2022/Categories/Prevent draftspace pages from being placed in article categories

Prevent draftspace pages from being placed in article categories

  • Problem: Per w:WP:DRAFTNOCAT (and equivalent policies and guidelines at other wikis/language editions), draft pages are not supposed to be placed in article categories. However, many newcomers are unaware of this. Further, many experienced editors choose to ignore it. As a result, volunteers have to go around regularly manually disabling categories on drafts.
  • Proposed solution: This task could be integrated into the software. In an ideal application, all categories in a draft would be automatically wrapped in the draft categories template by the software, without the need to do anything to the wikitext. Exceptions should be made for Category:Wikipedia drafts and its subcategories.
  • Who would benefit: This would eliminate a task for patrollers, reduce confusion for newcomers, eliminate the chance readers come across a miscategorized draft while browsing categories, and allow for easier category work on drafts for all editors.
  • More comments:
  • Phabricator tickets: phab:T299286
  • Proposer: {{u|Sdkb}}talk 20:33, 22 January 2022 (UTC)

Discussion

  • Related to Community Wishlist Survey 2022/Categories/Filter category members by namespace on the category page itself I guess. --Izno (talk) 03:23, 23 January 2022 (UTC)
    Indeed! {{u|Sdkb}}talk 22:43, 23 January 2022 (UTC)
  •   Question: @Sdkb: What is an "article category" - that is how are such categories programmatically identified such that something new could filter them? If that doesn't exist, it seems like a companion wish may be needed - something like Create a "content category" marking. — xaosflux Talk 14:51, 26 January 2022 (UTC)
    @Xaosflux: For our purposes here, we can define it as anything not in w:Category:Wikipedia drafts or its subcategories, and also not tagged with w:Template:Maintenance category. Cheers, {{u|Sdkb}}talk 15:43, 26 January 2022 (UTC)
    @Sdkb: so some sort of on-wiki list is what you envision? This feels like the type of work that would be be applicable to wiki's in general - not some sort of "English Wikipedia" only solution. Think this would still need some sort of metadata attached to categories to be done first. — xaosflux Talk 16:28, 26 January 2022 (UTC)
    I think the proposal linked by Izno would be a good way to implement this that'd also allow for some other things. If the coordinators want to merge this proposal to that one for the !voting, that'd be fine. {{u|Sdkb}}talk 16:43, 26 January 2022 (UTC)
  • @Sdkb: I was thinking about this a bit more - think it can maybe be generalized some which could allow for a reusable solution. First, want to make sure any restatement still is aligned with your user story:"Prevent draftspace pages from being placed in article categories". We already have a technical concept of "Content Namespaces", on most projects this is just "NS_MAIN" (ns:0) (The (article) namespace on the English Wikipedia). Projects can add more namespaces to this if they have a need (e.g. if enwiki wanted to include the "Portal" namespace they could). Perhaps a magic word could be added to categories, something like __CONTENTCATEGORY__ - and then any namespace that wasn't a "content namespace" (from enwiki for example "Draft" "user talk" "wikipedia") could suppress any categories that were labeled as CONTENTCATEGORY. That might not be too hard from a back-end technology side, however it does require that a project actually tag all of the categories that they wanted to be treated like this. Just spitballing. — xaosflux Talk 14:21, 27 January 2022 (UTC)
    Yeah, that moving toward the idea from the other proposal. {{u|Sdkb}}talk 16:44, 27 January 2022 (UTC)

Voting

  • I encourage anyone inclined to support this to go !vote for Limit which namespaces are allowed in a category on the category page itself to consolidate. {{u|Sdkb}}talk 19:06, 28 January 2022 (UTC)
  •   Support --NGC 54 (talkcontribs) 23:06, 28 January 2022 (UTC)
  •   Support aokomoriuta (talk) 12:22, 29 January 2022 (UTC)
  •   Support BSMIsEditing (talk) 15:02, 29 January 2022 (UTC)
  •   Support GeoffreyT2000 (talk) 15:23, 29 January 2022 (UTC)
  •   Support Lectrician1 (talk) 20:01, 29 January 2022 (UTC)
  •   Support Thingofme (talk) 11:04, 30 January 2022 (UTC)
  •   Support Libcub (talk) 21:44, 30 January 2022 (UTC)
  •   Support Havang(nl) (talk) 15:23, 31 January 2022 (UTC)
  •   Support AWESOMEDUDE0614 (talk) 16:12, 31 January 2022 (UTC)
  •   Oppose; seems like an oddly specific proposal to me. Not all drafts are in draftspace, there'd be quite a few exceptions (such as maintenance categories), and not all wikis have the policy to keep drafts out of article categories. Jochem van Hees (talk) 17:28, 31 January 2022 (UTC)
  •   Support Daniel Case (talk) 18:02, 31 January 2022 (UTC)
  •   Support Shooterwalker (talk) 22:31, 31 January 2022 (UTC)
  •   Support —— Eric LiuTalk 06:42, 1 February 2022 (UTC)
  •   Support Yes, please. If the mw software is able to do this, a large amount of manual work and effort can be saved DaxServer (talk) 12:39, 4 February 2022 (UTC)
  •   Support As someone who has made a draft complete with categories (groan). To (partly) resolve the issue raised in the oppose vote above, each wiki can turn it on as needed. It isn't a complete solution (as pointed out, userpace drafts would still be an issue), but will definitely help. Mako001 (talk) 03:36, 5 February 2022 (UTC)
  •   Support Feoffer (talk) 07:50, 5 February 2022 (UTC)
  •   Support --Ciao • Bestoernesto 03:12, 6 February 2022 (UTC)
  •   Support--Vulp❯❯❯here! 03:54, 6 February 2022 (UTC)
  •   Support Ayumu Ozaki (talk) 05:15, 6 February 2022 (UTC)
  •   Support --Luan (discussão) 14:15, 6 February 2022 (UTC)
  •   Support Katya0133 (talk) 20:08, 6 February 2022 (UTC)
  •   Support Jamplevia (talk) 20:57, 6 February 2022 (UTC)
  •   Support Ryse93 (talk) 12:25, 7 February 2022 (UTC)
  •   Support Suonii180 (talk) 01:47, 9 February 2022 (UTC)
  •   Support Andrei Romanenko (talk) 01:49, 10 February 2022 (UTC)
  •   Support Gaurav (talk) 06:43, 11 February 2022 (UTC)
  •   Support Marcok (talk) 13:03, 11 February 2022 (UTC)
  •   Support DSparrow14 (talk) 16:53, 11 February 2022 (UTC)