r64698 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64697‎ | r64698 | r64699 >
Date:09:20, 7 April 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Tweak debug output
Modified paths:
  • /trunk/extensions/Translate/utils/TranslationHelpers.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/utils/TranslationHelpers.php
@@ -109,7 +109,9 @@
110110
111111 public function getBoxes( $types = null ) {
112112 if ( $this->group === null ) {
113 - trigger_error( "Message group missing for {$this->page}", E_USER_NOTICE );
 113+ global $wgRequest;
 114+ $group = $wgRequest->getText( 'loadgroup', '' );
 115+ trigger_error( "Message group missing for {$this->page}; Tried to load /{$group}/", E_USER_NOTICE );
114116 }
115117
116118 // Box filter

Status & tagging log