From: Greg Sabino Mullane Date: Mon, 2 Oct 2006 14:56:09 +0000 (+0000) Subject: Offer hint for common "null title" import error. X-Git-Tag: 1.31.0-rc.0~55671 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%22%20.%20generer_url_entite%28%24id_rubrique%2C?a=commitdiff_plain;h=dda9a76391a5450f33d2fc6673f46117b6744e15;p=lhc%2Fweb%2Fwiklou.git Offer hint for common "null title" import error. --- 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." ); }