Page MenuHomePhabricator

PHP warning message when user interface language is switched to "zh-hk" or "zh-tw"
Closed, ResolvedPublic

Description

Symptoms

A PHP warning message appears when the user interface language is switched to "zh-
hk" ot "zh-tw":


Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-
local/php-1.5/includes/SpecialPreferences.php on line 723


also, the font size is larger than usual. And the [Math] options cannot be set (no
option can be selected).

Applies to

*All mediawiki software


Version: unspecified
Severity: critical
URL: http://en.wikipedia.org/wiki/Special:Preferences

Details

Reference
bz4389

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 8:59 PM
bzimport set Reference to bz4389.
bzimport added a subscriber: Unknown Object (MLST).

A screenshot showing the PHP warning message problem.

Attached:

bug_perferences.png (738×1 px, 157 KB)

There was a bogus getMathOptions method, removed it.