Bug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page...
authorJens Frank <jeluf@users.mediawiki.org>
Fri, 6 Aug 2004 05:51:09 +0000 (05:51 +0000)
committerJens Frank <jeluf@users.mediawiki.org>
Fri, 6 Aug 2004 05:51:09 +0000 (05:51 +0000)
includes/Article.php

index 5ada187..2b45783 100644 (file)
@@ -1105,7 +1105,7 @@ class Article {
                $up = new UserUpdate();
                array_push( $wgDeferredUpdateList, $up );
 
-               $wgOut->returnToMain( false );
+               $wgOut->returnToMain( true, $this->mTitle->getPrefixedText() );
        }
 
        function unwatch()