From 6b5b2e8785aa093e52fc1f7e905545621279bfc1 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 6 Dec 2003 05:50:24 +0000 Subject: [PATCH] case insensitive MSG, MSGNW and SUBST --- languages/Language.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/languages/Language.php b/languages/Language.php index 4fa89a8822..6b8aaeaea2 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -19,6 +19,7 @@ define("MAG_MSG", 11); define("MAG_SUBST", 12); define("MAG_MSGNW", 13); define("MAG_NOEDITSECTION", 14); +define("MAG_END", 15); #-------------------------------------------------------------------------- # Language-specific text @@ -291,9 +292,10 @@ this (alternative: like this?).", MAG_CURRENTTIME => array( 1, "{{CURRENTTIME}}" ), MAG_NUMBEROFARTICLES => array( 1, "{{NUMBEROFARTICLES}}" ), MAG_CURRENTMONTHNAMEGEN => array( 1, "{{CURRENTMONTHNAMEGEN}}"), - MAG_MSG => array( 1, "{{MSG:$1}}" ), - MAG_SUBST => array( 1, "{{SUBST:$1}}" ), - MAG_MSGNW => array( 1, "{{MSGNW:$1}}" ) + MAG_MSG => array( 0, "{{MSG:$1}}" ), + MAG_SUBST => array( 0, "{{SUBST:$1}}" ), + MAG_MSGNW => array( 0, "{{MSGNW:$1}}" ), + MAG_END => array( 0, "__END__" ) ); # All special pages have to be listed here: a description of "" -- 2.20.1