* (bug 4389) Fix math options on zh-hk and zh-tw (but not localized)
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 26 Dec 2005 07:48:47 +0000 (07:48 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 26 Dec 2005 07:48:47 +0000 (07:48 +0000)
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.

RELEASE-NOTES
languages/LanguageZh_tw.php

index d323676..ef14dde 100644 (file)
@@ -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 ===
index 32c70af..1792aa7 100644 (file)
@@ -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))