dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6511974
)
Followup r78192: rather than silently ignoring calls to undefined SpecialPage methods...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 21 Dec 2010 17:15:25 +0000
(17:15 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 21 Dec 2010 17:15:25 +0000
(17:15 +0000)
includes/SpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPage.php
b/includes/SpecialPage.php
index
88d11af
..
bfef19c
100644
(file)
--- a/
includes/SpecialPage.php
+++ b/
includes/SpecialPage.php
@@
-748,6
+748,8
@@
class SpecialPage {
$file = isset( $a[4] ) ? $a[4] : 'default';
$includable = isset( $a[5] ) ? $a[5] : false;
$this->init( $name, $restriction, $listed, $function, $file, $includable );
+ } else {
+ throw new MWException( "Call to undefined method SpecialPage::$fName" );
}
}