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:
389fd9e
)
minor fix -- $ns must be int before comparison
author
Yuri Astrakhan
<yurik@users.mediawiki.org>
Sat, 19 May 2007 01:38:25 +0000
(
01:38
+0000)
committer
Yuri Astrakhan
<yurik@users.mediawiki.org>
Sat, 19 May 2007 01:38:25 +0000
(
01:38
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
1e2bff6
..
63b0485
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-232,7
+232,7
@@
class Title {
$t = new Title();
$t->mInterwiki = '';
$t->mFragment = '';
- $t->mNamespace = intval( $ns );
+ $t->mNamespace =
$ns =
intval( $ns );
$t->mDbkeyform = str_replace( ' ', '_', $title );
$t->mArticleID = ( $ns >= 0 ) ? -1 : 0;
$t->mUrlform = wfUrlencode( $t->mDbkeyform );