r107099 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107098‎ | r107099 | r107100 >
Date:19:39, 22 December 2011
Author:kipcool
Status:ok (Comments)
Tags:
Comment:
ext.Wikidata.rtl
Modified paths:
  • /trunk/extensions/Wikidata/Wikidata.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/Wikidata.hooks.php
@@ -6,7 +6,7 @@
77 global $wgLang, $wgScriptPath, $wgRequest, $wgResourceModules;
88
99 if ( $wgLang->isRTL() ) {
10 - $out->addModules( 'ext.Wikidata-rtl' );
 10+ $out->addModules( 'ext.Wikidata.rtl' );
1111 } else {
1212 $out->addModules( 'ext.Wikidata' );
1313 }

Comments

#Comment by Nikerabbit (talk | contribs)   08:50, 23 December 2011

The way the rtl module is done, it doesn't even work, because resource loader will automatically flip the rules for rtl back to ltr.

#Comment by Kipmaster (talk | contribs)   09:21, 23 December 2011

So I just need one css? That would be nice!

Status & tagging log