MediaWiki talk:Gadget-metadata.js

(Redirected from User talk:Pyrospirit/metadata)
Latest comment: 2 months ago by MSGJ in topic Request: use PIQA rating

Feature request for ORES integration

edit

Nihiltres and other watchers:

@Nettrom has kindly updated m:Research:Screening WikiProject Medicine articles for quality/Stub prediction table to flag mis-rated stubs for me, and I am working my way through the list of outdated assessment ratings. I use this gadget, and I wonder whether it's possible to integrate an automatic lookup of the ORES ratings into this gadget. I want it to say something like "A Stub-class article. Predicted to be B-class or better."

For my own purposes, I don't really want to see adjacent classes, because the line between a "big stub" and a "small start" (or an article that's mostly a list) is fuzzy. It's not until the alleged stub is clearly not a stub that I'd personally like to have the need for reassessment to be flagged. Do you think this is possible? WhatamIdoing (talk) 21:01, 12 October 2023 (UTC)Reply

The user script that @EpochFail wrote might be a good starting point, which you can find on User:EpochFail/ArticleQuality. Maybe it should also be updated to use LiftWing, but I’m unsure and won’t have time to look at that for a while. Cheers, Nettrom (talk) 14:57, 13 October 2023 (UTC)Reply
@WhatamIdoing: It's certainly possible, and this seems like a nice idea for expanding on this tool. I was initially a little hesitant because much of the time it wouldn't be particularly relevant, but adding it exclusively if the prediction is at least a certain "distance" from the nominal rating makes it seem reasonable—though I'd like to nail down what a good "distance" metric would be. I think I'd usually want at least two steps difference (Stub ↔ C), but one step might be relevant, especially at higher ratings (e.g. B ↔ GA). I'd appreciate more input on that design choice. Moreover, the model appears to predict only Stub, Start, C, B, GA, and FA, so I'll need to add a couple of special-case mappings to compute distance for pages rated as A-class—I suppose I should just map A to be considered equal to GA. I'm … somewhat inactive … at the moment for personal reasons, but this could be just the thing to rope me back in, thank you. {{Nihiltres |talk |edits}} 21:38, 13 October 2023 (UTC)Reply
@Nihiltres, I think Stub ↔ C is the most relevant distance.
GA just raised its standards, and anything above B requires agreement from multiple people, so I'd be inclined to not include anything above B class. WhatamIdoing (talk) 22:42, 13 October 2023 (UTC)Reply
In terms of display, maybe something like "Is the assessment out of date? Automated estimate: <ORES result>"?
It might be a good idea to glance at wikitech:Machine Learning/LiftWing/Usage#Differences using Lift Wing instead of ORES just to make sure there's nothing you're doing now that you're likely to regret in the future. WhatamIdoing (talk) 22:48, 13 October 2023 (UTC)Reply
I'd be interested in adapting the ArticleQuality user script to display something like that. It could also be upgraded to a Gadget on enwiki if you like. It's a gadget in prefs in a few other wikis (nlwiki and euwiki at least). See User:EpochFail/common.js#L-40 --EpochFail (talkcontribs) 02:13, 14 October 2023 (UTC)Reply
edit
List of foo


A featured list from Wikipedia, the free encyclopedia. Currently a candidate for removal as a featured list.

is unnecessarily long and unclear. Instead of that, I propose:

List of foo


A featured list from Wikipedia, the free encyclopedia. Currently a featured list removal candidate.

This is shorter, clearer, and matches the wording of {{Article history}}. Thoughts? Clyde [trout needed] 03:09, 18 November 2023 (UTC)Reply

Mocked up in User:ClydeFranklin/MediaWiki:Gadget-metadata.js. Clyde [trout needed] 03:20, 18 November 2023 (UTC)Reply
  Done * Pppery * it has begun... 16:11, 18 November 2023 (UTC)Reply

Annotated link but for Article class?

edit

Has anyone made a version of Template:Annotated link that shows article class instead of short-desc? Superb Owl (talk) 02:13, 14 July 2024 (UTC)Reply

Request: use PIQA rating

edit

Please could this gadget use the WP:PIQA rating of an article, i.e. the one that is specified inside {{WikiProject banner shell}} rather than any other random project's rating? For example, Md. Emdad-Ul-Bari is declaring itself a C-class article, but the PIQA rating is Start-class. Thanks — Martin (MSGJ · talk) 20:48, 12 September 2024 (UTC)Reply