User talk:Community Tech bot

From Meta, a Wikimedia project coordination wiki

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: https://phabricator.wikimedia.org/T332504

It would be very very helpful!

Thank you so much for your contributions. Humanatbest (talk) 17:06, 19 March 2023 (UTC)[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]

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]

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]

@MartinPoulter Apologies for the late reply! Indeed, the "Total views" is across all pages of that WikiProjects. Many WikiProjects simply have too many pages to list on one wiki page, which is what the cut-off is 500 (or whatever is configured at en:User:Community Tech bot/Popular pages config.json). MusikAnimal (WMF) (talk) 02:21, 19 December 2023 (UTC)[reply]

Remove Importance column from Popular pages[edit]

Hi @MusikAnimal (WMF): w:Wikipedia:WikiProject Anarchism/Popular pages is showing an Importance column even though the project does not use an Importance rating. What would be the best way to have the bot remove this? I did not see documentation on Community Tech/Popular pages bot. czar 14:41, 26 December 2023 (UTC)[reply]

@Czar It seems like a narrow use case so I'm think using mw:TemplateStyles would be best, as opposed to adding an option to the bot's config or something. I've implemented this, and since the bot ignores the first section, the "Importance" column should remain hidden as future updates are made. Best, MusikAnimal (WMF) (talk) 00:25, 3 January 2024 (UTC)[reply]
Using TemplateStyles sounds like a good solution but I whenever I've tried to create a template style for a WikiProject page, it wouldn't let me, due to not having the rights to change the content model of the style page in the Wikipedia namespace to "Sanitized CSS", and I didn't feel comfortable with the rigmarole of getting an admin to do it. StefenTower (talk) 00:35, 3 January 2024 (UTC)[reply]
Thanks! For anyone attempting to do this in the future, here are the diffs: [1][2] czar 13:28, 3 January 2024 (UTC)[reply]
@StefenTower Indeed, a sysop is needed unless you move your TemplateStyles under the Template namespace, which would be odd placement in this case, I think. The other alternative as I mentioned is to introduce a configuration option, but that would also need sysop intervention as you'd need to change w:User:Community Tech bot/Popular pages config.json. I think making an edit request on the config talk page and asking to change the content model of a related page is fine, even though technically it's not an "edit request". Just my 2c. All I know is there are admins who are are happy to help :) MusikAnimal (WMF) (talk) 17:43, 3 January 2024 (UTC)[reply]
Thank you. I was afraid I'd have to defend such a request for it being "unusual", but now I know better. :) StefenTower (talk) 18:56, 3 January 2024 (UTC)[reply]

Popular pages not updating[edit]

Hi,

This page WikiProject_Classical_music/Popular_pages seems like its not updating properly.

I looked at User:Community Tech bot/Popular pages and Community_Tech/Popular_pages_bot#Troubleshooting and but could not identify the cause...

Thanks in advance Gor1995 (talk) 23:32, 3 January 2024 (UTC)[reply]

@Gor1995 No articles show up at all when using Special:PageAssessments, which tells me there is a storage issue with the template. At quick glance, I suspect w:Special:Diff/1175985846 by @WOSlinker is the culprit. That changed from using the w:Template:WPBannerMeta to using w:Module:WikiProject banner directly. The latter appears to use the {{#assessment}} parser function, but I'm not certain if it works as expected. I see the various U.S. Roads WikiProjects are also empty (example), and similar there's w:Special:Diff/1174265071 by @MSGJ. I checked a few other templates that also use the module, such as w:Template:WikiProject Agriculture and w:Template:WikiProject Africa, and they are working correctly. The difference I see in the implementation seems to be the passing in of the |class= and |assessment= parameters. I would try doing the same for w:Template:WikiProject Classical music, etc. Hope this helps, MusikAnimal (WMF) (talk) 18:01, 9 January 2024 (UTC)[reply]
The classical music project has not maintained article assessments since 2009 [3] MSGJ (talk) 18:19, 9 January 2024 (UTC)[reply]
Gor1995 & MSGJ, If you look at the last line of the deleted WPBannerMeta/core template, it seems as though the pageassessments tag was still set even if class and importance were not used. So I think just adding {{#assessment:Classical music||}} to Template:WikiProject Classical will fix it. Or maybe Module:WikiProject_banner should apply it all the time? -- WOSlinker (talk) 10:30, 10 January 2024 (UTC)[reply]
What is the purpose of using PageAssessments if class and importance are not used by the project? MSGJ (talk) 10:40, 10 January 2024 (UTC)[reply]
@MSGJ It still groups the pages under the WikiProject in the page assessments database, which is necessary to generate the popular pages report. It can also help answer questions like "who's active in this WikiProject". I'm working on phab:T344464 for example which also relies on the page assessment data being complete. MusikAnimal (WMF) (talk) 06:20, 15 January 2024 (UTC)[reply]
Even if I would understand any of the points raised here (I don't), there's nothing I can do about it because the template is protected. Updating en:Wikipedia:WikiProject Classical music/Popular pages worked until August 2023. I would like to see it working again. Can somebody who understands the problem please fix en:Template:WikiProject Classical music or whatever page needs fixing? -- Michael Bednarek (talk) 06:44, 15 January 2024 (UTC)[reply]
Following up on en:Module talk:WikiProject banner MSGJ (talk) 11:08, 19 January 2024 (UTC)[reply]
Looks like it's fixed now, thanks! -- Gor1995 (talk) 11:05, 5 February 2024 (UTC)[reply]

maybe the same as above?[edit]

Not sure of the correct process to request more frequent updates of the WikiProject Oceania popular page - it has residual issues from incorrectly identified items that have not fitted into the Oceania scope/subject by a misfiring bot process in 2023. Is it possible to ask for more frequent updates, or is it just a matter of being patient for an otherwise restricted process... :JarrahTree (talk) 02:24, 5 February 2024 (UTC)[reply]

@JarrahTree The bot only runs once a month. WikiProject Oceania however is a rather small project. so you could instead get real-time results using toolforge:massviews. See the troubleshooting tips for more information. Here is an example for results over the past 20 days. I'll admit there are bugs with Massviews, that I hope to fix soon. If you see a bunch of errors, try refreshing after the query finishes. Hope this helps, MusikAnimal (WMF) (talk) 22:24, 14 February 2024 (UTC)[reply]
@MusikAnimal (WMF) (talk. Thank you very much, your reply is appreciated, thank you... :JarrahTree (talk) 02:12, 15 February 2024 (UTC)[reply]