From d53fdff1c2d1967d8887bf713413e27e6ea9030e Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Fri, 6 Aug 2004 05:51:09 +0000 Subject: [PATCH] Bug [ 969913 ] When (un)watching a page, returnto now points to (un)watched page instead of Main Page. --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.20.1