Page MenuHomePhabricator

Exception in Special:AllCategories after 200000th member
Closed, DuplicatePublicPRODUCTION ERROR

Description

Trying to get all categories through Special:AllCategories and using offset I get a "Неустранимое исключение типа «Wikimedia\Assert\ParameterAssertionException»". It usually (in >50% cases) happens at some big offset like https://ru.wiktionary.org/w/index.php?title=Служебная:Категории&limit=500&offset=Сера/ka

2017-04-07 08:25:13 [WOdM6QpAME4AAFQ41zIAAAAB] mw1243 ruwiktionary 1.29.0-wmf.19 exception ERROR: [WOdM6QpAME4AAFQ41zIAAAAB] /w/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D0%B8&limit=500&offset=%D0%A1%D0%B5%D1%80%D0%B0/ka&debug=true&uselang=en   Wikimedia\Assert\ParameterAssertionException from line 63 of /srv/mediawiki/php-1.29.0-wmf.19/vendor/wikimedia/assert/src/Assert.php: Bad value for parameter $dbkey: invalid DB key 'Сербохорватский язык' {"exception_id":"WOdM6QpAME4AAFQ41zIAAAAB","caught_by":"mwe_handler"} 
[Exception Wikimedia\Assert\ParameterAssertionException] (/srv/mediawiki/php-1.29.0-wmf.19/vendor/wikimedia/assert/src/Assert.php:63) Bad value for parameter $dbkey: invalid DB key 'Сербохорватский язык'
  #0 /srv/mediawiki/php-1.29.0-wmf.19/includes/title/TitleValue.php(82): Wikimedia\Assert\Assert::parameter(boolean, string, string)
  #1 /srv/mediawiki/php-1.29.0-wmf.19/includes/specials/pagers/CategoryPager.php(77): TitleValue->__construct(integer, string)
  #2 /srv/mediawiki/php-1.29.0-wmf.19/includes/specials/SpecialCategories.php(56): CategoryPager->getBody()
  #3 /srv/mediawiki/php-1.29.0-wmf.19/includes/specialpage/SpecialPage.php(522): SpecialCategories->execute(NULL)
  #4 /srv/mediawiki/php-1.29.0-wmf.19/includes/specialpage/SpecialPageFactory.php(577): SpecialPage->run(NULL)
  #5 /srv/mediawiki/php-1.29.0-wmf.19/includes/MediaWiki.php(286): SpecialPageFactory::executePath(Title, RequestContext)
  #6 /srv/mediawiki/php-1.29.0-wmf.19/includes/MediaWiki.php(861): MediaWiki->performRequest()
  #7 /srv/mediawiki/php-1.29.0-wmf.19/includes/MediaWiki.php(522): MediaWiki->main()
  #8 /srv/mediawiki/php-1.29.0-wmf.19/index.php(43): MediaWiki->run()
  #9 /srv/mediawiki/w/index.php(3): include(string)
  #10 {main}

Event Timeline

Hi @Infovarius, thanks for taking the time to report this!
Confirming, I get a [WOdM6QpAME4AAFQ41zIAAAAB] 2017-04-07 08:25:13: Fatal exception of type "Wikimedia\Assert\ParameterAssertionException" today 08:25UTC on ru.wiktionary.org.

Are you going to fix this yourself, or did you only accidentially assign this task to yourself?

Infovarius triaged this task as Medium priority.

Accidentally...

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:10 PM