r46255 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46254‎ | r46255 | r46256 >
Date:12:32, 26 January 2009
Author:malafaya
Status:deferred
Tags:
Comment:
Reversal of RTL changes
Modified paths:
  • /trunk/extensions/Wikidata/App.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Wikidata/App.php
@@ -209,9 +209,9 @@
210210 $wgRecordSetLanguage = 0;
211211
212212 # malafaya: This is a hack to set page RTL according to user language prefs
213 - global $wgLang, $wgContLang, $wgIsUserRtl;
214 - $wgIsUserRtl = $wgLang->isRTL();
215 - $wgContLang = $wgLang; // Set page contents language the same as user language (it will only affect RTL header)
 213+# global $wgLang, $wgContLang, $wgIsUserRtl;
 214+# $wgIsUserRtl = $wgLang->isRTL();
 215+# $wgContLang = $wgLang; // Set page contents language the same as user language (it will only affect RTL header)
216216
217217 return true;
218218 }

Status & tagging log