Sortable tables for popular page reports edit

Feature request: smarter sorting of the last two table columns in popular page reports.

These currently sort the “assessment” and “importance” columns alphabetically. But the data has an intrinsic sort order that should be used. For assessment, that is FA, FL, A, GA, B, C, Start, Stub, and List, probably followed by all of the non-assessment classes like Current, Future, &c, in alphabetical order, and finally NA and Unknown. For importance, Top, High, Mid, Low, Bottom, Unknown, and NA.

An invisible sort key can be added to each wiki table cell using the data-sort-value="" parameter to control the sort priority, as explained in w:en:Help:Sorting#Specifying a sort key for a cell.

Correct sort order is listed in w:en:Wikipedia:Content assessment and w:en:Wikipedia:Version 1.0 Editorial Team/Release Version Criteria#Priority of topicMichael Z. 2022-05-20 21:07 z 21:07, 20 May 2022 (UTC)Reply[reply]

Database report edit

Tracked in Phabricator:
Task T318823

Usually this bot is very reliable but no en:Wikipedia:Database reports/Orphaned talk pages tonight. It's typically issued at 05:01 UTC nightly but tonight, nothing. Liz (talk) 05:15, 28 September 2022 (UTC)Reply[reply]

Hey Liz, just letting you know we've seen this — poking MusikAnimal as he'll be best placed to take a look ~TheresNoTime-WMF (talk) 12:21, 28 September 2022 (UTC)Reply[reply]
Ah! It's the templatelinks normalization (phab:T299417). Thanks for the ping; I'll work on fixing the bot. MusikAnimal talk 14:52, 28 September 2022 (UTC)Reply[reply]
This should now be fixed and run normally at the usual time tomorrow. When I ran the query just now I got zero results (which seems to often be the case), so there's no such pages waiting for G6 at this time. MusikAnimal talk 17:44, 28 September 2022 (UTC)Reply[reply]

Request for Popular Pages bot for WikiProject:Armenia edit

Hi, @MusikAnimal (WMF)@Liz,

I am a member of WikiProject:Armenia.

Could we please get a bot that updates a list of popular pages (1000) for WikiProject:Armenia ?

I was told by Anoop to make the request here:

It would be very very helpful!

Thank you so much for your contributions. Humanatbest (talk) 17:06, 19 March 2023 (UTC)Reply[reply]

Hi @Humanatbest, is this for the English Wikipedia? If so, you should make a protected edit request on the configuration talk page. Best, MusikAnimal (WMF) (talk) 16:58, 20 March 2023 (UTC)Reply[reply]

Database report, again edit

The community tech bot usually issues a Wikipedia:Database reports/Orphaned talk pages at 05:02 UTC (on the English Wikipedia) like clockwork even when it has nothing to report. But nothing tonight. It seems to be doing other work so I'm not sure if there are issues with the database but I thought I'd bring it to your attention in case anyone watches this talk page. Liz (talk) 05:30, 13 November 2023 (UTC)Reply[reply]

Popular pages: what is the "total views" number counting? edit

Hi @MusikAnimal (WMF): At the start of the popular pages report example here is a line for "Total views:". What is this the total views of? In the case I've given, it's not a total of the views of the 500 listed articles; that comes to about 67 million, but the "Total views" number is just over twice that. Is it counting the total views for all articles in scope of the Wikiproject? I've had a look at the code on GitHub but can't find where this is calculated. I'm using these numbers in a research paper and want to be sure what they measure. Thanks in advance for any help, MartinPoulter (talk) 15:32, 1 December 2023 (UTC)Reply[reply]