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
Add small HtmlCacheUpdater service class to normalize purging code
[lhc/web/wiklou.git]
/
includes
/
ServiceWiring.php
diff --git
a/includes/ServiceWiring.php
b/includes/ServiceWiring.php
index
9073de1
..
d6b4d65
100644
(file)
--- a/
includes/ServiceWiring.php
+++ b/
includes/ServiceWiring.php
@@
-218,6
+218,10
@@
return [
return new GenderCache( $services->getNamespaceInfo() );
},
return new GenderCache( $services->getNamespaceInfo() );
},
+ 'HtmlCacheUpdater' => function ( MediaWikiServices $services ) : HtmlCacheUpdater {
+ return new HtmlCacheUpdater();
+ },
+
'HttpRequestFactory' =>
function ( MediaWikiServices $services ) : HttpRequestFactory {
return new HttpRequestFactory();
'HttpRequestFactory' =>
function ( MediaWikiServices $services ) : HttpRequestFactory {
return new HttpRequestFactory();