Template talk:Category class

message: Can the following line be changed:
 |style="background: #66ffff;"| A
to 
 |style="background: #66ffff;"|  A
This will add the A-Class symbol which is now being displayed in . Small-town hero (talk) 02:01, 3 January 2009 (UTC)
replies: text: Ruslik (talk) 15:56, 3 January 2009 (UTC)
thread_title:  A-Class 

message: Is it worth changing the category sorting to use the  function so that it doesn't end up with lots of upper & lowercase items listed apart from each other in the categories. See :Category:NA-Class articles for an example.
Changing the line:
|}}}}
to
|}}}}
would fix that. -- WOSlinker (talk) 16:57, 18 January 2009 (UTC)
replies: text: Done--Aervanath (talk) 15:31, 21 January 2009 (UTC)
replies: text: There's also a fullcopy in the sandbox, if you would prefer that. Template:Cat class/sandbox -- WOSlinker (talk) 19:21, 21 January 2009 (UTC)
thread_title:  Category Sorting 

message: If there are two categories, one called :Category:Unassessed-Class ZZZ articles and one called :Category:Unassessed ZZZ articles, the template currently links to the Unassessed-Class version. However, it should really link to the Unassessed version as Unassessed is more common than Unassessed-Class. So, could the version in Template:Cat class/sandbox be copied over to the live one.
Thanks. -- WOSlinker (talk) 19:26, 16 February 2009 (UTC)
replies: text: I am not sure this is a good idea. It can adversity affect many projects. In addition, can the code be made more efficient? The proposed version contains repetitions. Ruslik (talk) 20:27, 16 February 2009 (UTC)
thread_title:  Change for Unassessed class 

message: Please update the template with the code in  to add Current-Class and Future-Class. It makes no sense whatsoever to omit these two classes when they are actively used by a minority of projects, and unless this template includes all classes it can only do it's job in a limited fashion. These two classes will of course only be displayed in the template if the corresponding categories exist, so the vast majority of transclusions will be unaffected by this change. It will, however, be of huge benefit to WP:FILM which makes good use of Future-Class and transcludes this template in some 275 categories. PC78 (talk) 18:00, 22 February 2009 (UTC)
replies: text: Ruslik (talk) 18:22, 22 February 2009 (UTC)
thread_title:  Edit request 

message: I've added parameters to the sandbox to allow for custom category names to be specified for all assessments that are not on the main "unassessed-FL" scale to allow the template to link to such things as :Category:WikiProject Anime and manga categories (because, frankly, I hate everything about the title "X-class Y articles" when X is "Template", "Category", or anything else that's not an article). Would an administrator be willing to review my change and replace the current code in  with that in the sandbox? 「ダイノガイ千？！」(Dinoguy1000) 19:25, 14 April 2009 (UTC)
replies: text: It sounds reasonable to me. But could we leave time for a discussion before placing the editprotected? — Martin (MSGJ · talk) 20:09, 14 April 2009 (UTC)
replies: text: Well, it's not like I was asking the template's fundamental behavior to be changed, only to supplement it with additional functionality which isn't particularly complex, hence my immediate editprot request. But, I'm not against giving time for discussion, if you think it might be necessary or beneficial. ;) 「ダイノガイ千？！」(Dinoguy1000) 20:12, 14 April 2009 (UTC)
replies: text: Okay I take your point. But as it's not at all urgent, there's no harm in giving some time for input :) Someone might even think of a better way to achieve it. — Martin (MSGJ · talk) 20:48, 14 April 2009 (UTC)

text: Yes, it's because  is being fed WikiProject Anime and manga categories which does exist. — Martin (MSGJ · talk) 15:35, 15 April 2009 (UTC)
replies: text: Oh, pooh, something like that *would* have to happen, wouldn't it? Methinks it would probably be easy enough to hack in an override in , but it would probably be better in the long run to adjust its behavior so that it doesn't automatically prepend the name like that... or something. I dunno, I'm feeling a bit lightheaded today, and as a result, am not thinking quite so clearly. =D 「ダイノガイ千？！」(Dinoguy1000) 19:25, 15 April 2009 (UTC)
replies: text: Allowing an override might well be something worth considering, especially as Template:Class is likely to become ubiquitous. Maybe you could bring it up there? — Martin (MSGJ · talk) 19:35, 15 April 2009 (UTC)
replies: text: I may do that, but probably not right now... I don't feel like thinking on the best way to implement the override at the moment (what with my head swimming + just having had my mind blown by some amazing Mirror's Edge speedrun footwork on Youtube). =) First I have to look more carefully at 's source and probably try to find some other assessment cats with non-standard names for consideration (*hint hint* know of any?). 「ダイノガイ千？！」(Dinoguy1000) 20:06, 15 April 2009 (UTC)
thread_title:  Custom category names 

message: A proposal has been made to adjust the colours used for Merge, Category and Template-Class. Discussion can be found here for those interested. PC78 (talk) 17:41, 16 April 2009 (UTC)
thread_title:  Proposed colour changes for Merge, Category & Template-Class 

message: Any ideas as to why this transclusion of  is linking to the non-existant  as opposed to ? It shouldn't be doing this, or at least it wouldn't have done in previous versions of the template. Another -related issue? PC78 (talk) 15:03, 17 April 2009 (UTC)
replies: text: I'm going to ask WOSlinker to look at this, because he's worked on this issue before. — Martin (MSGJ · talk) 16:50, 17 April 2009 (UTC)
replies: text: It was the change on the 21st of March to this template use the  template when the feature was lost. It takes a quite a lot of parser functions to add it back. Would need to be added as: If topic is empty then Unassessed-Class articles, else if exsits Unassessed topic articles then link to that else if exsits Unassessed-Class topic articles then link to that else link to Unassessed topic articles. There are currently 1395 categoryies without -Class and 114 with -Class.  Is it still worth adding back? -- WOSlinker (talk) 18:37, 17 April 2009 (UTC)
replies: text: So it was might fault?! Oops. That's a really complicated way of adding it back with two ifexist calls. Is there an edit to  which would simplify it at all? Even if there weren't, I would suggest that it might be worth doing for 114. — Martin (MSGJ · talk) 20:31, 17 April 2009 (UTC)
replies: text: It's going to get less than 114 as more project banners are converted to use WPBannerMeta. I've flagged 6 of them to be deleted as they aren't used anymore now anyway. And a lot that are left are down to two banners:  & . -- WOSlinker (talk) 21:12, 17 April 2009 (UTC)
thread_title:  [[:Category:Tennessee templates]] 

message: Why isn't Unassessed-Class showing up in the navbar in some WPs, like :Category:Unassessed-Class Egypt articles? It's documented as such in :Template:Class, as being "Unassessed-Class", but it only seems to take "Unassessed 'Egypt' articles" as the category name. Can you add this usage to this template? Thanks --Funandtrvl (talk) 21:03, 1 May 2009 (UTC)
replies: text: The fact that the :Category:Unassessed Egypt articles also exists doesn't help. Happy‑melon 22:44, 1 May 2009 (UTC)
replies: text: It doesn't matter, the problem was occuring BEFORE I created the 2nd category off the template. --Funandtrvl (talk) 23:06, 1 May 2009 (UTC)
replies: text: Actually it does matter. Now you've converted  to , your banner will now populate  and  will soon be empty. There's no problem here with regards to your project, though the general issue you have raised has already been discussed directly above. PC78 (talk) 23:15, 1 May 2009 (UTC)

text: So does that mean that the WPBM template will be using only "Unassessed project articles"? Will this be the standard then? --Funandtrvl (talk) 00:19, 2 May 2009 (UTC)
replies: text: Yes. Generally speaking, it already is the standard. PC78 (talk) 01:33, 2 May 2009 (UTC)

text: Okay, thank you! This will help when working on organizing categories! --Funandtrvl (talk) 03:22, 2 May 2009 (UTC)
thread_title:  Unassessed-Class not showing up 

message: As the only person at WikiProject Ethiopia who is actively rating articles, I don't want to be bothered about using the "C" class for a number of reasons -- mostly that I'd rather spend my time making "Start" class articles "B" class. However, due to overlap with other WikiProjects, I just discovered that some helpful souls are using that grade on WikiProject Ethiopia articles, in a drive-by manner. Now my options at this point are (1) tell them to stop doing this, which will lead to hurt feelings, time lost defending myself at WP:AN/I, & wasting time which I'd rather spend on upgrading articles; (2) just revert & don't tell them to stop, which will lead to people telling me to stop doing this, hurt feelings, time lost defending myself at WP:AN/I, & wasting time which I'd rather spend on upgrading articles; or (3) having a way to simply set an option, so I won't see that someone has one this on the category pages where this otherwise useful template appears, & thus avoid WikiDrama & allow me to focus on upgrading articles. Does this request make sense? -- llywrch (talk) 06:16, 19 September 2009 (UTC)
replies: text: What you need to do, is put a custom class mask in Template:WikiProject Ethiopia/class. The instructions for doing this can be found at Template:WPBannerMeta/class/doc, but let me know if you need help with this! At the same time you could think if there are any other classes which are not used (e.g. Image/Portal/Project). Then, when an unused class is used the banner will classify it as "unassessed". — Martin (MSGJ · talk) 07:07, 19 September 2009 (UTC)
thread_title:  Suppress unwanted classes? 

message: This category is for Wikipedia Books (see example) which will be populated in the near future. Simply add
}}{{cat class/column|class=Book|topic=
This has been tested here and doesn't break anything. I would suggest to place it after List, or perhaps between Category and File (although I don't particularly care where it ends up). Headbomb {ταλκκοντριβς – WP Physics} 19:35, 18 November 2009 (UTC)
replies: text: It should go between Future and Category; the non-article classes are arranged alphabetically. PC78 (talk) 00:17, 19 November 2009 (UTC)
replies: text: Fine with me. Headbomb {ταλκκοντριβς – WP Physics} 00:45, 19 November 2009 (UTC)
replies: text:  —  Tivedshambo  (t/c) 13:07, 19 November 2009 (UTC)
replies: text: Thanks a bunch. Headbomb {ταλκκοντριβς – WP Physics} 15:01, 19 November 2009 (UTC)
thread_title:  Add book class to the template 

message: Per the consensus described at Wikipedia:Rename of Image-class to File-class, Image-Class has now been fully deprecated and replaced with File-Class (:Category:Image-Class articles is now a category redirect to :Category:File-Class articles). Could someone with a better understanding of templates remove and/or replace mentions of Image-Class in this and related templates? Thank you, -- Black Falcon (talk) 22:22, 25 November 2010 (UTC)
replies: text: — Martin (MSGJ · talk) 09:42, 26 November 2010 (UTC)
replies: text: Thanks! -- Black Falcon (talk) 16:51, 26 November 2010 (UTC)
thread_title:  Image-Class deprecated 

message: Can this be displayed before File-Class? FA-Class is before the other article classes and FL-Class is before List-Class. Thanks. Imzadi 1979 →  01:45, 9 June 2011 (UTC)
replies: text: That makes sense.  — Martin (MSGJ · talk) 07:40, 9 June 2011 (UTC)
thread_title:  FM-Class 

message: Please review! :) Reach out to me if I can help. Jon (WMF) (talk) 19:40, 18 September 2015 (UTC)
thread_title:  Not mobile friendly 

message: Add AL-Class between FL and List. 

Thanks! – Lionel(talk) 11:39, 6 March 2018 (UTC)
replies: text: Not done: I would like to see some discussion/consensus before new classes are created — Martin (MSGJ · talk) 21:15, 7 March 2018 (UTC)
thread_title:  Template-protected edit request on 6 March 2018 

message: Can you add ? Qwerfjkltalk 11:05, 6 August 2021 (UTC)
replies: text: Of the 37659 pages with transclusions of this template, 8732 already have the empty category template on the page as well.  Adding it here would then be doubling up on those pages. -- WOSlinker (talk) 11:19, 6 August 2021 (UTC)
replies: text:   per WOSlinker * Pppery * it has begun... 19:43, 11 August 2021 (UTC)

text: @WOSlinker @Pppery This could be fixed by adding something like {{#ifeq: 
. ― Qwerfjkltalk 19:28, 13 August 2021 (UTC)
replies: text: I'm not sure that it would.  For example :Category:Unassessed maritime warfare articles does not have that text on the page, but is using the  template.  Maybe go through and remove all the existing instances first and then get it added here? -- WOSlinker (talk) 19:58, 13 August 2021 (UTC)
replies: text: @WOSlinker This should work: ― Qwerfjkltalk 20:22, 13 August 2021 (UTC)

text: Nevermimd, this would be a lot more complicated because Lua modules don't allow | as an OR operator. I'll follow your advice and post this at WP:BOTREQ. ― Qwerfjkltalk 21:33, 13 August 2021 (UTC)
replies: text: I think my original search critera was not quite right.  I'm seeing 3,458 pages now which already have both templates. There are 7 templates that need editing to remove about 2,500 occurences, leaving 460 used directly on the category pages which would need updating. -- WOSlinker (talk) 22:34, 13 August 2021 (UTC)
replies: text: @WOSlinker Using something like  would probably be better than using . ― Qwerfjkltalk 08:17, 14 August 2021 (UTC)

text: @WOSlinker I think you missed a few, because I've removed all of the mentioned transclusions of . ― Qwerfjkltalk 13:09, 14 August 2021 (UTC)
replies: text:  I've removed the last few that I spotted and have added it to the Category class template now. -- WOSlinker (talk) 13:35, 14 August 2021 (UTC)
thread_title:  Template-protected edit request on 6 August 2021 

message: Currently, Template:Category class/second row column counts all types of elements (pages, subcategories, and files). Surely it would be a better idea to count only pages? All ratings should be placed onto the talk pages of pages, and therefore will always appear as pages in the category listing. The removal of counting of subcategories would mean that, if a project has a sub-category (Like with :Category:A-Class Florida articles and :Category:A-Class Navarre, Florida articles), the count isnt being misrepresented as +1 for each rating (In this case, making it appear as if an A-Class page exists under the Florida project, when it doesnt).
Implementation of this change wouldnt be hard, it would just require adding |pages to the end of  and .
Thanks. Aidan9382 (talk) 06:37, 25 May 2022 (UTC)
replies: text: * Pppery * it has begun... 15:17, 26 May 2022 (UTC)
thread_title:  Template-protected edit request - Change to PAGEINCAT counting 

message: This template has similar functionality to Template:Articles by Quality. Rather than duplicating the code, should we just call that template? — Martin (MSGJ · talk) 17:17, 9 May 2023 (UTC)
thread_title:  Call [[Template:Articles by Quality]]?