r79881 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79880‎ | r79881 | r79882 >
Date:10:50, 9 January 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
The actual error is always in English, so wrap it in ltr element
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -2874,6 +2874,8 @@
28752875 $this->error = $this->db->getProperty( 'mServer' );
28762876 }
28772877
 2878+ $this->error = Html::element( 'span', array( 'dir' => 'ltr' ), $this->error );
 2879+
28782880 $noconnect = "<p><strong>$sorry</strong><br />$again</p><p><small>$info</small></p>";
28792881 $text = str_replace( '$1', $this->error, $noconnect );
28802882

Status & tagging log