From dda9a76391a5450f33d2fc6673f46117b6744e15 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Mon, 2 Oct 2006 14:56:09 +0000 Subject: [PATCH] Offer hint for common "null title" import error. --- includes/SpecialImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index d1d9e5ee31..fa0ee7e69a 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -240,7 +240,7 @@ class WikiRevision { if( is_object( $title ) ) { $this->title = $title; } elseif( is_null( $title ) ) { - throw new MWException( "WikiRevision given a null title in import." ); + throw new MWException( "WikiRevision given a null title in import. You may need to adjust \$wgLegalTitleChars." ); } else { throw new MWException( "WikiRevision given non-object title in import." ); } -- 2.20.1