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:
2368415
)
context: Replace deprecated use of SkinFactory::getDefaultInstance()
author
Derick Alangi
<alangiderick@gmail.com>
Mon, 15 Apr 2019 19:21:21 +0000
(20:21 +0100)
committer
Derick Alangi
<alangiderick@gmail.com>
Mon, 15 Apr 2019 19:21:21 +0000
(20:21 +0100)
Replace with MediaWikiServices::getInstance()->getSkinFactory()
Change-Id: I2cf7afad249e52e13a56fbe92b1665dfebec793f
includes/context/RequestContext.php
patch
|
blob
|
history
diff --git
a/includes/context/RequestContext.php
b/includes/context/RequestContext.php
index
a4225a1
..
aada514
100644
(file)
--- a/
includes/context/RequestContext.php
+++ b/
includes/context/RequestContext.php
@@
-368,7
+368,7
@@
class RequestContext implements IContextSource, MutableContext {
if ( $this->skin === null ) {
$skin = null;
Hooks::run( 'RequestContextCreateSkin', [ $this, &$skin ] );
- $factory =
SkinFactory::getDefaultInstance
();
+ $factory =
MediaWikiServices::getInstance()->getSkinFactory
();
// If the hook worked try to set a skin from it
if ( $skin instanceof Skin ) {