Page MenuHomePhabricator

TypeError: mw.uls is undefined on [[mw:Special:Translate]]
Closed, DeclinedPublic

Description

Going to [[mw:Special:Translate]] is throwing a TypeError: mw.uls is undefined

This is weird because the 'ext.translate.special.translate' module is loaded, which depends on 'ext.uls.mediawiki', which depends on 'ext.uls.init' which should create mw.uls.


Version: unspecified
Severity: major

Details

Reference
bz60306

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.
bzimport set Reference to bz60306.
bzimport added a subscriber: Unknown Object (MLST).
Legoktm created this task.Jan 21 2014, 8:57 PM

Aligning assignee to bug 46306 as it's a followup.

The same problem on commons. + the langswitch in the top of the page is "broken".

(In reply to comment #2)

The same problem on commons. + the langswitch in the top of the page is
"broken".

Note that if you enable ULS in your preferences it should work fine.

ULS schould be enabled by default.

IMO we should immediately re-enable ULS by default on wikis where translation is a major focus: mediawiki.org, meta and commons.

For the records: I05c76e478ddcfb29000471dc79ca35ce77ad59b8 fixed it in production, but Legoktm filed this bug because at that point it was already broken again in master (IIRC) and for some reason it's broken in production again since yesterday or today, maybe after the "Non Wikipedias to 1.23wmf11" deployment yesterday.

  • Bug 60735 has been marked as a duplicate of this bug. ***

Superseded by the fix for bug 60304 (ULS re-enabling).