* (bug 10572) Force refresh after clearing visitation timestamps on watchlist
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 17 Jul 2007 19:16:53 +0000 (19:16 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 17 Jul 2007 19:16:53 +0000 (19:16 +0000)
RELEASE-NOTES
includes/SpecialWatchlist.php

index 2056047..2259241 100644 (file)
@@ -310,6 +310,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 10608) PHP notice when installing with PostgreSQL
 * (bug 10615) Fix for transwiki import when CURL not available
 * (bug 8054) Return search page for empty search requests with ugly URLs
+* (bug 10572) Force refresh after clearing visitation timestamps on watchlist
 
 
 == API changes since 1.10 ==
index b01bc01..924edc2 100644 (file)
@@ -47,6 +47,8 @@ function wfSpecialWatchlist( $par ) {
        $uid = $wgUser->getId();
        if( $wgEnotifWatchlist && $wgRequest->getVal( 'reset' ) && $wgRequest->wasPosted() ) {
                $wgUser->clearAllNotifications( $uid );
+               $wgOut->redirect( $specialTitle->getFullUrl() );
+               return;
        }
 
        $defaults = array(