Removed unused "areyounew" language prompt from all languages and from
[lhc/web/wiklou.git] / languages / Language.php
index 751d462..e46869f 100644 (file)
@@ -1,20 +1,8 @@
 <?
-
 #--------------------------------------------------------------------------
 # Constants
 #--------------------------------------------------------------------------
 
-# Namespaces
-define("NS_SPECIAL", -1);
-define("NS_MAIN", 0);
-define("NS_TALK", 1);
-define("NS_USER", 2);
-define("NS_USER_TALK", 3);
-define("NS_WP", 4);
-define("NS_WP_TALK", 5);
-define("NS_IMAGE", 6);
-define("NS_IMAGE_TALK", 7);
-
 # Magic words
 define("MAG_REDIRECT", 0);
 define("MAG_NOTOC", 1);
@@ -27,6 +15,10 @@ define("MAG_CURRENTYEAR", 7);
 define("MAG_CURRENTTIME", 8);
 define("MAG_NUMBEROFARTICLES", 9);
 define("MAG_CURRENTMONTHNAMEGEN", 10);
+define("MAG_MSG", 11);
+define("MAG_SUBST", 12);
+define("MAG_MSGNW", 13);
+define("MAG_NOEDITSECTION", 14);
 
 #--------------------------------------------------------------------------
 # Language-specific text
@@ -39,16 +31,23 @@ define("MAG_CURRENTMONTHNAMEGEN", 10);
 # are magical, so don't change or move them!  The Namespace class
 # encapsulates some of the magic-ness.
 #
+
+if($wgMetaNamespace === FALSE)
+       $wgMetaNamespace = str_replace( " ", "_", $wgSitename );
+
 /* private */ $wgNamespaceNamesEn = array(
+       -2      => "Media",
        -1      => "Special",
        0       => "",
        1       => "Talk",
        2       => "User",
        3       => "User_talk",
-       4       => "Wikipedia",
-       5       => "Wikipedia_talk",
+       4       => $wgMetaNamespace,
+       5       => $wgMetaNamespace . "_talk",
        6       => "Image",
-       7       => "Image_talk"
+       7       => "Image_talk",
+       8       => "MediaWiki",
+       9       => "MediaWiki_talk"
 );
 
 /* private */ $wgDefaultUserOptionsEn = array(
@@ -81,7 +80,8 @@ define("MAG_CURRENTMONTHNAMEGEN", 10);
        "No preference",
        "January 15, 2001",
        "15 January 2001",
-       "2001 January 15"
+       "2001 January 15",
+       "2001-01-15"
 );
 
 /* private */ $wgUserTogglesEn = array(
@@ -114,14 +114,15 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
 
 /* private */ $wgLanguageNamesEn = array(
        "aa"    => "Afar",
-       "ab"    => "Abkhazian",
+       "ab"    => "&#1040;&#1191;&#1089;&#1085;&#1099; (Apsny)",
        "af"    => "Afrikaans",
+       "als"   => "Els&auml;ssisch", # FIXME: not a real language code; is subsumed under 'gem'
        "am"    => "Amharic",
        "ar" => "&#8238;&#1575;&#1604;&#1593;&#1585;&#1576;&#1610;&#1577;&#8236; (Araby)",
        "as"    => "Assamese",
        "ay"    => "Aymara",
-       "az"    => "Azerbaijani",
-       "ba"    => "Bashkir",
+       "az"    => "&#1040;&#1079;&#1241;&#1088;&#1073;&#1072;&#1112;&#1209;&#1072;&#1085; (Azerbajan)",
+       "ba"    => "&#1041;&#1072;&#1096;&#1082;&#1086;&#1088;&#1090; (Bashkort)",
        "be" => "&#1041;&#1077;&#1083;&#1072;&#1088;&#1091;&#1089;&#1082;&#1080;",
        "bh"    => "Bihara",
        "bi"    => "Bislama",
@@ -151,15 +152,17 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "fr" => "Fran&#231;ais",
        "fy" => "Frysk",
        "ga" => "Gaelige",
+    "gd" => "G&agrave;idhlig",
        "gl"    => "Galician",
        "gn"    => "Guarani",
        "gu" => "&#2711;&#2753;&#2716;&#2736;&#2750;&#2724;&#2752; (Gujarati)",
+    "gv" => "Gaelg",
        "ha"    => "Hausa",
        "he" => "&#1506;&#1489;&#1512;&#1497;&#1514; (Ivrit)",
        "hi" => "&#2361;&#2367;&#2344;&#2381;&#2342;&#2368; (Hindi)",
        "hr" => "Hrvatski",
        "hu" => "Magyar",
-       "hy"    => "Armenian",
+       "hy"    => "&#1344;&#1377;&#1397;&#1381;&#1408;&#1383;&#1398; (Armjan)",
        "ia"    => "Interlingua",
        "id"    => "Indonesia",
        "ik"    => "Inupiak",
@@ -169,10 +172,10 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "ja" => "&#26085;&#26412;&#35486; (Nihongo)",
        "jv"    => "Javanese",
        "ka" => "&#4325;&#4304;&#4320;&#4311;&#4309;&#4308;&#4314;&#4312; (Kartuli)",
-       "kk"    => "Kazakh",
+       "kk"    => "&#1178;&#1072;&#1079;&#1072;&#1179; (Kazakh)",
        "kl"    => "Greenlandic",
        "km"    => "Cambodian",
-       "kn"    => "Kannada",
+       "kn"    => "&#3221;&#3240;&#3277;&#3240;&#3233; (Kannada)",
        "ko" => "&#54620;&#44397;&#50612; (Hangukeo)",
        "ks"    => "Kashmiri",
        "kw" => "Kernewek",
@@ -181,10 +184,10 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "ln"    => "Lingala",
        "lo"    => "Laotian",
        "lt" => "Lietuvi&#371;",
-       "lv"    => "Latvian",
+       "lv"    => "Latviešu",
        "mg" => "Malagasy",
        "mi"    => "Maori",
-       "mk"    => "Macedonian",
+       "mk"    => "Makedonš&#269;ina",
        "ml"    => "Malayalam",
        "mn"    => "Mongolian",
        "mo"    => "Moldavian",
@@ -192,6 +195,8 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "ms" => "Bahasa Melayu",
        "my"    => "Burmese",
        "na"    => "Nauru",
+       "nah"   => "Nahuatl",
+       "nds"   => "Plattd&uuml;&uuml;tsch",
        "ne" => "&#2344;&#2375;&#2346;&#2366;&#2354;&#2368; (Nepali)",
        "nl" => "Nederlands",
        "no" => "Norsk",
@@ -211,7 +216,7 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "sa" => "&#2360;&#2306;&#2360;&#2381;&#2325;&#2371;&#2340; (Samskrta)",
        "sd"    => "Sindhi",
        "sg"    => "Sangro",
-       "sh"    => "Serbocroatian",
+       "sh"    => "&#1057;&#1088;&#1087;&#1089;&#1082;&#1086;&#1093;&#1088;&#1074;&#1072;&#1090;&#1089;&#1082;&#1080; (Srbskohrvatski)",
        "si"    => "Sinhalese",
        "simple" => "Simple English",
        "sk"    => "Slovak",
@@ -219,15 +224,15 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "sm"    => "Samoan",
        "sn"    => "Shona",
        "so" => "Soomaali",
-       "sq" => "Shqiptare",
-       "sr" => "Srpski",
+       "sq" => "Shqip",
+       "sr" => "&#1057;&#1088;&#1087;&#1089;&#1082;&#1080; (Srpski)",
        "ss"    => "Siswati",
        "st"    => "Sesotho",
        "su"    => "Sundanese",
        "sv" => "Svenska",
        "sw" => "Kiswahili",
-       "ta"    => "Tamil",
-       "te"    => "Telugu",
+       "ta"    => "&#2980;&#2990;&#3007;&#2996;&#3021; (Tamil)",
+       "te"    => "&#3108;&#3142;&#3122;&#3137;&#3095;&#3137; (Telugu)",
        "tg"    => "Tajik",
        "th"    => "Thai",
        "ti"    => "Tigrinya",
@@ -237,13 +242,13 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "to"    => "Tonga",
        "tr" => "T&#252;rk&#231;e",
        "ts"    => "Tsonga",
-       "tt"    => "Tatar",
+       "tt"    => "&#1058;&#1072;&#1090;&#1072;&#1088; (Tatar)",
        "tw"    => "Twi",
        "ug"    => "Uighur",
        "uk" => "&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072; (Ukrayins`ka)",
        "ur"    => "Urdu",
-       "uz"    => "Uzbek",
-       "vi"    => "Vietnamese",
+       "uz"    => "&#1038;&#1079;&#1073;&#1077;&#1082; (Uzbek)",
+       "vi"    => "Ti&#7871;ng Vi&#7879;t",
        "vo" => "Volap&#252;k",
        "wo"    => "Wolof",
        "xh" => "isiXhosa",
@@ -276,6 +281,7 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
 #   ID                                 CASE  SYNONYMS
     MAG_REDIRECT             => array( 0,    "#redirect"              ),
     MAG_NOTOC                => array( 0,    "__NOTOC__"              ),
+    MAG_NOEDITSECTION        => array( 0,    "__NOEDITSECTION__"      ),
     MAG_START                => array( 0,    "__START__"              ),
     MAG_CURRENTMONTH         => array( 1,    "{{CURRENTMONTH}}"       ),
     MAG_CURRENTMONTHNAME     => array( 1,    "{{CURRENTMONTHNAME}}"   ),
@@ -285,6 +291,9 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
     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}}"           )
 );
        
 # All special pages have to be listed here: a description of ""
@@ -311,11 +320,11 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "Longpages"             => "Long articles",
        "Newpages"              => "Newly created articles",
        "Ancientpages"  => "Oldest articles",
-       "Intl"          => "Interlanguage links",
+#      "Intl"                => "Interlanguage Links",
        "Allpages"              => "All pages by title",
 
-       "Ipblocklist"   => "Blocked IP addresses",
-       "Maintenance" => "Maintenance page",
+       "Ipblocklist"   => "Blocked users/IP addresses",
+       "Maintenance"   => "Maintenance page",
        "Specialpages"  => "",
        "Contributions" => "",
        "Emailuser"             => "",
@@ -323,11 +332,12 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "Recentchangeslinked" => "",
        "Movepage"              => "",
        "Booksources"   => "External book sources",
-"Categories" => "Page categories"
+#      "Categories"    => "Page categories",
+       "Export"                => "XML page export",
 );
 
 /* private */ $wgSysopSpecialPagesEn = array(
-       "Blockip"               => "Block aIP address",
+       "Blockip"               => "Block a user/IP address",
        "Asksql"                => "Query the database",
        "Undelete"              => "Restore deleted pages"
 );
@@ -338,6 +348,13 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
        "Debug"                 => "Debugging information"
 );
 
+#-------------------------------------------------------------------
+# Default messages
+#-------------------------------------------------------------------
+# Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and 
+# hyphen (-). If you need more characters, you may be able to change
+# the regex in MagicWord::initRegex
+
 /* private */ $wgAllMessagesEn = array(
 
 # Bits of text used by many pages:
@@ -351,30 +368,34 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
 "mainpage"             => "Main Page",
 "mainpagetext" => "Wiki software successfully installed.",
 "about"                        => "About",
-"aboutwikipedia" => "About Wikipedia",
-"aboutpage"            => "Wikipedia:About",
+"aboutwikipedia" => "About $wgSitename",
+"aboutpage"            => "$wgMetaNamespace:About",
 "help"                 => "Help",
-"helppage"             => "Wikipedia:Help",
-"wikititlesuffix" => "Wikipedia",
+"helppage"             => "$wgMetaNamespace:Help",
+"wikititlesuffix" => "$wgSitename",
 "bugreports"   => "Bug reports",
-"bugreportspage" => "Wikipedia:Bug_reports",
+"bugreportspage" => "$wgMetaNamespace:Bug_reports",
+"sitesupport"   => "Donations",
+"sitesupportpage" => "", # If not set, won't appear. Can be wiki page or URL
 "faq"                  => "FAQ",
-"faqpage"              => "Wikipedia:FAQ",
+"faqpage"              => "$wgMetaNamespace:FAQ",
 "edithelp"             => "Editing help",
-"edithelppage" => "Wikipedia:How_does_one_edit_a_page",
+"edithelppage" => "$wgMetaNamespace:How_does_one_edit_a_page",
 "cancel"               => "Cancel",
 "qbfind"               => "Find",
 "qbbrowse"             => "Browse",
 "qbedit"               => "Edit",
-"qbpageoptions" => "Page options",
-"qbpageinfo"   => "Page info",
-"qbmyoptions"  => "My options",
+"qbpageoptions" => "This page",
+"qbpageinfo"   => "Context",
+"qbmyoptions"  => "My pages",
+"qbspecialpages"       => "Special pages",
+"moredotdotdot"        => "More...",
 "mypage"               => "My page",
 "mytalk"               => "My talk",
 "currentevents" => "Current events",
 "errorpagetitle" => "Error",
 "returnto"             => "Return to $1.",
-"fromwikipedia"        => "From Wikipedia, the free encyclopedia.",
+"fromwikipedia"        => "From $wgSitename, the free encyclopedia.",
 "whatlinkshere"        => "Pages that link here",
 "help"                 => "Help",
 "search"               => "Search",
@@ -401,7 +422,7 @@ this</a> (alternative: like this<a href=\"\" class=\"internal\">?</a>).",
 "gnunote" => "All text is available under the terms of the <a class=internal href='/wiki/GNU_FDL'>GNU Free Documentation License</a>.",
 "printsubtitle" => "(From http://www.wikipedia.org)",
 "protectedpage" => "Protected page",
-"administrators" => "Wikipedia:Administrators",
+"administrators" => "$wgMetaNamespace:Administrators",
 "sysoptitle"   => "Sysop access required",
 "sysoptext"            => "The action you have requested can only be
 performed by users with \"sysop\" status.
@@ -413,7 +434,7 @@ See $1.",
 "nbytes"               => "$1 bytes",
 "go"                   => "Go",
 "ok"                   => "OK",
-"sitetitle"            => "Wikipedia",
+"sitetitle"            => "$wgSitename",
 "sitesubtitle" => "The Free Encyclopedia",
 "retrievedfrom" => "Retrieved from \"$1\"",
 "newmessages" => "You have $1.",
@@ -429,10 +450,10 @@ See $1.",
 #
 "nosuchaction" => "No such action",
 "nosuchactiontext" => "The action specified by the URL is not
-recognized by the Wikipedia software",
+recognized by the wiki",
 "nosuchspecialpage" => "No such special page",
 "nospecialpagetext" => "You have requested a special page that is not
-recognized by the Wikipedia software.",
+recognized by the wiki.",
 
 # General errors
 #
@@ -456,7 +477,7 @@ MySQL returned error \"$3: $4\".\n",
 "readonly"             => "Database locked",
 "enterlockreason" => "Enter a reason for the lock, including an estimate
 of when the lock will be released",
-"readonlytext" => "The Wikipedia database is currently locked to new
+"readonlytext" => "The database is currently locked to new
 entries and other modifications, probably for routine database maintenance,
 after which it will be back to normal.
 The administrator who locked it offered this explanation:
@@ -485,12 +506,22 @@ an incorrectly linked inter-language or inter-wiki title.",
 because it slows the database down to the point that no one can use
 the wiki.",
 "perfdisabledsub" => "Here's a saved copy from $1:",
+"wrong_wfQuery_params" => "Incorrect parameters to wfQuery()<br>
+Function: $1<br>
+Query: $2
+",
+"viewsource" => "View source",
+"protectedtext" => "This page has been locked to prevent editing; there are
+a number of reasons why this may be so, please see
+[[$wgMetaNamespace:Protected page]].
+
+You can view and copy the source of this page:",
 
 # Login and logout pages
 #
 "logouttitle"  => "User logout",
 "logouttext" => "You are now logged out.
-You can continue to use Wikipedia anonymously, or you can log in
+You can continue to use $wgSitename anonymously, or you can log in
 again as the same or as a different user. Note that some pages may
 continue to be displayed as if you were still logged in, until you clear
 your browser cache\n",
@@ -507,12 +538,8 @@ Don't forget to personalize your wikipedia preferences.",
 "loginproblem" => "<b>There has been a problem with your login.</b><br>Try again!",
 "alreadyloggedin" => "<font color=red><b>User $1, you are already logged in!</b></font><br>\n",
 
-"areyounew"            => "If you are new to Wikipedia and want to get a user account,
-enter a user name, then type and re-type a password.
-Your e-mail address is optional; if you lose your password you can request
-that it be to the address you give.<br>\n",
-
 "login"                        => "Log in",
+"loginprompt"           => "You must have cookies enabled to log in to $wgSitename.",
 "userlogin"            => "Log in",
 "logout"               => "Log out",
 "userlogout"   => "Log out",
@@ -528,16 +555,18 @@ contact you through the website without you having to reveal your
 email address to them, and it also helps you if you forget your   
 password.",
 "loginerror"   => "Login error",
+"nocookiesnew" => "The user account was created, but you are not logged in. $wgSitename uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
+"nocookieslogin"       => "$wgSitename uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
 "noname"               => "You have not specified a valid user name.",
 "loginsuccesstitle" => "Login successful",
-"loginsuccess" => "You are now logged in to Wikipedia as \"$1\".",
+"loginsuccess" => "You are now logged in to $wgSitename as \"$1\".",
 "nosuchuser"   => "There is no user by the name \"$1\".
 Check your spelling, or use the form below to create a new user account.",
 "wrongpassword"        => "The password you entered is incorrect. Please try again.",
 "mailmypassword" => "Mail me a new password",
-"passwordremindertitle" => "Password reminder from Wikipedia",
+"passwordremindertitle" => "Password reminder from $wgSitename",
 "passwordremindertext" => "Someone (probably you, from IP address $1)
-requested that we send you a new Wikipedia login password.
+requested that we send you a new $wgSitename login password.
 The password for user \"$2\" is now \"$3\".
 You should log in and change your password now.",
 "noemail"              => "There is no e-mail address recorded for user \"$1\".",
@@ -557,7 +586,17 @@ Please log in again after you receive it.",
 "blockedtitle" => "User is blocked",
 "blockedtext"  => "Your user name or IP address has been blocked by $1.
 The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
-[[Wikipedia:administrators|administrators]] to discuss the block.",
+[[$wgMetaNamespace:Administrators|administrators]] to discuss the block. 
+
+Note that you may not use the \"email this user\" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]]. 
+
+Your IP address is $3. Please include this address in any queries you make.
+
+==Note to AOL users==
+Due to continuing acts of vandalism by one particular AOL user, Wikipedia often blocks AOL proxies. Unfortunately, a single proxy server may be used by a large number of AOL users, and hence innocent AOL users are often inadvertently blocked. We apologise for any inconvenience caused. 
+
+If this happens to you, please email an administrator, using an AOL email address. Be sure to include the IP address given above.
+",
 "whitelistedittitle" => "Login required to edit",
 "whitelistedittext" => "You have to [[Special:Userlogin|login]] to edit articles.",
 "whitelistreadtitle" => "Login required to read",
@@ -570,7 +609,7 @@ The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
 "newarticletext" =>
 "You've followed a link to a page that doesn't exist yet.
 To create the page, start typing in the box below 
-(see the [[Wikipedia:Help|help page]] for more info).
+(see the [[$wgMetaNamespace:Help|help page]] for more info).
 If you are here by mistake, just click your browser's '''back''' button.",
 "anontalkpagetext" => "---- ''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.'' ",
 "noarticletext" => "(There is currently no text in this page)",
@@ -596,7 +635,8 @@ press \"Save page\".\n<p>",
 revision of this page.
 If you save it, any changes made since this revision will be lost.</strong>\n",
 "yourdiff"             => "Differences",
-"copyrightwarning" => "Please note that all contributions to Wikipedia are
+# FIXME: This is inappropriate for third-party use!
+"copyrightwarning" => "Please note that all contributions to $wgSitename are
 considered to be released under the GNU Free Documentation License
 (see $1 for details).
 If you don't want your writing to be edited mercilessly and redistributed
@@ -612,7 +652,7 @@ so you will not be able to save your edits right now. You may wish to cut-n-past
 the text into a text file and save it for later.",
 "protectedpagewarning" => "WARNING:  This page has been locked so that only
 users with sysop privileges can edit it. Be sure you are following the
-<a href='/wiki/Wikipedia:Protected_page_guidelines'>protected page
+<a href='/wiki/$wgMetaNamespace:Protected_page_guidelines'>protected page
 guidelines</a>.",
 
 # History pages
@@ -642,9 +682,9 @@ Please check the URL you used to access this page.\n",
 # Search results
 #
 "searchresults" => "Search results",
-"searchhelppage" => "Wikipedia:Searching",
-"searchingwikipedia" => "Searching Wikipedia",
-"searchresulttext" => "For more information about searching Wikipedia, see $1.",
+"searchhelppage" => "$wgMetaNamespace:Searching",
+"searchingwikipedia" => "Searching $wgSitename",
+"searchresulttext" => "For more information about searching $wgSitename, see $1.",
 "searchquery"  => "For query \"$1\"",
 "badquery"             => "Badly formed search query",
 "badquerytext" => "We could not process your query.
@@ -684,10 +724,12 @@ $2 List redirects &nbsp; Search for $3 $9",
 border=\"0\" ALT=\"Google\"></A>
 </td>
 <td>
-<INPUT TYPE=text name=q size=31 maxlength=255 value=\"\">
+<INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
 <INPUT type=submit name=btnG VALUE=\"Google Search\">
 <font size=-1>
 <input type=hidden name=domains value=\"{$wgServer}\"><br><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{$wgServer}\" checked> {$wgServer} <br>
+<input type='hidden' name='ie' value='$2'>
+<input type='hidden' name='oe' value='$2'>
 </font>
 </td></tr></TABLE>
 </FORM>
@@ -704,7 +746,7 @@ to set user preferences.",
 "prefslogintext" => "You are logged in as \"$1\".
 Your internal ID number is $2.
 
-See [[Wikipedia:User preferences help]] for help deciphering the options.",
+See [[$wgMetaNamespace:User preferences help]] for help deciphering the options.",
 "prefsreset"   => "Preferences have been reset from storage.",
 "qbsettings"   => "Quickbar settings", 
 "changepassword" => "Change password",
@@ -744,26 +786,15 @@ from server time (UTC).",
 #
 "changes" => "changes",
 "recentchanges" => "Recent changes",
-"recentchangestext" => 
-"Track the most recent changes to Wikipedia on this page.
-[[Wikipedia:Welcome,_newcomers|Welcome, newcomers]]!
-Please have a look at these pages: [[wikipedia:FAQ|Wikipedia FAQ]],
-[[Wikipedia:Policies and guidelines|Wikipedia policy]]
-(especially [[wikipedia:Naming conventions|naming conventions]],
-[[wikipedia:Neutral point of view|neutral point of view]]),
-and [[wikipedia:Most common Wikipedia faux pas|most common Wikipedia faux pas]].
-
-If you want to see Wikipedia succeed, it's very important that you don't add
-material restricted by others' [[wikipedia:Copyrights|copyrights]].
-The legal liability could really hurt the project, so please don't do it.
-See also the [http://meta.wikipedia.org/wiki/Special:Recentchanges recent meta discussion].",
+"recentchangestext" => "Track the most recent changes to the wiki on this page.",
 "rcloaderr"            => "Loading recent changes",
 "rcnote"               => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
 "rcnotefrom"   => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
 "rclistfrom"   => "Show new changes starting from $1",
 # "rclinks"            => "Show last $1 changes in last $2 hours / last $3 days",
 # "rclinks"            => "Show last $1 changes in last $2 days.",
-"rclinks"              => "Show last $1 changes in last $2 days; $3 minor edits",
+"showhideminor"         => "$1 minor edits",
+"rclinks"              => "Show last $1 changes in last $2 days; $3",
 "rchide"               => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
 "rcliu"                        => "; $1 edits from logged in users",
 "diff"                 => "diff",
@@ -790,13 +821,17 @@ to upload files.",
 "uploadfile"   => "Upload images, sounds, documents etc.",
 "uploaderror"  => "Upload error",
 "uploadtext"   => "<strong>STOP!</strong> Before you upload here,
-make sure to read and follow Wikipedia's <a href=\"" .
-wfLocalUrlE( "Wikipedia:Image_use_policy" ) . "\">image use policy</a>.
+make sure to read and follow the <a href=\"" .
+wfLocalUrlE( "$wgMetaNamespace:Image_use_policy" ) . "\">image use policy</a>.
+<p>If a file with the name you are specifying already
+exists on the wiki, it'll be replaced without warning.
+So unless you mean to update a file, it's a good idea
+to first check if such a file exists.
 <p>To view or search previously uploaded images,
 go to the <a href=\"" . wfLocalUrlE( "Special:Imagelist" ) .
 "\">list of uploaded images</a>.
 Uploads and deletions are logged on the <a href=\"" .
-wfLocalUrlE( "Wikipedia:Upload_log" ) . "\">upload log</a>.
+wfLocalUrlE( "$wgMetaNamespace:Upload_log" ) . "\">upload log</a>.
 <p>Use the form below to upload new image files for use in
 illustrating your articles.
 On most browsers, you will see a \"Browse...\" button, which will
@@ -813,9 +848,10 @@ Please name your files descriptively to avoid confusion.
 To include the image in an article, use a link in the form
 <b>[[image:file.jpg]]</b> or <b>[[image:file.png|alt text]]</b>
 or <b>[[media:file.ogg]]</b> for sounds.
-<p>Please note that as with Wikipedia pages, others may edit or
+<p>Please note that as with wiki pages, others may edit or
 delete your uploads if they think it serves the encyclopedia, and
 you may be blocked from uploading if you abuse the system.",
+
 "uploadlog"            => "upload log",
 "uploadlogpage" => "Upload_log",
 "uploadlogpagetext" => "Below is a list of the most recent file uploads.
@@ -825,10 +861,12 @@ All times shown are server time (UTC).
 ",
 "filename"             => "Filename",
 "filedesc"             => "Summary",
+"filestatus" => "Copyright status",
+"filesource" => "Source",
 "affirmation"  => "I affirm that the copyright holder of this file
 agrees to license it under the terms of the $1.",
-"copyrightpage" => "Wikipedia:Copyrights",
-"copyrightpagename" => "Wikipedia copyright",
+"copyrightpage" => "$wgMetaNamespace:Copyrights",
+"copyrightpagename" => "$wgSitename copyright",
 "uploadedfiles"        => "Uploaded files",
 "noaffirmation" => "You must affirm that your upload does not violate
 any copyrights.",
@@ -877,7 +915,7 @@ this old version, (rev) = revert to this old version.
 "sitestats"            => "Site statistics",
 "userstats"            => "User statistics",
 "sitestatstext" => "There are <b>$1</b> total pages in the database.
-This includes \"talk\" pages, pages about Wikipedia, minimal \"stub\"
+This includes \"talk\" pages, pages about $wgSitename, minimal \"stub\"
 pages, redirects, and others that probably don't qualify as articles.
 Excluding those, there are <b>$2</b> pages that are probably legitimate
 articles.<p>
@@ -893,7 +931,7 @@ That comes to <b>$5</b> average edits per page, and <b>$6</b> views per edit.",
 "maintnancepagetext"   => "This page includes several handy tools for everyday maintenance. Some of these functions tend to stress the database, so please do not hit reload after every item you fixed ;-)",
 "maintenancebacklink"  => "Back to Maintenance Page",
 "disambiguations"      => "Disambiguation pages",
-"disambiguationspage"  => "Wikipedia:Links_to_disambiguating_pages",
+"disambiguationspage"  => "$wgMetaNamespace:Links_to_disambiguating_pages",
 "disambiguationstext"  => "The following articles link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br>A page is treated as dismbiguation if it is linked from $1.<br>Links from other namespaces are <i>not</i> listed here.",
 "doubleredirects"      => "Double Redirects",
 "doubleredirectstext"  => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br>\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" taget article, which the first redirect should point to.",
@@ -940,10 +978,11 @@ such as the international Wikipedias may link to an image with
 a direct URL, and so may still be listed here despite being
 in active use.",
 "booksources"  => "Book sources",
+# FIXME: Other sites, of course, may have affiliate relations with the booksellers list
 "booksourcetext" => "Below is a list of links to other sites that
 sell new and used books, and may also have further information
 about books you are looking for.
-Wikipedia is not affiliated with any of these businesses, and
+$wgSitename is not affiliated with any of these businesses, and
 this list should not be construed as an endorsement.",
 "alphaindexline" => "$1 to $2",
 
@@ -1013,7 +1052,7 @@ at the bottom of the screen.",
 "couldntremove" => "Couldn't remove item '$1'...",
 "iteminvalidname" => "Problem with item '$1', invalid name...",
 "wlnote" => "Below are the last $1 changes in the last <b>$2</b> hours.",
-                                                                                                                                       
+"wlshowlast" => "Show last $1 hours $2 days $3",
 
 # Delete/protect/revert
 #
@@ -1029,7 +1068,7 @@ at the bottom of the screen.",
 or image along with all of its history from the database.
 Please confirm that you intend to do this, that you understand the
 consequences, and that you are doing this in accordance with
-[[Wikipedia:Policy]].",
+[[$wgMetaNamespace:Policy]].",
 "confirmcheck" => "Yes, I really want to delete this.",
 "actioncomplete" => "Action complete",
 "deletedtext"  => "\"$1\" has been deleted.
@@ -1056,6 +1095,11 @@ Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
 #   only shown if there is an edit comment
 "editcomment" => "The edit comment was: \"<i>$1</i>\".", 
 "revertpage"   => "Reverted to last edit by $1",
+"protectlogpage" => "Protection_log",
+"protectlogtext" => "Below is a list of page locks/unlocks.
+See [[$wgMetaNamespace:Protected page]] for more information.",
+"protectedarticle" => "protected [[$1]]",
+"unprotectedarticle" => "unprotected [[$1]]",
 
 # Undelete
 "undelete" => "Restore deleted page",
@@ -1072,7 +1116,7 @@ will not be automatically replaced.",
 "undeletebtn" => "Restore!",
 "undeletedarticle" => "restored \"$1\"",
 "undeletedtext"   => "The article [[$1]] has been successfully restored.
-See [[Wikipedia:Deletion_log]] for a record of recent deletions and restorations.",
+See [[$wgMetaNamespace:Deletion_log]] for a record of recent deletions and restorations.",
 
 # Contributions
 #
@@ -1101,7 +1145,7 @@ to perform this function on.",
 "blockiptext"  => "Use the form below to block write access
 from a specific IP address or username.
 This should be done only only to prevent vandalism, and in
-accordance with [[Wikipedia:Policy|Wikipedia policy]].
+accordance with [[$wgMetaNamespace:Policy|policy]].
 Fill in a specific reason below (for example, citing particular
 pages that were vandalized).",
 "ipaddress"            => "IP Address/username",
@@ -1123,6 +1167,12 @@ to a previously blocked IP address or username.",
 "unblocklink"  => "unblock",
 "contribslink" => "contribs",
 "autoblocker"  => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
+"blocklogpage" => "Block_log",
+"blocklogentry"        => 'blocked "$1"',
+"blocklogtext" => "This is a log of user blocking and unblocking actions. Automatically 
+blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
+the list of currently operational bans and blocks.",
+"unblocklogentry"      => 'unblocked "$1"',
 
 # Developer tools
 #
@@ -1144,23 +1194,22 @@ Please confirm that this is what you intend to do.",
 "locknoconfirm" => "You did not check the confirmation box.",
 "lockdbsuccesssub" => "Database lock succeeded",
 "unlockdbsuccesssub" => "Database lock removed",
-"lockdbsuccesstext" => "The Wikipedia database has been locked.
+"lockdbsuccesstext" => "The database has been locked.
 <br>Remember to remove the lock after your maintenance is complete.",
-"unlockdbsuccesstext" => "The Wikipedia database has been unlocked.",
+"unlockdbsuccesstext" => "The database has been unlocked.",
 
 # SQL query
 #
 "asksql"               => "SQL query",
 "asksqltext"   => "Use the form below to make a direct query of the
-Wikipedia database.
+database.
 Use single quotes ('like this') to delimit string literals.
 This can often add considerable load to the server, so please use
 this function sparingly.",
 "sqlislogged"  => "Please note that all queries are logged.",
 "sqlquery"             => "Enter query",
 "querybtn"             => "Submit query",
-"selectonly"   => "Queries other than \"SELECT\" are restricted to
-Wikipedia developers.",
+"selectonly"   => "Only read-only queries are allowed.",
 "querysuccessful" => "Query successful",
 
 # Move page
@@ -1210,6 +1259,17 @@ title. Please merge them manually.",
 "talkpagemoved" => "The corresponding talk page was also moved.",
 "talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
 
+"export"               => "Export pages",
+"exporttext"   => "You can export the text and editing history of a particular
+page or set of pages wrapped in some XML; this can then be imported into another
+wiki running MediaWiki software, transformed, or just kept for your private
+amusement.",
+"exportcuronly"        => "Include only the current revision, not the full history",
+
+# Namespace 8 related
+
+"allmessages"  => "All_messages",
+"allmessagestext"      => "This is a list of all messages available in the MediaWiki: namespace"
 );
 
 #--------------------------------------------------------------------------
@@ -1301,12 +1361,6 @@ class Language {
                global $wgMonthNamesEn;
                return $wgMonthNamesEn[$key-1];
        }
-       
-       function getMonthRegex()
-       {
-               global $wgMonthNamesEn;
-               return implode( "|", $wgMonthNamesEn );
-       }
 
        function getMonthAbbreviation( $key )
        {
@@ -1413,6 +1467,12 @@ class Language {
                return $wgAllMessagesEn[$key];
        }
        
+       function getAllMessages()
+       {
+               global $wgAllMessagesEn;
+               return $wgAllMessagesEn;
+       }
+
        function iconv( $in, $out, $string ) {
                # For most languages, this is a wrapper for iconv
                return iconv( $in, $out, $string );
@@ -1490,80 +1550,6 @@ class Language {
                }
        }
 
-       function replaceDates( $text )
-       {
-               global $wgUser, $wgInputEncoding, $wgUseDynamicDates;
-               
-               # Feature can be disabled
-               if ( !$wgUseDynamicDates ) {
-                       return;
-               }
-
-               # Setup
-               
-               $datePreference = $wgUser->getOption( 'date' );
-
-               static $monthNames = "", $rxDM, $rxMD, $rxY, $rxDMY, $rxYDM, $rxMDY, $rxYMD;
-               if ( $monthNames == "" ) {
-                       $monthNames = $this->getMonthRegex();
-                       
-                       # Attempt at UTF-8 support, untested at the moment
-                       if ( $wgInputEncoding == 'UTF-8' ) {
-                               $regexTrail = '(?![a-z])/iu';
-                       } else {
-                               $regexTrail = '(?![a-z])/i';
-                       }
-
-                       # Partial regular expressions
-                       $prxDM = '\[\[(\d{1,2})[ _](' . $monthNames . ')]]';
-                       $prxMD = '\[\[(' . $monthNames . ')[ _](\d{1,2})]]';
-                       $prxY = '\[\[(\d{1,4}([ _]BC|))]]';
-                       
-                       # Real regular expressions
-                       $rxDMY = "/{$prxDM} *,? *{$prxY}{$regexTrail}"; 
-                       $rxYDM = "/{$prxY} *,? *{$prxDM}{$regexTrail}";
-                       $rxMDY = "/{$prxMD} *,? *{$prxY}{$regexTrail}";
-                       $rxYMD = "/{$prxY} *,? *{$prxMD}{$regexTrail}";
-                       $rxDM = "/{$prxDM}{$regexTrail}";
-                       $rxMD = "/{$prxMD}{$regexTrail}";
-                       $rxY = "/{$prxY}{$regexTrail}";
-               }
-               
-               # Do replacements
-               # TODO: month capitalisation?
-               if ( $datePreference == 0 ) { 
-                       # no preference
-                       $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
-                       $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
-                       $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
-                       $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
-                       $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
-               } else if ( $datePreference == 1 ) {
-                       # MDY preferred
-                       $text = preg_replace( $rxDMY, '[[$2 $1]], [[$3]]', $text);
-                       $text = preg_replace( $rxYDM, '[[$4 $3]], [[$1]]', $text);
-                       $text = preg_replace( $rxMDY, '[[$1 $2]], [[$3]]', $text);
-                       $text = preg_replace( $rxYMD, '[[$3 $4]], [[$1]]', $text);
-                       $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
-               } else if ( $datePreference == 2 ) {
-                       # DMY preferred
-                       $text = preg_replace( $rxDMY, '[[$2 $1|$1 $2]] [[$3]]', $text);
-                       $text = preg_replace( $rxYDM, '[[$4 $3|$3 $4]] [[$1]]', $text);
-                       $text = preg_replace( $rxMDY, '[[$1 $2|$2 $1]] [[$3]]', $text);
-                       $text = preg_replace( $rxYMD, '[[$3 $4|$4 $3]] [[$1]]', $text);
-                       $text = preg_replace ( $rxDM, '[[$2 $1|$1 $2]]', $text);
-                       $text = preg_replace ( $rxMD, '[[$1 $2|$2 $1]]', $text);
-               } else if ( $datePreference == 3 ) {
-                       # YMD preferred
-                       $text = preg_replace( $rxDMY, '[[$3]] [[$2 $1]]', $text);
-                       $text = preg_replace( $rxYDM, '[[$1]] [[$4 $3]]', $text);
-                       $text = preg_replace( $rxMDY, '[[$3]] [[$1 $2]]', $text);
-                       $text = preg_replace( $rxYMD, '[[$1]] [[$3 $4]]', $text);
-                       $text = preg_replace ( $rxDM, '[[$2 $1]]', $text);
-               }
-               return $text;
-       }
-
        # For right-to-left language support
        function isRTL() { return false; }
 
@@ -1583,7 +1569,6 @@ class Language {
        }
 }
 
-global $IP;
-@include_once( "{$IP}/Language" . ucfirst( $wgLanguageCode ) . ".php" );
+@include_once( "Language" . ucfirst( $wgLanguageCode ) . ".php" );
 
 ?>