Parse the edittools message so that it actually works (follow up to r57868).
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Mon, 19 Oct 2009 19:55:54 +0000 (19:55 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Mon, 19 Oct 2009 19:55:54 +0000 (19:55 +0000)
Message is now also customizable.

includes/HTMLForm.php

index aedd1b3..dd22ea7 100644 (file)
@@ -1396,7 +1396,9 @@ class HTMLEditTools extends HTMLFormField {
        public function getTableRow( $value ) {
                return "<tr><td></td><td class=\"mw-input\">" 
                        . '<div class="mw-editTools">' 
-                       . wfMsgForContent( 'edittools' )
+                       . wfMsgExt( empty( $this->mParams['message'] ) 
+                               ? 'edittools' : $this->mParams['message'], 
+                               array( 'parse', 'content' ) )
                        . "</div></td></tr>\n";
        }
 }
\ No newline at end of file