r4918 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r4917‎ | r4918 | r4919 >
Date:06:44, 24 August 2004
Author:vibber
Status:old
Tags:
Comment:
Backport watch/unwatch return link fix from 1.4.
Modified paths:
  • /branches/REL1_3/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_3/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: branches/REL1_3/phase3/RELEASE-NOTES
@@ -11,6 +11,7 @@
1212 * Install should no longer die when PHP is pre-configured to compress output
1313 * Fixed bug that caused long Japanese pages to time out with Tidy active
1414 * When session.handler is set incorrectly, try automatic override to 'files'
 15+* Watch/Unwatch links back to the affected page instead of Main Page
1516
1617 == Version 1.3.1, 2004-08-14 ==
1718
Index: branches/REL1_3/phase3/includes/Article.php
@@ -1068,7 +1068,7 @@
10691069 $up = new UserUpdate();
10701070 array_push( $wgDeferredUpdateList, $up );
10711071
1072 - $wgOut->returnToMain( false );
 1072+ $wgOut->returnToMain( true, $this->mTitle->getPrefixedText() );
10731073 }
10741074
10751075 function unwatch()

Status & tagging log