put the /i modifier back in the namespace grammar thing
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 3 Aug 2006 18:04:38 +0000 (18:04 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 3 Aug 2006 18:04:38 +0000 (18:04 +0000)
languages/Language.php

index e733386..fc893c0 100644 (file)
@@ -1466,7 +1466,7 @@ class Language {
                        # Allowing full message-style parsing would make simple requests 
                        # such as action=raw much more expensive than they need to be. 
                        # This will hopefully cover most cases.
-                       $talk = preg_replace_callback( '/{{grammar:(.*?)\|(.*?)}}/', 
+                       $talk = preg_replace_callback( '/{{grammar:(.*?)\|(.*?)}}/i', 
                                array( &$this, 'replaceGrammarInNamespace' ), $talk );
                        $talk = str_replace( ' ', '_', $talk );
                        $this->namespaceNames[NS_PROJECT_TALK] = $talk;