r77768 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77767‎ | r77768 | r77769 >
Date:05:14, 5 December 2010
Author:demon
Status:ok
Tags:
Comment:
More useful debug output
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2518,7 +2518,7 @@
25192519 $id = $this->mTitle->getArticleID();
25202520
25212521 if ( $id <= 0 ) {
2522 - wfDebug( "updateRestrictions failed: $id <= 0\n" );
 2522+ wfDebug( "updateRestrictions failed: article id $id <= 0\n" );
25232523 return false;
25242524 }
25252525

Status & tagging log