$nsText = ($ns == NS_MAIN)
? wfMsgHtml( 'blanknamespace' )
: htmlspecialchars( $wgContLang->getFormattedNsText( $ns ) );
- $this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText,
+ $this->toc .= Linker::tocLine( "editwatchlist-{$data['section']}", $nsText,
$this->getLanguage()->formatNum( ++$tocLength ), 1 ) . Linker::tocLineEnd();
}
$this->toc = Linker::tocList( $this->toc );
? wfMsgHtml( 'blanknamespace' )
: htmlspecialchars( $this->getContext()->getLanguage()->getFormattedNsText( $namespace ) );
}
+ public function getBody() {
+ return $this->displaySection( $this->mFieldTree, '', 'editwatchlist-' );
+ }
}
class EditWatchlistCheckboxSeriesField extends HTMLMultiSelectField {