<?php
+#
+# In general you should not make customizations in these language files
+# directly, but should use the MediaWiki: special namespace to customize
+# user interface messages through the wiki.
+# See http://meta.wikipedia.org/wiki/MediaWiki_namespace
+#
+# NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
+# A lot of common constants and a base class with inheritable methods are
+# defined here, which should not be redefined. See the other LanguageXx.php
+# files for examples.
+#
+
#--------------------------------------------------------------------------
# Constants
#--------------------------------------------------------------------------
define("MAG_IMG_WIDTH", 20);
define("MAG_IMG_CENTER", 21);
define("MAG_INT", 22);
+define("MAG_FORCETOC", 23);
+define("MAG_SITENAME", 24);
+define("MAG_NS", 25);
+define("MAG_LOCALURL", 26);
+define("MAG_LOCALURLE", 27);
+define("MAG_SERVER", 28);
$wgVariableIDs = array(
MAG_CURRENTMONTH,
MAG_CURRENTYEAR,
MAG_CURRENTTIME,
MAG_NUMBEROFARTICLES,
- MAG_CURRENTMONTHNAMEGEN
+ MAG_CURRENTMONTHNAMEGEN,
+ MAG_SITENAME,
+ MAG_SERVER
);
"quickbar" => 1, "underline" => 1, "hover" => 1,
"cols" => 80, "rows" => 25, "searchlimit" => 20,
"contextlines" => 5, "contextchars" => 50,
- "skin" => 0, "math" => 1, "rcdays" => 7, "rclimit" => 50,
+ "skin" => 'standard', "math" => 1, "rcdays" => 7, "rclimit" => 50,
"highlightbroken" => 1, "stubthreshold" => 0,
- "previewontop" => 1, "editsection"=>0,"editsectiononrightclick"=>0, "showtoc"=>1,
+ "previewontop" => 1, "editsection"=>1,"editsectiononrightclick"=>0, "showtoc"=>1,
"showtoolbar" =>1,
"date" => 0
);
);
/* private */ $wgSkinNamesEn = array(
- "Standard", "Nostalgia", "Cologne Blue", "Paddington", "Montparnasse", "DaVinci"
+ 'standard' => "Standard",
+ 'nostalgia' => "Nostalgia",
+ 'cologneblue' => "Cologne Blue",
+ 'smarty' => "Paddington",
+ 'montparnasse' => "Montparnasse",
+ 'davinci' => "DaVinci",
+ 'mono' => "Mono",
+ 'monobook' => "MonoBook"
);
/* private */ $wgMathNamesEn = array(
"hideminor" => "Hide minor edits in recent changes",
"usenewrc" => "Enhanced recent changes (not for all browsers)",
"numberheadings" => "Auto-number headings",
- "showtoolbar"=>"Show edit box toolbar",
+ "showtoolbar"=>"Show edit toolbar",
"editondblclick" => "Edit pages on double click (JavaScript)",
"editsection"=>"Enable section editing via [edit] links",
- "editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
- "showtoc"=>"Show table of contents<br>(for articles with more than 3 headings)",
+ "editsectiononrightclick"=>"Enable section editing by right clicking<br /> on section titles (JavaScript)",
+ "showtoc"=>"Show table of contents<br />(for articles with more than 3 headings)",
"rememberpassword" => "Remember password across sessions",
"editwidth" => "Edit box has full width",
"watchdefault" => "Add pages you edit to your watchlist",
"ab" => "Abkhazian", # Abkhazian - FIXME
"af" => "Afrikaans", # Afrikaans
"ak" => "Akana", # Akan
+ "an" => "Aragonés", # Aragonese
"als" => "Elsässische", # Alsatian
"am" => "አማርኛ", # Amharic
"ar" => "العربية", # Arabic
"arc" => "ܕܥܒܪܸܝܛ", # Aramaic
"as" => "অসমীয়া", # Assamese
+ "ast" => "Asturleonés", # Asturian
"av" => "Авар", # Avar
"ay" => "Aymar", # Aymara
"az" => "Azərbaycan", # Azerbaijani
"ba" => "Башҡорт", # Bashkir
- "be" => "Беларуская - (Belaruskaya)", # Belarusian ''or'' Byelarussian
- "bg" => "Български - (Bülgarski)", # Bulgarian
- "bh" => "Bihara",
+ "be" => "Беларуская", # Belarusian ''or'' Byelarussian
+ "bg" => "Български", # Bulgarian
+ "bh" => "भोजपुरी", # Bihara
"bi" => "Bislama", # Bislama
"bn" => "বাংলা - (Bangla)", # Bengali
+ "bm" => "Bambara",
"bo" => "Bod skad", # Tibetan
"br" => "Brezhoneg", # Breton
"bs" => "Bosanski", # Bosnian
"ca" => "Català", # Catalan
- "ce" => "Нохчийн - (Noxçiyn)", # Chechen
+ "ce" => "Нохчийн", # Chechen
"ch" => "Chamoru", # Chamorro
"chy" => "Tsetsêhestâhese", # Cheyenne
"co" => "Corsu", # Corsican
"cr" => "Nehiyaw", # Cree
"cs" => "Česky", # Czech
+ "csb" => "Kaszëbscziej", # Cassubian - FIXME
"cv" => "Чӑваш - (Ĉăvaŝ)", # Chuvash
"cy" => "Cymraeg", # Welsh
"da" => "Dansk", # Danish
"de" => "Deutsch", # German
"dk" => "Dansk", # 'da' is correct for the language.
"dv" => "Dhivehi", # Dhivehi
- "dz" => "(Dzongkha)", # Bhutani
+ "dz" => "Dzongkha", # Bhutani
"ee" => "Eve", # Eve
"el" => "Ελληνικά", # Greek
"en" => "English", # English
"haw" => "Hawai`i", # Hawaiian
"he" => "עברית", # Hebrew
"hi" => "हिन्दी", # Hindi
+ "ho" => "Hiri Motu",
"hr" => "Hrvatski", # Croatian
+ "ht" => "Haitian", # Haitian (FIXME!)
"hu" => "Magyar", # Hungarian
"hy" => "Հայերեն", # Armenian
"hz" => "Otsiherero", # Herero
"id" => "Bahasa Indonesia", # Indonesian
"ie" => "Interlingue", # Interlingue (Occidental)
"ig" => "Igbo", # Igbo
+ "ii" => "Yi", # Sichuan Yi (FIXME!)
"ik" => "Iñupiak", # Inupiak
"io" => "Ido", # Ido
"is" => "Íslensk", # Icelandic
"ja" => "日本語", # Japanese
"jv" => "Bahasa Jawa", # Javanese
"ka" => "ქართული", # Georgian
+ "kg" => "Kongo", # Kongo (FIXME!)
+ "ki" => "Kikuyu", # Kikuyu (FIXME!)
+ "kj" => "Kuanyama", # Kuanyama (FIXME!)
"kk" => "қазақша", # Kazakh
"kl" => "Kalaallisut", # Greenlandic
"km" => "ភាសាខ្មែរ", # Cambodian
"kn" => "ಕನ್ನಡ", # Kannada
"ko" => "한국어", # Korean
+ "kr" => "Kanuri",
"ks" => "कश्मीरी - (كشميري)", # Kashmiri
"ku" => "Kurdî", # Kurdish
+ "kv" => "Komi",
"kw" => "Kernewek", # Cornish
- "ky" => "Kirghiz",
+ "ky" => "Kırgızca", # Kirghiz
"la" => "Latina", # Latin
"lb" => "Lëtzebuergesch", # Luxemburguish
+ "lg" => "Luganda", # Ganda
"li" => "Limburgs", # Limburgian
"ln" => "Lingala", # Lingala
- "lo" => "(Pha xa lao)", # Laotian
+ "lo" => "Pha xa lao", # Laotian
"lt" => "Lietuvių", # Lithuanian
"lv" => "Latviešu", # Latvian
- "mi" => "Malagasy", # Malagasy - FIXME
+ "mg" => "Malagasy", # Malagasy - FIXME
"mh" => "Ebon", # Marshallese
"mi" => "Māori", # Maori
"mk" => "Македонски", # Macedonian
"mr" => "मराठी", # Marathi
"ms" => "Bahasa Melayu", # Malay
"mt" => "bil-Malti", # Maltese
- "my" => "(Myanmasa)", # Burmese
+ "my" => "Myanmasa", # Burmese
"na" => "Nauru", # Nauruan
+ "nb" => "Bokmål", # Norwegian (Bokmal)
"nah" => "Nahuatl",
"nds" => "Platdüütsch", # Low German ''or'' Low Saxon
"ne" => "नेपाली", # Nepali
+ "ng" => "Ndonga",
"nl" => "Nederlands", # Dutch
"nb" => "Norsk", # Norwegian [currently using old '''no''' code]
"ne" => "नेपाली", # Nepali
"nn" => "Nynorsk" , # (Norwegian) Nynorsk
- "no" => "Norsk",
+ "no" => "Norsk", # Norwegian
"nv" => "Diné bizaad", # Navajo
"ny" => "Chi-Chewa", # Chichewa
"oc" => "Occitan", # Occitan
"sd" => "सिनधि", # Sindhi
"se" => "Sámegiella", # (Northern) Sami
"sg" => "Sangro",
-# "sh" => "Српскохрватски (Srbskohrvatski)", ## -- Obsolete
- "si" => "(Simhala)", # Sinhalese
+# "sh" => "Српскохрватски (Srbskohrvatski)", ## Serbocroatian -- Obsolete
+ "si" => "Simhala", # Sinhalese
"simple" => "Simple English",
"sk" => "Slovenčina", # Slovak
"sl" => "Slovenščina", # Slovenian
"ti" => "Tigrinya", # Tigrinya - FIXME
"tk" => "تركمن / Туркмен", # Turkmen
"tl" => "Tagalog", # Tagalog (Filipino)
+ "tlh" => "tlhIngan-Hol", # Klingon
"tn" => "Setswana", # Setswana
"to" => "Tonga", # Tonga - FIXME
+ "tp" => "Toki Pona", # Toki Pona
+ "tpi" => "Tok Pisin", # Tok Pisin
"tr" => "Türkçe", # Turkish
"ts" => "Xitsonga", # Tsonga
"tt" => "Tatar", # Tatar
# ID CASE SYNONYMS
MAG_REDIRECT => array( 0, "#redirect" ),
MAG_NOTOC => array( 0, "__NOTOC__" ),
+ MAG_FORCETOC => array( 0, "__FORCETOC__" ),
MAG_NOEDITSECTION => array( 0, "__NOEDITSECTION__" ),
MAG_START => array( 0, "__START__" ),
MAG_CURRENTMONTH => array( 1, "CURRENTMONTH" ),
MAG_IMG_NONE => array( 1, "none" ),
MAG_IMG_WIDTH => array( 1, "$1px" ),
MAG_IMG_CENTER => array( 1, "center", "centre" ),
- MAG_INT => array( 0, "INT:" )
-
+ MAG_INT => array( 0, "INT:" ),
+ MAG_SITENAME => array( 1, "SITENAME" ),
+ MAG_NS => array( 0, "NS:" ),
+ MAG_LOCALURL => array( 0, "LOCALURL:" ),
+ MAG_LOCALURLE => array( 0, "LOCALURLE:" ),
+ MAG_SERVER => array( 0, "SERVER" )
);
# All special pages have to be listed here: a description of ""
"Longpages" => "Long articles",
"Newpages" => "Newly created articles",
"Ancientpages" => "Oldest articles",
- "Deadendpages" => "Dead-end pages",
+ "Deadendpages" => "Dead-end pages",
# "Intl" => "Interlanguage Links",
"Allpages" => "All pages by title",
"Movepage" => "",
"Blockme" => "",
"Booksources" => "External book sources",
-# "Categories" => "Page categories",
+ "Categories" => "Page categories",
"Export" => "XML page export",
"Version" => "Show MediaWiki version",
"Allmessages" => "All system messages"
"mainpage" => "Main Page",
"mainpagetext" => "Wiki software successfully installed.",
"about" => "About",
-"aboutwikipedia" => "About $wgSitename",
-"aboutpage" => "$wgMetaNamespace:About",
+"aboutwikipedia" => "About {{SITENAME}}",
+"aboutpage" => "{{ns:4}}:About",
'article' => 'Article',
"help" => "Help",
-"helppage" => $wgNamespaceNamesEn[NS_HELP].":Contents",
-"wikititlesuffix" => "$wgSitename",
+"helppage" => "{{ns:12}}:Contents",
+"wikititlesuffix" => "{{SITENAME}}",
"bugreports" => "Bug reports",
-"bugreportspage" => "$wgMetaNamespace:Bug_reports",
-"sitesupport" => "Donations",
-"sitesupportpage" => "", # If not set, won't appear. Can be wiki page or URL
+"bugreportspage" => "{{ns:4}}:Bug_reports",
+"sitesupport" => "Donations", # Set a URL in $wgSiteSupportPage in LocalSettings.php
"faq" => "FAQ",
-"faqpage" => "$wgMetaNamespace:FAQ",
+"faqpage" => "{{ns:4}}:FAQ",
"edithelp" => "Editing help",
-"edithelppage" => $wgNamespaceNamesEn[NS_HELP].":Editing",
+"edithelppage" => "{{ns:12}}:Editing",
"cancel" => "Cancel",
"qbfind" => "Find",
"qbbrowse" => "Browse",
'navigation' => 'Navigation',
"currentevents" => "Current events",
"disclaimers" => "Disclaimers",
-"disclaimerpage" => "$wgMetaNamespace:General_disclaimer",
+"disclaimerpage" => "{{ns:4}}:General_disclaimer",
"errorpagetitle" => "Error",
"returnto" => "Return to $1.",
-"fromwikipedia" => "From $wgSitename, the free encyclopedia.",
+"fromwikipedia" => "From {{SITENAME}}, the free encyclopedia.",
"whatlinkshere" => "Pages that link here",
"help" => "Help",
"search" => "Search",
"redirectedfrom" => "(Redirected from $1)",
"lastmodified" => "This page was last modified $1.",
"viewcount" => "This page has been accessed $1 times.",
-"gnunote" => "All text is available under the terms of the <a class=internal href='$wgScriptPath/index.php/GNU_Free_Documentation_License'>GNU Free Documentation License</a>.",
-"printsubtitle" => "(From $wgServer)",
+"gnunote" => "All text is available under the terms of the <a class='internal' href='{{localurl:GNU_Free_Documentation_License}}'>GNU Free Documentation License</a>. $wgSitename is powered by <a href='http://www.mediawiki.org/' class='external'>MediaWiki</a>, an open source wiki engine.",
+"printsubtitle" => "(From {{SERVER}})",
"protectedpage" => "Protected page",
-"administrators" => "$wgMetaNamespace:Administrators",
+"administrators" => "{{ns:4}}:Administrators",
"sysoptitle" => "Sysop access required",
"sysoptext" => "The action you have requested can only be
performed by users with \"sysop\" status.
"nbytes" => "$1 bytes",
"go" => "Go",
"ok" => "OK",
-"sitetitle" => "$wgSitename",
+"sitetitle" => "{{SITENAME}}",
"sitesubtitle" => "The Free Encyclopedia",
"retrievedfrom" => "Retrieved from \"$1\"",
"newmessages" => "You have $1.",
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>
+"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]].
+[[{{ns:4}}:Protected page]].
You can view and copy the source of this page:",
#
"logouttitle" => "User logout",
"logouttext" => "You are now logged out.
-You can continue to use $wgSitename anonymously, or you can log in
+You can continue to use {{SITENAME}} 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",
"welcomecreation" => "<h2>Welcome, $1!</h2><p>Your account has been created.
-Don't forget to change your $wgSitename preferences.",
+Don't forget to change your {{SITENAME}} preferences.",
"loginpagetitle" => "User login",
"yourname" => "Your user name",
"yourpasswordagain" => "Retype password",
"newusersonly" => " (new users only)",
"remembermypassword" => "Remember my password across sessions.",
-"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",
+"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",
"login" => "Log in",
-"loginprompt" => "You must have cookies enabled to log in to $wgSitename.",
+"loginprompt" => "You must have cookies enabled to log in to {{SITENAME}}.",
"userlogin" => "Log in",
"logout" => "Log out",
"userlogout" => "Log out",
"notloggedin" => "Not logged in",
"createaccount" => "Create new account",
-"createaccountmail" => "by eMail",
+"createaccountmail" => "by email",
"badretype" => "The passwords you entered do not match.",
"userexists" => "The user name you entered is already in use. Please choose a different name.",
-"youremail" => "Your e-mail*",
+"youremail" => "Your email*",
"yournick" => "Your nickname (for signatures)",
"emailforlost" => "* Entering an email address is optional. But it enables people to
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.",
+"nocookiesnew" => "The user account was created, but you are not logged in. {{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
+"nocookieslogin" => "{{SITENAME}} 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 $wgSitename as \"$1\".",
+"loginsuccess" => "You are now logged in to {{SITENAME}} 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 $wgSitename",
+"passwordremindertitle" => "Password reminder from {{SITENAME}}",
"passwordremindertext" => "Someone (probably you, from IP address $1)
-requested that we send you a new $wgSitename login password.
+requested that we send you a new {{SITENAME}} 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\".",
registered for \"$1\".
Please log in again after you receive it.",
"loginend" => " ",
+"mailerror" => "Error sending mail: $1",
# Edit page toolbar
"bold_sample"=>"Bold text",
"infobox"=>"Click a button to get an example text",
# alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
"infobox_alert"=>"Please enter the text you want to be formatted.\\n It will be shown in the infobox for copy and pasting.\\nExample:\\n$1\\nwill become:\\n$2",
-# only shown for Mozilla users
-"infobox_mozvote"=>"\\nPlease vote for bug #231389 to make text selection work in Mozilla!",
# Edit pages
#
"showpreview" => "Show preview",
"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
-[[$wgMetaNamespace:Administrators|administrators]] to discuss the block.
+The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
+[[{{ns4}}: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]].
"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 [[$wgMetaNamespace:Help|help page]] for more info).
+(see the [[{{ns:4}}:Help|help page]] for more info).
If you are here by mistake, just click your browser's '''back''' button.",
"talkpagetext" => "<!-- MediaWiki:talkpagetext -->",
"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.'' ",
If you save it, any changes made since this revision will be lost.</strong>\n",
"yourdiff" => "Differences",
# FIXME: This is inappropriate for third-party use!
-"copyrightwarning" => "Please note that all contributions to $wgSitename are
+"copyrightwarning" => "Please note that all contributions to {{SITENAME}} 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
-at will, then don't submit it here.<br>
+at will, then don't submit it here.<br />
You are also promising us that you wrote this yourself, or copied it from a
public domain or similar free resource.
<strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
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='$wgScriptPath/$wgMetaNamespace:Protected_page_guidelines'>protected page
+<a href='$wgScriptPath/{{ns:4}}:Protected_page_guidelines'>protected page
guidelines</a>.",
# History pages
# Search results
#
"searchresults" => "Search results",
-"searchhelppage" => "$wgMetaNamespace:Searching",
-"searchingwikipedia" => "Searching $wgSitename",
-"searchresulttext" => "For more information about searching $wgSitename, see $1.",
+"searchhelppage" => "{{ns:4}}:Searching",
+"searchingwikipedia" => "Searching {{SITENAME}}",
+"searchresulttext" => "For more information about searching {{SITENAME}}, see $1.",
"searchquery" => "For query \"$1\"",
"badquery" => "Badly formed search query",
"badquerytext" => "We could not process your query.
containing all of the search terms will appear in the result).",
"powersearch" => "Search",
"powersearchtext" => "
-Search in namespaces :<br>
-$1<br>
+Search in namespaces :<br />
+$1<br />
$2 List redirects Search for $3 $9",
"searchdisabled" => "<p>Sorry! Full text search has been disabled temporarily, for performance reasons. In the meantime, you can use the Google search below, which may be out of date.</p>",
"googlesearch" => "
<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=domains value=\"{{SERVER}}\"><br /><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{{SERVER}}\" checked> {{SERVER}} <br />
<input type='hidden' name='ie' value='$2'>
<input type='hidden' name='oe' value='$2'>
</font>
#
"preferences" => "Preferences",
"prefsnologin" => "Not logged in",
-"prefsnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"prefsnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
to set user preferences.",
"prefslogintext" => "You are logged in as \"$1\".
Your internal ID number is $2.
-See [[$wgMetaNamespace:User preferences help]] for help deciphering the options.",
+See [[{{ns:4}}:User preferences help]] for help deciphering the options.",
"prefsreset" => "Preferences have been reset from storage.",
"qbsettings" => "Quickbar settings",
"changepassword" => "Change password",
# "rclinks" => "Show last $1 changes in last $2 hours / last $3 days",
# "rclinks" => "Show last $1 changes in last $2 days.",
"showhideminor" => "$1 minor edits | $2 bots | $3 logged in users ",
-"rclinks" => "Show last $1 changes in last $2 days<br>$3",
+"rclinks" => "Show last $1 changes in last $2 days<br />$3",
"rchide" => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
"rcliu" => "; $1 edits from logged in users",
"diff" => "diff",
"reupload" => "Re-upload",
"reuploaddesc" => "Return to the upload form.",
"uploadnologin" => "Not logged in",
-"uploadnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"uploadnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
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 the <a href=\"" .
-wfLocalUrlE( "$wgMetaNamespace:Image_use_policy" ) . "\">image use policy</a>.
+make sure to read and follow the <a href=\"{{localurle:Special: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( "$wgMetaNamespace:Upload_log" ) . "\">upload log</a>.
+go to the <a href=\"{{localurle:Special:Imagelist}}\">list of uploaded images</a>.
+Uploads and deletions are logged on the " .
+"<a href=\"{{localurle:Wikipedia: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
"filesource" => "Source",
"affirmation" => "I affirm that the copyright holder of this file
agrees to license it under the terms of the $1.",
-"copyrightpage" => "$wgMetaNamespace:Copyrights",
-"copyrightpagename" => "$wgSitename copyright",
+"copyrightpage" => "{{ns:4}}:Copyrights",
+"copyrightpagename" => "{{SITENAME}} copyright",
"uploadedfiles" => "Uploaded files",
"noaffirmation" => "You must affirm that your upload does not violate
any copyrights.",
"deleteimg" => "del",
"imghistlegend" => "Legend: (cur) = this is the current image, (del) = delete
this old version, (rev) = revert to this old version.
-<br><i>Click on date to see image uploaded on that date</i>.",
+<br /><i>Click on date to see image uploaded on that date</i>.",
"imagelinks" => "Image links",
"linkstoimage" => "The following pages link to this image:",
"nolinkstoimage" => "There are no pages that link to this image.",
"sitestats" => "Site statistics",
"userstats" => "User statistics",
"sitestatstext" => "There are <b>$1</b> total pages in the database.
-This includes \"talk\" pages, pages about $wgSitename, minimal \"stub\"
+This includes \"talk\" pages, pages about {{SITENAME}}, 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>
"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" => "$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.",
+"disambiguationspage" => "{{ns:4}}: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.",
+"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.",
"brokenredirects" => "Broken Redirects",
"brokenredirectstext" => "The following redirects link to a non-existing article.",
"selflinks" => "Pages with Self Links",
"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.
-$wgSitename is not affiliated with any of these businesses, and
+{{SITENAME}} is not affiliated with any of these businesses, and
this list should not be construed as an endorsement.",
"rfcurl" => "http://www.faqs.org/rfcs/rfc$1.html",
"alphaindexline" => "$1 to $2",
# Email this user
#
"mailnologin" => "No send address",
-"mailnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
-and have a valid e-mail address in your <a href=\"" .
- wfLocalUrl( "Special:Preferences" ) . "\">preferences</a>
+"mailnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
+and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
to send e-mail to other users.",
"emailuser" => "E-mail this user",
"emailpage" => "E-mail user",
as the \"From\" address of the mail, so the recipient will be able
to reply.",
"usermailererror" => "Mail object returned error: ",
-"defemailsubject" => "$wgSitename e-mail",
+"defemailsubject" => "{{SITENAME}} e-mail",
"noemailtitle" => "No e-mail address",
"noemailtext" => "This user has not specified a valid e-mail address,
or has chosen not to receive e-mail from other users.",
"watchlistsub" => "(for user \"$1\")",
"nowatchlist" => "You have no items on your watchlist.",
"watchnologin" => "Not logged in",
-"watchnologintext" => "You must be <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"watchnologintext" => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
to modify your watchlist.",
"addedwatch" => "Added to watchlist",
-"addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
- wfLocalUrl( "Special:Watchlist" ) . "\">watchlist</a>.
+"addedwatchtext" => "The page \"$1\" has been added to your <a href=\"{{localurl:Special:Watchlist}}\">watchlist</a>.
Future changes to this page and its associated Talk page will be listed there,
-and the page will appear <b>bolded</b> in the <a href=\"" .
- wfLocalUrl( "Special:Recentchanges" ) . "\">list of recent changes</a> to
+and the page will appear <b>bolded</b> in the <a href=\"{{localurl:Special:Recentchanges}}\">list of recent changes</a> to
make it easier to pick out.</p>
<p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
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
-[[$wgMetaNamespace:Policy]].",
+[[{{ns:4}}:Policy]].",
"confirmcheck" => "Yes, I really want to delete this.",
"actioncomplete" => "Action complete",
"deletedtext" => "\"$1\" has been deleted.
"revertpage" => "Reverted edit of $2, changed back to last version by $1",
"protectlogpage" => "Protection_log",
"protectlogtext" => "Below is a list of page locks/unlocks.
-See [[$wgMetaNamespace:Protected page]] for more information.",
+See [[{{ns:4}}:Protected page]] for more information.",
"protectedarticle" => "protected [[$1]]",
"unprotectedarticle" => "unprotected [[$1]]",
"undeletebtn" => "Restore!",
"undeletedarticle" => "restored \"$1\"",
"undeletedtext" => "The article [[$1]] has been successfully restored.
-See [[$wgMetaNamespace:Deletion_log]] for a record of recent deletions and restorations.",
+See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.",
# Contributions
#
"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 [[$wgMetaNamespace:Policy|policy]].
+accordance with [[{{ns:4}}:Policy|policy]].
Fill in a specific reason below (for example, citing particular
pages that were vandalized).",
"ipaddress" => "IP Address/username",
"noblockreason" => "You must supply a reason for the block.",
"blockipsuccesssub" => "Block succeeded",
"blockipsuccesstext" => "\"$1\" has been blocked.
-<br>See [[Special:Ipblocklist|IP block list]] to review blocks.",
+<br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
"unblockip" => "Unblock user",
"unblockiptext" => "Use the form below to restore write access
to a previously blocked IP address or username.",
"lockdbsuccesssub" => "Database lock succeeded",
"unlockdbsuccesssub" => "Database lock removed",
"lockdbsuccesstext" => "The database has been locked.
-<br>Remember to remove the lock after your maintenance is complete.",
+<br />Remember to remove the lock after your maintenance is complete.",
"unlockdbsuccesstext" => "The database has been unlocked.",
# SQL query
"set_user_rights" => "Set user rights",
"user_rights_set" => "<b>User rights for \"$1\" updated</b>",
"set_rights_fail" => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
+"makesysop" => "Make a user into a sysop",
# Move page
#
In those cases, you will have to move or merge the page manually if desired.",
"movearticle" => "Move page",
"movenologin" => "Not logged in",
-"movenologintext" => "You must be a registered user and <a href=\"" .
- wfLocalUrl( "Special:Userlogin" ) . "\">logged in</a>
+"movenologintext" => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
to move a page.",
"newtitle" => "To new title",
"movepagebtn" => "Move page",
# Thumbnails
"thumbnail-more" => "Enlarge",
-"missingimage" => "<b>Missing image</b><br><i>$1</i>\n",
+"missingimage" => "<b>Missing image</b><br /><i>$1</i>\n",
# Special:Import
"import" => "Import pages",
'accesskey-talk' => 't',
'accesskey-edit' => 'e',
'accesskey-history' => 'h',
-'accesskey-rollback' => 'r',
'accesskey-protect' => 'p',
'accesskey-delete' => 'd',
'accesskey-move' => 'm',
'accesskey-search' => 's',
'accesskey-mainpage' => '',
'accesskey-randompage' => 'x',
+'accesskey-currentevents' => '',
+'accesskey-sitesupport' => '',
'accesskey-help' => '',
-'accesskey-recentchanges' => 'c',
-'accesskey-recentchangeslinked' => '',
+'accesskey-recentchanges' => 'r',
+'accesskey-recentchangeslinked' => 'c',
'accesskey-whatlinkshere' => 'b',
'accesskey-specialpages' => '',
'accesskey-specialpage' => '',
'tooltip-talk' => 'Discussion about the article [alt-t]',
'tooltip-edit' => 'You can edit this page. Please use the preview button before saving. [alt-e]',
'tooltip-history' => 'Past versions of this page, [alt-h]',
-'tooltip-rollback' => 'Roll back edits, [alt-r]',
-'tooltip-protect' => 'Protect this page, [alt-p]',
-'tooltip-delete' => 'Delete this page, [alt-d]',
-'tooltip-move' => 'Move this page, [alt-m]',
+'tooltip-protect' => 'Protect this page [alt-p]',
+'tooltip-delete' => 'Delete this page [alt-d]',
+'tooltip-move' => 'Move this page [alt-m]',
+'tooltip-nomove' => 'You don\'t have the permissions to move this page',
'tooltip-watch' => 'Add this page to your watchlist',
'tooltip-unwatch' => 'Remove this page from your watchlist',
'tooltip-watchlist' => 'The watchlist is the list of pages you\'re monitoring for changes. [alt-w]',
'tooltip-mytalk' => 'My talk page',
'tooltip-preferences' => 'My preferences',
'tooltip-mycontris' => 'List of my contributions',
-'tooltip-login' => 'You are not currently logged in. It is encouraged that you log in to edit, it\'s not mandatory however.',
-'tooltip-logout' => '',
+'tooltip-login' => 'You are encouraged to log in before editing, it\'s not mandatory however.',
+'tooltip-logout' => 'The start button',
'tooltip-search' => 'Search this wiki',
-'tooltip-mainpage' => 'Visit the Front Page',
-'tooltip-randompage' => 'Get a random page [alt-x]',
-'tooltip-help' => '',
-'tooltip-recentchanges' => 'The list of recent changes in the entire wiki. [alt-c]',
-'tooltip-recentchangeslinked' => 'Recent changes in pages linking to this page',
-'tooltip-whatlinkshere' => '',
-'tooltip-specialpages' => '',
-'tooltip-upload' => 'u',
+'tooltip-mainpage' => 'Visit the Main Page',
+'tooltip-randompage' => 'Load a random page [alt-x]',
+'tooltip-currentevents' => 'Find background information on current events',
+'tooltip-sitesupport' => 'Support {{SITENAME}}',
+'tooltip-help' => 'The place to find out.',
+'tooltip-recentchanges' => 'The list of recent changes in the wiki. [alt-r]',
+'tooltip-recentchangeslinked' => 'Recent changes in pages linking to this page [alt-c]',
+'tooltip-whatlinkshere' => 'List of all wiki pages that link here [alt-b]',
+'tooltip-specialpages' => 'List of all special pages',
+'tooltip-upload' => 'Upload images or media files [alt-u]',
'tooltip-specialpage' => 'This is a special page, you can\'t edit the page itself.',
+
+# Metadata
+"nodublincore" => "Dublin Core RDF metadata disabled for this server.",
+"nocreativecommons" => "Creative Commons RDF metadata disabled for this server.",
+"notacceptable" => "The wiki server can't provide data in a format your client can read.",
+
+# Attribution
+
+"anonymous" => "Anonymous user(s) of $wgSitename"
);
#--------------------------------------------------------------------------
function userAdjust( $ts )
{
global $wgUser, $wgLocalTZoffset;
-
+
$tz = $wgUser->getOption( "timecorrection" );
if ( $tz === "" ) {
$hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
}
}
- function time( $ts, $adj = false )
+ function time( $ts, $adj = false, $seconds = false )
{
if ( $adj ) { $ts = $this->userAdjust( $ts ); }
$t = substr( $ts, 8, 2 ) . ":" . substr( $ts, 10, 2 );
+ if ( $seconds ) {
+ $t .= ":" . substr( $ts, 12, 2 );
+ }
return $this->formatNum( $t );
}