dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add option to expose original sha1 in thumb url"
[lhc/web/wiklou.git]
/
includes
/
cache
/
LocalisationCache.php
diff --git
a/includes/cache/LocalisationCache.php
b/includes/cache/LocalisationCache.php
index
276e84a
..
f5b2350
100644
(file)
--- a/
includes/cache/LocalisationCache.php
+++ b/
includes/cache/LocalisationCache.php
@@
-23,6
+23,7
@@
use Cdb\Exception as CdbException;
use Cdb\Reader as CdbReader;
use Cdb\Writer as CdbWriter;
use Cdb\Exception as CdbException;
use Cdb\Reader as CdbReader;
use Cdb\Writer as CdbWriter;
+use CLDRPluralRuleParser\Evaluator;
/**
* Class for caching the contents of localisation files, Messages*.php
/**
* Class for caching the contents of localisation files, Messages*.php
@@
-576,7
+577,7
@@
class LocalisationCache {
return null;
}
try {
return null;
}
try {
- $compiledRules =
CLDRPluralRule
Evaluator::compile( $rules );
+ $compiledRules = Evaluator::compile( $rules );
} catch ( CLDRPluralRuleError $e ) {
wfDebugLog( 'l10n', $e->getMessage() );
} catch ( CLDRPluralRuleError $e ) {
wfDebugLog( 'l10n', $e->getMessage() );