r57911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57910‎ | r57911 | r57912 >
Date:19:55, 19 October 2009
Author:btongminh
Status:ok
Tags:
Comment:
Parse the edittools message so that it actually works (follow up to r57868).
Message is now also customizable.
Modified paths:
  • /trunk/phase3/includes/HTMLForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HTMLForm.php
@@ -1396,7 +1396,9 @@
13971397 public function getTableRow( $value ) {
13981398 return "<tr><td></td><td class=\"mw-input\">"
13991399 . '<div class="mw-editTools">'
1400 - . wfMsgForContent( 'edittools' )
 1400+ . wfMsgExt( empty( $this->mParams['message'] )
 1401+ ? 'edittools' : $this->mParams['message'],
 1402+ array( 'parse', 'content' ) )
14011403 . "</div></td></tr>\n";
14021404 }
14031405 }
\ No newline at end of file

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57868Rewrote Special:Upload to allow easier extension. Mostly backwards compatible...btongminh19:41, 18 October 2009

Status & tagging log