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

Today

cscott closed T373480: Display categories in sorted order by default as Resolved.

Closing this task as (1) category sorting was enabled as an option in core, and (2) investigation revealed that many editors currently expect categories to be an ordered list *not* a set. So we'll have to apply that learning to metadata update when we work on selective update.

Wed, May 21, 5:02 PM · Content-Transform-Team (Work In Progress), MediaWiki-Categories, MediaWiki-User-Interface, Parsoid-Read-Views (Phase 1 - DiscussionTools support), MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), User-notice

Yesterday

Clement_Goubert closed T388533: Migrate recount_categories job to mw-cron as Resolved.
Tue, May 20, 3:31 PM · serviceops, MediaWiki-Categories

Sat, May 17

Aklapper renamed T394535: Category cannot list all members, loops between two list pages from Category does not list all members to Category cannot list all members, loops between two list pages.
Sat, May 17, 2:51 AM · MediaWiki-Categories

Fri, May 16

PatchDemoBot added a comment to T385860: Category is duplicated when used on a page and interface message in the same OutputPage.

Test wiki on Patch demo by Shizhao using patch(es) linked to this task was deleted:

Fri, May 16, 7:27 PM · Patch-For-Review, MediaWiki-User-Interface, MediaWiki-Categories, Chinese-Sites
PatchDemoBot added a comment to T195758: Duplicate categories shown on file page.

Test wiki on Patch demo by Shizhao using patch(es) linked to this task was deleted:

Fri, May 16, 7:27 PM · Patch-For-Review, Commons, MediaWiki-File-management, MediaWiki-Categories
PatchDemoBot added a comment to T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki).

Test wiki on Patch demo by Bawolff using patch(es) linked to this task was deleted:

Fri, May 16, 7:26 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
PatchDemoBot added a comment to T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki).

Test wiki on Patch demo by Bawolff using patch(es) linked to this task was deleted:

Fri, May 16, 7:22 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
Pppery added a project to T394535: Category cannot list all members, loops between two list pages: MediaWiki-Categories.
Fri, May 16, 5:54 PM · MediaWiki-Categories
A_smart_kitten added a project to T382217: watching categories: hidden categories do not show in watchlist when "Show hidden categories" disabled in preferences: MediaWiki-Recent-changes.

[...]

worse yet, there is an undisputable bug in the implementation of this (bad/wrong) feature:
even though the changes in hidden cats are not shown, they _are_ counted against the "show XXX last changes" selection.
IOW, if i choose to display 100 latest changes and show changes in categories, and it so happen that the 100 most recent changes in my watchlist are all additions/removals of pages from some hidden cat (something that can easily happen in real life, e.g. when using a tool like cat-a-lot, or making some change in a template which adds or removes large number of pages from some maintenance hidden category), the watchlist will show empty: those 100 "filtered out" changes push out all the other changes from the watchlist.

Fri, May 16, 11:19 AM · MediaWiki-Recent-changes, Moderator-Tools-Team, MediaWiki-Categories, MediaWiki-Watchlist
A_smart_kitten added a comment to T382553: Hidden categories take up space in both the watchlist and the recent changes list when the option "preferences > appearance > show hidden categories" is turned off.

Technically (as far as I can see) this is a re-report of the issue reported in T161756: Unchecking category leads to more results on plwiki, but this task's description is more detailed/clear about what the issue is than that task's description, so I've merged that one over to here :)

Fri, May 16, 11:01 AM · Moderator-Tools-Team, MediaWiki-Core-Preferences, MediaWiki-Categories, MediaWiki-Recent-changes, MediaWiki-Watchlist
A_smart_kitten merged T161756: Unchecking category leads to more results on plwiki into T382553: Hidden categories take up space in both the watchlist and the recent changes list when the option "preferences > appearance > show hidden categories" is turned off.
Fri, May 16, 11:00 AM · Moderator-Tools-Team, MediaWiki-Core-Preferences, MediaWiki-Categories, MediaWiki-Recent-changes, MediaWiki-Watchlist

Thu, May 15

KSiebert removed a project from T360189: Automatically suggest categories when creating a new article: Wikimedia Wishathon.
Thu, May 15, 8:15 AM · MediaWiki-Categories, Community-Wishlist-Survey-2021

Mon, May 12

Maintenance_bot removed a project from T388533: Migrate recount_categories job to mw-cron: Patch-For-Review.
Mon, May 12, 2:31 PM · serviceops, MediaWiki-Categories
gerritbot added a comment to T388533: Migrate recount_categories job to mw-cron.

Change #1144500 merged by Hnowlan:

[operations/puppet@production] mw::maintenance: migrate recountCategories job to k8s

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

Mon, May 12, 2:17 PM · serviceops, MediaWiki-Categories
gerritbot added a project to T388533: Migrate recount_categories job to mw-cron: Patch-For-Review.
Mon, May 12, 10:54 AM · serviceops, MediaWiki-Categories
gerritbot added a comment to T388533: Migrate recount_categories job to mw-cron.

Change #1144500 had a related patch set uploaded (by Hnowlan; author: Hnowlan):

[operations/puppet@production] mw::maintenance: migrate recountCategories job to k8s

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

Mon, May 12, 10:54 AM · serviceops, MediaWiki-Categories

Sun, May 11

Bugreporter2 added a comment to T31975: Provide a way to alter page titles in category listings, e.g. via display title.

This claims to solve it; does it?

Sun, May 11, 1:56 PM · MediaWiki-Parser, MediaWiki-User-Interface (actions), MediaWiki-Categories

Fri, May 9

doctaxon added a comment to T385954: wrong timestamps of pages being included to categories.

It looks like it would be better, to save old database tables in a trashbin before changing database structures.

Fri, May 9, 12:53 PM · MediaWiki-Categories
Tkarcher added a comment to T385954: wrong timestamps of pages being included to categories.

I also stumbled across this problem today. Do you still plan to restore the old values? And (more out of curiosity): Why do I still see one entry from 2024 in this list when everything was overwritten in February? (Hm. This article was moved on the day of the migration. A race condition maybe?)

Fri, May 9, 10:42 AM · MediaWiki-Categories

Thu, May 8

Jdlrobson-WMF moved T393652: Categories should be more queriable (e.g. include parent and child categories) from Incoming to Freezer on the Web-Team board.
Thu, May 8, 6:00 PM · MediaWiki-Categories, FY2024-25 KR 3.1 Content Discovery, Web-Team
Jdlrobson-WMF triaged T393652: Categories should be more queriable (e.g. include parent and child categories) as Medium priority.
Thu, May 8, 6:00 PM · MediaWiki-Categories, FY2024-25 KR 3.1 Content Discovery, Web-Team
matej_suchanek added a comment to T392769: Impossible-to-categorise pages should be categorisable, somehow.

I can't see how it could get parsed.

Thu, May 8, 4:02 PM · MediaWiki-ContentHandler, MediaWiki-Categories
Bugreporter2 added a comment to T392769: Impossible-to-categorise pages should be categorisable, somehow.

They are always categorizable programmatically. The respective content handler just needs to provide a "side channel" for categorization. This could be for example a reserved JSON key or even a new MCR slot.

Thu, May 8, 11:06 AM · MediaWiki-ContentHandler, MediaWiki-Categories
Pppery added a project to T393652: Categories should be more queriable (e.g. include parent and child categories): MediaWiki-Categories.
Thu, May 8, 3:13 AM · MediaWiki-Categories, FY2024-25 KR 3.1 Content Discovery, Web-Team

Mon, Apr 28

matej_suchanek added a comment to T392769: Impossible-to-categorise pages should be categorisable, somehow.

They are always categorizable programmatically. The respective content handler just needs to provide a "side channel" for categorization. This could be for example a reserved JSON key or even a new MCR slot.

Mon, Apr 28, 11:19 AM · MediaWiki-ContentHandler, MediaWiki-Categories
Izno edited projects for T392769: Impossible-to-categorise pages should be categorisable, somehow, added: MediaWiki-ContentHandler; removed Multi-Content-Revisions.
Mon, Apr 28, 6:59 AM · MediaWiki-ContentHandler, MediaWiki-Categories

Sun, Apr 27

Pppery removed a project from T392769: Impossible-to-categorise pages should be categorisable, somehow: MediaWiki-Special-pages.
Sun, Apr 27, 2:20 PM · MediaWiki-ContentHandler, MediaWiki-Categories
Bugreporter added a project to T392769: Impossible-to-categorise pages should be categorisable, somehow: Multi-Content-Revisions.
Sun, Apr 27, 1:25 PM · MediaWiki-ContentHandler, MediaWiki-Categories
Bugreporter2 created T392769: Impossible-to-categorise pages should be categorisable, somehow.
Sun, Apr 27, 11:20 AM · MediaWiki-ContentHandler, MediaWiki-Categories

Apr 21 2025

Bugreporter2 updated the task description for T378683: Show targets of redirects in categories..
Apr 21 2025, 1:45 AM · patch-welcome, Design, MediaWiki-Categories, MediaWiki-Redirects
Bugreporter2 updated the task description for T378683: Show targets of redirects in categories..
Apr 21 2025, 1:38 AM · patch-welcome, Design, MediaWiki-Categories, MediaWiki-Redirects

Apr 20 2025

Bugreporter2 added a project to T378683: Show targets of redirects in categories.: patch-welcome.
Apr 20 2025, 2:01 PM · patch-welcome, Design, MediaWiki-Categories, MediaWiki-Redirects

Apr 14 2025

MSantos moved T373480: Display categories in sorted order by default from Backlog to To Verify on the Content-Transform-Team (Work In Progress) board.
Apr 14 2025, 12:11 PM · Content-Transform-Team (Work In Progress), MediaWiki-Categories, MediaWiki-User-Interface, Parsoid-Read-Views (Phase 1 - DiscussionTools support), MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), User-notice
MSantos edited projects for T373480: Display categories in sorted order by default, added: Content-Transform-Team (Work In Progress); removed Content-Transform-Team-WIP.
Apr 14 2025, 12:11 PM · Content-Transform-Team (Work In Progress), MediaWiki-Categories, MediaWiki-User-Interface, Parsoid-Read-Views (Phase 1 - DiscussionTools support), MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), User-notice

Apr 11 2025

ssastry assigned T373480: Display categories in sorted order by default to cscott.
Apr 11 2025, 5:43 PM · Content-Transform-Team (Work In Progress), MediaWiki-Categories, MediaWiki-User-Interface, Parsoid-Read-Views (Phase 1 - DiscussionTools support), MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), User-notice

Apr 10 2025

Maintenance_bot removed a project from T388533: Migrate recount_categories job to mw-cron: Patch-For-Review.
Apr 10 2025, 4:31 PM · serviceops, MediaWiki-Categories
gerritbot added a comment to T388533: Migrate recount_categories job to mw-cron.

Change #1135754 merged by Clément Goubert:

[operations/puppet@production] alertmanager: Add routing for task alerts

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

Apr 10 2025, 4:20 PM · serviceops, MediaWiki-Categories
gerritbot added a comment to T388533: Migrate recount_categories job to mw-cron.

Change #1135753 merged by Clément Goubert:

[operations/puppet@production] alertmanager: Add team/project receivers for Phab

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

Apr 10 2025, 4:20 PM · serviceops, MediaWiki-Categories
gerritbot added a comment to T388533: Migrate recount_categories job to mw-cron.

Change #1135754 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] alertmanager: Add routing for task alerts

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

Apr 10 2025, 3:08 PM · serviceops, MediaWiki-Categories
gerritbot added a project to T388533: Migrate recount_categories job to mw-cron: Patch-For-Review.
Apr 10 2025, 3:07 PM · serviceops, MediaWiki-Categories
gerritbot added a comment to T388533: Migrate recount_categories job to mw-cron.

Change #1135753 had a related patch set uploaded (by Clément Goubert; author: Clément Goubert):

[operations/puppet@production] alertmanager: Add team/project receivers for Phab

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

Apr 10 2025, 3:07 PM · serviceops, MediaWiki-Categories

Apr 8 2025

A_smart_kitten moved T370999: Interface pages can't categorise the pages they are included in from External to Backlog on the Scribunto board.
Apr 8 2025, 12:42 PM · Scribunto, MediaWiki-Categories

Apr 2 2025

jijiki moved T388533: Migrate recount_categories job to mw-cron from Incoming 🐫 to this.quarter 🍕 on the serviceops board.
Apr 2 2025, 11:55 AM · serviceops, MediaWiki-Categories

Apr 1 2025

Krinkle moved T365303: Move update of category members count to CategoryMembershipChangeJob from Feb 2025 to Jan-Mar 2025 on the Wikimedia-production-error board.
Apr 1 2025, 2:04 AM · Wikimedia-production-error, Unstewarded-production-error, MediaWiki-Platform-Team (Radar), MediaWiki-Categories, Sustainability (Incident Followup), Wikimedia-Performance-recommendation

Mar 27 2025

Bawolff added a comment to T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki).

Now that the change has been deployed to ckbwiki, I think there's nothing more to do here. Thanks @Bawolff!

Mar 27 2025, 8:07 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
jhsoby closed T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki) as Resolved.

Now that the change has been deployed to ckbwiki, I think there's nothing more to do here. Thanks @Bawolff!

Mar 27 2025, 3:17 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
jhsoby closed T390142: PHP Deprecated: Use of CollationCkb::__construct was deprecated in MediaWiki 1.44. [Called from Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec], a subtask of T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki), as Resolved.
Mar 27 2025, 3:15 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
Maintenance_bot removed a project from T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki): Patch-For-Review.
Mar 27 2025, 2:31 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
gerritbot added a comment to T310051: Incorrect category header "ء" needs to be "ئ" instead (on ckbwiki).

Change #1131651 merged by jenkins-bot:

[operations/mediawiki-config@master] Change category collation for ckbwiki

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

Mar 27 2025, 1:48 PM · MW-1.44-notes (1.44.0-wmf.22; 2025-03-25), MediaWiki-Internationalization, MediaWiki-Categories
Samwalton9-WMF moved T3710: Ability to watch all articles in a category from Inbox to Triaged on the Moderator-Tools-Team board.
Mar 27 2025, 1:16 PM · Moderator-Tools-Team, MediaWiki-Categories, MediaWiki-Watchlist