Content deleted Content added
retrieve |
m Archiving 3 discussion(s) from Module talk:WikiProject banner) (bot |
||
Line 643:
:There are many inactive banners with old and unsupported parameters. The code can't check them as we are overriding them. Other than MAIN_CAT, what other category parameter is sent? We can just override it with a blank parameter. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 15:42, 7 November 2024 (UTC)
::All the quality cats (unless you filter out class), all the importance cats (unless you filter out importance and all tf importances), any TF_MAIN_CAT, ATTENTION_CAT, etc. ... — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:16, 7 November 2024 (UTC)
== Auto classifying SIAs as List-class ==
Currently a proposal under discussion at [[Wikipedia:Bot requests#Assess set index and WikiProject Lists based on category as lists]] to automatically classify set index articles as List-class. See also [[Module talk:WikiProject banner/Archive 14#More page types]] for a previous proposal along similar lines — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:35, 1 November 2024 (UTC)
:First attempt at code is on the sandbox. Demonstration below — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:30, 7 November 2024 (UTC)
:@[[User:Mrfoogles|Mrfoogles]]: FYI — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:31, 7 November 2024 (UTC)
{{WikiProject banner shell/sandbox|demo_page=Talk:Cheating in sports|
{{WikiProject France/sandbox|Paris=y|demo_page=Talk:Cheating in sports}}
}}
::Oh, just found what might be an issue -- it looks like the Military History project uses "set index article" as a class. I'm not entirely sure if this template applies to <nowiki>{{Wikiproject banner shell}}</nowiki>, <nowiki>{{Wikiproject <insert wikiproject here>}}</nowiki>, or both. But I think this should ideally affect the banner shell but not the individual wikiproject banners to avoid impacting that. E.g. see [[Talk:USS_Yorktown]]. [[User:Mrfoogles|Mrfoogles]] ([[User talk:Mrfoogles|talk]]) 02:29, 8 November 2024 (UTC)
:::That shouldn't affect anything. Milhist have their own scale and do their own thing. This change will impact the banner shell and any project using the standard scale. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 10:04, 8 November 2024 (UTC)
::::Oh, that should work then, just making sure [[User:Mrfoogles|Mrfoogles]] ([[User talk:Mrfoogles|talk]]) 15:53, 8 November 2024 (UTC)
I have made the necessary changes to [[Module:Banner shell]]. Most of the changes are to this module though, and I still need to test things properly. In the meantime you may see some strange results on SIAs — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:09, 9 November 2024 (UTC)
:This should now be done. Let me know if anything looks wrong — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:52, 10 November 2024 (UTC)
::@[[User:MSGJ|Martin]] [[Talk:Diamide]] seems to be broken, saying that it doesn't need a rating on the content assessment scale [[User:Mrfoogles|Mrfoogles]] ([[User talk:Mrfoogles|talk]]) 23:07, 10 November 2024 (UTC)
:::Looks like it works now (Diamide now shows up as list class). Maybe some sort of caching thing. [[User:Mrfoogles|Mrfoogles]] ([[User talk:Mrfoogles|talk]]) 03:44, 11 November 2024 (UTC)
::::Yep, pages might need a [[wp:purge|purge]] — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 10:33, 11 November 2024 (UTC)
== Task force importance ==
I have been improving the auto documentation for task forces, including adding the importance parameters to TemplateData. I am also proposing to move the configuration settings for the template page and auto doc features into the /templatepage module. The reason is I do not want to alter such a heavily transcluded page (and add to the job queue) whenever we tweak the documentation. See [[Module:WikiProject banner/templatepage/sandbox]] for more — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 11:51, 11 November 2024 (UTC)
== Importance assessment ==
Would it be possible to make a way to suppress the importance assessment of List-class articles to Low-importance irregardless of the parameter. <span class="nowrap"><span style="font-family:Comic Sans MS;color:#50B849;">'''''Vestrian24Bio'''''</span> (<small>[[User talk:Vestrian24Bio|<span style="font-family:Times New Roman;color:#0078D7;">'''''TALK'''''</span>]]</small>)</span> 16:25, 25 October 2024 (UTC)
:For info, this would implement the standard stated at [[WP:CRICIS]], as also discussed at [[Wikipedia:Categories_for_discussion/Log/2024_October_20#Category%3AFL-Class_cricket_articles_of_Mid-importance|CFD Oct 20]]. – [[User:Fayenatic london|Fayenatic]] [[User talk:Fayenatic london|'''<span style="color:#FF0000;">L</span>'''ondon]] 14:17, 27 October 2024 (UTC)
:Yes, in principle you can do this via [[Template:WikiProject Cricket/importance]] but you would need to write your own code, because no other project does anything like this. Do you mean whenever {{para|class|list}} you will automatically assign low importance, and it would be impossible to override that? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 21:40, 27 October 2024 (UTC)
::Yes, that's the desired outcome. I think the intended question was whether the meta template includes any features to facilitate this, and you have given us the answer to that: No. At least that's clear now, thanks. – [[User:Fayenatic london|Fayenatic]] [[User talk:Fayenatic london|'''<span style="color:#FF0000;">L</span>'''ondon]] 21:05, 28 October 2024 (UTC)
:::What we can arrange is for the normalised class value to be passed to the importance mask, then it will be simple enough to write the code to produce the desired result — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 21:12, 28 October 2024 (UTC)
:::Should be working on [[Template:WikiProject Cricket/sandbox]], if you'd like to test it. A small change to the meta module will be needed, then we can deploy to your live template — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 21:21, 28 October 2024 (UTC)
:::@[[User:Fayenatic london|Fayenatic london]]: if you still want to do this, then you can deploy that sandbox code and it should work fine now — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 20:59, 10 November 2024 (UTC)
::::@[[user:MSGJ|MSGJ]]: thank you! Please clarify, do I just need to insert <code>|IMPORTANCE_SCALE = subpage</code>, rather than the latest sandbox version by Vestrian24Bio? Also, to implement [[WP:CRICIS]], I think the second line in [[Template:WikiProject Cricket/importance]] should be |Low rather than |NA. – [[User:Fayenatic london|Fayenatic]] [[User talk:Fayenatic london|'''<span style="color:#FF0000;">L</span>'''ondon]] 22:23, 10 November 2024 (UTC)
:::::You're quite right, I've changed the 2nd line to Low. And it's {{para|IMPORTANCE_SCALE|subpage}} that you need. No idea what @[[User:Vestrian24Bio|Vestrian24Bio]] is doing in the sandbox. They seem to be adding a million task forces — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 10:36, 11 November 2024 (UTC)
::::::The sandbox version is to add the newly created taskforces and some new notes as well. <span class="nowrap"><span style="font-family:Comic Sans MS;color:#50B849;">'''''Vestrian24Bio'''''</span> (<small>[[User talk:Vestrian24Bio|<span style="font-family:Times New Roman;color:#0078D7;">'''''TALK'''''</span>]]</small>)</span> 12:34, 11 November 2024 (UTC)
|