r40765 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40764‎ | r40765 | r40766 >
Date:22:24, 12 September 2008
Author:ialex
Status:old
Tags:
Comment:
and pass the reason too *stab*
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -1252,7 +1252,7 @@
12531253 // Wiki is read only
12541254 $this->setPageTitle( wfMsg( 'readonly' ) );
12551255 $reason = wfReadOnlyReason();
1256 - $this->wrapWikiMsg( '<div class="mw-readonly-error">$1</div>', 'readonlytext' );
 1256+ $this->wrapWikiMsg( '<div class="mw-readonly-error">$1</div>', array( 'readonlytext', $reason ) );
12571257 }
12581258
12591259 // Show source, if supplied