r71251 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71250‎ | r71251 | r71252 >
Date:13:40, 18 August 2010
Author:reedy
Status:reverted
Tags:
Comment:
Minor followup to r71250

Remove accidentally committed patch
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -2525,7 +2525,7 @@
25262526 }
25272527
25282528 function getHTML() {
2529 - global $wgLang, $wgMessageCache, $wgUseFileCache, $wgShowDBErrorBacktrace, $wgContLang;
 2529+ global $wgLang, $wgMessageCache, $wgUseFileCache, $wgShowDBErrorBacktrace;
25302530
25312531 $sorry = 'Sorry! This site is experiencing technical difficulties.';
25322532 $again = 'Try waiting a few minutes and reloading.';
@@ -2560,13 +2560,6 @@
25612561 $cache = $this->fileCachedPage();
25622562 # Cached version on file system?
25632563 if( $cache !== null ) {
2564 - # Adding support for RTL languages
2565 - if ( $wgContLang !== null ) {
2566 - if ( $wgContLang->isRTL() ) {
2567 - $cache = str_replace( '<html>', '<html style="direction:rtl;">', $cache );
2568 - }
2569 - }
2570 -
25712564 # Hack: extend the body for error messages
25722565 $cache = str_replace( array('</html>','</body>'), '', $cache );
25732566 # Add cache notice...

Follow-up revisions

RevisionCommit summaryAuthorDate
r71254Revert r71250 r71251 r71252 r71253...reedy14:15, 18 August 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r71250Kill some crappy "failFunction" stuff, marked as old in r14625reedy13:38, 18 August 2010

Status & tagging log