From: Jens Frank Date: Fri, 6 Aug 2004 05:51:09 +0000 (+0000) Subject: Bug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page... X-Git-Tag: 1.5.0alpha1~2508 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=d53fdff1c2d1967d8887bf713413e27e6ea9030e;p=lhc%2Fweb%2Fwiklou.git Bug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page instead of Main Page. --- diff --git a/includes/Article.php b/includes/Article.php index 5ada1873bc..2b457830ee 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1105,7 +1105,7 @@ class Article { $up = new UserUpdate(); array_push( $wgDeferredUpdateList, $up ); - $wgOut->returnToMain( false ); + $wgOut->returnToMain( true, $this->mTitle->getPrefixedText() ); } function unwatch()