Move Arabic quickbar default to right side
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Jul 2003 22:35:55 +0000 (22:35 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Jul 2003 22:35:55 +0000 (22:35 +0000)
languages/LanguageAr.php

index b08b06b..59ffc48 100644 (file)
@@ -3,12 +3,20 @@
 include_once("Utf8Case.php");
 
 class LanguageAr extends LanguageUtf8 {
-       # Inherit everything
+       # TODO: TRANSLATION!
+
+       # Inherit everything except...
 
-       # TODO: right-to-left support functions...?
        function isRTL() { return true; }
 
-       # There may be a partial translation; get this merged in.
+       function getDefaultUserOptions () {
+               global $wgDefaultUserOptionsEn;
+               $opt = $wgDefaultUserOptionsEn;
+
+               # Swap sidebar to right side by default
+               $opt['quickbar'] = 2;
+               return $opt ;
+       }
 
        function checkTitleEncoding( $s ) {
                global $wgInputEncoding;