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:
4f4501c
)
Followup to r46648 and fix for bug 17267: when expanding $1 in namespace aliases...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 31 Jan 2009 20:12:27 +0000
(20:12 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 31 Jan 2009 20:12:27 +0000
(20:12 +0000)
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
d9874fe
..
164057a
100644
(file)
--- a/
languages/Language.php
+++ b/
languages/Language.php
@@
-2584,7
+2584,9
@@
class Language {
if ( $this->namespaceAliases ) {
foreach ( $this->namespaceAliases as $name => $index ) {
if ( $index === NS_PROJECT_TALK ) {
+ unset( $this->namespaceAliases[$name] );
$name = $this->fixVariableInNamespace( $name );
+ $this->namespaceAliases[$name] = $index;
}
$this->mNamespaceIds[$this->lc($name)] = $index;
}