Template talk:WikiProject banner shell

WikiProject iconCouncil
WikiProject iconThis template relates to the WikiProject Council, a collaborative effort regarding WikiProjects in general. If you would like to participate, please visit the project discussion page.

Add assessment date and/or assessed revision for article quality ratings

[edit]

Reason: This way, others can figure out if an article needs a reassement (or if it's just a diffrence of opinion) without going through talk page history and article history, and only need to compare the revisions. OrdinaryGiraffe (talk) 23:15, 22 March 2024 (UTC)[reply]

We have this for FA and GA (possibly A-Class too), but not for B-Class and lower. However, I am certain that this has been suggested and rejected on several occasions - just not on this page. --Redrose64 🌹 (talk) 01:12, 23 March 2024 (UTC)[reply]
I figured that might have happend. I'm just not sure where the old discussions are, so if you know, could you link it? OrdinaryGiraffe (talk) 16:10, 23 March 2024 (UTC)[reply]
I'm not dead set against the idea, but unless there was a concerted effort (or even a requirement) to use this parameter then it would rapidly become useless — Martin (MSGJ · talk) 17:24, 24 March 2024 (UTC)[reply]
Could you explain why? OrdinaryGiraffe (talk) 17:25, 24 March 2024 (UTC)[reply]
If it was implemented, I honestly can't see it getting regularly updated other than by a bot. I'm also not convinced of the benefits of having it at all. -Kj cheetham (talk) 17:28, 24 March 2024 (UTC)[reply]
Oh. Never mind. I was thinking it would help, but I guess there's no point if it's just a random date. OrdinaryGiraffe (talk) 17:37, 24 March 2024 (UTC)[reply]
It's a nice idea, just difficult in practice. -Kj cheetham (talk) 17:49, 24 March 2024 (UTC)[reply]
@OrdinaryGiraffe: Some WikiProject templates have an assess-date parameter (e.g. {{WikiProject India}}). If there's a particular WikiProject that you think would benefit from an assess-date parameter, you could discuss it on that WikiProject's talk page. GoingBatty (talk) 17:30, 24 March 2024 (UTC)[reply]
Is there any point in having these parameters in WikiProject banners now that the quality rating has been moved to the shell? (I guess it could refer to the importance assessment.) — Martin (MSGJ · talk) 18:17, 24 March 2024 (UTC)[reply]
That was my original idea., because importance ratings usually aren't supposed to change. Quality is. OrdinaryGiraffe (talk) 20:53, 24 March 2024 (UTC)[reply]

"Last assessed" parameter?

[edit]

A major issue in the current assessment system is that many articles' assessment is years out of date. Even worse, there is no way to tell whether ten year old assessments are still current or not, as there is no way to explicitly agree with the current rating. Should we add a "last assessed" parameter to the banner shell that could be updated to the current time every time somebody used Rater or a similar semi-manual tool? —Kusma (talk) 11:17, 29 April 2024 (UTC)[reply]

Alternatively, to catch most old and incorrect ratings, is it feasible to regularly compare all article assessments with their ORES predictions and then manually re-assess all those where ORES and the assessment are more than one level apart? —Kusma (talk) 15:04, 29 April 2024 (UTC)[reply]
I can't imagine there would be the volunteer labour to do that manual re-assessment on an ongoing basis, but I would like a "last assessed" parameter (that automated tools like Rater could be expanded to interact with) and the ability to analyse data on class assessment and ORES prediction on a WikiProject-by-WikiProject basis. — Bilorv (talk) 21:45, 2 May 2024 (UTC)[reply]
I see this discussion had ended nearly 2 months ago. Anyway, here's my thought:
  • There should be an |assess-date= parameter in the Banner shell
  • It should have the default value of {{subst:CURRENTMONTH}}, {{subst:CURRENTYEAR}} when initially adding the Banner shell.
  • Automated tools such as Rater should add / update the date automatically when assessing / re-assessing an article (or any other page).
That's all I've got for now.
User ping: @Bilorv, @GoingBatty, @Kj cheetham, @Kusma, @MSGJ, @OrdinaryGiraffe, @Redrose64 Vestrian24Bio (TALK) 18:05, 21 June 2024 (UTC)[reply]

class=NA

[edit]

Most of the invalid values of |class= that are being tracked in Category:Pages using WikiProject banner shell with invalid parameters are there because |class=NA. At the moment this is not recognised and these are just left unassessed. That's because non-articles (e.g. redirects and disambiguation pages) are supposed to be identified automatically and the class is only for classifying articles. — Martin (MSGJ · talk) 09:46, 24 April 2024 (UTC)[reply]

Martin, presumably they can just be removed then? — Qwerfjkltalk 11:24, 27 April 2024 (UTC)[reply]
@Qwerfjkl: The value of NA was never intended to be explicitly set in a |class= parameter, it was always set automatically under certain circumstances - such as that the |class= parameter is blank or absent, and the banner was used on a talk page for something other than an article (file, template, category etc.), and that the banner did not use the extended quality scale. --Redrose64 🌹 (talk) 13:10, 27 April 2024 (UTC)[reply]
Yes. Unless anyone thinks that NA should be able to be set explicitly — Martin (MSGJ · talk) 17:01, 27 April 2024 (UTC)[reply]
How should subpages in the article namespace (such as Talk:WandaVision/FAQ) be handled? Gonnym (talk) 19:27, 29 April 2024 (UTC)[reply]
Are there any subpages that need WikiProject templates? Why? —Kusma (talk) 19:43, 29 April 2024 (UTC)[reply]
The WP banners on article talk pages are meant to assign the articles themselves to WikiProjects, not necessarily the talk pages. So FAQ pages are like talk archives in that they are not meant (in my view) to be tagged into Projects, because they are not directly attached to article pages.— TAnthonyTalk 19:50, 29 April 2024 (UTC)[reply]
They are not even remotely close to talk archives. They are more similar to project pages that offer information and are actively updated and edited (unlike talk page archives). They should be tagged and categorized as any other project page. Gonnym (talk) 21:27, 29 April 2024 (UTC)[reply]
Hard to do for a project page in talk space. The WikiProject banner for such a page needs to go in the Talk talk: namespace. —Kusma (talk) 05:51, 30 April 2024 (UTC)[reply]
Would suggest that if Talk:WandaVision is tagged for the project, then that should be sufficient? — Martin (MSGJ · talk) 07:55, 30 April 2024 (UTC)[reply]
Notice that the page is listed in Category:Unassessed television articles and can't be taken out of it either with |class=NA or |class=Project. Gonnym (talk) 08:05, 30 April 2024 (UTC)[reply]
Interesting, will need to look into this. Perhaps because the subject page does not exist, it is automatically classifying it as a non-article. What would be the expected behaviour for a subpage in the Talk namespace? — Martin (MSGJ · talk) 08:09, 30 April 2024 (UTC)[reply]
Template:FAQ expects FAQ pages to be in Talk:<article>/FAQ (this can be manually set to a different page but most probably aren't changing the default location) so this is a unique sub-page in talk article space. One solution would be to handle all /FAQ sub-pages here as project pages. Gonnym (talk) 08:16, 30 April 2024 (UTC)[reply]
Template:Pagetype will now check that pages in mainspace exist and will not classify a non-existent page as an "article". So I think we can update the code in this module, to say something like "This page does not require a rating on Wikipedia's content assessment scale" as per other non-article pages. It will also need an update to the Wikiproject banner module to ensure that these are rated NA-class rather than unassessed. I started looking at this yesterday but it got a bit complicated and I need to test everything thoroughly — Martin (MSGJ · talk) 08:59, 14 May 2024 (UTC)[reply]
Proposed icon for non-existent pages — Martin (MSGJ · talk) 09:01, 14 May 2024 (UTC)[reply]
Instead of repurposing |class=NA, a value that many people and bots automatically remove outside of mainspace, I think a different and more descriptive value should be used. Since this will be used for non-existent pages, what about |class=DNE for "Does Not Exist"?   ~ Tom.Reding (talkdgaf)  10:41, 14 May 2024 (UTC)[reply]
We don't need to use the class parameter for this, as it will be detected automatically. When I said NA-class I was referring to the categories like Category:NA-Class medicine articles which are a catch-all for non-articles — Martin (MSGJ · talk) 11:13, 14 May 2024 (UTC)[reply]
Looks like @TAnthony has cleaned these out, thanks! — Martin (MSGJ · talk) 07:36, 29 April 2024 (UTC)[reply]

Support for non-existent/vacant pages added to sandbox. I think the best approach is just to remove these banners (because a non-existent page does not need to be tagged as within scope of a project). However in case someone adds them to the talk page of a deleted page, it might be useful to change the message to explain why no rating is accepted — Martin (MSGJ · talk) 12:50, 16 May 2024 (UTC)[reply]

I'm unclear why this is tagged as "vacant page". Just use "page" or let users override it as it's a project page. Gonnym (talk) 12:54, 16 May 2024 (UTC)[reply]
I assume we are talking about WandaVision/FAQ. It's not a project page (these are in Project namespace). It's a subpage of an article which does not exist. Technically it's not even a page because it doesn't exist. Any other suggestions? — Martin (MSGJ · talk) 13:07, 16 May 2024 (UTC)[reply]
Shortened "vacant page" to "page" on sandbox, but still uses the specific icon which may provide some explanation of why a rating is not required. I would still prefer to say "vacant page" or "non-existent page", but happy to drop if it looks awkward. What do you think? — Martin (MSGJ · talk) 13:51, 17 May 2024 (UTC)[reply]
It's also still didn't fix the actual issue of leaving the page in Category:Unassessed television articles. Gonnym (talk) 12:54, 16 May 2024 (UTC)[reply]
It will. But the television banner is still using the live code instead of the sandbox — Martin (MSGJ · talk) 13:05, 16 May 2024 (UTC)[reply]

Any other comments on this, or can we move ahead? — Martin (MSGJ · talk) 12:20, 23 May 2024 (UTC)[reply]

Forgot all about this. Now deployed. So non-existent pages will be identified accordingly — Martin (MSGJ · talk) 08:58, 13 June 2024 (UTC)[reply]

This category is (almost?) entirely populated by non-mainspace pages, which there was contention about running our bots on. Is there any point in populating the category with non-mainspace pages that are probably going to stay there forever? Thoughts @Martin? — Qwerfjkltalk 10:52, 9 June 2024 (UTC)[reply]

If the pages aren't published, they will eventually be deleted and the category will gradually empty.--Auric talk 11:30, 9 June 2024 (UTC)[reply]
Auric, that's true for drafts (although probably it would be better to only consider them when they become articles), but not for any of the other namespaces. — Qwerfjkltalk 17:27, 9 June 2024 (UTC)[reply]
In my opinion the banner shell should be added to all talk pages except the user talk pages* (with User:UBX sub pages being the exception as some userboxes are created as sub pages and should be treated like regular templates). But user talk should really be excluded from the category so it will be easier to monitor. Gonnym (talk) 18:48, 10 June 2024 (UTC)[reply]
I think there is definitely a case for using banner shells in some namespaces. For example in draft space, from where articles are frequently moved into the main space. The advantages of the banner shell are two-fold: (a) having one assessment that works for all projects, and (b) avoiding the redundancy of saying "This article is rated blah blah" multiple times. In non-article namespaces (a) does not apply, but (b) is still a real advantage — Martin (MSGJ · talk) 19:49, 10 June 2024 (UTC)[reply]
I agree that shells should be added to draft talk pages. I'm also noticing that this maint category contains category and file talk pages, which I think we all agree should have them as well.— TAnthonyTalk 20:29, 10 June 2024 (UTC)[reply]
Cewbot has recently cleared around 100k pages from the category from category, file, template, and module talk namespaces and I don't see any new post complaining on the talk pages. Gonnym (talk) 21:46, 10 June 2024 (UTC)[reply]
Okay, let's continue. I note the bot was approved to work in all namespaces, even though we began with main talk — Martin (MSGJ · talk) 12:01, 11 June 2024 (UTC)[reply]
Along with sub pages of User talk:UBX, sub pages of User talk:AlexNewArtBot should also be included in the bot run. Gonnym (talk) 12:05, 18 June 2024 (UTC)[reply]
Talk pages of sub pages of User:WP 1.0 bot/Tables/Project (User talk:WP 1.0 bot/Tables/Project/Beetle) should also be included. Gonnym (talk) 10:51, 23 June 2024 (UTC)[reply]

Template:WikiProject Cooperation oddity

[edit]

Some oddity in case someone stumbles on this later on and wonders why. I noticed that both Cewbot here and Qwerfjkl here didn't place Template:WikiProject Cooperation inside the shell, I'm assuming it's because at the time it wasn't using Module:WikiProject banner and used {{tmbox}} instead. Gonnym (talk) 22:00, 10 June 2024 (UTC)[reply]

Using tmbox would certainly cause it to not be treated as a WikiProject banner, although I think that {{WPBannerMeta}} or its inactive veriant is what is really being searched for, rather than the module. --Redrose64 🌹 (talk) 10:08, 11 June 2024 (UTC)[reply]
I'm pretty sure both of our bots used categories to determine which templates are wikiproject banners. — Qwerfjkltalk 14:33, 12 June 2024 (UTC)[reply]

Extra pipe

[edit]

It happens reasonably often that editors put an extra pipe in the syntax which means the content of the shell becomes the second positional parameter instead of the first, which is not recognised. An example is here. I think the code could be adapted to ignore an empty first positional parameter and use the second one instead. — Martin (MSGJ · talk) 08:28, 12 June 2024 (UTC)[reply]

I'd prefer we track all incorrect usages, including these, in Category:WikiProject templates with unknown parameters. Gonnym (talk) 17:05, 12 June 2024 (UTC)[reply]

Enhancement request for article vital level

[edit]

Can you add a new entry point so that I can create a template {{vital level|Article name}} that will return the vital level for a given article, and empty string if none? So that we would have:

  • {{vital level|Mathematics}} ⟶ 1
  • {{vital level|Logic}} ⟶ 2
  • {{vital level|France}} ⟶ 3
  • {{vital level|Qin dynasty}} ⟶ 4
  • {{vital level|Sam Rayburn}} ⟶ 5
  • {{vital level|Manor of Haccombe}}

(Unfortunately, Template:Vital is already a redirect to a WikiProject, or I would've used that name.) There is already code in the Module to find vital level, so hopefully adding an entry point would not be too onerous. Thanks, Mathglot (talk) 20:26, 12 June 2024 (UTC)[reply]

I think you have posted on the wrong talk page. This relates to Module:Vital article, correct? I assume you are aware of {{vital article link|Mathematics}} which produces Mathematics  1. You are asking for just the level number only? I would suggest a parameter on that template, e.g. |level_only=yes which would hide the name of the article — Martin (MSGJ · talk) 08:06, 13 June 2024 (UTC)[reply]
PS, we already have a function for this: {{#invoke:Vital article|isVital|page=Mathematics}} produces 1 — Martin (MSGJ · talk) 08:11, 13 June 2024 (UTC)[reply]
(edit conflict) MSGJ, Thank you, yes, I meant to post on the Module talk page. I was not aware of {{vital article link}} (advanced search leaves a lot to be desired) but I thank you for that as well. The new param you suggested sounds ideal for that.
(post-ec) I hadn't noticed the isvital function somehow, and that totally solves the problem! Mathglot (talk) 08:27, 13 June 2024 (UTC)[reply]

As well as blp and blpo should there be a bdp parameter to accommodate wording for the application of WP:BDP? DeCausa (talk) 07:28, 26 July 2024 (UTC)[reply]

Use of banner shell in pages with only one project template

[edit]

What is the point of using banner shell with a single project? This just takes away screen real estate from the WikiProject template for zero benefit. (The page in question certainly does not need a project template anyway). —Kusma (talk) 08:28, 30 July 2024 (UTC)[reply]

What real estate does it take away? The only thing it hides is the boilerplate text of This page is supported by the Department of Fun, which aims to provide Wikipedians with fun so that they stay on Wikipedia and keep on improving articles. If you have any ideas, do not hesitate to post them to the discussion page or access our home page to join the Department of Fun. The project name and its importance rating are still there. Gonnym (talk) 09:04, 31 July 2024 (UTC)[reply]
As I said, this text is hidden for no benefit whatsoever. (The project name and importance rating could be hidden with less loss of information). —Kusma (talk) 15:04, 31 July 2024 (UTC)[reply]

Template:WikiProject Inline Templates not populating WikiProject banners without banner shells

[edit]

I've noticed that if Template:WikiProject Inline Templates is the only template on a page and not in the banner shell, it does not trigger Category:WikiProject banners without banner shells. I can't find what is different about this template. Gonnym (talk) 09:10, 31 July 2024 (UTC)[reply]

From the code in Module:WikiProject banner, it looks like the code for detecting the banner shell is only evaluated if the WikiProject template supports class/quality assessments. Both WikiProject Inline Templates and WikiProject Disambig are examples of projects which do not use this, and in these cases the "no_banner_shells" category is not present. Harryboyles 08:59, 3 August 2024 (UTC)[reply]
Thanks for finding out the issue. I wonder if that exception is needed (pages like Category talk:Citation templates take less space with the shell). Gonnym (talk) 14:02, 4 August 2024 (UTC)[reply]