Content deleted Content added
GoingBatty (talk | contribs) |
IronGargoyle (talk | contribs) m Reverted edits by 78.172.216.105 (talk): page blanking (HG) (3.4.10) |
||
(17 intermediate revisions by 7 users not shown) | |||
Line 1:
{{Old RfD
{{Aan}}
Line 12:
:{{ping|Evolution and evolvability}} just wondering if my answer made any sense? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:10, 5 May 2020 (UTC)
::{{re|MSGJ}}. Woops, I meant to use {{para|TF_n_IMP}} rather than {{para|TF_n_QUALITY}} as the example. Because currently, if {{para|TF_n}} isn't filled in, the template will ignore {{para|TF_n_IMP}}. The template I'm working on is {{tlx|WikiProject_Molecular_Biology}}.
::Example: <code><nowiki>{{WikiProject Molecular Biology
{{WikiProject Molecular Biology|category=no
::but should really return:
{{WikiProject Molecular Biology|category=no
::So the query is more about whether we can automatically assume {{para|TF_n}} is yes if any of the {{para|TF_n_XYZ}} parameters are filled. [[User:Evolution and evolvability|T.Shafee(Evo<small>&</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 12:26, 5 May 2020 (UTC)
:::Ah, I understand your point now. Typically the only taskforce parameter that is set at the article level is the importance. So you are saying that if {{para|biophysics-imp}} is set to any value, then we should assume that {{para|biophysics|yes}}? That would be fairly simple to implement. Are there any possible side effects of doing this? What if {{para|biophysics-imp|cheesecake}}, i.e. an unrecognised value - should that trigger the taskforce as well? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 13:38, 5 May 2020 (UTC)
Line 46:
The following is extremely jarring when encountered
{{WikiProject banner shell|1=
{{WikiProject Skepticism|class=NA|category=no}}
{{WikiProject Homeopathy
{{WikiProject Alternative medicine
{{WikiProject Alternative Views
}}
The inactive project should be center-aligned just like the active ones. And the '''([[Wikipedia:WikiProject_Council/Guide#Dealing_with_inactive_WikiProjects|Inactive]])''' links should be at the same place as the '''(Raged X-class)'''.  <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 16:06, 1 October 2020 (UTC)
Line 68 ⟶ 66:
::{{Re|MSGJ}}, the code you moved from the core to the main template needs to stay in core as the class and importance param values are normalised before being passed to the core template. See example below. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 20:04, 1 October 2020 (UTC)
{{WikiProject banner shell|category=no|1=
{{WikiProject British Museum|class=xxx|importance=zzz|category=no}}
{{WikiProject British Museum/sandbox|class=xxx|importance=zzz|category=no}}
Line 87 ⟶ 85:
===Couple more===
There is one that still stands out, [[Template:MILHIST]]
{{WikiProject Military history|class=NA|category=no}}
{{WikiProject Military history/sandbox|class=NA|category=no}}
Line 96 ⟶ 90:
{{WikiProject Physics|class=NA|category=no}}
{{WikiProject U.S. Roads|class=NA|category=no}}
{{
{{WikiProject Citizendium Porting|category=no}}
}}
 <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 14:35, 4 October 2020 (UTC)
Line 140 ⟶ 133:
When the image is narrower than the class rating, and notes are used, the columns do not align nicely.
{{WikiProject Portals|category=no|importance=low
On my browser the indentation for the final row is much less than for the other rows in the table. Is there a good way to fix this? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 14:25, 26 October 2020 (UTC)
: It's because the /Note template, or one of its immediate parent templates, creates its own sub-table in a cell which is 3 cells wide. That means it does not inherit the same widths as the cells in the rest of the table. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 15:35, 26 October 2020 (UTC)
:The pertinent code is
<pre><tr><td colspan="3" style="padding:0;">{{#ifexpr:{{#switch:{
{{#ifeq:{{{attention}}}|yes|1|0}}+
{{#ifeq:{{{infobox}}}|yes|1|0}}+
Line 167 ⟶ 160:
::::I may have a play in the sandbox then — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:47, 27 October 2020 (UTC)
Testing sandbox code below. Uncollapsed version does not start a new table, so columns line up. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:23, 27 October 2020 (UTC)
{{WikiProject Portals/sandbox|category=no|importance=low
{{ping|Izno}} would you double-check my code please ([https://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/core/sandbox&diff=prev&oldid=985778587 diff])? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 13:31, 28 October 2020 (UTC)
:{{ping|MSGJ}} Yes, looks fine. (Rough, but such is the nature of wikitext.) --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 14:09, 28 October 2020 (UTC)
Line 333 ⟶ 325:
WikiProject Japan (well actually just Nihonjoe at the moment) are exploring putting some additional information in the collapsed banner, e.g. when a photo has been requested:
{{
I think it would be neater to have that icon after the quality/importance ratings. Would it cause any problems to just move the hook to be after the bracketed portion, because I don't think there is any banner using both of these simultaneously yet? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 14:45, 18 November 2020 (UTC)
:See also [[User:Headbomb/Sandbox/Banner#If_there_are_issues]] (3rd mockup, If there are issues), from a 2017 mockup. As well as 'Projects expanded' from mockup 2.  <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 02:48, 19 November 2020 (UTC)
Line 438 ⟶ 430:
{{edit fully-protected|Template:WPBannerMeta/core|answered=yes}}
Remove the line <code><nowiki><td class="mbox-empty-cell"></td></nowiki></code> from [[Template:WPBannerMeta/core]] to resolve an issue with the border when the template is inside {{tl|WikiProject banner shell}}. It was orginally added by [[User:Happy-melon]] in revision [[Special:Permalink/301387726|301387726]] ([[Special:Diff/301387726/prev|diff]]) so the header and the body would have the same number of table cells since the header also had a <code>mbox-empty-cell</code> table cell that was used to contain the metadata. But now that the metadata was moved and the <code>mbox-empty-cell</code> in the header was removed by [[User:WOSlinker]] in revision [[Special:Permalink/982121201|982121201]] ([[Special:Diff/982121201/prev|diff]]), there is one extra table cell in the text row, causing the border issue. To fix this, the <code>mbox-empty-cell</code> should in the text row should also be removed. Here's the effect of the change (notice the border in the top right):
<!--<div class="wpbs-inner">
{{Center|Current}}
{{WPBannerMeta/core|PROJECT_NAME=CURRENT}}
{{Center|Proposed}}
{{WPBannerMeta/core/sandbox|PROJECT_NAME=SANDBOX}}
</div>--><span class="nowrap">– [[User:BrandonXLF|<span style="color:blue;">Brandon</span><span style="color:green;">XLF</span>]] ([[User talk:BrandonXLF|talk]])</span> 05:15, 31 March 2021 (UTC)
:{{done}} -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 07:46, 31 March 2021 (UTC)
Line 469 ⟶ 461:
There is a cosmetic problem when a WP banner appears within a narrow browser window. I reproduce an example banner from this template's documentation to help discuss this.
{{#invoke:WikiProject banner|main
|PROJECT = Tulips
|BANNER_NAME = Template:WikiProject Tulips
Line 648 ⟶ 640:
<nowiki>|class_values = {{{class_values|}}}</nowiki>
just above the line
<nowiki>|auto={{lc:{{{
This will allow the auto documentation to support an inline quality class. (I already made the corresponding change in {{tlx|WPBannerMeta/templatepage}}).
Line 681 ⟶ 673:
<nowiki>|tf 1 = {{{aviation|}}}</nowiki>
It seems that a talk page with <nowiki>{{WikiProject Military history|aviation=y}} </nowiki>, it'll get recognized, but <nowiki>
Is there any way around this, other than :
Line 690 ⟶ 682:
The context for this is that I'm trying to create a WPBannerMeta version of the MILHIST talk page banner. Some of its task forces have 15+ parameters, so it would be nice to avoid needing to add multiple variations of capitalization for each TF parameter.
Would there be any ''downsides'' to changing {{tl|WPBannerMeta/hooks/taskforces}} to make these case-insensitive by default? That would be rather nice, and would help catch a lot of errors we couldn't possibly add to templates, like <nowiki>
[[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 12:40, 11 February 2023 (UTC)
Line 726 ⟶ 718:
|category={{{category|¬}}}
|BANNER_NAME = Template:WikiProject United States
|cat 1={{{
|CAT_1 = Automatically assessed American cinema articles
|cat 2={{{attention|}}}
Line 888 ⟶ 880:
==Discussion at [[:Wikipedia talk:WikiProject Vital Articles#TfD follow-up: Fate of the vital article talk banner|Wikipedia talk:WikiProject Vital Articles § TfD follow-up: Fate of the vital article talk banner]]==
[[File:Symbol watching blue lashes high contrast.svg|25px|link=|alt=]] You are invited to join the discussion at [[:Wikipedia talk:WikiProject Vital Articles#TfD follow-up: Fate of the vital article talk banner|Wikipedia talk:WikiProject Vital Articles § TfD follow-up: Fate of the vital article talk banner]].  Information is particularly sought on whether or not it would be possible to add a parenthetical like {{tq|(Listed at level 3 in People)}} in place of e.g. {{tq|(Rated Mid-Importance)}} without making changes to this template. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 19:57, 27 May 2023 (UTC)<!-- [[Template:Please see]] -->
== Nested, rated for class, and inactive ==
See [[Talk:Popular culture]], where we find
:'''(Rated C-class)([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|Inactive]])'''
the underlying markup being <syntaxhighlight lang=wikitext>(Rated C-class)([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|Inactive]])</syntaxhighlight> notice the two parentheses are butted up together. I think that we need a space here, but since the two parentheses have different origins, I don't know where the best place is. The first parenthesis originates in [[Template:WPBannerMeta/core]] with these lines: <syntaxhighlight lang=wikitext><th class="wpb-header-assessment">{{#switch:{{#ifeq:{{str left|{{{class|}}}|1}}|H|<!--hide-->|{{str right|{{{class|¬¬}}}|1}}}}
||¬ = {{#switch:{{{importance|}}}
||¬|NA|Unknown = <span class="wpb-iefix"> <!--TO FIX IE--></span>
|#default = (Rated {{{importance|}}}-{{{IMPN}}})
}}
|#default = (Rated {{str right|{{{class|}}}|1}}-class{{#switch:{{{importance|}}}
||¬|NA|Unknown = )
|#default = , {{{importance|}}}-{{{IMPN}}})
}}
}}{{{HOOK_NESTED_ASSESS|}}}
</th></syntaxhighlight> and the second parenthesis is passed into that through {{para|HOOK_NESTED_ASSESS}} from [[Template:Inactive WikiProject banner]] which has the line <syntaxhighlight lang=wikitext> |HOOK_NESTED_ASSESS = ([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{#if:{{{status|}}}|{{ucfirst:{{{status}}}}}|Inactive}}]])</syntaxhighlight> Should we add the space in [[Template:WPBannerMeta/core]] as a simple space: <syntaxhighlight lang=wikitext>}} {{{HOOK_NESTED_ASSESS|}}}</syntaxhighlight> or in [[Template:Inactive WikiProject banner]] as an encoded space: <syntaxhighlight lang=wikitext> |HOOK_NESTED_ASSESS =  ([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{#if:{{{status|}}}|{{ucfirst:{{{status}}}}}|Inactive}}]])</syntaxhighlight> Opinions? --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 11:22, 10 June 2023 (UTC)
:Either works. I just did the latter and it does look better — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 12:13, 10 June 2023 (UTC)
::{{ty}} --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 16:00, 10 June 2023 (UTC)
== Module: Format ==
{{moved from|Module talk:WikiProject banner|2=<span class="nowrap">—'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 17:30, 22 June 2023 (UTC)}}
:''Moved from module code so it can be discussed more easily'' — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small>
Deprecate/swap "format" to "style" in live template since that seems to be the only use of this parameter from what I can see, maybe even just `background` [https://en.wikipedia.org/w/index.php?title=Special:Search&limit=50&offset=0&ns10=1&search=insource%3AFORMAT+insource%3A%2FFORMAT%5B%5EN%5D%2F+-intitle%3A%2F%28%5C%2Ftestcases%7C%5C%2Fsandbox%7C%5C%2Fdoc%29%2F] - only used by like 6 templates, do they really need it? BIO, Turtles, US Roads, MILHIST, Ships, Amphibians/Reptiles
-- this may need/want to be a public template, not local
:Probably not needed, but could I suggest that it would be best to match functionality as much as possible before making the transition to Lua. Then we can discuss whether things like this are needed or not. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:14, 1 June 2023 (UTC)
::I think we can make the lesser change to the wikitext version today (restricting it down to style or even just background as is the use out there) and sort out whether it's all that valuable later as you suggest. [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 23:13, 1 June 2023 (UTC)
:::I think format is a synonym for style in this case. Not sure what you are proposing exactly? Are any projects using it for anything other than background changes? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 17:09, 4 June 2023 (UTC)
::::It is not a synonym, which is why it sticks out like a sore thumb to me. Format is currently implemented in the various templates as something along the lines of {{para|FORMAT|style{{=}}"background: X"}}. No, that's not a typo, somebody thought you should be able to add whatever attribute you want to the HTML element.
::::My observation was that it was being used only to change the background of the note image (which is the only cell it can change). [[User:Izno|Izno]] ([[User talk:Izno|talk]]) 17:14, 4 June 2023 (UTC)
:::::Okay I understand completely why you want to get rid of FORMAT! Can't see any use for it except for the style. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 22:50, 8 June 2023 (UTC)
== Reimplementation in Lua in progess ==
At [[Module:WikiProject banner]]. Figured I should given people a heads up now rather than it coming as a surprise or ''fait accompli'' later. [[User:Pppery|* Pppery *]] [[User talk:Pppery|<sub style="color:#800000">it has begun...</sub>]] 20:31, 28 May 2023 (UTC)
:Hope to have this ready in the next couple of weeks. One main advantage will be support for an infinite number of task forces and notes, so hooks will no longer be required on most banners. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:15, 12 June 2023 (UTC)
:Coding is more or less complete on [[Module:WikiProject banner]] and I would be grateful if anyone can help test it. It's in use on the following templates:
:* [[Template:WikiProject Football/sandbox]]
:* [[Template:WikiProject Norway/sandbox]]
:* [[Template:WikiProject Biography/sandbox]]
:* [[Template:WikiProject United States/sandbox]]
:* [[Template:WikiProject Afghanistan/sandbox]]
:* [[Template:WikiProject Portals/sandbox]]
:I'm still working on [[Module:WikiProject banner/templatepage]] so the display on the actual template may not be quite right yet. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 13:37, 15 June 2023 (UTC)
:Module is now ready to deploy. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 11:09, 22 June 2023 (UTC)
::# Appears QUALITY_CRITERIA isn't fully implemented; the wikitext 2010 editor's preview shows a warning on templates that use it like [[Template:MILHIST/sandbox]], though the category is still populated
::# There are also <s>nine</s> four templates showing up in [[:Category:WikiProject banners with formatting errors|the errors category]], not sure if the switchover is responsible.
::# [[Template:WikiProject Malta]]'s the Gozo articles are now in categories like [[:Category:Top-importance the Gozo task forcearticles]] instead of [[:Category:Top-importance the Gozo task force articles]], without apparent issues with the template code.
::# Some projects, like WikiProject Mathematics, use "priority" instead of importance, which affects categorisation and isn't currently supported; see e.g. [[Talk:3-sphere]] now populates [[:Category:High-importance mathematics articles]] instead of the correct one "High-priority..."
::[[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 15:12, 22 June 2023 (UTC) <ins><small>now only 4 showing up as errors 15:15, 22 June 2023 (UTC)</small></ins>
:::I'll check now. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 15:14, 22 June 2023 (UTC)
:::#Fixed by [https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/config&diff=prev&oldid=1161416269 adding] this parameter to the list of recognised parameters. It ''should'' be functioning properly.
:::#I think the previous template ignored templates in user space, so will look at doing that.
:::#[https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/sandbox&diff=prev&oldid=1161415873 Added] the space
:::#[https://en.wikipedia.org/w/index.php?title=Module:WikiProject_banner/sandbox&diff=prev&oldid=1161415218 Fixed]
:::— Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 15:28, 22 June 2023 (UTC)
::::Great, I'll let you know if I find any more bugs. [[User:DFlhb|DFlhb]] ([[User talk:DFlhb|talk]]) 16:47, 22 June 2023 (UTC)
As a demonstration of the new capabilities I have simplified [[Template:WikiProject South America]] so the 17 task forces do not need any hooks — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 21:13, 22 June 2023 (UTC)
== Mobile Issue ==
Since the recent update, no WikiProject banners are viewable on mobile, being replaced with horizontal yellow lines. This affects all WikiProjects. Please fix this quickly! [[User:QuicoleJR|QuicoleJR]] ([[User talk:QuicoleJR|talk]]) 15:22, 23 June 2023 (UTC)
:{{ping|PresN}} You seem like you know a lot about the banners. Any ideas here? [[User:QuicoleJR|QuicoleJR]] ([[User talk:QuicoleJR|talk]]) 20:44, 24 June 2023 (UTC)
::I just worked out some configuration, no idea about the code itself. Did it work before, though? There's a big template on the doc page for this template saying "This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation." The documentation doesn't seem to have an explanation, though? --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 00:25, 25 June 2023 (UTC)
:::That said, that warning was [https://en.wikipedia.org/w/index.php?title=Template:WPBannerMeta/doc&diff=prev&oldid=978417297 put on] by a driveby editor with no further explanation in 2020. Also, I just pulled up [[Talk:Doom (1993 video game)]], and while the wikiproject boxes don't work (just the borders with no content or height), the Vital article template does show up, as does the overall Bannershell box (but with a ''tiny'' icon, so that's a bug too). I guess, {{u|QuicoleJR}} can you verify that it was working for you on mobile before the update? {{u|MSGJ}} was your understanding that mobile is not supported for this template? --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 00:30, 25 June 2023 (UTC)
::::Ok, yeah, [[Template_talk:WPBannerMeta/Archive_10#Mobile]] says that it was suppressed on mobile as far back as 2015. So the issue is not that its broken on mobile suddenly, it's that it shows up at all. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 00:32, 25 June 2023 (UTC)
:::::It was fully visible before the recent update. [[User:QuicoleJR|QuicoleJR]] ([[User talk:QuicoleJR|talk]]) 00:33, 25 June 2023 (UTC)
::::::Hmm, digging through the code, and it seems like the new Lua code adds class=tmbox to the wikiproject banners (so they get suppressed), but not the overall box, while the old WPBannerMeta/core subtemplate used to put it on the box overall. Don't know why it would show up for you before, though? Either way, I think that it's possibly missing on the overall box, but we should wait for MSGJ to say what they intended to happen on mobile. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 00:38, 25 June 2023 (UTC)
:::::::There was no intention to change any of the display. I will have a look through the code now. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:37, 25 June 2023 (UTC)
:::::::Please clarify what you mean by "the box overall". Which line of code are you looking at? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 18:50, 25 June 2023 (UTC)
::::::::Just wondering if it's anything to do with [[Module:WikiProject_banner#L-579|line 579]]? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 22:37, 25 June 2023 (UTC)
:::::::::Not sure where the css('height', '0') came from - looks like it can safely be removed. I can't see any difference in mobile view. @[[User:QuicoleJR|QuicoleJR]]: any chance of a screenshot to show what you are seeing? Which browser are you using, etc.? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 07:23, 26 June 2023 (UTC)
::::::::::{{multiple image |align = right |image1 = Thin line WPBM banners - inside WPBS.jpg |caption1 = At [[Talk:Doom (1993 video game)]], WP banners inside shell appear as thin lines, just below vital banner. |image2 = Thin line WPBM banners - outside WPBS.jpg |caption2 = At this talk page, the only WP banner appear as thin line, between {{tl|central}} and number of formatting errors. |footer_align=center |footer = Demonstration of thin line problems. }}
::::::::::@[[User:MSGJ|MSGJ]]: Here are some screenshots. <span class="nowrap">—'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 08:00, 26 June 2023 (UTC)
:::::::::::Thanks for that, very helpful. Not seeing anything like that on Chrome for mobile. What browser is that? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:04, 26 June 2023 (UTC)
::::::::::::I'm on Chrome version 113.0.5672.132 on Android 13, Samsung Galaxy M13 5G. <span class="nowrap">—'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 08:07, 26 June 2023 (UTC)
::::::::::::BTW, I use the Google app. Not Chrome, just plain Google. [[User:QuicoleJR|QuicoleJR]] ([[User talk:QuicoleJR|talk]]) 14:14, 26 June 2023 (UTC)
::::::::{{re|MSGJ}} I'm wrong, I was referring to how [[Template:WPBannerMeta/core]] puts the tmbox css class on the table element itself and I didn't see that in the Lua code, but it's there in the actual html so I must have just missed it. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 00:19, 26 June 2023 (UTC)
{{ping|MSGJ|PresN}} It appears to be working now. Thanks for the help! [[User:QuicoleJR|QuicoleJR]] ([[User talk:QuicoleJR|talk]]) 14:18, 26 June 2023 (UTC)
:The only thing I changed was to remove the css('height', '0') so you can thank @[[User:WOSlinker|WOSlinker]] for that — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 14:32, 26 June 2023 (UTC)
== Importance as ??? since module switch ==
{{Ping|MSGJ}} I don't know how wide spread for other project banners, but {{tl|WikiProject Video games}} is showing ???s for importance on all pages that have purged. See [[Talk:Diablo IV]] for an immediate example. {{Ping|Kung Fu Man}} noticed and brought to my attention on Discord. -- [[User:Ferret|ferret]] ([[User_talk:Ferret|talk]]) 00:21, 23 June 2023 (UTC)
:I can see on e.g. [[Talk:Doom (1993 video game)]] that it's not affecting all projects; presumably it is because video games has |QUALITY_CRITERIA=custom in its template while others do not. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 01:19, 23 June 2023 (UTC)
::Nope, can't be that- [[Talk:Final Fantasy XVI]] has importance not working for Video games but working for Square Enix, but both templates use |QUALITY_CRITERIA=custom. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 01:31, 23 June 2023 (UTC)
:::It's not that, it's the importance mask subpage ({{tl|WikiProject Video games/importance}}- removing it (as I just did in the template's subpage) fixes it. For some reason, ours was subst'd (by MSGJ, actually) years back instead of using {{tl|Importance mask}} like every other project that has a custom mask, so I'll play with it to figure out how to replicate it (e.g. figure out what we even have custom to start with, there's no doc page). --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 01:50, 23 June 2023 (UTC)
::::Ok, fixed. As far as I can tell, there was something odd in how it got subst'd that meant it returned some parameters as null/nil, and Lua choked on it where the standard template code didn't? Maybe? Anyway normal cases are now looking correct, and we weren't doing anything crazy with importance anyway (turning off Bottom-class and trying to set the default to Unknown, which I think is what it does anyway by default), but I'll keep an eye on it. --'''[[User:PresN|<span style="color:green">Pres</span>]][[User talk:PresN|<span style="color:blue">N</span>]]''' 02:16, 23 June 2023 (UTC)
:Can't really remember what that was for, but there is related discussion at [[Template talk:WikiProject Video games/Archive 2#NA priority for drafts]]. In any case that custom mask does not seem to do anything special so you could probably remove {{para|IMPORTANCE_SCALE|subpage}} from the template and just use the standard mask. — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 06:54, 23 June 2023 (UTC)
=== Astronomy ===
Project ratings, such as at [[Talk:Algol]] for a Top rated article are now displaying as ??? in the banner. Also see Wikipedia:WikiProject Astronomy/Article ratings which is suddenly weird. Is this an effect of the recent update? [[User:StarryGrandma|StarryGrandma]] ([[User talk:StarryGrandma|talk]]) 21:14, 25 June 2023 (UTC)
:Same issue as [[#Importance as ??? since module switch]] above, I presume. <span class="nowrap">—'''[[User:CX Zoom|CX Zoom]]'''[he/him]</span> <sup class="nowrap">([[User talk:CX Zoom|let's talk]] • {[[Special:Contributions/CX Zoom|C]]•[[User:CX Zoom/X|X]]})</sup> 21:19, 25 June 2023 (UTC)
::Looks like it. Compare the bot generated Astronomy table [[Special:Permalink/1161319714|from June 22]] with that [[Special:Permalink/1161478365|from June 23.]] [[User:StarryGrandma|StarryGrandma]] ([[User talk:StarryGrandma|talk]]) 21:29, 25 June 2023 (UTC)
:Not sure why that template ever worked in the past, but I have now fixed [[Template:WikiProject Astronomy/importance]] and it seems to be working again — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 21:32, 25 June 2023 (UTC)
::Thanks!! [[User:StarryGrandma|StarryGrandma]] ([[User talk:StarryGrandma|talk]]) 21:42, 25 June 2023 (UTC)
=== Chess ===
WikiProject Chess seems to suffer from the same issue, see for example: [[Talk:Blindfold_chess]] --[[User:Mika1h|Mika1h]] ([[User talk:Mika1h|talk]]) 12:46, 1 July 2023 (UTC)
:Fixed. As above, I don't know why or how it would have worked before. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:05, 1 July 2023 (UTC)
::Working from the results of an insource search, I also fixed six other .../importance pages that had this same problem. That may be all of them. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:12, 1 July 2023 (UTC)
|