Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template talk:Draft categories

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This template does not require a rating on Wikipedia'scontent assessment scale.
It is of interest to the followingWikiProjects:
WikiProject iconArticles for creation
WikiProject iconThis template is used for the administration of theArticles for Creation orFiles for Upload processes and is therefore within the scope ofWikiProject Articles for Creation. Please direct any queries to thediscussion page.Articles for creationWikipedia:WikiProject Articles for creationTemplate:WikiProject Articles for creation (admin)AfC projectWikiProject icon
WikiProject iconCategories
WikiProject iconThis template is within the scope ofWikiProject Categories, a collaborative effort to improve the coverage ofcategories on Wikipedia. If you would like to participate, please visit the project page, where you can jointhe discussion and see a list of open tasks.CategoriesWikipedia:WikiProject CategoriesTemplate:WikiProject CategoriesCategories

Edit request

[edit]
Thisedit request has been answered. Set the|answered= parameter tono to reactivate your request.

Please replace

|pattern=:[Cc]ategory

and

:?[Cc]ategory:

with

|pattern=:[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]

and

:?[Cc][Aa][Tt][Ee][Gg][Oo][Rr][Yy]:

This should allow the template to function no matter how "CATEGORY" is capitalized, whether it is all-caps or no-caps or leading-caps, or 1337 or camelcase. This would allow it to function with all the acceptable spellings MediaWiki allows. (thus it will not perform unexpectedly in not allowing valid CATEGORY statements)

--65.94.170.207 (talk)23:44, 23 May 2020 (UTC)[reply]

PingingPrimeHunter who has mostly worked on this. I'd rather get their opinion if they think it's a reasonable change or not first. –Deacon Vorbis (carbon • videos)03:16, 24 May 2020 (UTC)[reply]
I don't really see a need for complications. There are 14,000 drafts with "Category" in some capitalization but only 20[1] with "CATEGORY" which is probably the most common alternative to Category/category. None of them use the template. Another rare way to fool the template is spaces around "Category". All that happens is that a very few drafts may be placed in categories until they are cleaned up.PrimeHunter (talk)08:38, 24 May 2020 (UTC)[reply]
Since leading and trailing spaces are also affected, then just addding regexp for handling those cases, also. It would make the template function with these valid formulations, thus the space formulations, which also seem not overly uncommon in ArticleSpace, work as expected with this template. It seems like minor changes for capitalization and leading and trailing spaces, for conforming to MediaWiki existing functionality.65.94.170.207 (talk)22:16, 24 May 2020 (UTC)[reply]
 Not done Agree with PrimeHunter, this is entirely pointless.* Pppery *it has begun...16:43, 27 May 2020 (UTC)[reply]

Doesn't work with{{tlx}}

[edit]

Discussion is atTemplate talk:Template link expanded#Broken with Template:Draft categories (permalink).davidwr/(talk)/(contribs) 🎄14:19, 21 December 2020 (UTC)[reply]

New parameter for which namespace the draft is for?

[edit]

Most of the time when you're using this template you want to ultimately move it to the article namespace, but I think it would also make sense to use this template if you're for example drafting something for the project space. I'd suggest adding a|namespace= parameter where you can specify this so that it updates the text. ―Jochem van Hees (talk)11:36, 22 June 2021 (UTC)[reply]

This template isn't working anymore

[edit]

Categories still appear in drafts with this template nowImmanuelle ❤️💚💙(talk to the cutest Wikipedian)16:11, 12 March 2023 (UTC)[reply]

Functionality with VisualEditor

[edit]

I notice that, when an article with draft categories is moved to mainspace and then edited with the VisualEditor, if the draft categories container has not yet been removed, the existing categories do not show up. This bug should ideally be resolved, as people writing drafts are disproportionately likely to be using the VE.Sdkbtalk05:15, 20 June 2024 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:Draft_categories&oldid=1231698603"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp