MediaWiki REL1_34
|
Class for localization update hooks and static methods. More...
Static Public Member Functions | |
static | getDirectory () |
Returns a directory where updated translations are stored. | |
static | getFilename ( $language) |
Returns a filename where updated translations are stored. | |
static | onRecache (LocalisationCache $lc, $code, array &$cache) |
Hook: LocalisationCacheRecache. | |
static | onRecacheFallback (LocalisationCache $lc, $code, array &$cache) |
Hook: LocalisationCacheRecacheFallback. | |
Class for localization update hooks and static methods.
Definition at line 6 of file LocalisationUpdate.php.
|
static |
Returns a directory where updated translations are stored.
Definition at line 51 of file LocalisationUpdate.php.
References $wgCacheDirectory.
|
static |
Returns a filename where updated translations are stored.
string | $language | Language tag |
Definition at line 64 of file LocalisationUpdate.php.
|
static |
Hook: LocalisationCacheRecache.
LocalisationCache | $lc | |
string | $code | |
array | &$cache |
Definition at line 32 of file LocalisationUpdate.php.
References $cache.
|
static |
Hook: LocalisationCacheRecacheFallback.
LocalisationCache | $lc | |
string | $code | |
array | &$cache |
Definition at line 13 of file LocalisationUpdate.php.
References $cache.