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
(parent:
36bf155
)
A little bit of pre-cache canonicalisation for namespace names, to prevent the common...
author
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 5 Sep 2006 17:06:48 +0000
(17:06 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Tue, 5 Sep 2006 17:06:48 +0000
(17:06 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
bb90d16
..
c1f46cc
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-1398,6
+1398,9
@@
class Language {
# Add dependencies to the cache entry
$cache['deps'] = $deps;
+ # Replace spaces with underscores in namespace names
+ $cache['namespaceNames'] = str_replace( ' ', '_', $cache['namespaceNames'] );
+
# Save to both caches
self::$mLocalisationCache[$code] = $cache;
if ( !$disableCache ) {