This may not be related to the parent task (wmf.4 rollout), but I spotted it then so I'm filing it as such. On Commons (so far, could be elsewhere), something is generating links of the following sort:
https://commons.wikimedia.org/wiki/File:Map_of_USA_OR.svg?uselang=⧼Lang⧽
The actual error appears in logstash as:
Key contains invalid characters: commonswiki:pcache:idhash:7398609-0!userlang=⧼lang⧽ #0 /srv/mediawiki/php-1.30.0-wmf.4/includes/libs/objectcache/MemcachedPeclBagOStuff.php(145): MemcachedBagOStuff->validateKeyEncoding(string) #1 /srv/mediawiki/php-1.30.0-wmf.4/includes/libs/objectcache/MemcachedBagOStuff.php(56): MemcachedPeclBagOStuff->getWithToken(string, NULL, integer) #2 /srv/mediawiki/php-1.30.0-wmf.4/includes/libs/objectcache/BagOStuff.php(185): MemcachedBagOStuff->doGet(string, integer) #3 /srv/mediawiki/php-1.30.0-wmf.4/includes/libs/objectcache/MultiWriteBagOStuff.php(112): BagOStuff->get(string, integer) #4 /srv/mediawiki/php-1.30.0-wmf.4/includes/libs/objectcache/BagOStuff.php(185): MultiWriteBagOStuff->doGet(string, integer) #5 /srv/mediawiki/php-1.30.0-wmf.4/includes/parser/ParserCache.php(230): BagOStuff->get(string, integer, integer) #6 /srv/mediawiki/php-1.30.0-wmf.4/includes/page/Article.php(528): ParserCache->get(WikiFilePage, ParserOptions) #7 /srv/mediawiki/php-1.30.0-wmf.4/includes/page/ImagePage.php(162): Article->view() #8 /srv/mediawiki/php-1.30.0-wmf.4/includes/actions/ViewAction.php(68): ImagePage->view() #9 /srv/mediawiki/php-1.30.0-wmf.4/includes/MediaWiki.php(499): ViewAction->show() #10 /srv/mediawiki/php-1.30.0-wmf.4/includes/MediaWiki.php(293): MediaWiki->performAction(ImagePage, Title) #11 /srv/mediawiki/php-1.30.0-wmf.4/includes/MediaWiki.php(862): MediaWiki->performRequest() #12 /srv/mediawiki/php-1.30.0-wmf.4/includes/MediaWiki.php(523): MediaWiki->main() #13 /srv/mediawiki/php-1.30.0-wmf.4/index.php(43): MediaWiki->run() #14 /srv/mediawiki/w/index.php(3): include(string) #15 {main}
The image varies depending on request--and there's not a ton of these requests to begin with. I'm curious about two things:
- Can we stop this from throwing an exception? I imagine we could fail much nicer on bogus uselang values--and we definitely shouldn't be letting it get so far down the stack into the parser cache code...
- What's generating these bogus links? My guess is some on-wiki template or whatever, but I dunno.