Index: trunk/phase3/includes/specials/SpecialEditWatchlist.php |
— | — | @@ -379,6 +379,7 @@ |
380 | 380 | global $wgContLang; |
381 | 381 | |
382 | 382 | $fields = array(); |
| 383 | + $count = 0; |
383 | 384 | |
384 | 385 | $haveInvalidNamespaces = false; |
385 | 386 | foreach( $this->getWatchlistInfo() as $namespace => $pages ){ |
— | — | @@ -413,7 +414,7 @@ |
414 | 415 | $nsText = $ns == NS_MAIN |
415 | 416 | ? wfMsgHtml( 'blanknamespace' ) |
416 | 417 | : htmlspecialchars( $wgContLang->getFormattedNsText( $ns ) ); |
417 | | - -$this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, ++$tocLength, 1 ) . Linker::tocLineEnd(); |
| 418 | + $this->toc .= Linker::tocLine( "mw-htmlform-{$data['section']}", $nsText, ++$tocLength, 1 ) . Linker::tocLineEnd(); |
418 | 419 | } |
419 | 420 | $this->toc = Linker::tocList( $this->toc ); |
420 | 421 | } else { |