Jump to content

Module talk:WikiProject banner/Archive 14

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lowercase sigmabot III (talk | contribs) at 04:52, 7 August 2023 (Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 10Archive 12Archive 13Archive 14Archive 15Archive 16

 You are invited to join the discussion at Wikipedia talk:Content assessment § Proposal: Reclassification of Current & Future-Classes as time parameter. There is a proposal to split "current" & "future" classes into a new parameter "time", in order to standardise article-rating across Wikipedia (per RfC), while also allowing simultaneous usage of quality criteria and time for interest projects. Thanks! CX Zoom[he/him] (let's talk • {CX}) 07:28, 2 July 2023 (UTC)

See Talk:Hoekstra, the class List is red for Frisia because it does not have a category because its an inactive project. Christian75 (talk) 09:05, 29 June 2023 (UTC)

That's not even supposed to appear. Will check it out ... — Martin (MSGJ · talk) 09:12, 29 June 2023 (UTC)
I think such categories should be tracked and created. We did reach a consensus to retain inactive WikiProject banner, but not much work has been done yet on that front. CX Zoom[he/him] (let's talk • {CX}) 09:21, 29 June 2023 (UTC)
I am trying to work out if this rating has just appeared with the module conversion, or whether it has been like that since 10 May? — Martin (MSGJ · talk) 09:23, 29 June 2023 (UTC)

Just to clarify that the template is working as expected. This was a compromise after the long discussion at Wikipedia:Village pump (miscellaneous)/Archive 73#Improper handling of assessment for inactive WikiProjects. If you don't like the red links, would you prefer this to be de-linked, or would you prefer the whole row is hidden in the banner? Personally I don't think there was consensus to recreate all those categories, but any WikiProject being "revived" can of course do so — Martin (MSGJ · talk) 13:35, 2 July 2023 (UTC)

Script errors

Template:WikiProject Portals seems to be generating script errors, e.g. on Wikipedia talk:Featured portal review but the errors are not visible on the page, they are just populating the category — Martin (MSGJ · talk) 09:13, 3 July 2023 (UTC)

Another thing, {{WikiProject Portals|historical=y}} doesn't populated the "historical" category, but {{WikiProject Portals}} does. CX Zoom[he/him] (let's talk • {CX}) 09:29, 3 July 2023 (UTC)
Seems a bit of a mess. User:MJL has worked on this template in the past, maybe he/she can help? — Martin (MSGJ · talk) 09:49, 3 July 2023 (UTC)
It was an issue with note 4. Now fixed. -- WOSlinker (talk) 12:15, 3 July 2023 (UTC)
Thanks WOS! — Martin (MSGJ · talk) 13:34, 3 July 2023 (UTC)
@MSGJ: [Thank you for the ping] For the record, I use they/them pronouns rather than he/she.
Glad this got solved. While I did attempt to work on that template in the past, I self-reverted all my changes when I broke something. I probably wasn't going to be much of a help here. –MJLTalk 17:12, 3 July 2023 (UTC)

minor comment on Module:WikiProject banner

Just a minor comment: the invocation of banner_rows:allDone() on line 614 is essentially a no-op, as the return value isn't being stored. isaacl (talk) 21:22, 4 July 2023 (UTC)

Understood. When I first coded this I assumed the done() were required in order to close the tags. Then I noticed that none of your examples on WT:LUA had them so guessed that tags were closed automagically. — Martin (MSGJ · talk) 21:26, 4 July 2023 (UTC)
Sure, if you had a mental model of an ongoing string of text being built up, I understand how you might think this. What happens though is that the function calls build a tree of objects representing the HTML. When tostring() is invoked on the banner variable, the tree is rendered into HTML, and thus as the tree is traversed, the corresponding start and end tags will be generated. isaacl (talk) 22:00, 4 July 2023 (UTC)

Script error if no image

@MSGJ: If a banner has no image set then it's displaying a script error at the moment. For example: {{WikiProject Dictionary of National Biography}} or {{WikiProject Anatolian Civilizations task force}}. -- WOSlinker (talk) 06:36, 7 July 2023 (UTC)

Thanks, this should now be fixed — Martin (MSGJ · talk) 07:44, 7 July 2023 (UTC)

Adding redirect class

At Wikipedia talk:WikiProject Council#Proposed changes to extended quality scale I proposed adding redirect-class to the standard extended scale, because lots of projects use it. There has been no opposition in nearly a month so I will look at implementing this shortly.

In order to avoid creating lots of new categories, while also avoiding red categories appearing on pages, I suggest we add an existence check to the module code so that:

This will give projects a choice: if they want to track redirects then they can just create the category. If this approach works, we could roll it out to other non-article classes like Portals too. — Martin (MSGJ · talk) 13:21, 27 June 2023 (UTC)

Now coded on the sandbox — Martin (MSGJ · talk) 22:09, 4 July 2023 (UTC)
This is now deployed. FWIW I think we could now use the "full quality scale" aka the "extended scale" for all projects. Based on the same logic the class will only be used if the category exists, otherwise it will just use NA-class. — Martin (MSGJ · talk) 12:14, 7 July 2023 (UTC)

Appearance of nested version

There are some interesting ideas/proposals being discussed at Template talk:WikiProject banner shell#How project banners should look which would affect the nested display of this template. You are encouraged to add your thoughts ... — Martin (MSGJ · talk) 11:47, 7 June 2023 (UTC)

Consensus is starting to emerge. Any other comments would be welcome at Template talk:WikiProject banner shell#Moving ahead? — Martin (MSGJ · talk) 11:43, 30 June 2023 (UTC)
New design has been deployed! — Martin (MSGJ · talk) 12:28, 6 July 2023 (UTC)

Why are all banners white when collapsed instead of the usual beige?

This is jarringly awful. Please restore the previous colour scheme. Headbomb {t · c · p · b} 18:51, 6 July 2023 (UTC)

The left-alignment is also similarly jarring. Having things centered was so much better. Headbomb {t · c · p · b} 18:53, 6 July 2023 (UTC)
There was a discussion at WikiProject banner shell. -- WOSlinker (talk) 19:02, 6 July 2023 (UTC)
In which the four choices presented were white, white, white, and white. Some discussion. —David Eppstein (talk) 20:20, 6 July 2023 (UTC)
I honestly could not see anything on the page after looking at the banner on this talk page. All the text swam, I saw dots and my head is still pounding. Way too many bright colors and far too much sensory input. SusunW (talk) 20:37, 6 July 2023 (UTC)
It both looks terrible and is just painful on the eyes in various ways. SilverserenC 22:19, 6 July 2023 (UTC)
That's a glitch caused post-deployment, because a project banner transcluded further up the page is overriding the CSS of the mockups. This is how they looked.
Anyway, the consensus for a white background was only slim, so feel free to join the discussion there. DFlhb (talk) 00:03, 7 July 2023 (UTC)

Notification for everyone above (Headbomb, WOSlinker, David Eppstein, SusunW, DFlhb): An RfC was started at Template_talk:WikiProject_banner_shell#RFC_on_WikiProject_Banner_shell_redesign. SilverserenC 18:10, 9 July 2023 (UTC)