X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUnwatchedpages.php;h=4ad6ac077a3226eb0c8c86c046e06c4fe378378c;hb=121d68243b36fdec06e70c73c4f6f5c04e9f6f23;hp=b3ca006c71d0e07430f6c8d134e6e218152d88d3;hpb=266dbe55e8c752654a1041a77063ae5d389c2f75;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUnwatchedpages.php b/includes/specials/SpecialUnwatchedpages.php index b3ca006c71..4ad6ac077a 100644 --- a/includes/specials/SpecialUnwatchedpages.php +++ b/includes/specials/SpecialUnwatchedpages.php @@ -96,12 +96,11 @@ class UnwatchedpagesPage extends QueryPage { $text = $wgContLang->convert( $nt->getPrefixedText() ); $plink = Linker::linkKnown( $nt, htmlspecialchars( $text ) ); - $token = WatchAction::getWatchToken( $nt, $this->getUser() ); $wlink = Linker::linkKnown( $nt, $this->msg( 'watch' )->escaped(), array( 'class' => 'mw-watch-link' ), - array( 'action' => 'watch', 'token' => $token ) + array( 'action' => 'watch' ) ); return $this->getLanguage()->specialList( $plink, $wlink );