dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RedirectSpecialArticle: Fix PHP notice about undefined index"
[lhc/web/wiklou.git]
/
includes
/
actions
/
SpecialPageAction.php
diff --git
a/includes/actions/SpecialPageAction.php
b/includes/actions/SpecialPageAction.php
index
e59b6d6
..
8a231cb
100644
(file)
--- a/
includes/actions/SpecialPageAction.php
+++ b/
includes/actions/SpecialPageAction.php
@@
-18,6
+18,8
@@
* @ingroup Actions
*/
* @ingroup Actions
*/
+use MediaWiki\MediaWikiServices;
+
/**
* An action that just passes the request to the relevant special page
*
/**
* An action that just passes the request to the relevant special page
*
@@
-92,6
+94,7
@@
class SpecialPageAction extends FormlessAction {
}
// map actions to (whitelisted) special pages
}
// map actions to (whitelisted) special pages
- return SpecialPageFactory::getPage( self::$actionToSpecialPageMapping[$action] );
+ return MediaWikiServices::getInstance()->getSpecialPageFactory()->
+ getPage( self::$actionToSpecialPageMapping[$action] );
}
}
}
}