Wikisource talk:Community collaboration/Monthly Challenge/April 2022

From Wikisource
Jump to navigation Jump to search

Daily Statistics[edit]

I think the Daily statistics for this month is broken. I’ve definitely worked on more Challenge pages myself than what the stats for 28 April say everyone together did. @Inductiveload:, @Xover:, @Languageseeker:, @Tylopous: Can someone, who knows how the Inductivebot and the stats Module work, have a look? Ciridae (talk) 04:51, 29 April 2022 (UTC)[reply]

@Ciridae: I can point you to this module which I think is also important for the working of the statistics. Never edited such a page though (and I think only bots are supposed to edit it.)--Tylopous (talk) 05:20, 29 April 2022 (UTC)[reply]
@Tylopous: You're right; that's the module I should've linked. The InductiveBot is updating the module but the numbers aren't correct. I've no idea how the bot works either. Ciridae (talk) 06:02, 29 April 2022 (UTC)[reply]
@Inductiveload: Looks to me like the bot is choking on something again. It's updating Module:Monthly Challenge daily stats/data/2022-04, but while the numbers look correct as far as they go they look like it's only processing something like ~10 pages. So whatever it's choking on it's not throwing anything fatal. Is it gathering everything, but then bailing in the middle of processing it? It also looks like whatever it is it's from the 27th, or possibly the day before. Xover (talk) 10:37, 30 April 2022 (UTC)[reply]
@Xover et al sorry for the delay. This has been an interesting one to debug: it appears to be fallout from https://github.com/wikimedia/mediawiki-extensions-ProofreadPage/commit/8d9e1bd9911f857654c8fd612873d21c58253b9c, which means that the SQL query used to find all the pages of an index has suddenly broken because the pages are no longer counted as outgoing links. There's probably a better query to achieve that anyway. Investigation continues. Annoying that it happened right next to the 1 year anniversary of the MC...>_< Inductiveloadtalk/contribs 20:17, 30 April 2022 (UTC)[reply]
Seems like a fairly easy fix actually: just use the templatelinks table (comme ça). This manky SQL grobbling was all supposed to be a stand-in until the proper change tag-driven page status system was in place, but well... Inductiveloadtalk/contribs 20:40, 30 April 2022 (UTC)[reply]