global $wgContLang;
$fields = array();
+ $count = 0;
$haveInvalidNamespaces = false;
foreach( $this->getWatchlistInfo() as $namespace => $pages ){
$nsText = $ns == NS_MAIN
? wfMsgHtml( 'blanknamespace' )
: htmlspecialchars( $wgContLang->getFormattedNsText( $ns ) );
- -$this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, ++$tocLength, 1 ) . Linker::tocLineEnd();
+ $this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, ++$tocLength, 1 ) . Linker::tocLineEnd();
}
$this->toc = Linker::tocList( $this->toc );
} else {