From: Tim Starling Date: Sat, 19 Jun 2004 06:50:12 +0000 (+0000) Subject: Allow anything in namespaces X-Git-Tag: 1.5.0alpha1~2813 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=ec1dc609f93ffac1512eb0f0289b11ecbf48114a;p=lhc%2Fweb%2Fwiklou.git Allow anything in namespaces --- diff --git a/includes/Title.php b/includes/Title.php index 8d44acae30..18d932d039 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -680,7 +680,7 @@ class Title { $this->mNamespace = NS_MAIN; } else { # Namespace or interwiki prefix - if ( preg_match( "/^((?:i|x|[a-z]{2,3})(?:-[a-z0-9]+)?|[A-Za-z0-9_\\x80-\\xff]+?)_*:_*(.*)$/", $t, $m ) ) { + if ( preg_match( "/^(.+?)_*:_*(.*)$/", $t, $m ) ) { #$p = strtolower( $m[1] ); $p = $m[1]; $lowerNs = strtolower( $p );