MediaWiki talk:Gadget-metadata.js

Interface-protected edit request on 24 December 2022
This gadget doesn't work with the page description gadget. On line 674, a check should be added in the event a user is using the page description gadget to combine the output of it and this gadget:

elijahpepe@wikipedia (he/him) 22:00, 24 December 2022 (UTC)


 * are you still shepherding this one? — xaosflux  Talk 14:28, 29 December 2022 (UTC)
 * Nihiltres has been afk a couple weeks. Izno (talk) 19:46, 29 December 2022 (UTC)
 * ✅ loaded, please let us know if issues. —  xaosflux  Talk 23:38, 19 January 2023 (UTC)
 * Look good to me. I encountered an issue where "undefined" was added before the "A blank-class article", but I refreshed and it was gone. Haven't had it since. elijahpepe@wikipedia (he/him) 23:47, 19 January 2023 (UTC)
 * Please take a look at the report at WP:VPT. Izno (talk) 01:26, 20 January 2023 (UTC)
 * - before resuggesting this, fork both scripts to personal scripts and try them there next. — xaosflux  Talk 01:27, 20 January 2023 (UTC)
 * Undone?? It is not undone for me. Hard refresh makes no difference. Nurg (talk) 01:40, 20 January 2023 (UTC)
 * I've gone and undone this, cc ElijahPepe. The issue is that jquery returns an object, so even when nonexistent it isn't falsey, so the whole thing executes regardless of the other gadget's existence.  The proper way to do it would be something like   or , but it's a school night so I won't act further atm. ~ Amory  (u • t • c) 03:39, 20 January 2023 (UTC)
 * I should add, too, that I'm not wild about a gadget inserting something external into .html. ~ Amory  (u • t • c) 03:46, 20 January 2023 (UTC)

Assessment display error
Not sure if this is the right place to mention it, but it's linked at the "Display an assessment of an article's quality in its page header" part of preferences; all class definitions now show up with "undefined" in front of it, such as "undefinedA C-class article from Wikipedia, the free encyclopedia". I am running Vector 2010, but the issue also appears in 2022. Testing reveals that user scripts appear to be unrelated. Iazyges  Consermonor   Opus meum  01:54, 20 January 2023 (UTC)

Interface-protected edit request on 20 January 2023
Please undo the most recent edit, per this VPT discussion. – Jonesey95 (talk) 03:05, 20 January 2023 (UTC)
 * ✅ Thanks. I'll comment above to keep the discussion more connected, but appreciate the ping via ER. ~ Amory  (u • t • c) 03:31, 20 January 2023 (UTC)
 * Sorry, I didn't notice the section above when filing this request. – Jonesey95 (talk) 03:46, 20 January 2023 (UTC)

Feature request for ORES integration
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)


 * 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)


 * 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 &harr; C), but one step might be relevant, especially at higher ratings (e.g. B &harr; 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. {&#123; Nihiltres &#8202;&#124;talk&#8202;&#124;edits}&#125; 21:38, 13 October 2023 (UTC)
 * @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)
 * In terms of display, maybe something like "Is the assessment out of date? Automated estimate: "?
 * It might be a good idea to glance at Machine Learning/LiftWing/Usage 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)
 * 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  --EpochFail  (talk &bull; contribs) 02:13, 14 October 2023 (UTC)

Reword "Currently a candidate for removal as a featured list?"
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 &#91;trout needed&#93; 03:09, 18 November 2023 (UTC)
 * Mocked up in User:ClydeFranklin/MediaWiki:Gadget-metadata.js. Clyde  &#91;trout needed&#93; 03:20, 18 November 2023 (UTC)
 * ✅ * Pppery * it has begun... 16:11, 18 November 2023 (UTC)

Annotated link but for Article class?
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)