getService( KeywordsManager::SERVICE_NAME ); } /** * Conveniency wrapper for strong typing * @return FilterProfiler */ public static function getFilterProfiler() : FilterProfiler { return MediaWikiServices::getInstance()->getService( FilterProfiler::SERVICE_NAME ); } /** * @return AbuseFilterPermissionManager */ public static function getPermissionManager() : AbuseFilterPermissionManager { return MediaWikiServices::getInstance()->getService( AbuseFilterPermissionManager::SERVICE_NAME ); } /** * @return ChangeTagger */ public static function getChangeTagger() : ChangeTagger { return MediaWikiServices::getInstance()->getService( ChangeTagger::SERVICE_NAME ); } /** * @return ChangeTagsManager */ public static function getChangeTagsManager() : ChangeTagsManager { return MediaWikiServices::getInstance()->getService( ChangeTagsManager::SERVICE_NAME ); } }