* (bug 6868) Un-hardcode section edit link style
* (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins
* (bug 2013) Inherit ratios and not computed values for line-height
+* (bug 2241) Hide watch tab on edit in favor of checkbox to avoid confusing
+ behavior and accesskey conflict
== Languages updated ==
}
wfProfileOut( "$fname-live" );
- if( $this->loggedin ) {
+ /* If the user edits the article, then loads "watch this article" in background, and then
+ saves the article with "Watch this article" checkbox disabled, the article is transparently
+ unwatched. Therefore we do not show the "Watch this page" link in edit mode. Also avoids
+ accesskey conflict. */
+
+ if( $this->loggedin && $action != 'edit' && $action != 'submit' ) {
if( !$this->mTitle->userIsWatching()) {
$content_actions['watch'] = array(
'class' => ($action == 'watch' or $action == 'unwatch') ? 'selected' : false,