* (bug 2078) Don't hide watch tab on preview
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 2 Sep 2005 05:18:02 +0000 (05:18 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 2 Sep 2005 05:18:02 +0000 (05:18 +0000)
RELEASE-NOTES
includes/SkinTemplate.php

index 4c50dfe..6c3c4fe 100644 (file)
@@ -78,6 +78,7 @@ fully support the editing toolbar, but was found to be too confusing.
 * Don't override edit conflict suppression on section edits; section merging
   should provide the expected transparency here and fits usage patterns better.
 * (bug 3292) Fix move-over-redirect test when current entries are not plaintext
+* (bug 2078) Don't hide watch tab on preview
 
 
 === Caveats ===
index d88aea7..9430aee 100644 (file)
@@ -650,7 +650,7 @@ class SkinTemplate extends Skin {
                        }
                        wfProfileOut( "$fname-live" );
 
-                       if( $this->loggedin and $action != 'submit' ) {
+                       if( $this->loggedin ) {
                                if( !$this->mTitle->userIsWatching()) {
                                        $content_actions['watch'] = array(
                                                'class' => ($action == 'watch' or $action == 'unwatch') ? 'selected' : false,