// This will display between the save button and the edit tools,
// so should remain short!
wfRunHooks( 'EditPageTosSummary', array( $this->mTitle, &$msg ) );
- $text = wfMsgForContent( $msg );
+ $text = wfMsg( $msg );
if( $text != '-' ) {
global $wgOut;
$wgOut->addHTML( '<div class="mw-tos-summary">' );
- $wgOut->addWikiMsgArray( $msg, array(), array( 'content' ) );
+ $wgOut->addWikiMsgArray( $msg, array() ) );
$wgOut->addHTML( '</div>' );
}
}
-
+
protected function showEditTools() {
global $wgOut;
$wgOut->addHTML( '<div class="mw-editTools">' );