diff options
Diffstat (limited to 'maintenance/namespaceDupes.php')
-rw-r--r-- | maintenance/namespaceDupes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index 92296eb9..fcc7d3a1 100644 --- 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", |