Content deleted Content added
Plastikspork (talk | contribs) Remove page from Special:WantedTemplates |
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot |
||
Line 776:
::::I've made the suggestion at [[Template talk:WikiProject U.S. Roads]] — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:31, 31 January 2024 (UTC)
:::::An unpromising response over there. I feel it wouldn't be difficult to add this functionality to the module, without adding any overhead to existing uses. It could also be useful in other banners, e.g. Canada Roads — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 19:00, 2 February 2024 (UTC)
== More page types ==
Now [[Module:Pagetype]] has the ability to detect two more types of page: soft redirects and set index articles. I proposed to make use of this by:
* Automatically assessing soft redirects as Redirect-class, in any namespace;
* Automatically assessing set index articles as List-class in article space, ''if no valid class is defined''. (There are sometimes SIAs which are mischaracterised, so it would be useful to be able to override the default.)
Thoughts? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:59, 2 February 2024 (UTC)
:Code for this is now on [[Module:WikiProject banner/sandbox]] and [[Module:Banner shell/sandbox]]. Requested by @[[User:PARAKANYAA|PARAKANYAA]] and @[[User:Hawkeye7|Hawkeye7]]. Have also taken the time to merge in the code from [[Module:Class mask]]. Needs a lot more testing though ... — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:11, 25 February 2024 (UTC)
::Switching to use the sandbox version moved the article from [[:Category:Unassessed articles]] to [[:Category:NA-Class articles]] but I think it should be in [[:Category:Redirect-Class articles]]. [[User:Hawkeye7|<span style="color:#800082">Hawkeye7</span>]] [[User_talk:Hawkeye7|<span style="font-size:80%">(discuss)</span>]] 20:43, 25 February 2024 (UTC)
:::Please tell me which page you are testing on? Redirect-class will generally be used if the project has created the corresponding category, otherwise it falls back to NA-class — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:45, 25 February 2024 (UTC)
:::: The page in question is [[-izzle]]. I have left it using the sandbox version so you can see it. Originally it had the banner shell but was not tagged for a project; I don't know how many of these are out there. As noted, Sandbox version switched it from [[:Category:Unassessed articles]] to [[:Category:NA-Class articles]]. Then, in response to your comment, I added a project template, {{tl|WikiProject English Language}}. This is a standard template that uses [[Module:WikiProject banner]]. This caused a switch. It is now listed as [[:Category:Unassessed English Language articles]] despite the fact that the {{tl|WikiProject banner shell/sandbox}} template has a Class=Redirect card. No error is reported. I think it should have gone into [[:Category:NA-Class English Language articles]] although it would be better still to create the Redirect category. [[User:Hawkeye7|<span style="color:#800082">Hawkeye7</span>]] [[User_talk:Hawkeye7|<span style="font-size:80%">(discuss)</span>]] 21:03, 26 February 2024 (UTC)
:::::It's because {{tl|WikiProject English Language}} is using the live code and not the sandbox code that I have changed. If you have a look now, I have added the sandbox version and it is using [[:Category:NA-Class English Language articles]]. (If [[:Category:Redirect-Class English Language articles]] existed then it would use that, but it doesn't so falls back to NA-Class.) Hope this all makes sense — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:14, 26 February 2024 (UTC)
:Most tests are working well (see [[Module talk:WikiProject banner/testcases]]). There is one apparent issue. I proposed above that set index articles could be manually assessed but will default to List-class. This is indeed possible, but this manual assessment would not be inherited by banners inside the banner shell (inheriting only happens if the article is otherwise unassessed by the banner, but in this situation it will not be unassessed because it will default to list-class). So I think the only two options are:
:* Automatic assessment of SIAs as list-class: no ability to override manually
:* No auto-assessment of SIAs: each one will need to be assessed individually (this is the status quo)
:Not sure if anyone has an opinion of this? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 19:30, 26 February 2024 (UTC)
::I suspect the status quo is better (manual is better than incorrect automatic), but the cost of such errors appears to be low, so I don't hold the opinion strongly. — [[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 09:08, 27 February 2024 (UTC)
:::I don't really mind either way. A few comments:
:::* [[Wikipedia:Content assessment]] makes it clear that a SIA should be assessed as List-class.
:::* If editors are trying to change that, it's probably because it's not really an SIA, in which case the template on the article should probably be changed.
:::* A common issue is that editors try to rate them as Disambig-class instead. This causes issues because Disambig-class is automatically detected, and only when specific disambiguation templates are used on the article. Auto-assessing these as List-class might prevent this issue.
:::So we can either keep status quo (probably more straightforward) or we can start auto-assessing and be ready to revert if any problems/complaints arise. If no complaints, then it means it was the correct thing to do. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 12:28, 28 February 2024 (UTC)
No further comments so I have implemented the code (''without'' the SIA detection for now) — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 12:49, 1 March 2024 (UTC)
This is fine by me. My concern was articles being marked as unassessed when they were not. I think at redirect and disambig should be standard grades, but that a a debate for another place and time. [[User:Hawkeye7|<span style="color:#800082">Hawkeye7</span>]] [[User_talk:Hawkeye7|<span style="font-size:80%">(discuss)</span>]] 21:00, 1 March 2024 (UTC)
|