+ nonunicodebrowser message
[lhc/web/wiklou.git] / languages / Language.php
index 6a0efbb..8b6ff6f 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-if( defined( "MEDIAWIKI" ) ) {
+if( defined( 'MEDIAWIKI' ) ) {
 
 #
 # In general you should not make customizations in these language files
@@ -32,8 +32,8 @@ if($wgMetaNamespace === FALSE)
        NS_TALK             => 'Talk',
        NS_USER             => 'User',
        NS_USER_TALK        => 'User_talk',
-       NS_WIKIPEDIA        => $wgMetaNamespace,
-       NS_WIKIPEDIA_TALK   => $wgMetaNamespace . '_talk',
+       NS_PROJECT          => $wgMetaNamespace,
+       NS_PROJECT_TALK     => $wgMetaNamespace . '_talk',
        NS_IMAGE            => 'Image',
        NS_IMAGE_TALK       => 'Image_talk',
        NS_MEDIAWIKI        => 'MediaWiki',
@@ -46,6 +46,10 @@ if($wgMetaNamespace === FALSE)
        NS_CATEGORY_TALK    => 'Category_talk'
 );
 
+if(isset($wgExtraNamespaces)) {
+       $wgNamespaceNamesEn=$wgNamespaceNamesEn+$wgExtraNamespaces;
+}
+
 /* private */ $wgDefaultUserOptionsEn = array(
        'quickbar' => 1, 'underline' => 1, 'hover' => 1,
        'cols' => 80, 'rows' => 25, 'searchlimit' => 20,
@@ -54,7 +58,7 @@ if($wgMetaNamespace === FALSE)
        'highlightbroken' => 1, 'stubthreshold' => 0,
        'previewontop' => 1, 'editsection'=>1,'editsectiononrightclick'=>0, 'showtoc'=>1,
        'showtoolbar' =>1,
-       'date' => 0
+       'date' => 0, 'imagesize' => 2
 );
 
 /* private */ $wgQuickbarSettingsEn = array(
@@ -68,24 +72,25 @@ if($wgMetaNamespace === FALSE)
        'davinci' => 'DaVinci',
        'mono' => 'Mono',
        'monobook' => 'MonoBook',
-       'myskin' => 'MySkin'
+       'myskin' => 'MySkin',
+       '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 );
+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",
-       "1" => "Legal|Illegal|Legal|5",
-       "2" => "Completeness|Stub|Extensive|5",
-       "3" => "Facts|Wild guesses|Solid as a rock|5",
-       "4" => "Suitable for 1.0 (paper)|No|Yes|2",
-       "5" => "Suitable for 1.0 (CD)|No|Yes|2"
+       '0' => "Style|Awful|Awesome|5",
+       '1' => "Legal|Illegal|Legal|5",
+       '2' => "Completeness|Stub|Extensive|5",
+       '3' => "Facts|Wild guesses|Solid as a rock|5",
+       '4' => "Suitable for 1.0 (paper)|No|Yes|2",
+       '5' => "Suitable for 1.0 (CD)|No|Yes|2"
 );
 
 /* private */ $wgMathNamesEn = array(
@@ -98,8 +103,8 @@ $wgValidationTypesEn = array (
 );
 
 # Whether to use user or default setting in Language::date()
-define( "MW_DATE_DEFAULT", false );
-define( "MW_DATE_USER_FORMAT", true );
+define( 'MW_DATE_DEFAULT', false );
+define( 'MW_DATE_USER_FORMAT', true );
 
 /* private */ $wgDateFormatsEn = array(
        'No preference',
@@ -127,19 +132,20 @@ define( "MW_DATE_USER_FORMAT", true );
        'watchdefault',
        'minordefault',
        'previewontop',
+       'previewonfirst',
        'nocache',
 );
 
 /* private */ $wgBookstoreListEn = array(
-       "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN",
-       "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1",
-       "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
-       "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
+       'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
+       'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
+       'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
+       'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1'
 );
 
 # Read language names
 global $wgLanguageNames;
-require_once( "Names.php" );
+require_once( 'Names.php' );
 
 $wgLanguageNamesEn =& $wgLanguageNames;
 
@@ -205,7 +211,8 @@ $wgLanguageNamesEn =& $wgLanguageNames;
        MAG_NS                   => array( 0,    'NS:'                    ),
        MAG_LOCALURL             => array( 0,    'LOCALURL:'              ),
        MAG_LOCALURLE            => array( 0,    'LOCALURLE:'             ),
-       MAG_SERVER               => array( 0,    'SERVER'                 )
+       MAG_SERVER               => array( 0,    'SERVER'                 ),
+       MAG_GRAMMAR              => array( 0,    'GRAMMAR:'               )
 );
 
 #-------------------------------------------------------------------
@@ -215,15 +222,8 @@ $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;
 
 /* private */ $wgAllMessagesEn = array(
 'special_version_prefix' => '&nbsp;',
@@ -246,6 +246,7 @@ $wgLanguageNamesEn =& $wgLanguageNames;
 '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
@@ -293,10 +294,14 @@ $wgLanguageNamesEn =& $wgLanguageNames;
 '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',
 'about'                        => 'About',
-"aboutwikipedia" => "About {{SITENAME}}",
+"aboutsite"      => "About {{SITENAME}}",
 "aboutpage"            => "{{ns:4}}:About",
 'article' => 'Content page',
 'help'                 => 'Help',
@@ -304,7 +309,8 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f
 "wikititlesuffix" => "{{SITENAME}}",
 "bugreports"   => "Bug reports",
 "bugreportspage" => "{{ns:4}}:Bug_reports",
-'sitesupport'   => 'Donations', # Set a URL in $wgSiteSupportPage in LocalSettings.php
+'sitesupport'   => 'Donations', 
+'sitesupport-url' => '{{ns:4}}:Site support',
 'faq'                  => 'FAQ',
 "faqpage"              => "{{ns:4}}:FAQ",
 "edithelp"             => "Editing help",
@@ -323,12 +329,21 @@ 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" => "{{ns:4}}:General_disclaimer",
 "errorpagetitle" => "Error",
 "returnto"             => "Return to $1.",
-"fromwikipedia"        => "From {{SITENAME}}",
+"tagline"              => "From {{SITENAME}}",
 'whatlinkshere'        => 'Pages that link here',
 'help'                 => 'Help',
 'search'               => 'Search',
@@ -361,10 +376,10 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f
 'imagepage' =>         'View image page',
 'viewtalkpage' => 'View discussion',
 'otherlanguages' => 'Other languages',
-'redirectedfrom' => "(Redirected from $1)",
-'lastmodified' => "This page was last modified $1.",
-'viewcount'            => "This page has been accessed $1 times.",
-'copyright'    => "Content is available under $1.",
+'redirectedfrom' => '(Redirected from $1)',
+'lastmodified' => 'This page was last modified $1.',
+'viewcount'            => 'This page has been accessed $1 times.',
+'copyright'    => 'Content is available under $1.',
 'poweredby'    => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
 'printsubtitle' => "(From {{SERVER}})",
 'protectedpage' => 'Protected page',
@@ -380,7 +395,7 @@ See $1.",
 'bureaucrattitle'      => 'Bureaucrat access required',
 "bureaucrattext"       => "The action you have requested can only be
 performed by sysops with  \"bureaucrat\" status.",
-'nbytes'               => "$1 bytes",
+'nbytes'               => '$1 bytes',
 'go'                   => 'Go',
 'ok'                   => 'OK',
 'sitetitle'            => "{{SITENAME}}",
@@ -424,8 +439,7 @@ recognized by the wiki.',
 'error'                        => 'Error',
 'databaseerror' => 'Database error',
 'dberrortext'  => "A database query syntax error has occurred.
-This could be because of an illegal search query (see $5),
-or it may indicate a bug in the software.
+This may indicate a bug in the software.
 The last attempted database query was:
 <blockquote><tt>$1</tt></blockquote>
 from within function \"<tt>$2</tt>\".
@@ -493,8 +507,9 @@ 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 {{SITENAME}} preferences.",
+'welcomecreation' => "== Welcome, $1! ==
+
+Your account has been created. Don't forget to change your {{SITENAME}} preferences.",
 
 'loginpagetitle' => 'User login',
 'yourname'             => 'Your user name',
@@ -517,6 +532,8 @@ Don't forget to change your {{SITENAME}} preferences.",
 '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.",
@@ -531,6 +548,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}}",
@@ -630,19 +648,24 @@ 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',
-# FIXME: This is inappropriate for third-party use!
 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
-considered to be released under the GNU Free Documentation License
-(see $1 for details).
+considered to be released under the $2 (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 />
 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>",
+'copyrightwarning2' => "Please note that all contributions to {{SITENAME}}
+may be edited, altered, or removed by other contributors.
+If you don't want your writing to be edited mercilessly, 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 (see $1 for details).
+<strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
 'longpagewarning' => "WARNING: This page is $1 kilobytes long; some
 browsers may have problems editing pages approaching or longer than 32kb.
 Please consider breaking the page into smaller sections.",
@@ -653,6 +676,7 @@ the text into a text file and save it for later.',
 users with sysop privileges can edit it. Be sure you are following the
 <a href='$wgScript/{{ns:4}}:Protected_page_guidelines'>protected page
 guidelines</a>.",
+'templatesused'        => 'Templates used on this page:',
 
 # History pages
 #
@@ -663,7 +687,11 @@ guidelines</a>.",
 Please check the URL you used to access this page.\n",
 'loadhist'             => 'Loading page history',
 'currentrev'   => 'Current revision',
-'revisionasof' => "Revision as of $1",
+'revisionasof'          => 'Revision as of $1',
+'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',
@@ -686,9 +714,7 @@ Legend: (cur) = difference with current version,
 # Search results
 #
 'searchresults' => 'Search results',
-'searchhelppage' => "{{ns:4}}:Searching",
-'searchingwikipedia' => "Searching {{SITENAME}}",
-'searchresulttext' => "For more information about searching {{SITENAME}}, see $1.",
+'searchresulttext' => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
 'searchquery'  => "For query \"$1\"",
 'badquery'             => 'Badly formed search query',
 'badquerytext' => 'We could not process your query.
@@ -707,9 +733,9 @@ and the text of $3 pages.",
 'prevn'                        => "previous $1",
 'nextn'                        => "next $1",
 'viewprevnext' => "View ($1) ($2) ($3).",
-'showingresults' => "Showing below <b>$1</b> results starting with #<b>$2</b>.",
+'showingresults' => "Showing below up to <b>$1</b> results starting with #<b>$2</b>.",
 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
-'nonefound'            => "<strong>Note</strong>: unsuccessful searches are
+'nonefound'            => "'''Note''': unsuccessful searches are
 often caused by searching for common words like \"have\" and \"from\",
 which are not indexed, or by specifying more than one search term (only pages
 containing all of the search terms will appear in the result).",
@@ -718,7 +744,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\">
@@ -794,10 +821,38 @@ from server time (UTC).',
 'emailflag'            => 'Disable e-mail from other users',
 'defaultns'            => 'Search in these namespaces by 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.",
@@ -816,6 +871,7 @@ from server time (UTC).',
 'nchanges'             => "$1 changes",
 'minoreditletter' => 'm',
 'newpageletter' => 'N',
+'sectionlink' => '&rarr;',
 
 # Upload
 #
@@ -829,17 +885,16 @@ from server time (UTC).',
 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=\"{{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=\"{{localurle:Special:Imagelist}}\">list of uploaded images</a>.
-Uploads and deletions are logged on the " .
-"<a href=\"{{localurle:Project:Upload_log}}\">upload log</a>.
-</p><p>Use the form below to upload new image files for use in
+'uploadtext'   =>
+"'''STOP!''' Before you upload here,
+make sure to read and follow the [[Project:Image use policy|image use policy]].
+
+To view or search previously uploaded images,
+go to the [[Special:Imagelist|list of uploaded images]].
+Uploads and deletions are logged on the
+[[Project:Upload log|upload log]].
+
+Use the form below to upload new image files for use in
 illustrating your pages.
 On most browsers, you will see a \"Browse...\" button, which will
 bring up your operating system's standard file open dialog.
@@ -849,23 +904,22 @@ You must also check the box affirming that you are not
 violating any copyrights by uploading the file.
 Press the \"Upload\" button to finish the upload.
 This may take some time if you have a slow internet connection.
-<p>The preferred formats are JPEG for photographic images, PNG
+
+The preferred formats are JPEG for photographic images, PNG
 for drawings and other iconic images, and OGG for sounds.
 Please name your files descriptively to avoid confusion.
 To include the image in a page, use a link in the form
-<b>[[{{ns:6}}:file.jpg]]</b> or <b>[[{{ns:6}}:file.png|alt text]]</b>
-or <b>[[{{ns:-2}}:file.ogg]]</b> for sounds.
-<p>Please note that as with wiki pages, others may edit or
+'''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''' or
+'''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
+'''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for sounds.
+
+Please note that as with wiki pages, others may edit or
 delete your uploads if they think it serves the project, and
 you may be blocked from uploading if you abuse the system.",
 
 'uploadlog'            => 'upload log',
 'uploadlogpage' => 'Upload_log',
-'uploadlogpagetext' => 'Below is a list of the most recent file uploads.
-All times shown are server time (UTC).
-<ul>
-</ul>
-',
+'uploadlogpagetext' => 'Below is a list of the most recent file uploads.',
 'filename'             => 'Filename',
 'filedesc'             => 'Summary',
 'filestatus' => 'Copyright status',
@@ -893,6 +947,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
 #
@@ -912,6 +967,7 @@ created and by whom, and anything else you may know about it. If this is an imag
 'imghistory'   => 'Image history',
 'revertimg'            => 'rev',
 'deleteimg'            => 'del',
+'deleteimgcompletely'          => 'Delete all revisions',
 '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>.',
@@ -972,6 +1028,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',
@@ -994,6 +1051,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
@@ -1004,11 +1065,15 @@ this list should not be construed as an endorsement.",
 'rfcurl' =>  "http://www.faqs.org/rfcs/rfc$1.html",
 'alphaindexline' => "$1 to $2",
 'version'              => 'Version',
+'log'          => 'Logs',
+'alllogstext'  => 'Combined display of upload, deletion, protection, blocking, and sysop logs.
+You can narrow down the view by selecting a log type, the user name, or the affected page.',
 
-# Specific to All pages
+# 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',
@@ -1105,11 +1170,7 @@ consequences, and that you are doing this in accordance with
 See $2 for a record of recent deletions.",
 'deletedarticle' => "deleted \"$1\"",
 'dellogpage'   => 'Deletion_log',
-'dellogpagetext' => 'Below is a list of the most recent deletions.
-All times shown are server time (UTC).
-<ul>
-</ul>
-',
+'dellogpagetext' => 'Below is a list of the most recent deletions.',
 'deletionlog'  => 'deletion log',
 'reverted'             => 'Reverted to earlier revision',
 'deletecomment'        => 'Reason for deletion',
@@ -1155,6 +1216,7 @@ 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.",
 
@@ -1357,16 +1419,26 @@ title. Please merge them manually.',
 # Export
 
 'export'               => 'Export pages',
-'exporttext'   => 'You can export the text and editing history of a particular
-page or set of pages wrapped in some XML; this can then be imported into another
-wiki running MediaWiki software, transformed, or just kept for your private
-amusement.',
+'exporttext'   => 'You can export the text and editing history of a particular page or
+set of pages wrapped in some XML. In the future, this may then be imported into another
+wiki running MediaWiki software, although there is no support for this feature in the
+current version.
+
+To export article pages, enter the titles in the text box below, one title per line, and
+select whether you want the current version as well as all old versions, with the page
+history lines, or just the current version with the info about the last edit.
+
+In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
+article [[Train]].
+',
 'exportcuronly'        => 'Include only the current revision, not the full history',
 
 # Namespace 8 related
 
 'allmessages'  => 'All system messages',
 'allmessagestext'      => 'This is a list of all system messages available in the MediaWiki: namespace.',
+'allmessagesnotsupportedUI' => 'Your current interface language is not supported by Special:AllMessages at this site.',
+'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',
 
 # Thumbnails
 
@@ -1505,7 +1577,53 @@ ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
-'
+',
+
+# image deletion
+'deletedrevision' => 'Deleted old revision $1.',
+
+# browsing diffs
+'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',
 
 
 );
@@ -1564,7 +1682,7 @@ class Language {
        }
 
        function specialPage( $name ) {
-               return $this->getNsText( Namespace::getSpecial() ) . ':' . $name;
+               return $this->getNsText(NS_SPECIAL) . ':' . $name;
        }
 
        function getQuickbarSettings() {
@@ -1647,8 +1765,8 @@ class Language {
                if ( $tz === '' ) {
                        $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
                        $minDiff = 0;
-               } elseif ( strpos( $tz, ":" ) !== false ) {
-                       $tzArray = explode( ":", $tz );
+               } elseif ( strpos( $tz, ':' ) !== false ) {
+                       $tzArray = explode( ':', $tz );
                        $hrDiff = intval($tzArray[0]);
                        $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
                } else {
@@ -1670,6 +1788,7 @@ class Language {
        {
                global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
 
+               $ts=wfTimestamp(TS_MW,$ts);
                if ( $adj ) { $ts = $this->userAdjust( $ts ); }
                if ( $wgUseDynamicDates ) {
                        if ( $format == MW_DATE_USER_FORMAT ) {
@@ -1698,6 +1817,8 @@ class Language {
 
        function time( $ts, $adj = false, $seconds = false )
        {
+               $ts=wfTimestamp(TS_MW,$ts);
+
                if ( $adj ) { $ts = $this->userAdjust( $ts ); }
 
                $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
@@ -1709,6 +1830,8 @@ class Language {
 
        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 );
        }
 
@@ -1762,13 +1885,13 @@ class Language {
        }
 
        function checkTitleEncoding( $s ) {
-        global $wgInputEncoding;
+               global $wgInputEncoding;
 
-        # Check for UTF-8 URLs; Internet Explorer produces these if you
+               # Check for UTF-8 URLs; Internet Explorer produces these if you
                # type non-ASCII chars in the URL bar or follow unescaped links.
-        $ishigh = preg_match( '/[\x80-\xff]/', $s);
+               $ishigh = preg_match( '/[\x80-\xff]/', $s);
                $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
-                '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
+                        '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
 
                if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
                        return @iconv( 'UTF-8', $wgInputEncoding, $s );
@@ -1896,7 +2019,7 @@ class Language {
        #
        # $length does not include the optional ellipsis.
        # If $length is negative, snip from the beginning
-       function truncate( $string, $length, $ellipsis = "" ) {
+       function truncate( $string, $length, $ellipsis = '' ) {
                if( $length == 0 ) {
                        return $ellipsis;
                }
@@ -1911,10 +2034,125 @@ class Language {
                        return $ellipsis . $string;
                }
        }
+
+       # Grammatical transformations, needed for inflected languages
+       # Invoked by putting {{grammar:case|word}} in a message
+       function convertGrammar( $word, $case ) {
+               return $word;
+       }
+
+       
+       # 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 ) {
+
+               if(sizeof($this->getVariants())<2) 
+                       return $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 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;
+               
+               // if user logged in, get in from user's preference
+               if($wgUser->getID()!=0)
+                       return $wgUser->getOption('variant');
+               
+               // if we have multiple variants for this langauge, 
+               // pick the first one as default
+               $v=$this->getVariants() ;
+               if(!empty($v))
+                       return $v{0};
+               
+               // otherwise there should really be just one variant, 
+               // get it from the class name
+               $lang = strtolower(substr(get_class($this), 8));
+               return $lang;
+       }
 }
 
 # This should fail gracefully if there's not a localization available
-@include_once( 'Language' . ucfirst( $wgLanguageCode ) . '.php' );
+@include_once( 'Language' . str_replace( '-', '_', ucfirst( $wgLanguageCode ) ) . '.php' );
 
 }
 ?>