(Bug 19725) Do not include suppressed edits in the "View X deleted edits" message...
[lhc/web/wiklou.git] / includes / SkinLegacy.php
index 29c4450..3b5d843 100644 (file)
@@ -54,6 +54,12 @@ class SkinLegacy extends SkinTemplate {
                        return 0;
                }
                $q = $wgUser->getOption( 'quickbar', 0 );
+               if( $q == 5 ) {
+                       # 5 is the default, which chooses the setting
+                       # depending on the directionality of your interface language
+                       global $wgLang;
+                       return $wgLang->isRTL() ? 2 : 1;
+               }
                return $q;
        }