r72027 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72026‎ | r72027 | r72028 >
Date:15:51, 31 August 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix (incorrect?) construction of article object

Without the fix wrong pages would be edited apparently by random
Modified paths:
  • /trunk/extensions/Translate/tag/RenderJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/RenderJob.php
@@ -54,7 +54,7 @@
5555 $summary = $this->getSummary();
5656 $flags = $this->getFlags();
5757
58 - $article = new Article( $title );
 58+ $article = new Article( $title, 0 );
5959
6060 // @todo Fuzzybot hack
6161 PageTranslationHooks::$allowTargetEdit = true;

Status & tagging log