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:
df1f744
)
Follow up r45335
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 Jan 2009 19:55:53 +0000
(19:55 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 2 Jan 2009 19:55:53 +0000
(19:55 +0000)
maintenance/namespaceDupes.php
patch
|
blob
|
history
diff --git
a/maintenance/namespaceDupes.php
b/maintenance/namespaceDupes.php
index
92296eb
..
fcc7d3a
100644
(file)
--- a/
maintenance/namespaceDupes.php
+++ b/
maintenance/namespaceDupes.php
@@
-195,7
+195,7
@@
class NamespaceConflictChecker {
function reportConflict( $row, $suffix ) {
$newTitle = Title::makeTitleSafe( $row->namespace, $row->title );
- if(
!$newTitle
) {
+ if(
is_null($newTitle) || !$newTitle->canExist()
) {
// Title is also an illegal title...
// For the moment we'll let these slide to cleanupTitles or whoever.
printf( "... %d (0,\"%s\")\n",