r87933 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87932‎ | r87933 | r87934 >
Date:20:39, 12 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Fix for r86041: when the user wants to unwatch the article, really unwatch it ;)
Modified paths:
  • /trunk/phase3/includes/EditPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/EditPage.php
@@ -1157,7 +1157,7 @@
11581158 if ( $this->watchthis ) {
11591159 Action::factory( 'watch', $this->mArticle )->execute();
11601160 } else {
1161 - Action::factory( 'watch', $this->mArticle )->execute();
 1161+ Action::factory( 'unwatch', $this->mArticle )->execute();
11621162 }
11631163 $dbw->commit();
11641164 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86041r86001, now with less scariness :P I took out the delete action and did purg...happy-melon10:38, 14 April 2011

Status & tagging log