Page MenuHomePhabricator

Invalid category member on shwiki and fatal exception when try to access using their page ID
Open, Needs TriagePublicBUG REPORT

Description

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

What happens?:

MediaWiki internal error.

Original exception: [0676078e-4535-4a46-87d8-dfadec18f596] 2024-01-27 14:37:15: Fatal exception of type "Wikimedia\Assert\PostconditionException"

Exception caught inside exception handler.

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.

What should have happened instead?:

No such invalid category member, no fatal exceptions.

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

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

Original report
On 2024-01-27 13:13 (UTC), Aca wrote:

Edgar and I found some pretty strange categories on sh.WP, and we think they might be related to LanguageConverter or some of the patches deployed earlier.

They can be found on the last page of Wanted categories special page.

Specifically, I'm referring to:

Seems like they are populated by pages that don't exist (?)

Event Timeline

Func added a subscriber: Aca.

Page name with : in the talk namespace: https://quarry.wmcloud.org/query/79991

Many pages in the talk namespace are prefixed with a valid localized namespace name, not sure about the cause, maybe title validation was not complete back in 2014 when the bot (User:Dcirovicbot) created these pages.

We will need to run the namespaceDupes.php maintenance script to fix them.

php namespaceDupes.php --fix --move-talk --merge

Yeah, I also thought of namespaceDupes. Please do let me know if there's anything left to fix on-wiki.

Kizule subscribed.

I don't see any configuration change request. Running namespaceDupes.php goes under Wikimedia-maintenance-script-run.