From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- maintenance/namespaceDupes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'maintenance/namespaceDupes.php') 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", -- cgit v1.2.2