From 9280cc14b1ddb67c57431ed8c61a88d6c8d6d4b6 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 2 Sep 2005 05:18:02 +0000 Subject: [PATCH] * (bug 2078) Don't hide watch tab on preview --- RELEASE-NOTES | 1 + includes/SkinTemplate.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 4c50dfe441..6c3c4fee48 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index d88aea79f3..9430aeea9e 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -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, -- 2.20.1