From: Brion Vibber Date: Mon, 26 Dec 2005 07:48:47 +0000 (+0000) Subject: * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized) X-Git-Tag: 1.6.0~883 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=029eb94e66764eedbda12df203187eecbbaca8b5;p=lhc%2Fweb%2Fwiklou.git * (bug 4389) Fix math options on zh-hk and zh-tw (but not localized) There was a bogus getMathOptions() method which returns a nonexitent variable. Removing this, it falls back to the simplified chinese text which is better than an error and no options. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d323676713..ef14dde0d8 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -359,6 +359,7 @@ fully support the editing toolbar, but was found to be too confusing. but it can be turned back on for random users to replicate the previous 1.6 dev behavior. * Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones +* (bug 4389) Fix math options on zh-hk and zh-tw (but not localized) === Caveats === diff --git a/languages/LanguageZh_tw.php b/languages/LanguageZh_tw.php index 32c70af1ee..1792aa71d3 100644 --- a/languages/LanguageZh_tw.php +++ b/languages/LanguageZh_tw.php @@ -917,11 +917,6 @@ class LanguageZh_tw extends LanguageZh_cn { return $wgSkinNamesZh_tw; } - function getMathNames() { - global $wgMathNamesZh_tw; - return $wgMathNamesZh_tw; - } - function getMessage( $key ) { global $wgAllMessagesZh_tw; if(array_key_exists($key, $wgAllMessagesZh_tw))