Module talk:WikiProject banner/Archive 14: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot
m Archiving 1 discussion(s) from Module talk:WikiProject banner) (bot
 
(18 intermediate revisions by 2 users not shown)
Line 166:
I am thinking about adding the B-class checklist to the module so [[Template:WPBannerMeta/hooks/bchecklist|the hook]] will not be required. This could automatically display whenever the parameters {{para|b1}}, {{para|b2}}, etc. are passed. It will need to be a bit clever in order not to display twice on banners which are using the hook, e.g. do not display the checklist if {{para|HOOK_ASSESS}} is defined. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:48, 23 June 2023 (UTC)
:Could anyone who is good with CSS tell me what I need to do to get the [show] buttons to align in the example below? It's driving me crazy. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:03, 28 June 2023 (UTC)
<syntaxhighlight lang=wikitext>{{WPBannerMeta/test|category=no|class=c|b1=|b2=n|b3=y|b4=y|b5=na|b6=jo|attention-needed=y|needs-infobox=y}}</syntaxhighlight>
::It's the margin and padding, but the two rows do it in different ways - one via <code>style=</code> attributes, the other through classes and stylesheets. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 20:41, 28 June 2023 (UTC)
 
Line 486:
 
:This has now been implemented, and inactive project banner templates can use the "inactive" function of [[Module:WikiProject banner]], i.e. replace the top line of code with <code><nowiki>{{#invoke:WikiProject banner|inactive</nowiki></code> &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:25, 23 October 2023 (UTC)
 
== Deprecation of QUALITY_SCALE parameter ==
 
At some point in the future, this parameter may not be needed anymore. The four options are:
* standard: this can be omitted anyway as it is the default.
* extended: this is the standard scale plus a few extras for non-articles. Since July we only use these extra classes if the categories actually exist. So this can become the default behaviour.
* inline: there are no more of these left in the wild.
* subpage: any project using a custom mask should also be using {{para|QUALITY_CRITERIA|custom}} so these parameters will mean the same thing, and therefore {{para|QUALITY_SCALE|subpage}} is redundant.
&mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:32, 18 October 2023 (UTC)
 
:This parameter has now been deprecated, so the method to use a custom class mask is now {{para|QUALITY_CRITERIA|custom}} &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:47, 24 October 2023 (UTC)
::Is this change the reason why a few hundred "/class" template subpages, such as {{tl|WikiProject Bible/class}}, just showed up on [[Wikipedia:Database reports/Unused templates (filtered)/1]], a report that lists template pages with no transclusions? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 15:33, 26 October 2023 (UTC)
:::No, not caused by this change directly, but all part of the drive to harmonise ratings across WikiProjects. Please see [[Wikipedia:Templates for discussion/Log/2023 October 26#Unused wikiProject custom class masks]] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:22, 26 October 2023 (UTC)
::::Ah, very good. Thanks for the link. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:23, 26 October 2023 (UTC)
 
== Lua "The time allocated for running scripts has expired." error at [[Portal talk:Jakarta]] ==
 
{{tl|WikiProject Portals}} is causing a Lua {{red|The time allocated for running scripts has expired}} error at [[Portal talk:Jakarta]]. I don't know why it would have cropped up just recently. My only guess is that some change to this Module has caused the page to use too much Lua time. I notice also that the template is trying to transclude [[:Portal talk:Jakarta/Related portals]], [[:Portal talk:Jakarta/Topics]], and [[Portal talk:Jakarta/box-header]], which do not exist. That the latter is missing appears to cause a Linter unclosed table error. I created a redirect there, which solved the Linter error on a similar page. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 13:03, 30 October 2023 (UTC)
 
:Seems to be related to [[Module:Portal maintenance status]] because when I removed this on the sandbox it then loads okay &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:58, 30 October 2023 (UTC)
:[https://en.wikipedia.org/w/index.php?title=Portal:Jakarta&diff=prev&oldid=1182648674 Fixed] - the template's documentation says not to put it inside tables or other templates, so I moved it to the top of the page. Perhaps something about {{ul|WOSlinker}}'s edit on 28 Oct triggered this &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:08, 30 October 2023 (UTC)
::Nice work. So why did fixing something on the Portal page fix a script timeout error on the Portal talk page? It appears that [[Portal talk:Jakarta]] transcludes [[Portal:Jakarta]] in some way. Is that transclusion necessary? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 16:03, 30 October 2023 (UTC)
:::It's [[Module:Portal maintenance status]] - I'm not sure of the details &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:09, 30 October 2023 (UTC)
::::That module was also causing issues on [[Portal talk:Somaliland]] with the layout of the banners, so I removed it from [[Portal:Somaliland]] a couple of days ago as I couldn't find any better fix for it. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 18:27, 30 October 2023 (UTC)
 
== Nomination for deletion of [[Template:WPBannerMeta]] ==
[[File:Ambox warning blue.svg|30px|link=]][[Template:WPBannerMeta]] has been [[Wikipedia:Templates for discussion|nominated for deletion]]. You are invited to comment on the discussion at [[Wikipedia:Templates for discussion/Log/2023 October 31#Template:WPBannerMeta|'''the entry on the Templates for discussion page''']].<!--Template:Tfdnotice--> &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:52, 2 November 2023 (UTC)
 
== Nomination for deletion of [[Template:Inactive WikiProject banner]] ==
[[File:Ambox warning blue.svg|30px|link=]][[Template:Inactive WikiProject banner]] has been [[Wikipedia:Templates for discussion|nominated for deletion]]. You are invited to comment on the discussion at [[Wikipedia:Templates for discussion/Log/2023 October 31#Template:Inactive WikiProject banner|'''the entry on the Templates for discussion page''']].<!--Template:Tfdnotice-->
-- [[Special:Contributions/65.92.247.90|65.92.247.90]] ([[User talk:65.92.247.90|talk]]) 13:02, 3 November 2023 (UTC)
 
== Auto parameter ==
 
{{moved from|Template talk:WikiProject banner shell}}
Noting here: we can now remove support for the <code><nowiki>{{auto|}}</nowiki></code> parameter from all PIQA projects; the bot should also remove it en masse from talk pages. [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 11:18, 6 November 2023 (UTC)
:Are you proposing to move this note to the banner shell, or remove completely from all banners? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:58, 6 November 2023 (UTC)
::Remove completely, as moot - [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 13:10, 6 November 2023 (UTC)
:::I'm not sure I follow. Are you saying that articles will not be automatically assessed in the future? Because I doubt that is true &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:02, 7 November 2023 (UTC)
::::AFAIK it was only ever used by bots, copying class ratings from projects that had one, to projects that didn't, adding <code>|auto=</code> so the rating could be manually reviewed (which no one did) in case projects disagreed with each others' assessments. Was also used in bot runs tagging a WikiProject onto all talk pages in a category tree, also involving the same class copying/inheritance. With PIQA 'inheritance' is the goal and doesn't require manual review. Not aware of another it was used by bots, except copying assessments across projects. Am I missing anything? [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 21:30, 7 November 2023 (UTC)
:::::I agree that once PIQA is rolled out, automatically assessing by inheritance will not be necessary. I believe there are other bots that do/did automatic assessments based on other crtieria, e.g. stub-class based on the length of the article. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:54, 9 November 2023 (UTC)
 
== collaboration parameters missing from auto documentation ==
 
I've set [[Template:WikiProject Zimbabwe]] to {{para|DOC|auto}} which works, but it doesn't show the 3 collaboration parameters that the template uses. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 09:22, 10 November 2023 (UTC)
 
:I also noticed that the documenation for the infobox parameter under "Notes and alerts" thinks the parameter name is {{para|infobox}} while under "Full usage" (and in the actual code), the name is {{para|needs-infobox}}. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 09:25, 10 November 2023 (UTC)
:It is true, I have not yet added the collaboration parameters to the auto doc. Some other rarely used parameters are also still to be included. I've fixed the issue with the infobox parameter in the sandbox. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:51, 10 November 2023 (UTC)
::I created [[:Category:WikiProject banner templates using undocumented features]] to find which features most urgently need documenting. I am working on image-needed at the moment, and will get to collaboration later, unless anyone else can help with this &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:39, 15 November 2023 (UTC)
 
== Auto doc code style request ==
 
While testing (in preview) the auto doc with[[Template:WikiProject Television]] I saw a difference that I think the auto doc could benefit. In [[Module:WikiProject banner/config#L-379]] section and below, can you replace:
* <code>set _PARAMETER_ to "yes"</code>, which produces a text like {{tq|set needs-infobox to "yes"}}, with
* <code>set <nowiki>{{para|_PARAMETER_|yes}}</nowiki></code>, which produces a text like {{tq|set {{para|needs-infobox|yes}}}}
 
If using the {{tl|para}} there is problematic then even manually creating a similar style would be good. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 07:49, 15 November 2023 (UTC)
 
:Could we encode this as something like _PARAMETER_|yes so that gsub can be told to put what comes after the pipe as the argument of the parameter &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:38, 15 November 2023 (UTC)
::So going by what you asked, this should work:
::<syntaxhighlight lang="lua" line>
local doc = "_PARAMETER_|yes"
local parameter = doc:gsub('|yes', ''):gsub('_PARAMETER_', 'needs-infobox')
local value = doc:gsub('_PARAMETER_|', '')
local code = "<code>|%s=%s</code>"
local result = code:format(parameter, value)
print(result)
</syntaxhighlight>
::For readability I would split line 2. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 11:50, 15 November 2023 (UTC)
:::Another option would be to make the auto_doc table another level deep, so that you just store the value. That way you have <code>config.auto_doc.infobox.value</code>. Not sure which is better though. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 11:54, 15 November 2023 (UTC)
::::Should be possible to do this more efficiently with capture, e.g. <code>'_PARAMETER_%|(%a+)'</code> ? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:33, 15 November 2023 (UTC)
::::Possible code on the sandbox. Not convinced it will work for _PARAMETER_ without value, but need to test it &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:43, 15 November 2023 (UTC)
:::::I've tested in on [[Template:WikiProject Television/sandbox]] and it works good. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 17:07, 15 November 2023 (UTC)
::::::Unrelated to the above changes, the {{para|needs-ref}} bullet uses <code><nowiki>_PAGETYPE_</nowiki></code> in the text description, which is shown like that (instead of a page type) with the auto doc. Any idea what a fix might be here? [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 17:11, 15 November 2023 (UTC)
 
== Linter error in sandbox invocation ==
 
At [[:Template:WikiProject Algeria/sandbox]], the code expands to:
 
<code><nowiki>Will be categorised into Category:Wikipedia requested photographs in {{{<code class="tpl-para" style="word-break:break-word">|image-___location=</code>}}}</nowiki></code>
 
which then evaluates to
 
<code><nowiki>Will be categorised into Category:Wikipedia requested photographs in image-___location=</code></nowiki></code>
 
and does not render correctly in the documentation. I don't think any of that is what was intended. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:38, 15 November 2023 (UTC)
 
:An unintended consequence of the changes discussed one section above. I'm still working on this code anyway, so it will be fixed somehow &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 17:57, 15 November 2023 (UTC)
::If <code><nowiki>local code = "<code>|%s=%s</code>"</nowiki></code> is being used, you might just need {{tag|nowiki}} tags inside the {{tag|code}} tags. There is probably a more sophisticated solution. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 18:43, 15 November 2023 (UTC)
 
== B-class checklists ==
 
Please see the discussion at {{section link|Wikipedia talk:WikiProject Council|Determining the future of B-class checklists}} which may involve changes to this module &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:43, 8 November 2023 (UTC)
 
:I have closed this discussion with consensus to remove the B-class checklist from any banner which has not opted out of PIQA, i.e. has not set {{para|QUALITY_CRITERIA|custom}} &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:03, 14 November 2023 (UTC)
:Updated code on sandbox. B-class checklist will not be displayed unless {{para|QUALITY_CRITERIA|custom}} &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:17, 16 November 2023 (UTC)
 
== Dab being generated to [[Wikipedia:Lists]] ==
 
{{Ping|MSGJ}} but it's [[Special:Diff/1185760174|fixed]] in the sandbox! But I'm not familiar with rest of the code at all, so there might be a better solution. Plus there're 10e7 transclusions, so I'd rather someone more knowledgable take a look at it. &nbsp;&nbsp;<b>~</b>&nbsp;<span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span>&nbsp; 21:28, 18 November 2023 (UTC)
:Is there an example page with a banner but no direct links to [[Wikipedia:Lists]] on the rest of the talk page? I looked at a few and all had a direct link somewhere on the page. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:50, 18 November 2023 (UTC)
::{{Ping|WOSlinker}} see [[Talk:Meanings of minor planet names: 599001–600000]]. &nbsp;&nbsp;<b>~</b>&nbsp;<span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span>&nbsp; 22:06, 18 November 2023 (UTC)
:::I went to [https://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Wikipedia:Lists&namespace=1&limit=5000] but didn't see that page in the list. Am I looking in the wrong place? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 23:01, 18 November 2023 (UTC)
::::[[Special:Diff/1185757933|This edit]], which added {{tl|WikiProject Lists}}, was automatically tagged with "Disambiguation links added", but [[Special:Diff/1185759771|this edit]], which added {{tl|WikiProject Lists/sandbox}}, did not. &nbsp;&nbsp;<b>~</b>&nbsp;<span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span>&nbsp; 00:48, 19 November 2023 (UTC)
:::::When I added the sandbox version to a page, with [https://en.wikipedia.org/w/index.php?title=User:WOSlinker/lint14&diff=prev&oldid=1185843610 this edit], it showed that tag as well, so I'm not sure your sandbox fix fully works. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 09:41, 19 November 2023 (UTC)
::::::[[Special:Diff/1185850355|Fixed]]! &nbsp;&nbsp;<b>~</b>&nbsp;<span style="font-family:Monotype Corsiva; font-size:16px;">[[User:Tom.Reding|Tom.Reding]] ([[User talk:Tom.Reding|talk]] ⋅[[WP:DGAF|dgaf]])</span>&nbsp; 10:51, 19 November 2023 (UTC)
:::::::I've had a look at this in a bit more detail and it wasn't the project link causing the issue. It wasn't looking at [[Wikipedia:Lists]] at all. What it was doing was looking at [[Lists]] (which is also a disambig page). The code that is causing the issue is on line 191 and is checking for the existance of the Lists page. I've done an [https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/sandbox&diff=prev&oldid=1185859111 update in the sandbox] that avoids the checking if the MAIN_TEXT parameter is set which seems to fix this. [[User:MSGJ|MSGJ]], would you be able to check that this change works ok? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 12:25, 19 November 2023 (UTC)
::::::::Looks good - thanks for looking into this! &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:29, 19 November 2023 (UTC)
 
== Rating non-articles ==
 
Following a discussion at [[Template talk:WikiProject banner shell#Ignore class on non-article pages?|Template talk:WikiProject banner shell]] I have proposed a change in the logic of [[Module:Class mask]] so that all non-articles be rated automatically without regard to the {{para|class}} parameter. In other words, a non-applicable {{para|class|stub}} on a Template would be ignored and the rating will be Template-class not Stub-class. This would apply to all non-articles, e.g. redirects, drafts, files, disambiguation pages, portals, etc. The only exception (I think) is that {{para|class|FM}} is allowed in the File namespace. Please direct any comments to [[Template talk:Class mask#Rating non-articles]] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:53, 25 November 2023 (UTC)
 
== demo_page parameter ==
 
As more of the class assessments are now set automatically based on namespace and what templates are used on the page, I'm planning to add a demo_page parameter in order to test how the module will behave on different pages. [[Template:WikiProject banner shell]] already has such a parameter. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 18:33, 4 December 2023 (UTC)
 
== Highlight conflicting ratings ==
 
I would like to propose a red border, or similar, when a rating is given which conflicts with the project-independent quality assessment. See {{oldid|oldid=1188186153|Talk:Freemasonry in Montenegro}} for an example of how it could look. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:31, 3 December 2023 (UTC)
 
:Other suggestions:
:# Apply red border to the quality rating in the expanded version of the banner. The idea is that this should be a copy of the bubble in the collapsed version, so should convey the same information ideally.
:# Add a note in the banner to explain that the rating conflicts with the PIQA rating, perhaps with a link to an information page with details on PIQA and how to update the article's rating.
:None of this will apply to projects which have opted out of PIQA. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:41, 4 December 2023 (UTC)
::I agree in principle. I have no thoughts on how it would look though. -[[User:Kj cheetham|Kj cheetham]] ([[User talk:Kj cheetham|talk]]) 18:37, 5 December 2023 (UTC)
:::I added the red border to the bubble. Regarding other suggestion 1, this will take more work as [[Module:Class]] needs to be modified. That might expedite the proposed merge of that module into this module. Other suggestion 2 probably makes sense to do at the same time. The usual wording could be replaced by {{green|This article has been given a rating which conflicts with the project-independent quality rating in the banner shell. Please resolve this conflict if possible. See XXX for more information.}} &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:37, 6 December 2023 (UTC)
::::I have added the code for this to the sandbox, and there is a test on [[Module talk:WikiProject banner/testcases]] to show what it would look like. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:05, 18 December 2023 (UTC)
 
== Listing of draft articles as unassessed ==
{{moved from|User talk:MSGJ}}
Sorry to bother you once again, Martin, but I have just noticed that today for the first time draft articles in WP Italy are now being listed as unassessed. See [https://wp1.openzim.org/#/project/Italy/articles?quality=NotA-Class here]. Do you happen to know if this is intentional and if so, why? You will see they are not listed under [[:Category:Unassessed Italy articles]] (but that's logical as they're drafts, not articles).--[[User:Ipigott|Ipigott]] ([[User talk:Ipigott|talk]]) 12:12, 18 December 2023 (UTC)
:Just dropping this here in case anyone has time to look into this issue &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:56, 18 December 2023 (UTC)
::I see the problem has now been fixed.--[[User:Ipigott|Ipigott]] ([[User talk:Ipigott|talk]]) 06:46, 19 December 2023 (UTC)
:::No idea what caused it, but don't think it was template-related &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 09:19, 19 December 2023 (UTC)
 
== Merge of B-class checklist ==
 
I am planning to make [https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/auxiliary/sandbox&diff=prev&oldid=1190568391 this change] tp the B-class checklist code, to allow the deprecation of [[Template:WikiProject Military history/bchecklist]]. Pinging @[[User:DFlhb|DFlhb]] for any comment. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 17:02, 18 December 2023 (UTC)
 
:Looks fine to me - [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 18:57, 19 December 2023 (UTC)
 
==Discussion at [[:Template talk:WikiProject banner shell#Duplicate banner templates category|Template talk:WikiProject banner shell §&nbsp;Duplicate banner templates category]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]]&nbsp;You are invited to join the discussion at [[:Template talk:WikiProject banner shell#Duplicate banner templates category|Template talk:WikiProject banner shell §&nbsp;Duplicate banner templates category]]. &zwj;—&zwj;[[User:A smart kitten|a&nbsp;smart kitten]]<sub>[<nowiki/>[[User talk:A smart kitten|meow]]]</sub> 01:23, 26 December 2023 (UTC)<!-- [[Template:Please see]] -->
 
== WP US not hooking into PageAssessments ==
 
[[Template:WikiProject United States]] appears to use this banner template, but it doesn't seem to be hooking into PageAssessments for its subprojects. I started a [[Template talk:WikiProject United States#Compatibility with CleanupWorklistBot|discussion at the appropriate spot]] three months ago, but nobody is answering it. This is causing incomplete data in the CleanupWorklistBot-generated lists, specifically [https://bambots.brucemyers.com/cwb/alpha/Louisville.html importance and class aren't showing up]. Can this be fixed somehow, or am I going to have to consider withdrawing projects I maintain from WP US just to get a banner that performs as it should? [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 18:58, 4 January 2024 (UTC)
 
:I believe it is working correctly. I chose a random example [[Digital Equipment Corporation]] and you can see the subproject Massachusetts at the bottom of [https://en.wikipedia.org/w/api.php?action=query&prop=pageassessments&titles=Digital%20Equipment%20Corporation&pasubprojects=true this]. If you still think there is an error, can you provide an example that does not work? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:01, 4 January 2024 (UTC)
::I linked to the example. They're not showing up in the CleanupWorklistBot results, which draws from PageAssessments. [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 20:02, 4 January 2024 (UTC)
:::A random example from that page is [[1792 Bourbon]] and the output is [https://en.wikipedia.org/w/api.php?action=query&prop=pageassessments&titles=1792%20Bourbon&pasubprojects=true here]. I suspect the problem is with that tool, not with this module. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:04, 4 January 2024 (UTC)
::::Hrrrm, thanks. I had no idea how to check this area as it's completely outside my knowledge set. Well, back to the bot developer. :) [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 20:07, 4 January 2024 (UTC)
:::::I would ask the question whether [[User:CleanupWorklistBot]] is designed to work with subprojects, and if not could that functionality be added &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:08, 4 January 2024 (UTC)
::::::OK, this is now cleared up and bot's code has been changed to cover this. Thank you for your assistance! [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 20:38, 5 January 2024 (UTC)
 
== Class colours ==
 
We are currently using two sets of colours for the quality classes. The main set comes from [[Module:Class]] and a separate set of paler colours which were developed in response to concerns about contrast and accessibility, and are used for the assessment "bubbles", which you see in the nested version.
{| class="wikitable"
!Class
!Standard
!Pale
|-
!FA
|style="background:#9cbdff"|
|style="background:#BED3FF"|
|-
!A
|style="background:#66ffff"|
|style="background:#C0FFFF"|
|-
!GA
|style="background:#66ff66"|
|style="background:#C0FFC0"|
|-
!B
|style="background:#b2ff66"|
|style="background:#DFFFBF"|
|-
!C
|style="background:#ffff66"|
|style="background:#FFFFBE"|
|-
!Start
|style="background:#ffaa66"|
|style="background:#FFDBBF"|
|-
!Stub
|style="background:#ffa4a4"|
|style="background:#FFC0C0"|
|-
!List
|style="background:#c7b1ff"|
|style="background:#D2C0FF"|
|-
!NA
|style="background:#f5f5f5"|
|style="background:#F5F5F5"|
|-
!Unassessed
|style="background:#dcdcdc"|
|style="background:#dcdcdc"|
|}
I was going to suggest that we settle on using the pale set for both? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 19:51, 17 December 2023 (UTC)
:Examples below show current and proposed.
{{WPBS|category=no|
{{WikiProject Cycling/sandbox|class=start|importance=low|demo_page=Talk:Downingtown Country Club}}
{{WikiProject Cycling|class=start|importance=low|demo_page=Talk:Downingtown Country Club}}
}}
:&mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:09, 18 December 2023 (UTC)
:Colours have now been updated. Should be do the same for the importance colours? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 17:34, 19 December 2023 (UTC)
::I'd support that. The accessibility reasons that drove paler colours for the bubbles, also apply to other places those colours are used - [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 14:25, 20 December 2023 (UTC)
:::I was also wondering whether we could just put "Start" and "Low" in the bubble, rather than "Start-class" and "Low-importance". The full wording is available in the expanded version of the banner anyway. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:28, 20 December 2023 (UTC)
::::No opinion, I'll let others chime in on that [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 17:26, 20 December 2023 (UTC)
 
===Importance colours ===
{| class="wikitable"
!Importance
!Standard
!Pale
|-
!Top
|style="background:#ff97ff"|
|style="background:#FFBFFF"|
|-
!High
|style="background:#ffacff"|
|style="background:#FFCCFF"|
|-
!Mid
|style="background:#ffc1ff"|
|style="background:#FFD9FF"|
|-
!Low
|style="background:#ffd6ff"|
|style="background:#FFE7FF"|
|-
!Bottom
|style="background:#ffebff"|
|style="background:#FFEBFF"|
|-
!NA
|style="background:#f5f5f5"|
|style="background:#F5F5F5"|
|-
!Unknown
|style="background:#dcdcdc"|
|style="background:#dcdcdc"|
|}
I notice that Bottom-importance is indistinguishable from Low-importance in the pale colours. Can a paler version of Bottom be used? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 11:16, 3 January 2024 (UTC)
 
:These paler importance colours are now in use &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 07:48, 6 January 2024 (UTC)
 
== Possible room for improvement in the unknown parameter check ==
 
I don't know why I had to [https://en.wikipedia.org/w/index.php?title=Template%3AWikiProject_European_Microstates&diff=1195022260&oldid=1195003018 do this] (add pipes to parameter names) to have the template recognize the parameters as valid in the parameter check. See [https://en.wikipedia.org/w/index.php?diff=1195022358&oldid=1194955701#Andorra-importance this discussion]. Is there any documentation about how this module determines which parameters are valid? – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 23:38, 11 January 2024 (UTC)
 
:Coincidentally, a change was made to the sandbox earlier today which should resolve this &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 23:40, 11 January 2024 (UTC)
::Groovy. Thanks. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 00:15, 12 January 2024 (UTC)
:::Super. I'll note that the /doc currently has both (piped and un-piped) as examples, which led to my own confusion (see the edits previous to Jonesey's). [[User:Primefac|Primefac]] ([[User talk:Primefac|talk]]) 07:24, 12 January 2024 (UTC)
::::The unpiped form is generally not a good idea.
::::First consider the situation when the template code has the pipe in a line like <syntaxhighlight lang=wikitext> |tf 1 importance={{{Andorra-importance|}}}</syntaxhighlight> If that template is transcluded, it makes no difference whether the {{para|Andorra-importance}} parameter is absent from a transclusion, e.g. {{tlx|WikiProject European Microstates}} with no parameters, or is present but blank, e.g. {{tlx|WikiProject European Microstates|2=Andorra-importance=}} - in both cases the {{para|tf 1 importance}} parameter inside the template is fed an empty string.
::::Now consider the situation when the template code lacks the pipe - i.e. <syntaxhighlight lang=wikitext> |tf 1 importance={{{Andorra-importance}}}</syntaxhighlight> If that template is transcluded, it does make a difference whether the {{para|Andorra-importance}} parameter is absent from a transclusion, or is present but blank. When it is present but blank, the {{para|tf 1 importance}} parameter inside the template is fed an empty string, as expected. But when the {{para|Andorra-importance}} parameter is absent from a transclusion, e.g. {{tlx|WikiProject European Microstates}} with no parameters, the ''literal'' value <code><nowiki>{{{Andorra-importance}}}</nowiki></code> is passed through {{para|tf 1 importance}}. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 18:09, 12 January 2024 (UTC)
 
== PageAssessments on banners not using assessments ==
 
There is some discussion on [[:meta:User talk:Community Tech bot#Popular pages not updating|User talk:Community Tech bot]] with suggestions that banners should be populating the PageAssessments database even if they are not using any quality or importance ratings. This is the first I've heard of this. Does anyone know about this? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 11:07, 19 January 2024 (UTC)
 
:[https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/sandbox&diff=prev&oldid=1197141198 This] would be an easy fix - I'm just not convinced that we ever did this in the previous version of this template. Any reasons not to do this? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 11:18, 19 January 2024 (UTC)
::I was wrong. The previous code was <code><nowiki>{{#assessment:{{{PROJECT}}}|{{#ifeq:{{str right|{{{class|¬¬}}}|1}}|¬||{{str right|{{{class|}}}|1}}}}|{{#ifeq:{{{importance|¬}}}|¬||{{{importance}}}}}}}</nowiki></code> so we did call this for every project. I will make the fix &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 19:26, 19 January 2024 (UTC)
:::{{done}} &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 21:05, 20 January 2024 (UTC)
::::@[[User:MSGJ|MSGJ]] Thanks for making this change! I see now [[Special:PageAssessments]] has [https://en.wikipedia.org/wiki/Special:PageAssessments?project=Classical+music&namespace=0&page_title= results for 'Classical music']. WikiProject [https://en.wikipedia.org/wiki/Special:PageAssessments?project=U.S.+Roads&namespace=0&page_title= U.S. Roads] now does too, but evidently not the subprojects such as [https://en.wikipedia.org/wiki/Special:PageAssessments?project=U.S.+Roads%2FCalifornia&namespace=0&page_title= U.S. Roads/California]. This issue seems to date back to March 2023, not August, so it's likely a separate issue. At quick glance, [https://en.wikipedia.org/w/index.php?title=Template%3AWikiProject_U.S._Roads&diff=1145411468&oldid=1134222819 this series of edits] (and possibly the subsequent use of the module) could be the cause. Any ideas? Also pinging @[[User:Fredddie|Fredddie]]. Thanks and regards, <span style="font-family:sans-serif">&mdash; <span style="font-weight:bold">[[User:MusikAnimal|<span style="color:black; font-style:italic">MusikAnimal</span>]] <sup>[[User talk:MusikAnimal|<span style="color:green">talk</span>]]</sup></span></span> 23:28, 24 January 2024 (UTC)
:::::I think I've fixed U.S. Roads with the following [https://en.wikipedia.org/w/index.php?title=Template:WikiProject_U.S._Roads/taskforce&diff=prev&oldid=1198750999 edit]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 23:59, 24 January 2024 (UTC)
:::::PageAssessments will not be used for task forces unless the TF_n_NAME parameter is defined for each task force, so I guess this is missing for the U.S. Roads project. This project's banner is on my to-do list as it contains lots of outdated stuff, so I will hopefully get to it soon. In the meantime WOSlinker's kludge should work &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:55, 25 January 2024 (UTC)
::::::Sounds great. Thank you all! <span style="font-family:sans-serif">&mdash; <span style="font-weight:bold">[[User:MusikAnimal|<span style="color:black; font-style:italic">MusikAnimal</span>]] <sup>[[User talk:MusikAnimal|<span style="color:green">talk</span>]]</sup></span></span> 19:03, 25 January 2024 (UTC)
 
== Alternative way of triggering task forces ==
 
Some projects, including US Roads discussed above, have a different way of triggering task forces, where the ''value'' of a parameter defines the task force rather than the ''name'' of the parameter. For example {{para|AL|yes}} uses the name of the parameter "AL" to define the task force; this is the way that most banners work. US Roads uses {{para|state1|AL}} or {{para|state2|AL}}, etc. and the value of the parameter "AL" defines the task force. This is currently really hard to code using this module, so I am thinking about other possibilities.
 
For example we could use {{para|TF_PARAMETER_PREFIX|state}} with {{para|tf 1|AL}} (or maybe a different parameter like {{para|tf 1 value|AL}} would be more sensible). Then the module could check all parameters of the form {{para|state1}}, {{para|state2}}, {{para|state3}}, etc. and if any of those have value "AL" then the task force is triggered.
 
I'm just brainstorming at the moment, so any ideas would be good &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 10:08, 31 January 2024 (UTC)
 
:In that specific template, is there anything that is blocking converting {{para|state{{var|n}}}} uses ({{para|state20|AL}}) to just use {{para|AL|yes}}? [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 15:32, 31 January 2024 (UTC)
::Do you mean a bot run to change these over? Yes, that could be possible alternative if the project was okay with that. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 15:54, 31 January 2024 (UTC)
:::Yes. It seems much more trouble adding and supporting code that only one project uses instead of fixing that project's code to use the same style that every other project does. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 18:18, 31 January 2024 (UTC)
::::I've made the suggestion at [[Template talk:WikiProject U.S. Roads]] &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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 &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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 ... &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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 &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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 &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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) &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[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)
 
==Discussion about centralizing TemplateData for WikiProject banners==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]]&nbsp;You are invited to join the discussion at [[:User talk:Evad37/rater.js#Aliases|User talk:Evad37/rater.js §&nbsp;Aliases]]. <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:100% Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 17:50, 14 February 2024 (UTC)<!-- [[Template:Please see]] -->
 
:Not sure why Izno said it was impossible. I have made central documentation for a different module (see [[Module:Wikidata_table#L-650]]) that includes TemplateData for all its wrappers, and that seems to work well. Don't see why it couldn't be done here too &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:08, 14 February 2024 (UTC)
::Please respond at the original discussion, per [[WP:TALKFORK]]. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 04:11, 16 February 2024 (UTC)
:::It's a user talk page. Fine for brainstorming ideas, but if you want to progress anything then this is the page for that discussion ): &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 14:51, 16 February 2024 (UTC)
::::A user talk page for a widely used gadget/script. I think that page is preferable for the purposes of continuing an ongoing discussion.
::::As for why I said it was impossible, I am always happy to be proven wrong. What is certainly impossible is doing it without parsing the wikitext of the template in Lua, or a separate JSON page (at which point you might as well just plug in the TemplateData directly), or any of a variety of other things which are functionally equivalent to "you can't transclude <nowiki><templatedata></nowiki> and then extend a transclusion with the things that differ meaningfully". But now that you've split the discussion willfully, guess Sdkb will never know. :) [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 21:51, 16 February 2024 (UTC)
:::::I'm not a fan of talk forks like this, but thanks to the miracles of [[mw:Talk pages project/Notifications|modern technology]] I'm plenty aware 🙂 <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 22:19, 16 February 2024 (UTC)
:::::If you see what I did at [[Module:Wikidata table]], I think it would be very feasible to do something similar in this module. But I'm struggling to understand the purpose, because I thought TemplateData is only used by Visual Editor which is only used in mainspace, whereas this template is used on talk pages. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 23:18, 23 February 2024 (UTC)
::::::Rater appears to use TemplateData based on Ctrl + F in the minified source at [[User:Evad37/rater/app.js]]. And no, it is not solely a tool for VE. Either way, centralized TemplateData ''doesn't'' work with the actual TemplateData editor. Which may or may not be fine, but is an additional hurdle for users who might wish to modify the descriptions of certain parameters further. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 00:18, 24 February 2024 (UTC)
:::::::Yeah, adding on to Izno's reply, my understanding is that TemplateData was originally created for the VisualEditor, but that it now has other applications like the Rater script. And I'd expect further applications in the future as we create new scripts/tools, so I think it's best to always create TemplateData so that there will be machine-readable standardized information for any script/tool that wants to use it. Cheers, <span style="border:3px outset;border-radius:8pt 0;padding:1px 5px;background:linear-gradient(6rad,#86c,#2b9)">[[User:Sdkb|<span style="color:#FFF;text-decoration:inherit;font:1em Lucida Sans">Sdkb</span>]]</span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 00:33, 25 February 2024 (UTC)
::::::::I personally find it very useful to have the parameters listed in the visual editor for WikiProject banner templates. I have added several TemplateDatas to several of the documentation pages and I would love to see it implemented universally. I have no clue how to go about doing it though. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 21:19, 8 March 2024 (UTC)
:::::::::As discussed above, visual editor is of no use to this template/module because it only exists on talk pages. The only use so far described, is possibly the Rater script. If there were more uses, it might make adding this more of a priority &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:05, 10 March 2024 (UTC)
::::::::::Apologies, when I said "visual editor", what I really meant was the "Insert a template" puzzle piece button at the top of the visual and source editor. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 21:51, 10 March 2024 (UTC)
:::::::::::Ooh, the [[mw:Help:Extension:TemplateWizard]]. I can't believe I've never noticed this or used it before. Okay, I will add this task to my to-do list or perhaps someone will get to it before me &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:28, 10 March 2024 (UTC)
::::::::::::Thank you very much. It's not a top priority obviously but it would be nice. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 06:52, 11 March 2024 (UTC)
Proof of concept: try using {{tl|WikiProject Norway/sandbox}} on a random talk page with the TemplateWizard. Only the class parameter is supported yet &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:18, 11 March 2024 (UTC)
 
:Yes, this is exactly what I was envisioning. Thank you. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 05:51, 12 March 2024 (UTC)
::First iteration of this is now live. It will only work when {{para|DOC|auto}}. It can be improved further but let me know what you think so far? &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 11:12, 15 March 2024 (UTC)
:::Just been testing it on WikiProject Zimbabwe and WikiProject Water Sports, and it works very well for me on both. Though, on WikiProject Zimbabwe, it has an example and information dialogue for the <code>needs-infobox</code> parameter, but not for the <code>needs-photo</code> parameter. Thank you. [[User:It is a wonderful world|It is a wonderful world]] ([[User talk:It is a wonderful world|talk]]) 13:23, 15 March 2024 (UTC)
::::Yeah it's not finished yet. You can add a description in [[Module:WikiProject banner/templatepage/sandbox#L-669|line 669]] of the code if you wish &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 16:59, 15 March 2024 (UTC)
:::Looks good. Following [[Wikipedia:TemplateData/Tutorial#Completing_the_template_data_information]] I'd change the "string" types to "line" and maybe mark the class as "deprecated" instead of "suggested" as we're moving it to the banner? [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 18:34, 15 March 2024 (UTC)
::::Both good idea and {{done}} on the sandbox. The type:line doesn't seem to make any difference to the template wizard. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:10, 15 March 2024 (UTC)