From ec1dc609f93ffac1512eb0f0289b11ecbf48114a Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 19 Jun 2004 06:50:12 +0000 Subject: [PATCH] Allow anything in namespaces --- includes/Title.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1