Changed <br> and <br/> tags to <br />, for XHTML compliance, as per
[lhc/web/wiklou.git] / languages / Language.php
index 1d58db1..329a4d1 100644 (file)
@@ -58,7 +58,7 @@ if(isset($wgExtraNamespaces)) {
        'highlightbroken' => 1, 'stubthreshold' => 0,
        'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1,
        'showtoolbar' =>1,
-       'date' => 0
+       'date' => 0, 'imagesize' => 2
 );
 
 /* private */ $wgQuickbarSettingsEn = array(
@@ -76,13 +76,6 @@ if(isset($wgExtraNamespaces)) {
        'chick' => 'Chick'
 );
 
-define( 'MW_MATH_PNG',    0 );
-define( 'MW_MATH_SIMPLE', 1 );
-define( 'MW_MATH_HTML',   2 );
-define( 'MW_MATH_SOURCE', 3 );
-define( 'MW_MATH_MODERN', 4 );
-define( 'MW_MATH_MATHML', 5 );
-
 # Validation types
 $wgValidationTypesEn = array (
        '0' => "Style|Awful|Awesome|5",
@@ -132,6 +125,7 @@ define( 'MW_DATE_USER_FORMAT', true );
        'watchdefault',
        'minordefault',
        'previewontop',
+       'previewonfirst',
        'nocache',
 );
 
@@ -221,16 +215,6 @@ $wgLanguageNamesEn =& $wgLanguageNames;
 # hyphen (-). If you need more characters, you may be able to change
 # the regex in MagicWord::initRegex
 
-# NOTE: To turn off "Current Events" in the sidebar,
-# set "currentevents" => ""
-
-# NOTE: To turn off "Disclaimers" in the title links,
-# set "disclaimers" => ""
-
-# NOTE: To turn off "Community portal" in the title links,
-# set "portal" => ""
-
-
 # required for copyrightwarning
 global $wgRightsText;
 
@@ -255,6 +239,7 @@ global $wgRightsText;
 'tog-watchdefault' => 'Add pages you edit to your watchlist',
 'tog-minordefault' => 'Mark all edits minor by default',
 'tog-previewontop' => 'Show preview before edit box and not after it',
+'tog-previewonfirst' => 'Show preview on first edit',
 'tog-nocache' => 'Disable page caching',
 
 # dates
@@ -302,23 +287,28 @@ global $wgRightsText;
 'mainpagetext' => 'Wiki software successfully installed.',
 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
+
+# NOTE: To turn off "Community portal" in the title links,
+# set "portal" => "-"
+
 'portal'               => 'Community portal',
-'portal-url'           => '{{ns:4}}:Community Portal',
+'portal-url'           => 'Project:Community Portal',
 'about'                        => 'About',
 "aboutsite"      => "About {{SITENAME}}",
-"aboutpage"            => "{{ns:4}}:About",
+"aboutpage"            => "Project:About",
 'article' => 'Content page',
 'help'                 => 'Help',
-"helppage"             => "{{ns:12}}:Contents",
+"helppage"             => "Help:Contents",
 "wikititlesuffix" => "{{SITENAME}}",
 "bugreports"   => "Bug reports",
-"bugreportspage" => "{{ns:4}}:Bug_reports",
-'sitesupport'   => 'Donations', # Set a URL in $wgSiteSupportPage in LocalSettings.php
+"bugreportspage" => "Project:Bug_reports",
+'sitesupport'   => '-', # To enable, something like 'Donations', 
+'sitesupport-url' => 'Project:Site support',
 'faq'                  => 'FAQ',
-"faqpage"              => "{{ns:4}}:FAQ",
+"faqpage"              => "Project:FAQ",
 "edithelp"             => "Editing help",
 "newwindow"            => "(opens in new window)",
-"edithelppage" => "{{ns:12}}:Editing",
+"edithelppage" => "Help:Editing",
 'cancel'               => 'Cancel',
 'qbfind'               => 'Find',
 'qbbrowse'             => 'Browse',
@@ -332,9 +322,18 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f
 'mytalk'               => 'My talk',
 'anontalk'             => 'Talk for this IP',
 'navigation' => 'Navigation',
+
+# NOTE: To turn off "Current Events" in the sidebar,
+# set "currentevents" => "-"
+                                      
 'currentevents' => 'Current events',
+'currentevents-url' => 'Current events',
+
+# NOTE: To turn off "Disclaimers" in the title links,
+# set "disclaimers" => "-"
+
 'disclaimers' => 'Disclaimers',
-"disclaimerpage"               => "{{ns:4}}:General_disclaimer",
+"disclaimerpage" => "Project:General_disclaimer",
 "errorpagetitle" => "Error",
 "returnto"             => "Return to $1.",
 "tagline"              => "From {{SITENAME}}",
@@ -377,7 +376,7 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f
 'poweredby'    => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
 'printsubtitle' => "(From {{SERVER}})",
 'protectedpage' => 'Protected page',
-'administrators' => "{{ns:4}}:Administrators",
+'administrators' => "Project:Administrators",
 'sysoptitle'   => 'Sysop access required',
 'sysoptext'            => "The action you have requested can only be
 performed by users with \"sysop\" status.
@@ -487,7 +486,7 @@ 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
-[[{{ns:4}}:Protected page]].
+[[Project:Protected page]].
 
 You can view and copy the source of this page:",
 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
@@ -526,10 +525,12 @@ Your account has been created. Don't forget to change your {{SITENAME}} preferen
 'userexists'   => 'The user name you entered is already in use. Please choose a different name.',
 'youremail'            => 'Your email*',
 'yourrealname'         => 'Your real name*',
+'yourlanguage' => 'Interface language',
+'yourvariant'  => 'Language variant',
 'yournick'             => 'Your nickname (for signatures)',
 'emailforlost' => "Fields marked with a star (*) are optional.  Storing an email address enables people to contact you through the website without you having to reveal your
 email address to them, and it can be used to send you a new password if you forget it.<br /><br />Your real name, if you choose to provide it, will be used for giving you attribution for your work.",
-'prefs-help-userdata' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br/>
+'prefs-help-userdata' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br />
 * <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
 email address to them, and it can be used to send you a new password if you forget it.',
 'loginerror'   => 'Login error',
@@ -540,6 +541,7 @@ email address to them, and it can be used to send you a new password if you forg
 '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.",
+'nosuchusershort'      => "There is no user by the name \"$1\". Check your spelling.",
 'wrongpassword'        => 'The password you entered is incorrect. Please try again.',
 'mailmypassword' => 'Mail me a new password',
 'passwordremindertitle' => "Password reminder from {{SITENAME}}",
@@ -592,7 +594,7 @@ 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
-[[{{ns:4}}:Administrators|administrators]] to discuss the block.
+[[Project: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]].
 
@@ -612,7 +614,7 @@ Your IP address is $3. Please include this address in any queries you make.
 '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 [[{{ns:4}}:Help|help page]] for more info).
+(see the [[Project: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.'' ",
@@ -627,8 +629,8 @@ If you are here by mistake, just click your browser's '''back''' button.",
 'previewconflict' => 'This preview reflects the text in the upper
 text editing area as it will appear if you choose to save.',
 'editing'              => "Editing $1",
-"sectionedit"  => " (section)",
-'commentedit'  => ' (comment)',
+'editingsection'               => "Editing $1 (section)",
+'editingcomment'               => "Editing $1 (comment)",
 'editconflict' => 'Edit conflict: $1',
 'explainconflict' => "Someone else has changed this page since you
 started editing it.
@@ -639,9 +641,10 @@ You will have to merge your changes into the existing text.
 press \"Save page\".\n<p>",
 'yourtext'             => 'Your text',
 'storedversion' => 'Stored version',
-'editingold'   => '<strong>WARNING: You are editing an out-of-date
+'nonunicodebrowser' => "<strong>WARNING: Your browser is not unicode compliant, please change it before editing an article.</strong>",
+'editingold'   => "<strong>WARNING: You are editing an out-of-date
 revision of this page.
-If you save it, any changes made since this revision will be lost.</strong>\n',
+If you save it, any changes made since this revision will be lost.</strong>\n",
 'yourdiff'             => 'Differences',
 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
 considered to be released under the $2 (see $1 for details).
@@ -664,7 +667,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='$wgScript/{{ns:4}}:Protected_page_guidelines'>protected page
+<a href='$wgScript/Project:Protected_page_guidelines'>protected page
 guidelines</a>.",
 'templatesused'        => 'Templates used on this page:',
 
@@ -678,13 +681,15 @@ Please check the URL you used to access this page.\n",
 'loadhist'             => 'Loading page history',
 'currentrev'   => 'Current revision',
 'revisionasof'          => 'Revision as of $1',
-'revisionasofwithlink'  => '(Revision as of $1; $2)',
+'revisionasofwithlink'  => 'Revision as of $1; $2<br />$3 | $4',
+'previousrevision'     => '&larr;Older revision',
+'nextrevision'         => 'Newer revision&rarr;',
 'currentrevisionlink'   => 'view current revision',
 'cur'                  => 'cur',
 'next'                 => 'next',
 'last'                 => 'last',
 'orig'                 => 'orig',
-'histlegend'   => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br/>
+'histlegend'   => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br />
 Legend: (cur) = difference with current version,
 (last) = difference with preceding version, M = minor edit.',
 'history_copyright'    => '-',
@@ -732,7 +737,8 @@ containing all of the search terms will appear in the result).",
 Search in namespaces :<br />
 $1<br />
 $2 List redirects &nbsp; 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>",
+"searchdisabled" => '<p style="margin: 1.5em 2em 1em">{{SITENAME}} search is disabled for performance reasons. You can search via Google in the meantime.
+<span style="font-size: 89%; display: block; margin-left: .2em">Note that their indexes of {{SITENAME}} content may be out of date.</span></p>',
 'googlesearch' => "
 <!-- SiteSearch Google -->
 <FORM method=GET action=\"http://www.google.com/search\">
@@ -763,7 +769,7 @@ to set user preferences.",
 'prefslogintext' => "You are logged in as \"$1\".
 Your internal ID number is $2.
 
-See [[{{ns:4}}:User preferences help]] for help deciphering the options.",
+See [[Project:User preferences help]] for help deciphering the options.",
 'prefsreset'   => 'Preferences have been reset from storage.',
 'qbsettings'   => 'Quickbar settings',
 'qbsettingsnote'       => 'This preference only works in the \'Standard\' and the \'CologneBlue\' skin.',
@@ -807,11 +813,40 @@ from server time (UTC).',
 'guesstimezone' => 'Fill in from browser',
 'emailflag'            => 'Disable e-mail from other users',
 'defaultns'            => 'Search in these namespaces by default:',
+'default'              => 'default',
+
+# User levels special page
+#
 
+# switching pan
+'userlevels-lookup-group' => 'Manage group rights',
+'userlevels-group-edit' => 'Existent groups: ',
+'editgroup' => 'Edit Group',
+'addgroup' => 'Add Group',
+
+'userlevels-lookup-user' => 'Manage user groups',
+'userlevels-user-editname' => 'Enter a username: ',
+'editusergroup' => 'Edit User Groups',
+
+# group editing
+'userlevels-editgroup' => 'Edit group',
+'userlevels-addgroup' => 'Add group',
+'userlevels-editgroup-name' => 'Group name: ',
+'userlevels-editgroup-description' => 'Group description (max 255 characters):<br />',
+'savegroup' => 'Save Group',
+
+# user groups editing
+'userlevels-editusergroup' => 'Edit user groups',
+'saveusergroups' => 'Save User Groups',
+'userlevels-groupsmember' => 'Member of:',
+'userlevels-groupsavailable' => 'Available groups:',
+'userlevels-groupshelp' => 'Select groups you want the user to be removed from or added to.
+Unselected groups will not be changed. You can unselect a group by using CTRL + Left Click',
 # Recent changes
 #
 'changes' => 'changes',
 'recentchanges' => 'Recent changes',
+'recentchanges-url' => 'Special:Recentchanges',
 '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.",
@@ -885,7 +920,7 @@ you may be blocked from uploading if you abuse the system.",
 'filesource' => 'Source',
 'affirmation'  => "I affirm that the copyright holder of this file
 agrees to license it under the terms of the $1.",
-'copyrightpage' => "{{ns:4}}:Copyrights",
+'copyrightpage' => "Project:Copyrights",
 'copyrightpagename' => "{{SITENAME}} copyright",
 'uploadedfiles'        => 'Uploaded files',
 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.',
@@ -898,7 +933,7 @@ agrees to license it under the terms of the $1.",
 'emptyfile'            => 'The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file.',
 'fileexists'           => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.',
 'successfulupload' => 'Successful upload',
-'fileuploaded' => "File uploaded successfully.
+'fileuploaded' => "File $1 uploaded successfully.
 Please follow this link: $2 to the description page and fill
 in information about the file, such as where it came from, when it was
 created and by whom, and anything else you may know about it. If this is an image, you can insert it like this: <tt><nowiki>[[Image:$1|thumb|Description]]</nowiki></tt>",
@@ -906,6 +941,7 @@ created and by whom, and anything else you may know about it. If this is an imag
 'savefile'             => 'Save file',
 'uploadedimage' => "uploaded \"$1\"",
 'uploaddisabled' => 'Sorry, uploading is disabled.',
+'uploadcorrupt' => 'The file is corrupt or has an incorrect extension. Please check the file and upload again.',
 
 # Image list
 #
@@ -932,6 +968,8 @@ this old version, (rev) = revert to this old version.
 'imagelinks'   => 'Image links',
 'linkstoimage' => 'The following pages link to this image:',
 'nolinkstoimage' => 'There are no pages that link to this image.',
+'sharedupload' => 'This file is a shared upload and may be used by other projects.',
+'shareduploadwiki' => 'Please see the [$1 image description page] for further information.',
 
 # Statistics
 #
@@ -956,7 +994,7 @@ That comes to '''$5''' average edits per page, and '''$6''' 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'  => "{{ns:4}}:Links_to_disambiguating_pages",
+'disambiguationspage'  => "Project:Links_to_disambiguating_pages",
 'disambiguationstext'  => "The following pages 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\" target page, which the first redirect should point to.",
@@ -979,6 +1017,7 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 'validate'             => 'Validate page',
 'lonelypages'  => 'Orphaned pages',
 'uncategorizedpages'   => 'Uncategorized pages',
+'uncategorizedcategories'      => 'Uncategorized categories',
 'unusedimages' => 'Unused images',
 'popularpages' => 'Popular pages',
 'nviews'               => '$1 views',
@@ -986,6 +1025,7 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 'nlinks'               => '$1 links',
 'allpages'             => 'All pages',
 'randompage'   => 'Random page',
+'randompage-url'=> 'Special:Randompage',
 'shortpages'   => 'Short pages',
 'longpages'            => 'Long pages',
 'deadendpages'  => 'Dead-end pages',
@@ -993,8 +1033,17 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 'listadmins'   => 'Admins list',
 'specialpages' => 'Special pages',
 'spheading'            => 'Special pages for all users',
+'asksqlpheading' => 'asksql level',
+'blockpheading' => 'block level',
+'createaccountpheading' => 'createaccount level',
+'deletepheading' => 'delete level',
+'userrightspheading' => 'userrights level',
+'siteadminpheading' => 'siteadmin level',
+
+/** obsoletes
 'sysopspheading' => 'For sysop use only',
 'developerspheading' => 'For developer use only',
+*/
 'protectpage'  => 'Protect page',
 'recentchangeslinked' => 'Related changes',
 'rclsub'               => "(to pages linked from \"$1\")",
@@ -1008,6 +1057,10 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 a direct URL, and so may still be listed here despite being
 in active use.',
 'booksources'  => 'Book sources',
+'categoriespagetext' => 'The following categories exists in the wiki.',
+'data' => 'Data',
+'userlevels' => 'User levels management',
+
 # 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
@@ -1015,7 +1068,8 @@ about books you are looking for.
 {{SITENAME}} is not affiliated with any of these businesses, and
 this list should not be construed as an endorsement.",
 'isbn' => 'ISBN',
-'rfcurl' =>  "http://www.faqs.org/rfcs/rfc$1.html",
+'rfcurl' =>  'http://www.faqs.org/rfcs/rfc$1.html',
+'pubmedurl' =>  'http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1',
 'alphaindexline' => "$1 to $2",
 'version'              => 'Version',
 'log'          => 'Logs',
@@ -1025,7 +1079,8 @@ You can narrow down the view by selecting a log type, the user name, or the affe
 # Special:Allpages
 'nextpage'          => 'Next page ($1)',
 'articlenamespace'  => '(articles)',
-'allpagesformtext'  => 'Display pages starting at: $1 Choose namespace: $2 $3',
+'allpagesformtext1' => 'Display pages starting at: $1',
+'allpagesformtext2' => 'Choose namespace: $1 $2',
 'allarticles'       => 'All articles',
 'allpagesprev'      => 'Previous',
 'allpagesnext'      => 'Next',
@@ -1067,7 +1122,7 @@ or has chosen not to receive e-mail from other users.',
 '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 [[{{ns:-1}}:Watchlist|watchlist]].
+'addedwatchtext'       => "The page \"$1\" has been added to your [[Special:Watchlist|watchlist]].
 Future changes to this page and its associated Talk page will be listed there,
 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
 make it easier to pick out.
@@ -1115,7 +1170,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
-[[{{ns:4}}:Policy]].",
+[[Project:Policy]].",
 'confirmcheck' => 'Yes, I really want to delete this.',
 'actioncomplete' => 'Action complete',
 'deletedtext'  => "\"$1\" has been deleted.
@@ -1141,12 +1196,13 @@ Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
 '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 [[{{ns:4}}:Protected page]] for more information.",
-'protectedarticle' => "protected [[$1]]",
-'unprotectedarticle' => "unprotected [[$1]]",
+See [[Project:Protected page]] for more information.",
+'protectedarticle' => "protected $1",
+'unprotectedarticle' => "unprotected $1",
 'protectsub' =>"(Protecting \"$1\")",
 'confirmprotecttext' => 'Do you really want to protect this page?',
 'confirmprotect' => 'Confirm protection',
+'protectmoveonly' => 'Protect from moves only',
 'protectcomment' => 'Reason for protecting',
 'unprotectsub' =>"(Unprotecting \"$1\")",
 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
@@ -1168,8 +1224,9 @@ will not be automatically replaced.',
 'undeleterevision' => "Deleted revision as of $1",
 'undeletebtn' => 'Restore!',
 'undeletedarticle' => "restored \"$1\"",
+'undeletedrevisions' => "$1 revisions restored",
 'undeletedtext'   => "[[$1]] has been successfully restored.
-See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.",
+See [[Special:Log/delete]] for a record of recent deletions and restorations.",
 
 # Contributions
 #
@@ -1199,7 +1256,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 [[{{ns:4}}:Policy|policy]].
+accordance with [[Project:Policy|policy]].
 Fill in a specific reason below (for example, citing particular
 pages that were vandalized).",
 'ipaddress'            => 'IP Address/username',
@@ -1301,8 +1358,8 @@ for a newer revision, but also keep your other settings for this article in
 this revision, just select which option you intend to <i>change</i>, and
 merging will fill in the other options with your previous settings.',
 'val_noop' => 'No opinion',
-'val_percent' => '<b>$1%</b><br>($2 of $3 points<br>by $4 users)',
-'val_percent_single' => '<b>$1%</b><br>($2 of $3 points<br>by one user)',
+'val_percent' => '<b>$1%</b><br />($2 of $3 points<br />by $4 users)',
+'val_percent_single' => '<b>$1%</b><br />($2 of $3 points<br />by one user)',
 'val_total' => 'Total',
 'val_version' => 'Version',
 'val_tab' => 'Validate',
@@ -1388,11 +1445,14 @@ article [[Train]].
 
 'allmessages'  => 'All system messages',
 'allmessagestext'      => 'This is a list of all system messages available in the MediaWiki: namespace.',
+'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site.',
+'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',
 
 # Thumbnails
 
 'thumbnail-more'       => 'Enlarge',
 'missingimage'         => "<b>Missing image</b><br /><i>$1</i>\n",
+'filemissing'          => 'File missing',
 
 # Special:Import
 'import'       => 'Import pages',
@@ -1444,10 +1504,11 @@ article [[Train]].
 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.',
 'spamprotectionmatch' => 'The following text is what triggered our spam filter: $1',
 'subcategorycount' => "There are $1 subcategories to this category.",
-'subcategorycount1' => "There is $1 subcategorie to this category.",
+'subcategorycount1' => "There is $1 subcategory to this category.",
 'categoryarticlecount' => "There are $1 articles in this category.",
 'categoryarticlecount1' => "There is $1 article in this category.",
 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
+'listingcontinuesabbrev' => " cont.",
 
 # Info page
 "infosubtitle" => "Information for page",
@@ -1509,7 +1570,7 @@ ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
-ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linking to this page\');
+ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linked from this page\');
 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
@@ -1535,6 +1596,45 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
 'previousdiff' => '&larr; Go to previous diff',
 'nextdiff' => 'Go to next diff &rarr;',
 
+'imagemaxsize' => 'Limit images on image description pages to: ',
+'showbigimage' => 'Download high resolution version ($1x$2, $3 KB)',
+
+'newimages' => 'New images gallery',
+
+'sitesettings'                  => 'Site Settings',
+'sitesettings-features'         => 'Features',
+'sitesettings-permissions'      => 'Permissions',
+'sitesettings-memcached'        => 'Memcache Daemon',
+'sitesettings-debugging'        => 'Debugging',
+'sitesettings-caching'          => 'Page caching',
+'sitesettings-wgShowIPinHeader' => 'Show IP in header (for non-logged in users)',
+'sitesettings-wgUseDatabaseMessages' => 'Use database messages for user interface labels',
+'sitesettings-wgUseCategoryMagic' => 'Enable categories',
+'sitesettings-wgUseCategoryBrowser' => 'Enable experimental dmoz-like category browsing. Outputs things like:  Encyclopedia > Music > Style of Music > Jazz',
+'sitesettings-wgHitcounterUpdateFreq' => 'Hit counter update frequency',
+'sitesettings-wgAllowExternalImages' => 'Allow to include external images into articles',
+'sitesettings-permissions-readonly' => 'Maintenance mode: Disable write access',
+'sitesettings-permissions-whitelist' => 'Whitelist mode',
+'sitesettings-permissions-banning' => 'User banning',
+'sitesettings-permissions-miser' => 'Performance settings',
+'sitesettings-wgReadOnly' => 'Readonly mode',
+'sitesettings-wgReadOnlyFile' => 'Readonly message file',
+'sitesettings-wgWhitelistEdit' => 'Users must be logged in to edit',
+'sitesettings-wgWhitelistRead' => 'Anonymous users may only read these pages:',
+'sitesettings-wgWhitelistAccount-user' => 'Users may create accounts themself',
+'sitesettings-wgWhitelistAccount-sysop' => 'Sysops may create accounts for users',
+'sitesettings-wgWhitelistAccount-developer' => 'Developers may create accounts for users',
+'sitesettings-wgSysopUserBans' => 'Sysops may block logged-in users',
+'sitesettings-wgSysopRangeBans' => 'Sysops may block IP-ranges',
+'sitesettings-wgDefaultBlockExpiry' => 'By default, blocks expire after:',
+'sitesettings-wgMiserMode' => 'Enable miser mode, which disables most "expensive" features',
+'sitesettings-wgDisableQueryPages' => 'When in miser mode, disable all query pages, not only "expensive" ones',
+'sitesettings-wgUseWatchlistCache' => 'Generate a watchlist once every hour or so',
+'sitesettings-wgWLCacheTimeout' => 'The hour or so mentioned above (in seconds):',
+'sitesettings-cookies' => 'Cookies',
+'sitesettings-performance' => 'Performance',
+'sitesettings-images' => 'Images',
+
 
 );
 
@@ -1592,7 +1692,7 @@ class Language {
        }
 
        function specialPage( $name ) {
-               return $this->getNsText( Namespace::getSpecial() ) . ':' . $name;
+               return $this->getNsText(NS_SPECIAL) . ':' . $name;
        }
 
        function getQuickbarSettings() {
@@ -1626,7 +1726,6 @@ class Language {
        }
 
        function getUserToggle( $tog ) {
-               $togs =& $this->getUserToggles();
                return wfMsg("tog-".$tog);
        }
 
@@ -1643,32 +1742,27 @@ class Language {
                return $wgLanguageNamesEn[$code];
        }
 
-       function getMonthName( $key )
-       {
+       function getMonthName( $key ) {
                global $wgMonthNamesEn;
                return wfMsg($wgMonthNamesEn[$key-1]);
        }
 
        /* by default we just return base form */
-       function getMonthNameGen( $key )
-       {
+       function getMonthNameGen( $key ) {
                return $this->getMonthName( $key );
        }
 
-       function getMonthAbbreviation( $key )
-       {
+       function getMonthAbbreviation( $key ) {
                global $wgMonthAbbreviationsEn;
                return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
        }
 
-       function getWeekdayName( $key )
-       {
+       function getWeekdayName( $key ) {
                global $wgWeekdayNamesEn;
                return wfMsg($wgWeekdayNamesEn[$key-1]);
        }
 
-       function userAdjust( $ts )
-       {
+       function userAdjust( $ts ) {
                global $wgUser, $wgLocalTZoffset;
 
                $tz = $wgUser->getOption( 'timecorrection' );
@@ -1694,8 +1788,7 @@ class Language {
                return date( 'YmdHis', $t );
        }
 
-       function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT )
-       {
+       function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT ) {
                global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
 
                $ts=wfTimestamp(TS_MW,$ts);
@@ -1725,8 +1818,7 @@ class Language {
                }
        }
 
-       function time( $ts, $adj = false, $seconds = false )
-       {
+       function time( $ts, $adj = false, $seconds = false ) {
                $ts=wfTimestamp(TS_MW,$ts);
 
                if ( $adj ) { $ts = $this->userAdjust( $ts ); }
@@ -1738,44 +1830,37 @@ class Language {
                return $this->formatNum( $t );
        }
 
-       function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT )
-       {
+       function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT ) {
                $ts=wfTimestamp(TS_MW,$ts);
 
                return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj, $format );
        }
 
-       function rfc1123( $ts )
-       {
+       function rfc1123( $ts ) {
                return date( 'D, d M Y H:i:s T', $ts );
        }
 
-       function getValidSpecialPages()
-       {
+       function getValidSpecialPages() {
                global $wgValidSpecialPagesEn;
                return $wgValidSpecialPagesEn;
        }
 
-       function getSysopSpecialPages()
-       {
+       function getSysopSpecialPages() {
                global $wgSysopSpecialPagesEn;
                return $wgSysopSpecialPagesEn;
        }
 
-       function getDeveloperSpecialPages()
-       {
+       function getDeveloperSpecialPages() {
                global $wgDeveloperSpecialPagesEn;
                return $wgDeveloperSpecialPagesEn;
        }
 
-       function getMessage( $key )
-       {
+       function getMessage( $key ) {
                global $wgAllMessagesEn;
                return @$wgAllMessagesEn[$key];
        }
 
-       function getAllMessages()
-       {
+       function getAllMessages() {
                global $wgAllMessagesEn;
                return $wgAllMessagesEn;
        }
@@ -1821,6 +1906,12 @@ class Language {
                return strtolower( $in );
        }
 
+       function convertForSearchResult( $termsArray ) {
+               # some languages, e.g. Chinese, need to do a conversion
+               # in order for search results to be displayed correctly
+               return $termsArray;
+       }       
+
        function firstChar( $s ) {
                # Get the first character of a string. In ASCII, return
                # first byte of the string. UTF8 and others have to
@@ -1874,15 +1965,13 @@ class Language {
        function linkPrefixExtension() { return false; }
 
 
-       function &getMagicWords()
-       {
+       function &getMagicWords() {
                global $wgMagicWordsEn;
                return $wgMagicWordsEn;
        }
 
        # Fill a MagicWord object with data from here
-       function getMagic( &$mw )
-       {
+       function getMagic( &$mw ) {
                $raw =& $this->getMagicWords();
                if( !isset( $raw[$mw->mId] ) ) {
                        # Fall back to English if local list is incomplete
@@ -1894,8 +1983,7 @@ class Language {
        }
 
        # Italic is unsuitable for some languages
-       function emphasize( $text )
-       {
+       function emphasize( $text ) {
                return '<em>'.$text.'</em>';
        }
 
@@ -1950,10 +2038,203 @@ class Language {
        function convertGrammar( $word, $case ) {
                return $word;
        }
+
+       # languages like Chinese need to be segmented in order for the diff
+       # to be of any use
+       function segmentForDiff( $text ) {
+               return $text;
+       }
+       # and unsegment to show the result
+       function unsegmentForDiff( $text ) {
+               return $text;
+       }
+
+       # convert text to different variants of a language. the automatic
+       # conversion is done in autoConvert(). here we parse the text 
+       # marked with -{}-, which specifies special conversions of the 
+       # text that can not be accomplished in autoConvert()
+       #
+       # syntax of the markup:
+       # -{code1:text1;code2:text2;...}-  or
+       # -{text}- in which case no conversion should take place for text
+       function convert( $text , $isTitle=false) {
+               global $wgDisableLangConversion;
+               if($wgDisableLangConversion)
+                       return $text; 
+               if(sizeof($this->getVariants())<2) 
+                       return $text;
+               
+               if($isTitle)
+                       return $this->convertTitle($text);
+
+               // no conversion if redirecting
+               if(substr($text,0,9) == "#REDIRECT") {
+                       return $text;
+               }
+
+
+               $plang = $this->getPreferredVariant();
+               $fallback = $this->getVariantFallback($plang);
+
+               $tarray = explode("-{", $text);
+               $tfirst = array_shift($tarray);
+               $text = $this->autoConvert($tfirst);
+               
+               foreach($tarray as $txt) {
+                       $marked = explode("}-", $txt);
+                       
+                       $choice = explode(";", $marked{0});
+                       if(!array_key_exists(1, $choice)) {
+                               /* a single choice */
+                               $text .= $choice{0};
+                       } else {
+                               $choice1=false;
+                               $choice2=false;
+                               foreach($choice as $c) {
+                                       $v = explode(":", $c);
+                                       if(!array_key_exists(1, $v)) {
+                                               //syntax error in the markup, give up
+                                               break;                  
+                                       }
+                                       $code = trim($v{0});
+                                       $content = trim($v{1});
+                                       if($code == $plang) {
+                                               $choice1 = $content;
+                                               break;
+                                       }
+                                       if($code == $fallback)
+                                               $choice2 = $content;
+                               }
+                               if ( $choice1 )
+                                       $text .= $choice1;
+                               elseif ( $choice2 )
+                                       $text .= $choice2;
+                               else
+                                       $text .= $marked{0};
+                       }
+                       if(array_key_exists(1, $marked))
+                               $text .= $this->autoConvert($marked{1});
+               }
+               
+               return $text;
+       }
+
+       /* this does the real conversion to the preferred variant.
+          see LanguageZh.php for example
+       */
+       function autoConvert( $text, $toVariant=false ) {
+               return $text;
+       }
+
+       /* returns all possible variants of the given text
+
+          normally we will just call autoConvert() for each variant, but
+          in case of zh where the conversion is performed by zhdaemon, 
+          possibily over the network, we want to 
+          cut down the number of connections to save time. 
+       */
+       function autoConvertToAllVariants($text) {
+               $ret = array();
+               $variants = $this->getVariants();
+               if(sizeof($variants)==1) {
+                       return $false;
+               }
+               foreach( $variants as $lang=>$v ) {
+                       $ret[$v] = $this->autoConvert( $text, $v );
+               }
+               return $ret;
+       }
+
+       /* hook for converting the title, which may needs special treatment
+       */
+       function convertTitle( $text ) {
+               return $text;
+       }
+
+       # returns a list of language variants for conversion.
+       # right now mainly used in the Chinese conversion
+       function getVariants() {
+               $lang = strtolower( substr( get_class( $this ), 8 ) );
+               return array( $lang );
+       }
+       
+       # in case some variant is not defined in the markup, we need
+       # to have some fallback. for example, in zh, normally people
+       # will define zh-cn and zh-tw, but less so for zh-sg or zh-hk.
+       # when zh-sg is preferred but not defined, we will pick zh-cn
+       # in this case. right now this is only used by zh.
+       function getVariantFallback( $v ) {
+               return false;
+       }
+
+       function getPreferredVariant() {
+               global $wgUser;
+
+               $lang ='';              
+
+               // if user logged in, get in from user's preference
+               if( $wgUser->getID() != 0 ) {
+                       $lang = $wgUser->getOption( 'variant' );
+               }
+               if($lang != '')
+                       return $lang;
+
+               // if we have multiple variants for this langauge, 
+               // pick the first one that's not utf8 (it could be
+               // utf8 if the language does not have a language file)
+               $v = $this->getVariants();
+               if( !empty( $v ) ) {
+                       foreach ($v as $v2) {
+                               if($v2 != 'utf8') {
+                                       $lang = $v2;
+                                       break;
+                               }
+                       }
+               }
+               if($lang != '')
+                       return $lang;
+
+               // get it from the class name
+               $lang = strtolower( substr( get_class( $this ), 8 ) );
+               if($lang == 'utf8')
+                       $lang = 'en';
+               return $lang;
+       }
+
+       /* if a language supports multiple variants, it is
+               possible that non-existing link in one variant
+               actually exists in another variant. this function 
+               tries to find it.
+
+       */
+       function findVariantLink( &$link, &$nt ) {
+               static $count=0; //used to limit this operation
+               static $cache=array();
+               global $wgDisableLangConversion;
+               $count++;
+               if( $wgDisableLangConversion || $count > 50)
+                       return;
+               $variants = $this->autoConvertToAllVariants($link);
+               if($variants == false) //give up
+                       return;
+               foreach( $variants as $v ) {
+                       if(isset($cache[$v]))
+                               continue;
+                       $cache[$v] = 1;
+                       $varnt = Title::newFromText( $v );
+                       if( $varnt && $varnt->getArticleID() > 0 ) {
+                               $nt = $varnt;
+                               $link = $v;
+                               break;
+                       }
+               }
+       }
 }
 
 # This should fail gracefully if there's not a localization available
-include_once( 'Language' . ucfirst( $wgLanguageCode ) . '.php' );
+wfSuppressWarnings();
+include_once( 'Language' . str_replace( '-', '_', ucfirst( $wgLanguageCode ) ) . '.php' );
+wfRestoreWarnings();
 
 }
 ?>