Jump to content

Wikipedia talk:Version 1.0 Editorial Team/Index

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Audiodude (talk | contribs) at 23:57, 27 October 2022 (Issue with (not) physics article: Reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Scottish Castles

Looking at Wikipedia:WikiProject_Scottish_Castles#Assessment it says 308 stub articles. Clicking on that and on https://wp1.openzim.org/#/project/Scottish_Castle/articles?quality=Stub-Class it says "Article 1 - 100 of 1848 (19 pages)", which doesn't seem right? -Kj cheetham (talk) 23:07, 11 September 2022 (UTC)[reply]

@Kj cheetham: thanks for the question, and for your contributions. The report on openzim.org is bad: all of the entries appear multiple times (Castle Tarbet appears at 76, 994, and other places, for example). The assessment table (counting the articles in Category:Stub-Class Scottish Castle articles) shows the correct number. Best, UnitedStatesian (talk) 13:48, 12 September 2022 (UTC)[reply]
UnitedStatesian Thank you for the clarification. Hopefully the openzim.org report issue will be resolved in due course. -Kj cheetham (talk) 14:17, 12 September 2022 (UTC)[reply]
@Audiodude: Would you be able to comment on this? Thanks. -Kj cheetham (talk) 14:04, 22 October 2022 (UTC)[reply]
Sounds like we need a bug on Github: here. Thanks for reporting. audiodude (talk) 20:33, 22 October 2022 (UTC)[reply]
Okay this has been fixed and pushed to production. Let me know if you see any other weirdness, thanks! audiodude (talk) 23:10, 22 October 2022 (UTC)[reply]

Custom table updates

This bot has been responsible for two tables: User:WP 1.0 bot/Tables/Custom/Roads-1 and User:WP 1.0 bot/Tables/Custom/Canada-Roads-1. These have not been updated since 2019, and I'd like to request that they be restored to the bot's regular duties.

That first table for WP:USRD needs a couple of additions for a few task forces that have been added. (Along with this, the table name may need a new title since it's not for Roads writ large, but just the US Roads project.)

  • We need a row added with a gray background for Category:U.S. county road articles by quality with "CR" as the abbreviation in the first column of the table. It should be listed third after the USH row.
  • We need a row added with a gray background for Category:U.S. road junction articles by quality with "JCT" as the abbreviation in the first column of the table. It should be listed fifth after the Auto trail row. (That row's abbreviation can be changed to "TRL" to match the project's navbox.)
  • We need a row added with a gray background for Category:U.S. Route 66 articles by quality with "US 66" as the abbreviation in the first column of the table. It should be listed sixth after the JCT row.
  • The USRD row at the bottom should get a different shade since it's the project total row. Maybe a shade of green like #ddffdd.

The second table for WP:CARD only needs a background added for its project total row like the USRD table; that project uses red as its color, so a shade of pink like #ffdddd might work. That abbreviation of "CRWP" should be switched to "CARD" as well.

Along with this, there should be a third table created for WP:HWY. The rows needed would be based on the following assessment trees:

Thanks, Imzadi 1979  15:35, 12 September 2022 (UTC)[reply]

@Audiodude: Any feedback on this please? — Preceding unsigned comment added by Kelson (talkcontribs) 08:55, 25 September 2022 (UTC)[reply]
@Audiodude: repinging because the previous comment was not signed by Kelson, thus it would not ping. Imzadi 1979  21:58, 22 October 2022 (UTC)[reply]
We don't create tables like this for you. The bot creates the tables automatically based on the presence of articles in the proper "... by quality" or "... by importance" categories. As far as having a table with multiple sub-projects listed in it, I think I'm vaguely familiar with this, but I would have to look more into how it's done. Do you have an example from another project where the sub-projects are listed in the same table? This might be something that you do yourself by transcluding templates. Thanks, audiodude (talk) 22:46, 22 October 2022 (UTC)[reply]
@Audiodude: these are the only tables with such a breakdown. We created a similar table out of templates for USRD, but it has no historical record. There are no past revisions of the table to see the assessment data on past dates because the templates just live update based on the current category contents at the time the page is purged or otherwise refreshed. At least with the custom tables, until the bot stopped updating them, we can go back in time and look through the revisions, just as we can with the existing standard project/TF tables. Imzadi 1979  23:44, 22 October 2022 (UTC)[reply]
Oh right, it looks like these were some of the "custom tables" that got deprecated when we moved to the third generation Python bot. See this github issue. I found the code for "Roads 1" and for Canadian roads. You can also see the entries in the Custom.tables.dat file that I preserved.
If you have someone who can write Python code, I'd be happy to guide them in submitting a PR that would "re-activate" these tables (aka re-write them from scratch). Assuming you have such a person, I would be willing to do the groundwork of creating the "custom tables" framework (storing schema/metadata in the database) that they would use to write the custom table code.
Otherwise, I guess it requires a bit of understanding about the use case for these custom tables, which we've avoided re-implementing for this long. Are they providing functionality that can't be found elsewhere, or are they simply a convenience? What has been done in the past three years while they were unavailable?
Thanks, audiodude (talk) 03:32, 23 October 2022 (UTC)[reply]
@Audiodude: that was colloquially our "leaderboard", and for the last three years, the friendly competition to improve states' relative stats in the project has been absent, and project progress has stagnated compared to what we used to have. Without the combined table, you'd literally have to consult over 60 assessment tables to do the comparisons we used to be able to do in a single location (for the US), or consult 15 tables for Canada.
The template-driven live table has a flaw: with that many data rows, we can't display all of the assessment classes because we run out of "expensive parser function calls" to get that many category counts. As a result, the page can only display one assessment class and the WikiWork calculations. And that page still has no historical record in the page history of past assessments. Imzadi 1979  07:04, 23 October 2022 (UTC)[reply]
Okay I might be working on implementing this. Stay tuned. Likely the first version will be a copy of the old table before I can work in the new requests. audiodude (talk) 21:43, 26 October 2022 (UTC)[reply]

Pagination updates

I've fixed a bug with pagination that was causing 1) the wrong number of results to be reported on article listing pages on wp1.openzim.org and 2) the article sort order to not be stable. I've responded to the bug mentioned above, but also there was @FlagSteward talking about this a couple of months ago:

> '''AAARGGGHHHHH!!!!!!''' Stepping through pages doesn't work, because the output is shuffled every time you request a page.
> You can see it on the web version if you [https://wp1.openzim.org/#/project/Scotland/articles refresh this a few times].
> Obviously it is sorted by "groups" such as High-importance FA's - but if you look within that group you will see that it is
> in a different order every time you refresh.

I replied on the archive page before I realized you're not supposed to do that (oops!). Anyways this should be fixed now. Thanks! audiodude (talk) 23:15, 22 October 2022 (UTC)[reply]

New WikiProject Protista having trouble with assessment

Hello, yesterday I created Wikipedia:WikiProject Protista and Template:WP Protista, but I'm having trouble understanding why the Assessment isn't working. I created all the necessary categories of "Protista articles by importance" and "by quality", but the bot's website doesn't seem to recognize Protista as a project. Any help is greatly appreciated. ☽ Snoteleks09:04, 23 October 2022 (UTC)[reply]

I think you just had to wait. I did a manual update of the project just now with the following results: https://wp1.openzim.org/#/project/Protista and User:WP_1.0_bot/Tables/Project/Protista audiodude (talk) 14:43, 23 October 2022 (UTC)[reply]
Thanks but I think there's something wrong going on still. The template apparently doesn't assess a quality class, only an importance class, and I don't know why. Also, in the categories only the talk pages are showing up, not the articles themselves. Is that normal? ☽ Snoteleks10:31, 25 October 2022 (UTC)[reply]
That's not the bot, that's something wrong with the talk page template: I see on Talk:Ciliate that the C isn't showing up and it's not being put in Category:C-Class Protista articles. The bot isn't populating the table because all of your quality categories are empty. --PresN 12:48, 25 October 2022 (UTC)[reply]
@Snoteleks: Your template had a few stray "Algae"s that weren't replaced with Protista; you didn't have the top-level Category:WikiProject Protista articles, or Category:Wikipedia requested images of protists, and the big one: you had "QUALITY_SCALE" set to "subpage", but didn't make a subpage: Template:WikiProject Protista/class. Please note that you have a bunch of class categories that weren't made (see that template for redlinks) - it's up to you if you want to add them or set the template to not use those classes. In either case, the template now knows what to do with the "quality=X" parameter, so the categories are being filled and the next bot run will populate the table. --PresN 13:00, 25 October 2022 (UTC)[reply]
Thank you so much. I was really confused about this. The class categories exist now. Can't wait until the next bot run ☽ Snoteleks18:38, 25 October 2022 (UTC)[reply]

Issue with (not) physics article

This article: UPt3, is stubbornly refusing to not show up on searches for the physics Wikiproject [1], even though as far as I can tell, it's not tagged for the project any more. I can't figure out what else I need to do for the bot to stop picking it up. It's been a week at this point, so it shouldn't just be a question of waiting for a refresh. Thanks! PianoDan (talk) 20:51, 27 October 2022 (UTC)[reply]

@PianoDan where are you seeing the article show up? On wp1.openzim.org, on some category on Wikipedia? Or somewhere else? This will help us debug your issue. audiodude (talk) 23:57, 27 October 2022 (UTC)[reply]