3 class HTMLEditTools
extends HTMLFormField
{
4 public function getInputHTML( $value ) {
8 public function getTableRow( $value ) {
9 $msg = $this->formatMsg();
12 '<tr><td></td><td class="mw-input">' .
13 '<div class="mw-editTools">' .
14 $msg->parseAsBlock() .
21 public function getDiv( $value ) {
22 $msg = $this->formatMsg();
24 return '<div class="mw-editTools">' . $msg->parseAsBlock() . '</div>';
30 public function getRaw( $value ) {
31 return $this->getDiv( $value );
34 protected function formatMsg() {
35 if ( empty( $this->mParams
['message'] ) ) {
36 $msg = $this->msg( 'edittools' );
38 $msg = $this->msg( $this->mParams
['message'] );
39 if ( $msg->isDisabled() ) {
40 $msg = $this->msg( 'edittools' );
43 $msg->inContentLanguage();