r90253 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90252‎ | r90253 | r90254 >
Date:02:18, 17 June 2011
Author:yaron
Status:ok
Tags:
Comment:
Added 2nd parameter, '0', to 'new Article()' - I'm told that this is recommended
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_CreatePageJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_CreatePageJob.php
@@ -29,7 +29,7 @@
3030 wfProfileOut( __METHOD__ );
3131 return false;
3232 }
33 - $article = new Article( $this->title );
 33+ $article = new Article( $this->title, 0 );
3434 if ( !$article ) {
3535 $this->error = 'createPage: Article not found "' . $this->title->getPrefixedDBkey() . '"';
3636 wfProfileOut( __METHOD__ );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49701New job class for use by CreateClass pageyaron16:07, 21 April 2009

Status & tagging log