r70386 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70385‎ | r70386 | r70387 >
Date:14:59, 3 August 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Tweak debugging to be more useful
Modified paths:
  • /trunk/extensions/Translate/tag/RenderJob.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/tag/RenderJob.php
@@ -62,8 +62,8 @@
6363 $wgUser = $user;
6464
6565 // Do the edit
66 - $article->doEdit( $text, $summary, $flags );
67 - SpecialPageTranslation::superDebug( __METHOD__, 'edit', $user, $title, $flags );
 66+ $status = $article->doEdit( $text, $summary, $flags );
 67+ SpecialPageTranslation::superDebug( __METHOD__, 'edit', $user, $title, $flags, $status );
6868
6969 // User hack
7070 $wgUser = $oldUser;

Status & tagging log