Page MenuHomePhabricator

Load JS error in ja.wp with the Internationalisation settings
Closed, InvalidPublic

Description

Some JS load error in ja.wp.According to the information of the browser's developer kit and "debug=true",The error is "Uncaught ReferenceError: wgAjaxWatch is not defined." on line 912 of "bits.wikimedia.org/ja.wikipedia.org/load.php?debug=true&lang=fr&modules=site&only=scripts&skin=vector&*".
I make some test and it seem that this error is caused by the international interface settings.When I set the Internationalisation other language except "en"and"ja",the error will be thrown.And it seems that this error only happen on the main namespace page.
Although I can set the Internationalisation to "en" to make JS work successfully,I hoped that The Debugers can confirm this bug and fix it.


Version: unspecified
Severity: normal

Details

Reference
bz47280

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:41 AM
bzimport set Reference to bz47280.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

Uncaught ReferenceError: wgAjaxWatch is not defined.

When I set the Internationalisation other language except "en"and"ja"

What exactly are the steps to reproduce this?

After setting 個人設定 > 国際化 > 使用言語 to "de" and going to https://ja.wikipedia.org/wiki/メインページ?debug=true I don't get any error in Firefox 18 on Fedora.

Which browser (and version) and which operating system (and version) do you use, and on which exact URL/link does this happen?

Not a MediaWiki bug. It's a jawiki one about using a deprecated JavaScript variable wgAjaxWatch.

See [[ja:MediaWiki talk:Common.js#wgAjaxWatch]].