define("MAG_SUBST", 12);
define("MAG_MSGNW", 13);
define("MAG_NOEDITSECTION", 14);
+define("MAG_END", 15);
+define("MAG_IMG_THUMBNAIL", 16);
+define("MAG_IMG_RIGHT", 17);
+define("MAG_IMG_LEFT", 18);
+define("MAG_IMG_NONE", 19);
+define("MAG_IMG_WIDTH", 20);
+
#--------------------------------------------------------------------------
# Language-specific text
# NOTE: To turn off "Current Events" in the sidebar,
# set "currentevents" => "-"
+# NOTE: To turn off "Disclaimers" in the title links,
+# set "disclaimers" => "-"
+
# The names of the namespaces can be set here, but the numbers
# are magical, so don't change or move them! The Namespace class
# encapsulates some of the magic-ness.
"skin" => 0, "math" => 1, "rcdays" => 7, "rclimit" => 50,
"highlightbroken" => 1, "stubthreshold" => 0,
"previewontop" => 1, "editsection"=>1,"editsectiononrightclick"=>0, "showtoc"=>1,
+ "showtoolbar"=>1,
"date" => 0
);
"hideminor" => "Hide minor edits in recent changes",
"usenewrc" => "Enhanced recent changes (not for all browsers)",
"numberheadings" => "Auto-number headings",
+ "showtoolbar"=>"Show edit box 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)",
/* private */ $wgLanguageNamesEn = array(
"aa" => "Afar",
- "ab" => "Abkhazian",
+ "ab" => "Аҧсны (Apsny)",
"af" => "Afrikaans",
+ "als" => "Elsässisch", # FIXME: not a real language code; is subsumed under 'gem'
"am" => "Amharic",
"ar" => "‮العربية‬ (Araby)",
"as" => "Assamese",
"ay" => "Aymara",
- "az" => "Azerbaijani",
- "ba" => "Bashkir",
+ "az" => "Азәрбајҹан (Azerbajan)",
+ "ba" => "Башкорт (Bashkort)",
"be" => "Беларуски",
"bh" => "Bihara",
"bi" => "Bislama",
"fr" => "Français",
"fy" => "Frysk",
"ga" => "Gaelige",
+ "gd" => "Gàidhlig",
"gl" => "Galician",
"gn" => "Guarani",
"gu" => "ગુજરાતી (Gujarati)",
+ "gv" => "Gaelg",
"ha" => "Hausa",
"he" => "עברית (Ivrit)",
"hi" => "हिन्दी (Hindi)",
"hr" => "Hrvatski",
"hu" => "Magyar",
- "hy" => "Armenian",
+ "hy" => "Հայերէն (Armjan)",
"ia" => "Interlingua",
"id" => "Indonesia",
"ik" => "Inupiak",
"ja" => "日本語 (Nihongo)",
"jv" => "Javanese",
"ka" => "ქართველი (Kartuli)",
- "kk" => "Kazakh",
+ "kk" => "Қазақ (Kazakh)",
"kl" => "Greenlandic",
"km" => "Cambodian",
- "kn" => "Kannada",
+ "kn" => "ಕನ್ನಡ (Kannada)",
"ko" => "한국어 (Hangukeo)",
"ks" => "Kashmiri",
"kw" => "Kernewek",
"ln" => "Lingala",
"lo" => "Laotian",
"lt" => "Lietuvių",
- "lv" => "Latvian",
+ "lv" => "Latviešu",
"mg" => "Malagasy",
"mi" => "Maori",
- "mk" => "Macedonian",
+ "mk" => "Makedonščina",
"ml" => "Malayalam",
"mn" => "Mongolian",
"mo" => "Moldavian",
"ms" => "Bahasa Melayu",
"my" => "Burmese",
"na" => "Nauru",
+ "nah" => "Nahuatl",
+ "nds" => "Plattdüütsch",
"ne" => "नेपाली (Nepali)",
"nl" => "Nederlands",
"no" => "Norsk",
"sa" => "संस्कृत (Samskrta)",
"sd" => "Sindhi",
"sg" => "Sangro",
- "sh" => "Serbocroatian",
+ "sh" => "Српскохрватски (Srbskohrvatski)",
"si" => "Sinhalese",
"simple" => "Simple English",
"sk" => "Slovak",
"sm" => "Samoan",
"sn" => "Shona",
"so" => "Soomaali",
- "sq" => "Shqiptare",
- "sr" => "Srpski",
+ "sq" => "Shqip",
+ "sr" => "Српски (Srpski)",
"ss" => "Siswati",
"st" => "Sesotho",
"su" => "Sundanese",
"sv" => "Svenska",
"sw" => "Kiswahili",
- "ta" => "Tamil",
- "te" => "Telugu",
+ "ta" => "தமிழ் (Tamil)",
+ "te" => "తెలుగు (Telugu)",
"tg" => "Tajik",
"th" => "Thai",
"ti" => "Tigrinya",
"to" => "Tonga",
"tr" => "Türkçe",
"ts" => "Tsonga",
- "tt" => "Tatar",
+ "tt" => "Татар (Tatar)",
"tw" => "Twi",
"ug" => "Uighur",
"uk" => "Українська (Ukrayins`ka)",
"ur" => "Urdu",
- "uz" => "Uzbek",
- "vi" => "Vietnamese",
+ "uz" => "Ўзбек (Uzbek)",
+ "vi" => "Tiếng Việt",
"vo" => "Volapük",
"wo" => "Wolof",
"xh" => "isiXhosa",
MAG_START => array( 0, "__START__" ),
MAG_CURRENTMONTH => array( 1, "{{CURRENTMONTH}}" ),
MAG_CURRENTMONTHNAME => array( 1, "{{CURRENTMONTHNAME}}" ),
- MAG_CURRENTDAY => array( 1, "{{CURRENTDAY}}" ),
+ MAG_CURRENTDAY => array( 1, "{{CURRENTDAY}}" ),
MAG_CURRENTDAYNAME => array( 1, "{{CURRENTDAYNAME}}" ),
MAG_CURRENTYEAR => array( 1, "{{CURRENTYEAR}}" ),
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__" ),
+ MAG_IMG_THUMBNAIL => array( 1, "thumbnail", "thumb" ),
+ MAG_IMG_RIGHT => array( 1, "right" ),
+ MAG_IMG_LEFT => array( 1, "left" ),
+ MAG_IMG_NONE => array( 1, "none" ),
+ MAG_IMG_WIDTH => array( 1, "$1px" )
+
);
-
+
# All special pages have to be listed here: a description of ""
# will make them not show up on the "Special Pages" page, which
# is the right thing for some of them (such as the "targeted" ones).
"Longpages" => "Long articles",
"Newpages" => "Newly created articles",
"Ancientpages" => "Oldest articles",
+ "Deadendpages" => "Dead-end pages",
# "Intl" => "Interlanguage Links",
"Allpages" => "All pages by title",
#-------------------------------------------------------------------
# Default messages
#-------------------------------------------------------------------
-# Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
+# 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
"mypage" => "My page",
"mytalk" => "My talk",
"currentevents" => "Current events",
+"disclaimers" => "Disclaimers",
+"disclaimerpage" => "$wgMetaNamespace:General_disclaimer",
"errorpagetitle" => "Error",
"returnto" => "Return to $1.",
"fromwikipedia" => "From $wgSitename, the free encyclopedia.",
"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 $wgSitename 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",
email address to them, and it also helps you if you forget your
password.",
"loginerror" => "Login error",
-"nocookies" => "Cookies disabled",
-"nocookiestext" => "The wiki 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. $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 $wgSitename as \"$1\".",
"passwordsent" => "A new password has been sent to the e-mail address
registered for \"$1\".
Please log in again after you receive it.",
+"loginend" => "",
+
+# Edit page toolbar
+"bold_sample"=>"Bold text",
+"bold_tip"=>"Bold text",
+"italic_sample"=>"Italic text",
+"italic_tip"=>"Italic text",
+"link_sample"=>"Link title",
+"link_tip"=>"Internal link",
+"extlink_sample"=>"http://www.example.com link title",
+"extlink_tip"=>"External link (remember http:// prefix)",
+"headline_sample"=>"Headline text",
+"headline_tip"=>"Level 2 headline",
+"math_sample"=>"Insert formula here",
+"math_tip"=>"Mathematical formula (LaTeX)",
+"nowiki_sample"=>"Insert non-formatted text here",
+"nowiki_tip"=>"Ignore wiki formatting",
+"image_sample"=>"Example.jpg",
+"image_tip"=>"Embedded image",
+"media_sample"=>"Example.mp3",
+"media_tip"=>"Media file link",
+"sig_tip"=>"Your signature with timestamp",
+"hr_tip"=>"Horizontal line (use sparingly)",
+"infobox"=>"Click a button to get an example text",
# Edit pages
#
"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.
+[[$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]].
+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.
+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.
",
"math_unknown_function" => "unknown function ",
"math_lexing_error" => "lexing error",
"math_syntax_error" => "syntax error",
+"math_image_error" => "PNG conversion failed",
"saveprefs" => "Save preferences",
"resetprefs" => "Reset preferences",
"oldpassword" => "Old password",
"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",
"uploadwarning" => "Upload warning",
"savefile" => "Save file",
"uploadedimage" => "uploaded \"$1\"",
-
+"uploaddisabled" => "Sorry, uploading is disabled.",
+
# Image list
#
"imagelist" => "Image list",
"randompage" => "Random page",
"shortpages" => "Short pages",
"longpages" => "Long pages",
+"deadendpages" => "Dead-end pages",
"listusers" => "User list",
"specialpages" => "Special pages",
"spheading" => "Special pages for all users",
# Watchlist
#
-"watchlist" => "My watchlist",
-"watchlistsub" => "(for user \"$1\")",
-"nowatchlist" => "You have no items on your watchlist.",
-"watchnologin" => "Not logged in",
+"watchlist" => "My watchlist",
+"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>
to modify your watchlist.",
-"addedwatch" => "Added to watchlist",
-"addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
+"addedwatch" => "Added to watchlist",
+"addedwatchtext" => "The page \"$1\" has been added to your <a href=\"" .
wfLocalUrl( "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=\"" .
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.",
-"removedwatch" => "Removed from watchlist",
-"removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
-"watchthispage" => "Watch this page",
-"unwatchthispage" => "Stop watching",
-"notanarticle" => "Not an article",
-"watchnochange" => "None of your watched items were edited in the time period displayed.",
-"watchdetails" => "($1 pages watched not counting talk pages;
+"removedwatch" => "Removed from watchlist",
+"removedwatchtext" => "The page \"$1\" has been removed from your watchlist.",
+"watchthispage" => "Watch this page",
+"unwatchthispage" => "Stop watching",
+"notanarticle" => "Not an article",
+"watchnochange" => "None of your watched items were edited in the time period displayed.",
+"watchdetails" => "($1 pages watched not counting talk pages;
$2 total pages edited since cutoff;
$3...
<a href='$4'>show and edit complete list</a>.)",
-"watchmethod-recent" => "checking recent edits for watched pages",
-"watchmethod-list" => "checking watched pages for recent edits",
-"removechecked" => "Remove checked items from watchlist",
+"watchmethod-recent"=> "checking recent edits for watched pages",
+"watchmethod-list" => "checking watched pages for recent edits",
+"removechecked" => "Remove checked items from watchlist",
"watchlistcontains" => "Your watchlist contains $1 pages.",
-"watcheditlist" => "Here's an alphabetical list of your
+"watcheditlist" => "Here's an alphabetical list of your
watched pages. Check the boxes of pages you want to remove
from your watchlist and click the 'remove checked' button
at the bottom of the screen.",
-"removingchecked" => "Removing requested items from watchlist...",
-"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",
+"removingchecked" => "Removing requested items from watchlist...",
+"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",
+"wlsaved" => "This is a saved version of your watchlist.",
+
# Delete/protect/revert
#
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",
+"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.",
"movetalk" => "Move \"talk\" page as well, if applicable.",
"talkpagemoved" => "The corresponding talk page was also moved.",
"talkpagenotmoved" => "The corresponding talk page was <strong>not</strong> moved.",
+"1movedto2" => "$1 moved to $2",
+
+# Export
"export" => "Export pages",
"exporttext" => "You can export the text and editing history of a particular
# Namespace 8 related
"allmessages" => "All_messages",
-"allmessagestext" => "This is a list of all messages available in the MediaWiki: namespace"
+"allmessagestext" => "This is a list of all messages available in the MediaWiki: namespace",
+
+# Thumbnails
+
+"thumbnail-more" => "Enlarge"
+
);
#--------------------------------------------------------------------------
/* by default we just return base form */
function getMonthNameGen( $key )
{
- global $wgMonthNamesEn;
- return $wgMonthNamesEn[$key-1];
+ return $this->getMonthName( $key );
}
function getMonthAbbreviation( $key )
return ucfirst( $string );
}
+ function lcfirst( $s ) {
+ return strtolower( $s{0} ). substr( $s, 1 );
+ }
+
function checkTitleEncoding( $s ) {
global $wgInputEncoding;