From: Aaron Schulz Date: Fri, 2 Jan 2009 19:55:53 +0000 (+0000) Subject: Follow up r45335 X-Git-Tag: 1.31.0-rc.0~43611 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=0b7756f81fccbaf4e0ccef405af670aaa8edcfb4;p=lhc%2Fweb%2Fwiklou.git Follow up r45335 --- diff --git a/maintenance/namespaceDupes.php b/maintenance/namespaceDupes.php index 92296eb9bc..fcc7d3a12c 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",