r78697 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78696‎ | r78697 | r78698 >
Date:17:41, 21 December 2010
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r78695: correct class name
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -749,7 +749,8 @@
750750 $includable = isset( $a[5] ) ? $a[5] : false;
751751 $this->init( $name, $restriction, $listed, $function, $file, $includable );
752752 } else {
753 - throw new MWException( "Call to undefined method SpecialPage::$fName" );
 753+ $className = get_class( $this );
 754+ throw new MWException( "Call to undefined method $className::$fName" );
754755 }
755756 }
756757

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78695Followup r78192: rather than silently ignoring calls to undefined SpecialPage...catrope17:15, 21 December 2010

Status & tagging log