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 14:43, 23 October 2022 (→‎New WikiProject Protista having trouble with assessment: Reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The Crime-related WikiProject table has not been updated today, while Crime-related articles quality log has. These normally update one after the other but this hasn't happened today. Also, it looks like the quality log has not picked up some recent changes made in at least the last six hours before 00:00 UTC on 10 September 2022. (Which may be a reason why the table has not updated, because the bot did not detect any changes.) Similarly, the Terrorism articles by quality log has been updated but none of the recent changes I have made in the last few hours have been detected. Normally, I see the list of Terrorism articles at wp1.openzim.org being updated shortly before the log and table are updated, which hasn't happened today. User:Kelson or Audiodude, is something wrong? - Cameron Dewe (talk) 03:03, 10 September 2022 (UTC) (edited 03:16, 10 September 2022 (UTC))[reply]

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]

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]