Go to the documentation of this file.
20 if ( is_readable( $fileName ) ) {
22 $cache[
'messages'] = array_merge(
$cache[
'messages'], $data );
38 $codeSequence = array_merge( [ $code ],
$cache[
'fallbackSequence'] );
39 foreach ( $codeSequence as $csCode ) {
65 return "l10nupdate-$language.json";
static onRecache(LocalisationCache $lc, $code, array &$cache)
Hook: LocalisationCacheRecache.
static onRecacheFallback(LocalisationCache $lc, $code, array &$cache)
Hook: LocalisationCacheRecacheFallback.
$wgCacheDirectory
Directory for caching data in the local filesystem.
static getFilename( $language)
Returns a filename where updated translations are stored.
Class for caching the contents of localisation files, Messages*.php and *.i18n.php.
static getDirectory()
Returns a directory where updated translations are stored.