Page MenuHomePhabricator

Special:Categories page on idwiki broken: "Bad value for parameter $title: should not be empty unless namespace is main"
Closed, DuplicatePublicPRODUCTION ERROR

Description

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

What happens?:
"Internal error" appears. [2a132c45-6576-42eb-8490-d9788a9cc708] 2023-06-27 08:58:48: Fatal exception of type "Wikimedia\Assert\ParameterAssertionException"

What should have happened instead?:
The page should display a list of categories in idwiki.

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

Other information (browser name/version, screenshots, etc.):
Microsoft Edge version 114.0.1823.58 (Official build) (64-bit)

from /srv/mediawiki/php-1.41.0-wmf.13/vendor/wikimedia/assert/src/Assert.php(72)
#0 /srv/mediawiki/php-1.41.0-wmf.13/includes/title/TitleValue.php(190): Wikimedia\Assert\Assert::parameter(boolean, string, string)
#1 /srv/mediawiki/php-1.41.0-wmf.13/includes/title/TitleValue.php(144): TitleValue::assertValidSpec(integer, string, string, string)
#2 /srv/mediawiki/php-1.41.0-wmf.13/includes/specials/pagers/CategoryPager.php(97): TitleValue->__construct(integer, string)
#3 /srv/mediawiki/php-1.41.0-wmf.13/includes/pager/IndexPager.php(549): CategoryPager->formatRow(stdClass)
#4 /srv/mediawiki/php-1.41.0-wmf.13/includes/pager/IndexPager.php(586): IndexPager->getRow(stdClass)
#5 /srv/mediawiki/php-1.41.0-wmf.13/includes/specials/pagers/CategoryPager.php(93): IndexPager->getBody()
#6 /srv/mediawiki/php-1.41.0-wmf.13/includes/specials/SpecialCategories.php(78): CategoryPager->getBody()
#7 /srv/mediawiki/php-1.41.0-wmf.13/includes/specialpage/SpecialPage.php(701): MediaWiki\Specials\SpecialCategories->execute(NULL)
#8 /srv/mediawiki/php-1.41.0-wmf.13/includes/specialpage/SpecialPageFactory.php(1558): SpecialPage->run(NULL)
#9 /srv/mediawiki/php-1.41.0-wmf.13/includes/MediaWiki.php(328): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#10 /srv/mediawiki/php-1.41.0-wmf.13/includes/MediaWiki.php(925): MediaWiki->performRequest()
#11 /srv/mediawiki/php-1.41.0-wmf.13/includes/MediaWiki.php(579): MediaWiki->main()
#12 /srv/mediawiki/php-1.41.0-wmf.13/index.php(50): MediaWiki->run()
#13 /srv/mediawiki/php-1.41.0-wmf.13/index.php(46): wfIndexMain()
#14 /srv/mediawiki/w/index.php(3): require(string)
#15 {main}

Details

MediaWiki Version
1.41.0-wmf.13
Request URL
https://id.wikipedia.org/wiki/Istimewa:Daftar_kategori

Event Timeline

Aklapper changed the subtype of this task from "Bug Report" to "Production Error".Jun 27 2023, 10:53 AM
taavi set Request URL to https://id.wikipedia.org/wiki/Istimewa:Daftar_kategori.Jun 27 2023, 10:55 AM
taavi updated the task description. (Show Details)
taavi set Release Version to 1.41.0-wmf.13.
taavi set Phatality ID to 2a132c45-6576-42eb-8490-d9788a9cc708.
Aklapper renamed this task from Special:Categories page on idwiki is broken to Special:Categories page on idwiki broken: "Bad value for parameter $title: should not be empty unless namespace is main".Jun 27 2023, 10:56 AM
Aklapper removed Request URL.
Aklapper updated the task description. (Show Details)
Aklapper removed Phatality ID.
Aklapper set Request URL to https://id.wikipedia.org/wiki/Istimewa:Daftar_kategori.Jun 27 2023, 12:18 PM
Aklapper set Phatality ID to 2a132c45-6576-42eb-8490-d9788a9cc708.

In T336780: Wikimedia\Assert\ParameterAssertionException: Bad value for parameter $title: should not be empty unless namespace is main the way to insert bad data is fixed, but it seems the database does not clean up itself. So this could need some maintenance script interaction to fix the issue.