Page MenuHomePhabricator

#babel has confused text when used on category pages
Closed, ResolvedPublic

Description

{{#babel}} outputs incorrect text when used on category pages. For example, the text for en-* is "This user has knowledge of English" for all levels of English except 0 (missing token?): http://meta.wikimedia.org/wiki/Category:User_en

Reproduced on other wikis.


Version: unspecified
Severity: enhancement

Details

Reference
bz34507

Event Timeline

bzimport raised the priority of this task from to Low.
bzimport set Reference to bz34507.
bzimport added a subscriber: Unknown Object (MLST).

Which other wikis have you reproduced this on? We're in the middle of a deploy, so it's important to understand if it also happens on wikis running 1.18. See Special:Version on the wiki to find that out. Thanks!

I reproduced it on both 1.18 wikis (aawikibooks, frwikinews) and 1.19 wikis (metawiki, test2wiki).

Update assignee and CCs

TTO claimed this task.Jan 1 2017, 1:29 PM
TTO added a subscriber: TTO.

No longer reproducible on meta, but see https://test.wikipedia.org/wiki/Category:User_en

It's even funkier on file pages: https://test.wikipedia.org/wiki/File:Example._Melclose.jpg

Yes, you guessed right: Babel isn't escaping [[Category:XX]] or [[File:XX]]...

Change 330043 had a related patch set uploaded (by TTO):
Fix disappearing language names on Category: and File: pages

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

Change 330043 merged by jenkins-bot:
Fix disappearing language names on Category: and File: pages

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

TTO closed this task as Resolved.Feb 20 2017, 1:58 PM

Only took 5 years. Pretty quick by our standards ;)