Page MenuHomePhabricator

Pages containing categories in language variants with whitespace are not shown on the category page
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Create a category page in any Chinese variant with whitespace in the name (zhbeta:Category:測試_A)
  • Create a page with that category but in another variant ([[Category:测试 A]] in zhbeta:User:Func/Sandbox)
  • Go back to check the category page

What happens?:

The page is not listed on the category page

What should have happened instead?:

The page is listed on the category page

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

68 pages on zhwiki were affected according to Quarry: https://quarry.wmcloud.org/query/70935

Event Timeline

Change 885018 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] LinksUpdate: Use DB key for category links table

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

在T328477#8575708中,@gerritbot写道:

Change 885018 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] LinksUpdate: Use DB key for category links table

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

In my opinion this patch has fixed the issue: https://patchdemo.wmflabs.org/wikis/94ab3beaab/w/index.php?title=Category:%E6%B8%AC%E8%A9%A6_A

Change 885018 merged by jenkins-bot:

[mediawiki/core@master] LinksUpdate: Use DB key for category links table

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

Umherirrender assigned this task to Func.
Umherirrender removed a project: Patch-For-Review.

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

https://patchdemo.wmflabs.org/wikis/94ab3beaab/w/

Change 890859 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@REL1_39] LinksUpdate: Use DB key for category links table

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

Change 890859 merged by jenkins-bot:

[mediawiki/core@REL1_39] LinksUpdate: Use DB key for category links table

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