Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -749,7 +749,8 @@ |
750 | 750 | $includable = isset( $a[5] ) ? $a[5] : false; |
751 | 751 | $this->init( $name, $restriction, $listed, $function, $file, $includable ); |
752 | 752 | } 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" ); |
754 | 755 | } |
755 | 756 | } |
756 | 757 | |