|
MediaWiki master
|
Maintenance script to rebuild the localisation cache. More...
Inherits Maintenance.

Public Member Functions | |
| __construct () | |
| execute () | |
| finalSetup (SettingsBuilder $settingsBuilder) | |
| getDbType () | |
| setForce ( $forced=true) | |
| Sets whether a run of this maintenance script has the force parameter set. | |
Maintenance script to rebuild the localisation cache.
Definition at line 37 of file rebuildLocalisationCache.php.
| RebuildLocalisationCache::__construct | ( | ) |
Definition at line 38 of file rebuildLocalisationCache.php.
| RebuildLocalisationCache::execute | ( | ) |
Definition at line 86 of file rebuildLocalisationCache.php.
References MediaWiki\Language\LanguageNameUtils\AUTONYMS, MediaWiki\MainConfigNames\CacheDirectory, MediaWiki\ResourceLoader\MessageBlobStore\clearGlobalCacheEntry(), MediaWiki\Language\LocalisationCache\CONSTRUCTOR_OPTIONS, MediaWiki\Logger\LoggerFactory\getInstance(), MediaWiki\Language\LocalisationCache\getStoreFromConf(), MediaWiki\MainConfigNames\LocalisationCacheConf, MediaWiki\Language\LanguageNameUtils\SUPPORTED, and wfIsWindows().
| RebuildLocalisationCache::finalSetup | ( | SettingsBuilder | $settingsBuilder | ) |
Definition at line 78 of file rebuildLocalisationCache.php.
References MediaWiki\MainConfigNames\LanguageCode, and MediaWiki\Settings\SettingsBuilder\putConfigValue().
| RebuildLocalisationCache::getDbType | ( | ) |
Definition at line 258 of file rebuildLocalisationCache.php.
| RebuildLocalisationCache::setForce | ( | $forced = true | ) |
Sets whether a run of this maintenance script has the force parameter set.
| bool | $forced |
Definition at line 271 of file rebuildLocalisationCache.php.