r90110 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90109‎ | r90110 | r90111 >
Date:13:13, 15 June 2011
Author:yaron
Status:deferred
Tags:
Comment:
Follow-up to r90098 - added '0' as second parameter for 'new Article()'
Modified paths:
  • /trunk/extensions/ReplaceText/ReplaceTextJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReplaceText/ReplaceTextJob.php
@@ -49,7 +49,7 @@
5050 // Class was added in MW 1.18
5151 Action::factory( 'watch', new Article( $new_title, 0 ) )->execute();
5252 } else {
53 - $article = new Article( $new_title );
 53+ $article = new Article( $new_title, 0 );
5454 $article->doWatch();
5555 }
5656 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90098Follow-up to r86041 and r89569 - re-added backwards compatibility with MW < 1.18yaron23:24, 14 June 2011

Status & tagging log