[go: nahoru, domu]

Page MenuHomePhabricator

MediaWiki-CategoriesComponent
ActivePublic

Details

Description

Issues about MediaWiki core's categorisation feature, including its database schema, its API modules, and the Special:Categories and Special:RandomInCategory pages.

See MediaWiki-Page-editing and MediaWiki-Parser for issues with editing of pages and/or saving of categorisation changes.

Recent Activity

Mon, Jul 1

yo_scottie_oh added a comment to T45424: In category display, optionally also include subcategories in alphabetic listing.

I would also appreciate this feature, and humbly request that this feature be bumped higher in priority. Thank you!

Mon, Jul 1, 12:44 PM · MediaWiki-Categories

Jun 17 2024

Maintenance_bot removed a project from T366809: Category pagination broken on Commons : Patch-For-Review.
Jun 17 2024, 8:33 PM · MediaWiki-Categories, Commons
Stashbot added a comment to T366809: Category pagination broken on Commons .

Mentioned in SAL (#wikimedia-operations) [2024-06-17T20:06:59Z] <jforrester@deploy1002> jforrester: Backport for [[gerrit:1041659|[wikifunctionswiki] Remove right to promote/demote sysops and bureaucrats from staff (T365627)]], [[gerrit:1039767|Add a note that you cannot change wgCategoryCollation easily (T362494 T366809)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Jun 17 2024, 8:07 PM · MediaWiki-Categories, Commons
Stashbot added a comment to T366809: Category pagination broken on Commons .

Mentioned in SAL (#wikimedia-operations) [2024-06-17T20:01:57Z] <jforrester@deploy1002> Started scap: Backport for [[gerrit:1041659|[wikifunctionswiki] Remove right to promote/demote sysops and bureaucrats from staff (T365627)]], [[gerrit:1039767|Add a note that you cannot change wgCategoryCollation easily (T362494 T366809)]]

Jun 17 2024, 8:02 PM · MediaWiki-Categories, Commons
gerritbot added a comment to T366809: Category pagination broken on Commons .

Change #1039767 merged by jenkins-bot:

[operations/mediawiki-config@master] Add a note that you cannot change wgCategoryCollation easily

https://gerrit.wikimedia.org/r/1039767

Jun 17 2024, 8:02 PM · MediaWiki-Categories, Commons

Jun 14 2024

Pppery edited projects for T354139: Category sortkeys are not handled properly if they contain '' or ''', added: Patch-Needs-Improvement; removed Patch-For-Review.
Jun 14 2024, 6:39 PM · Patch-Needs-Improvement, Parsoid, MediaWiki-Categories, MediaWiki-Parser

Jun 6 2024

Jdforrester-WMF closed T366809: Category pagination broken on Commons as Resolved.

There may be some pages that are wrong, but this should sort itself out as they're re-parsed.

Jun 6 2024, 4:48 PM · MediaWiki-Categories, Commons
AntiCompositeNumber added a comment to T366809: Category pagination broken on Commons .

Pagination appears to be working correctly now.

Jun 6 2024, 4:12 PM · MediaWiki-Categories, Commons
Stashbot added a comment to T366809: Category pagination broken on Commons .

Mentioned in SAL (#wikimedia-operations) [2024-06-06T15:23:02Z] <jforrester@deploy1002> Finished scap: Backport for [[gerrit:1039746|Revert "commonswiki: Enable numeric wgCategoryCollation" (T366809)]] (duration: 13m 58s)

Jun 6 2024, 3:23 PM · MediaWiki-Categories, Commons
gerritbot added a comment to T366809: Category pagination broken on Commons .

Change #1039767 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/mediawiki-config@master] Add a note that you cannot change wgCategoryCollation easily

https://gerrit.wikimedia.org/r/1039767

Jun 6 2024, 3:14 PM · MediaWiki-Categories, Commons
Stashbot added a comment to T366809: Category pagination broken on Commons .

Mentioned in SAL (#wikimedia-operations) [2024-06-06T15:11:34Z] <jforrester@deploy1002> jforrester: Backport for [[gerrit:1039746|Revert "commonswiki: Enable numeric wgCategoryCollation" (T366809)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Jun 6 2024, 3:11 PM · MediaWiki-Categories, Commons
Stashbot added a comment to T366809: Category pagination broken on Commons .

Mentioned in SAL (#wikimedia-operations) [2024-06-06T15:09:03Z] <jforrester@deploy1002> Started scap: Backport for [[gerrit:1039746|Revert "commonswiki: Enable numeric wgCategoryCollation" (T366809)]]

Jun 6 2024, 3:09 PM · MediaWiki-Categories, Commons
gerritbot added a comment to T366809: Category pagination broken on Commons .

Change #1039746 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert "commonswiki: Enable numeric wgCategoryCollation"

https://gerrit.wikimedia.org/r/1039746

Jun 6 2024, 3:08 PM · MediaWiki-Categories, Commons
gerritbot added a project to T366809: Category pagination broken on Commons : Patch-For-Review.
Jun 6 2024, 3:04 PM · MediaWiki-Categories, Commons
gerritbot added a comment to T366809: Category pagination broken on Commons .

Change #1039746 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/mediawiki-config@master] Revert "commonswiki: Enable numeric wgCategoryCollation"

https://gerrit.wikimedia.org/r/1039746

Jun 6 2024, 3:04 PM · MediaWiki-Categories, Commons
AntiCompositeNumber created T366809: Category pagination broken on Commons .
Jun 6 2024, 2:58 PM · MediaWiki-Categories, Commons

Jun 3 2024

Maintenance_bot removed a project from T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis: Patch-For-Review.
Jun 3 2024, 12:31 PM · I18n, MediaWiki-Categories
Ladsgroup closed T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis as Resolved.
Jun 3 2024, 12:04 PM · I18n, MediaWiki-Categories
Stashbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Mentioned in SAL (#wikimedia-operations) [2024-06-03T12:03:18Z] <ladsgroup@deploy1002> Finished scap: Backport for [[gerrit:1037942|Enable numeric sorting for Persian (T329440)]] (duration: 12m 07s)

Jun 3 2024, 12:03 PM · I18n, MediaWiki-Categories
Stashbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Mentioned in SAL (#wikimedia-operations) [2024-06-03T11:53:30Z] <ladsgroup@deploy1002> ebrahim and ladsgroup: Backport for [[gerrit:1037942|Enable numeric sorting for Persian (T329440)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Jun 3 2024, 11:53 AM · I18n, MediaWiki-Categories
Ladsgroup renamed T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis from Handling Number-sorted pages in categories for non-English numbers to Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.
Jun 3 2024, 11:53 AM · I18n, MediaWiki-Categories
Stashbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Mentioned in SAL (#wikimedia-operations) [2024-06-03T11:51:11Z] <ladsgroup@deploy1002> Started scap: Backport for [[gerrit:1037942|Enable numeric sorting for Persian (T329440)]]

Jun 3 2024, 11:51 AM · I18n, MediaWiki-Categories
gerritbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Change #1037942 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable numeric sorting for Persian

https://gerrit.wikimedia.org/r/1037942

Jun 3 2024, 11:51 AM · I18n, MediaWiki-Categories

Jun 2 2024

gerritbot added a project to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis: Patch-For-Review.
Jun 2 2024, 8:32 PM · I18n, MediaWiki-Categories
gerritbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Change #1037942 had a related patch set uploaded (by Ebrahim; author: Ebrahim):

[operations/mediawiki-config@master] Enable numeric sorting for Persian

https://gerrit.wikimedia.org/r/1037942

Jun 2 2024, 8:31 PM · I18n, MediaWiki-Categories
Maintenance_bot removed a project from T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis: Patch-For-Review.
Jun 2 2024, 8:29 PM · I18n, MediaWiki-Categories
gerritbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Change #1037940 merged by jenkins-bot:

[operations/mediawiki-config@master] beta: Enable numeric sorting for Persian

https://gerrit.wikimedia.org/r/1037940

Jun 2 2024, 8:03 PM · I18n, MediaWiki-Categories
gerritbot added a project to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis: Patch-For-Review.
Jun 2 2024, 8:00 PM · I18n, MediaWiki-Categories
gerritbot added a comment to T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis.

Change #1037940 had a related patch set uploaded (by Ebrahim; author: Ebrahim):

[operations/mediawiki-config@master] Enable numeric sorting for Persian in labs

https://gerrit.wikimedia.org/r/1037940

Jun 2 2024, 8:00 PM · I18n, MediaWiki-Categories
Ladsgroup edited projects for T329440: Handling Number-sorted pages in categories for non-English numbers in Persian Wikis, added: I18n; removed Wikimedia-Site-requests.
Jun 2 2024, 7:25 PM · I18n, MediaWiki-Categories
Nickps added a project to T5311: Automatic category redirects: MediaWiki-Redirects.
Jun 2 2024, 5:33 PM · MediaWiki-Redirects, Patch-Needs-Improvement, Hungarian-Sites, Community-Wishlist-Survey-2016, Contributors-Team, MediaWiki-Categories

May 24 2024

chinneeb closed T365777: Category members still showing up as part of category after removal on mnwiki as Invalid.

Invalid - was due to an errant template.

May 24 2024, 3:37 PM · MediaWiki-Categories
Bugreporter added a project to T365777: Category members still showing up as part of category after removal on mnwiki: MediaWiki-Categories.
May 24 2024, 12:46 AM · MediaWiki-Categories

May 22 2024

Krinkle updated subscribers of T221795: Refactor Category::refreshCounts logic to a job and simplify.

Questions from @Bmueller:

  • What are the dependencies (code, and/or people)?
    • "Categories" are a fairly small feature. It builds on general platform concepts like JobQueue, DeferredUpdates, and utility functions, but I don't think this task requires changes to other components or feature behaviours. As such, while not exactly standalone, I'd say it has no code dependencies that we need to be mindful of in this context. In terms of teams, the feature is unowned. The task does not require making behaviour changes besides obvious bug fixes, so no controversial decisions or indirect product impact expected there.
  • What is the impact of this?
    • Sustainability: the current implementation is needlessly complex and redundant and yet still seeems to regularly produce inaccurate counts. It is prune to production errors and load problems. e.g. T352628: Fatal exception of type "Wikimedia\Rdbms\DBTransactionSizeError", per @Ladsgroup above.
    • Product experience: The most prominent use category counts, where the number itself is imporant/sensitive, is Wikipedia maintenance categories, and similar "meta" categories on other wikis. The counts are often used to power templates, gadgets, and bots to know when a particular kind of issue has more than 0 articles affecting it. The problem is often that the category will either be zero when it shouldn't be or above zero when it should be zero. To clarify: The problem is not e.g. when a category containing 100+ items and the number being off by a few, which would not be a big problem in that case. We have ~15 duplicate bug reports about this at the moment, dating back several years.
  • What would it cost to fix? TBD.
May 22 2024, 3:02 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged T23230: Category count is incorrect into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:10 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle added a subtask for T221795: Refactor Category::refreshCounts logic to a job and simplify: T299244: Deleted pages are not being removed from links tables, which also messes up category counts.
May 22 2024, 2:09 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle added a parent task for T299244: Deleted pages are not being removed from links tables, which also messes up category counts: T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:09 PM · MW-1.38-notes (1.38.0-wmf.18; 2022-01-17), MediaWiki-Page-deletion, Wikimedia-production-error, Wikimedia-Incident, MediaWiki-Categories
Krinkle added a parent task for T195397: {{PAGESINCATEGORY}} returns incorrect value on en-wiki Category:Candidates for speedy deletion: T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:09 PM · Data-Engineering, Analytics-Radar, MW-1.32-notes (WMF-deploy-2018-07-10 (1.32.0-wmf.12)), Wikimedia-production-error, DBA, Services (watching), Event-Platform, MediaWiki-Core-JobQueue, MediaWiki-Categories, MediaWiki-Parser
Krinkle added a subtask for T221795: Refactor Category::refreshCounts logic to a job and simplify: T195397: {{PAGESINCATEGORY}} returns incorrect value on en-wiki Category:Candidates for speedy deletion.
May 22 2024, 2:08 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged T85527: Category gives wrong number of pages into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:07 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged T117971: Category size count is radically different than actual count. into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:07 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged task T117971: Category size count is radically different than actual count. into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:07 PM · MediaWiki-Categories
Krinkle merged task T178489: Incorrect count in category into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:06 PM · MediaWiki-Categories, All-and-every-Wikisource
Krinkle merged T178489: Incorrect count in category into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:06 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged T200402: Category count inaccurate on enwp into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:06 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged task T202833: Wrong file count for category into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:06 PM · MediaWiki-Categories, Commons
Krinkle merged task T200402: Category count inaccurate on enwp into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:06 PM · WMF-General-or-Unknown, MediaWiki-Categories
Krinkle merged T202833: Wrong file count for category into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:06 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
Krinkle merged T221679: API producing inconsistent results on trwiki into T221795: Refactor Category::refreshCounts logic to a job and simplify.
May 22 2024, 2:05 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories
FJoseph-WMF moved T221795: Refactor Category::refreshCounts logic to a job and simplify from Inbox, needs triage to Backlog (revisit in the future) on the MediaWiki-Engineering board.
May 22 2024, 1:49 PM · MediaWiki-Engineering, Wikimedia-Performance-recommendation, Sustainability (Incident Followup), Platform Engineering Code Jam-2021, Platform Engineering Roadmap Decision Making, MediaWiki-Categories