dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
27d21e3
)
Move core message dirs from $wgMessagesDirs to LocalisationCache::getMessagesDirs()
author
Kunal Mehta
<legoktm@gmail.com>
Wed, 3 Dec 2014 22:12:52 +0000
(14:12 -0800)
committer
Kunal Mehta
<legoktm@gmail.com>
Wed, 3 Dec 2014 22:32:18 +0000
(14:32 -0800)
If $wgMessagesDirs is initially empty, we can optimize when batch loading
extensions:
if ( !$wgMessagesDirs ) {
$wgMessagesDirs = $cache['MessagesDirs'];
}
With APC, this should be O(1) CPU time.
This was suggested by Tim in the code review of I7074b65d07c5.
Change-Id: I66fa907cdaafe18b74b5b9afaa8b6b1db069bea3
No differences found