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