(bug 2079) Removed links to Special:Maintenance from movepagetext messages
[lhc/web/wiklou.git] / languages / Language.php
index 99d33c6..9ce7da9 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * @package MediaWiki
+ * @subpackage Language
+ */
+
 if( defined( 'MEDIAWIKI' ) ) {
 
 #
@@ -53,7 +58,6 @@ if(isset($wgExtraNamespaces)) {
 /* private */ $wgDefaultUserOptionsEn = array(
        'quickbar'              => 1,
        'underline'             => 1,
-       'hover'                 => 1,
        'cols'                  => 80,
        'rows'                  => 25,
        'searchlimit'           => 20,
@@ -72,6 +76,7 @@ if(isset($wgExtraNamespaces)) {
        'showtoolbar'           => 1,
        'date'                  => 0,
        'imagesize'             => 2,
+       'thumbsize'             => 2,
        'rememberpassword'      => 0,
        'enotifwatchlistpages'  => 1,
        'enotifusertalkpages'   => 1,
@@ -80,7 +85,9 @@ if(isset($wgExtraNamespaces)) {
        'shownumberswatching'   => 1,
        'rcusemodstyle'         => 1,
        'showupdated'           => 1,
-       'fancysig' => 0,
+       'fancysig'              => 0,
+       'externaleditor'        => 0,
+       'externaldiff'          => 0,
 );
 
 /* private */ $wgQuickbarSettingsEn = array(
@@ -118,19 +125,16 @@ $wgValidationTypesEn = array (
 );
 
 # Whether to use user or default setting in Language::date()
-define( 'MW_DATE_DEFAULT', false );
-define( 'MW_DATE_USER_FORMAT', true );
 
 /* private */ $wgDateFormatsEn = array(
-       'No preference',
-       'January 15, 2001',
-       '15 January 2001',
-       '2001 January 15',
-       '2001-01-15'
+       'Default',
+       '16:12, January 15, 2001',
+       '16:12, 15 January 2001',
+       '16:12, 2001 January 15',
+       'ISO 8601' => '2001-01-15 16:12:34'
 );
 
 /* private */ $wgUserTogglesEn = array(
-       'hover',
        'underline',
        'highlightbroken',
        'justify',
@@ -156,7 +160,9 @@ define( 'MW_DATE_USER_FORMAT', true );
        'shownumberswatching',
        'rcusemodstyle',
        'showupdated',
-       'fancysig'
+       'fancysig',
+       'externaleditor',
+       'externaldiff',
 );
 
 /* private */ $wgBookstoreListEn = array(
@@ -209,12 +215,13 @@ $wgLanguageNamesEn =& $wgLanguageNames;
        MAG_START                => array( 0,    '__START__'              ),
        MAG_CURRENTMONTH         => array( 1,    'CURRENTMONTH'           ),
        MAG_CURRENTMONTHNAME     => array( 1,    'CURRENTMONTHNAME'       ),
+       MAG_CURRENTMONTHNAMEGEN  => array( 1,    'CURRENTMONTHNAMEGEN'    ),
+       MAG_CURRENTMONTHABBREV   => array( 1,    'CURRENTMONTHABBREV'     ),
        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_PAGENAME             => array( 1,    'PAGENAME'               ),
        MAG_PAGENAMEE            => array( 1,    'PAGENAMEE'              ),
        MAG_NAMESPACE            => array( 1,    'NAMESPACE'              ),
@@ -240,6 +247,7 @@ $wgLanguageNamesEn =& $wgLanguageNames;
        MAG_NOCONTENTCONVERT     => array( 0,    '__NOCONTENTCONVERT__', '__NOCC__'),
        MAG_CURRENTWEEK          => array( 1,    'CURRENTWEEK'            ),
        MAG_CURRENTDOW           => array( 1,    'CURRENTDOW'             ),
+       MAG_REVISIONID           => array( 1,    'REVISIONID'             ),    
 );
 
 #-------------------------------------------------------------------
@@ -256,23 +264,22 @@ global $wgRightsText;
 'special_version_prefix' => '&nbsp;',
 'special_version_postfix' => '&nbsp;',
 # User preference toggles
-'tog-hover'            => 'Show hoverbox over wiki links',
 'tog-underline' => 'Underline links',
 'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
 'tog-justify'  => 'Justify paragraphs',
 'tog-hideminor' => 'Hide minor edits in recent changes',
-'tog-usenewrc' => 'Enhanced recent changes (not for all browsers)',
+'tog-usenewrc' => 'Enhanced recent changes (JavaScript)',
 'tog-numberheadings' => 'Auto-number headings',
-'tog-showtoolbar'              => 'Show edit toolbar',
+'tog-showtoolbar'              => 'Show edit toolbar (JavaScript)',
 'tog-editondblclick' => 'Edit pages on double click (JavaScript)',
 'tog-editsection'              => 'Enable section editing via [edit] links',
 'tog-editsectiononrightclick'  => 'Enable section editing by right clicking<br /> on section titles (JavaScript)',
 'tog-showtoc'                  => 'Show table of contents<br />(for pages with more than 3 headings)',
-'tog-rememberpassword' => 'Remember password across sessions',
+'tog-rememberpassword' => 'Remember across sessions',
 'tog-editwidth' => 'Edit box has full width',
 '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-previewontop' => 'Show preview before edit box',
 'tog-previewonfirst' => 'Show preview on first edit',
 'tog-nocache' => 'Disable page caching',
 'tog-enotifwatchlistpages'     => 'Send me an email on page changes (remark: existing notification flags need to be cleared manually in the watchlist)',
@@ -283,6 +290,8 @@ global $wgRightsText;
 'tog-rcusemodstyle'            => 'Show recent changes in UseMod style: only the most recent change of any page is listed.',
 'tog-showupdated'              => 'Show update marker ',
 'tog-fancysig' => 'Raw signatures (without automatic link)',
+'tog-externaleditor' => 'Use external editor by default',
+'tog-externaldiff' => 'Use external diff by default',
 
 # dates
 'sunday' => 'Sunday',
@@ -336,21 +345,21 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f
 'portal'               => 'Community portal',
 'portal-url'           => 'Project:Community Portal',
 'about'                        => 'About',
-"aboutsite"      => "About {{SITENAME}}",
-"aboutpage"            => "Project:About",
+'aboutsite'      => 'About {{SITENAME}}',
+'aboutpage'            => 'Project:About',
 'article' => 'Content page',
 'help'                 => 'Help',
-"helppage"             => "Help:Contents",
-"wikititlesuffix" => "{{SITENAME}}",
-"bugreports"   => "Bug reports",
-"bugreportspage" => "Project:Bug_reports",
+'helppage'             => 'Help:Contents',
+'wikititlesuffix' => '{{SITENAME}}',
+'bugreports'   => 'Bug reports',
+'bugreportspage' => 'Project:Bug_reports',
 'sitesupport'   => '-', # To enable, something like 'Donations', 
 'sitesupport-url' => 'Project:Site support',
 'faq'                  => 'FAQ',
-"faqpage"              => "Project:FAQ",
-"edithelp"             => "Editing help",
-"newwindow"            => "(opens in new window)",
-"edithelppage" => "Help:Editing",
+'faqpage'              => 'Project:FAQ',
+'edithelp'             => 'Editing help',
+'newwindow'            => '(opens in new window)',
+'edithelppage' => 'Help:Editing',
 'cancel'               => 'Cancel',
 'qbfind'               => 'Find',
 'qbbrowse'             => 'Browse',
@@ -394,8 +403,9 @@ and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] f
 'edit' => 'Edit',
 'editthispage' => 'Edit this page',
 'delete' => 'Delete',
-"deletethispage" => "Delete this page",
-"undelete_short" => "Undelete $1 edits",
+'deletethispage' => 'Delete this page',
+'undelete_short1' => 'Undelete one edit',
+'undelete_short' => 'Undelete $1 edits',
 'protect' => 'Protect',
 'protectthispage' => 'Protect this page',
 'unprotect' => 'Unprotect',
@@ -435,7 +445,6 @@ See $1.",
 "bureaucrattext"       => "The action you have requested can only be
 performed by sysops with  \"bureaucrat\" status.",
 'nbytes'               => '$1 bytes',
-'go'                   => 'Go',
 'ok'                   => 'OK',
 'sitetitle'            => "{{SITENAME}}",
 'pagetitle'            => "$1 - {{SITENAME}}",
@@ -458,7 +467,7 @@ performed by sysops with  \"bureaucrat\" status.",
 'nstab-media' => 'Media',
 'nstab-special' => 'Special',
 'nstab-wp' => 'About',
-'nstab-image' => 'Image',
+'nstab-image' => 'File',
 'nstab-mediawiki' => 'Message',
 'nstab-template' => 'Template',
 'nstab-help' => 'Help',
@@ -492,7 +501,7 @@ MySQL returned error \"$3: $4\".\n",
 $1',
 'nodb'                 => "Could not select database $1",
 'cachederror'          => 'The following is a cached copy of the requested page, and may not be up to date.',
-'laggedslave'   => 'Warning: Page may not contain recent updates.',
+'laggedslavemode'   => 'Warning: Page may not contain recent updates.',
 'readonly'             => 'Database locked',
 'enterlockreason' => 'Enter a reason for the lock, including an estimate
 of when the lock will be released',
@@ -517,7 +526,7 @@ Please report this to an administrator, making note of the URL.",
 'unexpected'   => "Unexpected value: \"$1\"=\"$2\".",
 'formerror'            => 'Error: could not submit form',
 'badarticleerror' => 'This action cannot be performed on this page.',
-'cannotdelete' => 'Could not delete the page or image specified. (It may have already been deleted by someone else.)',
+'cannotdelete' => 'Could not delete the page or file specified. (It may have already been deleted by someone else.)',
 'badtitle'             => 'Bad title',
 'badtitletext' => "The requested page title was invalid, empty, or
 an incorrectly linked inter-language or inter-wiki title.",
@@ -537,6 +546,7 @@ a number of reasons why this may be so, please see
 
 You can view and copy the source of this page:",
 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
+'sqlhidden' => '(SQL query hidden)',
 
 # Login and logout pages
 #
@@ -552,8 +562,8 @@ your browser cache.\n",
 Your account has been created. Don't forget to change your {{SITENAME}} preferences.",
 
 'loginpagetitle' => 'User login',
-'yourname'             => 'Your user name',
-'yourpassword' => 'Your password',
+'yourname'             => 'User name',
+'yourpassword' => 'Password',
 'yourpasswordagain' => 'Retype password',
 'newusersonly' => ' (new users only)',
 'remembermypassword' => 'Remember my password across sessions.',
@@ -570,21 +580,18 @@ Your account has been created. Don't forget to change your {{SITENAME}} preferen
 'createaccountmail'    => 'by email',
 'badretype'            => 'The passwords you entered do not match.',
 'userexists'   => 'The user name you entered is already in use. Please choose a different name.',
-'youremail'            => 'Your email**',
-'yourrealname'         => 'Your real name*',
-'yourlanguage' => 'Interface language',
-'yourvariant'  => 'Language variant',
-'yournick'             => 'Your nickname (for signatures)',
-'emailforlost'         => "Fields marked with stars (*, **) are optional.  Storing an email address enables people to contact you through the website without you having to reveal your
+'youremail'            => 'Email²',
+'yourrealname'         => 'Real name¹',
+'yourlanguage' => 'Language',
+'yourvariant'  => 'Variant',
+'yournick'             => 'Nickname',
+'email'                        => 'Email',
+'emailforlost'         => "Fields marked with superscripts 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-email'     => '** <strong>Email</strong> (optional): Enables others to contact you through your user or user_talk page without the need of revealing your
-email address. It also allows the wiki to sent you a temporary password in case you forgot your current one.',
 'prefs-help-email-enotif' => 'This address is also used to send you email notifications if you enabled the options.',
-'prefs-help-realname'  => '* <strong>Real name</strong> (optional): if you choose to provide it this 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 />
-* <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.',
+'prefs-help-realname'  => '¹ Real name (optional): if you choose to provide it this will be used for giving you attribution for your work.',
 'loginerror'   => 'Login error',
+'prefs-help-email'      => '² Email (optional): Enables others to contact you through your user or user_talk page without the need of revealing your identity.',
 'nocookiesnew' => "The user account was created, but you are not logged in. {{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
 'nocookieslogin'       => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
 'noname'               => 'You have not specified a valid user name.',
@@ -619,8 +626,8 @@ Please re-login with that for authentication purposes.",
 'mailerror' => "Error sending mail: $1",
 'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts. You can\'t make any more.',
 'emailauthenticated'   => 'Your email address was authenticated on $1.',
-'emailnotauthenticated'        => 'Your email address is <strong>not yet authenticated</strong> and the advanced email features are disabled until authentication <strong>(d.u.a.)</strong>.<br />
-To authenticate, please login in with the temporary password which has been mailed to you, or request a new one on the login page.',
+'emailnotauthenticated'        => 'Your email address is <strong>not yet authenticated</strong> and the advanced email features are disabled until authentication <strong>(d.u.a.)</strong>.',
+'emailconfirmlink' => 'Confirm your e-mail address',
 'invalidemailaddress'  => 'The email address cannot be accepted as it appears to have an invalid format. Please enter a well-formatted address or empty that field.',
 'disableduntilauthent' => '<strong>(d.u.a.)</strong>',
 'disablednoemail'      => '<strong>(disabled; no email address)</strong>',
@@ -642,7 +649,7 @@ To authenticate, please login in with the temporary password which has been mail
 'nowiki_tip'=>'Ignore wiki formatting',
 'image_sample'=>'Example.jpg',
 'image_tip'=>'Embedded image',
-'media_sample'=>'Example.mp3',
+'media_sample'=>'Example.ogg',
 'media_tip'=>'Media file link',
 'sig_tip'=>'Your signature with timestamp',
 'hr_tip'=>'Horizontal line (use sparingly)',
@@ -659,6 +666,7 @@ To authenticate, please login in with the temporary password which has been mail
 'savearticle'  => 'Save page',
 'preview'              => 'Preview',
 'showpreview'  => 'Show preview',
+'showdiff'     => 'Show changes',
 '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
@@ -706,13 +714,13 @@ The upper text area contains the page text as it currently exists.
 Your changes are shown in the lower text area.
 You will have to merge your changes into the existing text.
 <b>Only</b> the text in the upper text area will be saved when you
-press \"Save page\".\n<p>",
+press \"Save page\".<br />",
 'yourtext'             => 'Your text',
 'storedversion' => 'Stored version',
 '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>",
 'yourdiff'             => 'Differences',
 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
 considered to be released under the $2 (see $1 for details).
@@ -727,16 +735,13 @@ If you don't want your writing to be edited mercilessly, then don't submit it he
 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
+'longpagewarning' => "<strong>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.",
-'readonlywarning' => 'WARNING: The database has been locked for maintenance,
+Please consider breaking the page into smaller sections.</strong>",
+'readonlywarning' => '<strong>WARNING: The database has been locked for maintenance,
 so you will not be able to save your edits right now. You may wish to cut-n-paste
-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/Project:Protected_page_guidelines'>protected page
-guidelines</a>.",
+the text into a text file and save it for later.</strong>',
+'protectedpagewarning' => "<strong>WARNING:  This page has been locked so that only users with sysop privileges can edit it. Be sure you are following the [[Project:Protected_page_guidelines|protected page guidelines]].</strong>",
 'templatesused'        => 'Templates used on this page:',
 
 # History pages
@@ -761,6 +766,7 @@ Please check the URL you used to access this page.\n",
 Legend: (cur) = difference with current version,
 (last) = difference with preceding version, M = minor edit.',
 'history_copyright'    => '-',
+'deletedrev' => '[deleted]',
 
 # Diffs
 #
@@ -786,7 +792,7 @@ example "fish and and scales".
 Please try another query.',
 'matchtotals'  => "The query \"$1\" matched $2 page titles
 and the text of $3 pages.",
-'nogomatch' => 'No page with this exact title exists, trying full text search.',
+'nogomatch' => 'No page with [[$1|this exact title]] exists, trying full text search.',
 'titlematches' => 'Article title matches',
 'notitlematches' => 'No page title matches',
 'textmatches'  => 'Page text matches',
@@ -805,46 +811,40 @@ 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 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\">
-<TABLE bgcolor=\"#FFFFFF\"><tr><td>
-<A HREF=\"http://www.google.com/\">
-<IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
-border=\"0\" ALT=\"Google\"></A>
-</td>
-<td>
-<INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
-<INPUT type=submit name=btnG VALUE=\"Google Search\">
-<font size=-1>
-<input type=hidden name=domains value=\"{{SERVER}}\"><br /><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{{SERVER}}\" checked> {{SERVER}} <br />
-<input type='hidden' name='ie' value='$2'>
-<input type='hidden' name='oe' value='$2'>
-</font>
-</td></tr></TABLE>
-</FORM>
-<!-- SiteSearch Google -->",
+"searchdisabled" => '{{SITENAME}} search is disabled. You can search via Google in the meantime. Note that their indexes of {{SITENAME}} content may be out of date.',
+
+'googlesearch' => '
+<form method="get" action="http://www.google.com/search" id="googlesearch">
+    <input type="hidden" name="domains" value="{{SERVER}}" />
+    <input type="hidden" name="num" value="50" />
+    <input type="hidden" name="ie" value="$2" />
+    <input type="hidden" name="oe" value="$2" />
+    
+    <input type="text" name="q" size="31" maxlength="255" value="$1" />
+    <input type="submit" name="btnG" value="$3" />
+  <div>
+    <input type="radio" name="sitesearch" id="gwiki" value="{{SERVER}}" checked="checked" /><label for="gwiki">{{SITENAME}}</label>
+    <input type="radio" name="sitesearch" id="gWWW" value="" /><label for="gWWW">WWW</label>
+  </div>
+</form>',
 'blanknamespace' => '(Main)',
 
 # Preferences page
 #
 'preferences'  => 'Preferences',
 'prefsnologin' => 'Not logged in',
-'prefsnologintext'     => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
+'prefsnologintext'     => "You must be [[Special:Userlogin|logged in]]
 to set user preferences.",
 'prefslogintext' => "You are logged in as \"$1\".
 Your internal ID number is $2.
 
 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.',
+'qbsettings'   => 'Quickbar',
 'changepassword' => 'Change password',
 'skin'                 => 'Skin',
-'math'                 => 'Rendering math',
-'dateformat'   => 'Date format',
+'math'                 => 'Math',
+'dateformat'           => 'Date format',
 'math_failure'         => 'Failed to parse',
 'math_unknown_error'   => 'unknown error',
 'math_unknown_function'        => 'unknown function ',
@@ -855,62 +855,86 @@ See [[Project:User preferences help]] for help deciphering the options.",
 'math_bad_output'      => 'Can\'t write to or create math output directory',
 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.',
 'prefs-personal' => 'User data',
-'prefs-rc' => 'Recent changes and stub display',
-'prefs-misc' => 'Misc settings',
-'saveprefs'            => 'Save preferences',
-'resetprefs'   => 'Reset preferences',
+'prefs-rc' => 'Recent changes & stubs',
+'prefs-misc' => 'Misc',
+'saveprefs'            => 'Save',
+'resetprefs'   => 'Reset',
 'oldpassword'  => 'Old password',
 'newpassword'  => 'New password',
-'retypenew'            => 'Retype new password',
+'retypenew'            => 'Again',
 'textboxsize'  => 'Editing',
 'rows'                 => 'Rows',
 'columns'              => 'Columns',
-'searchresultshead' => 'Search result settings',
-'resultsperpage' => 'Hits to show per page',
-'contextlines' => 'Lines to show per hit',
-'contextchars' => 'Characters of context per line',
+'searchresultshead' => 'Search',
+'resultsperpage' => 'Hits per page',
+'contextlines' => 'Lines per hit',
+'contextchars' => 'Context per line',
 'stubthreshold' => 'Threshold for stub display',
-'recentchangescount' => 'Number of titles in recent changes',
+'recentchangescount' => 'Titles in recent changes',
 'savedprefs'   => 'Your preferences have been saved.',
 'timezonelegend' => 'Time zone',
-'timezonetext' => 'Enter number of hours your local time differs
-from server time (UTC).',
-'localtime'    => 'Local time display',
-'timezoneoffset' => 'Offset',
-'servertime'   => 'Server time is now',
+'timezonetext' => 'The number of hours your local time differs from server time (UTC).',
+'localtime'    => 'Local time',
+'timezoneoffset' => 'Offset¹',
+'servertime'   => 'Server time',
 'guesstimezone' => 'Fill in from browser',
 'emailflag'            => 'Disable e-mail from other users',
 'defaultns'            => 'Search in these namespaces by default:',
 'default'              => 'default',
+'files'                        => 'Files',
 
 # User levels special page
 #
 
 # switching pan
-'grouplevels-lookup-group' => 'Manage group rights',
-'grouplevels-group-edit' => 'Existent groups: ',
+'groups-lookup-group' => 'Manage group rights',
+'groups-group-edit' => 'Existing groups: ',
 'editgroup' => 'Edit Group',
 'addgroup' => 'Add Group',
 
-'userlevels-lookup-user' => 'Manage user groups',
-'userlevels-user-editname' => 'Enter a username: ',
+'userrights-lookup-user' => 'Manage user groups',
+'userrights-user-editname' => 'Enter a username: ',
 'editusergroup' => 'Edit User Groups',
 
 # group editing
-'grouplevels-editgroup' => 'Edit group',
-'grouplevels-addgroup' => 'Add group',
-'grouplevels-editgroup-name' => 'Group name: ',
-'grouplevels-editgroup-description' => 'Group description (max 255 characters):<br />',
-'savegroup' => 'Save Group',
+'groups-editgroup'          => 'Edit group',
+'groups-addgroup'           => 'Add group',
+'groups-editgroup-preamble' => 'If the name or description starts with a colon, the 
+remainder will be treated as a message name, and hence the text will be localised 
+using the MediaWiki namespace',
+'groups-editgroup-name'     => 'Group name: ',
+'groups-editgroup-description' => 'Group description (max 255 characters):<br />',
+'savegroup'                 => 'Save Group',
+'groups-tableheader'        => 'ID || Name || Description || Rights',
+'groups-existing'           => 'Existing groups',
+'groups-noname'             => 'Please specify a valid group name',
+'groups-already-exists'     => 'A group of that name already exists',
+'addgrouplogentry'          => 'Added group $2',
+'changegrouplogentry'       => 'Changed group $2',
+'renamegrouplogentry'       => 'Renamed group $2 to $3',
 
 # user groups editing
 #
-'userlevels-editusergroup' => 'Edit user groups',
+'userrights-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',
+'userrights-groupsmember' => 'Member of:',
+'userrights-groupsavailable' => 'Available groups:',
+'userrights-groupshelp' => 'Select groups you want the user to be removed from or added to.
+Unselected groups will not be changed. You can deselect a group with CTRL + Left Click',
+
+# Default group names and descriptions
+# 
+'group-anon-name'       => 'Anonymous',
+'group-anon-desc'       => 'Anonymous users',
+'group-loggedin-name'   => 'User',
+'group-loggedin-desc'   => 'General logged in users',
+'group-admin-name'      => 'Administrator',
+'group-admin-desc'      => 'Trusted users able to block users and delete articles',
+'group-bureaucrat-name' => 'Bureaucrat',
+'group-bureaucrat-desc' => 'The bureaucrat group is able to make sysops',
+'group-steward-name'    => 'Steward',
+'group-steward-desc'    => 'Full access',
+
 
 # Recent changes
 #
@@ -947,41 +971,26 @@ Unselected groups will not be changed. You can unselect a group by using CTRL +
 'reupload'             => 'Re-upload',
 'reuploaddesc' => 'Return to the upload form.',
 'uploadnologin' => 'Not logged in',
-'uploadnologintext'    => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
+'uploadnologintext'    => "You must be [[Special:Userlogin|logged in]]
 to upload files.",
-'uploadfile'   => 'Upload images, sounds, documents etc.',
+'upload_directory_read_only' => 'The upload directory ($1) is not writable by the webserver.',
 'uploaderror'  => 'Upload error',
 '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.
-Choosing a file will fill the name of that file into the text
-field next to the button.
+"
+Use the form below to upload new files, 
+to view or search previously uploaded images
+go to the [[Special:Imagelist|list of uploaded files]], 
+uploads and deletions are also logged in the [[Special:Log|project log]].
+
 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.
 
-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
-'''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''' or
+'''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>'''
 '''<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.",
+'''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for directly linking to the file.
+",
 
 'uploadlog'            => 'upload log',
 'uploadlogpage' => 'Upload_log',
@@ -1001,7 +1010,7 @@ agrees to license it under the terms of the $1.",
 'illegalfilename'      => 'The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.',
 'badfilename'  => "Image name has been changed to \"$1\".",
 'badfiletype'  => "\".$1\" is not a recommended image file format.",
-'largefile'            => 'It is recommended that images not exceed 100k in size.',
+'largefile'            => 'It is recommended that images not exceed $1 bytes in size, this file is $2 bytes',
 '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',
@@ -1011,37 +1020,39 @@ 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>",
 'uploadwarning' => 'Upload warning',
 'savefile'             => 'Save file',
-'uploadedimage' => "uploaded \"$1\"",
+'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.',
+'sourcefilename' => 'Source filename',
+'destfilename' => 'Destination filename',
 
 # Image list
 #
-'imagelist'            => 'Image list',
-'imagelisttext'        => "Below is a list of $1 images sorted $2.",
-'getimagelist' => 'fetching image list',
-'ilshowmatch'  => 'Show all images with names matching',
+'imagelist'            => 'File list',
+'imagelisttext'        => "Below is a list of $1 files sorted $2.",
+'getimagelist' => 'fetching file list',
 'ilsubmit'             => 'Search',
-'showlast'             => "Show last $1 images sorted $2.",
-'all'                  => 'all',
+'showlast'             => "Show last $1 files sorted $2.",
 'byname'               => 'by name',
 'bydate'               => 'by date',
 'bysize'               => 'by size',
 'imgdelete'            => 'del',
 'imgdesc'              => 'desc',
 'imglegend'            => 'Legend: (desc) = show/edit image description.',
-'imghistory'   => 'Image history',
+'imghistory'   => 'History',
 'revertimg'            => 'rev',
 'deleteimg'            => 'del',
 'deleteimgcompletely'          => 'Delete all revisions',
-'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete
+'imghistlegend' => 'Legend: (cur) = this is the current file, (del) = delete
 this old version, (rev) = revert to this old version.
-<br /><i>Click on date to see image uploaded on that date</i>.',
-'imagelinks'   => 'Image links',
-'linkstoimage' => 'The following pages link to this image:',
-'nolinkstoimage' => 'There are no pages that link to this image.',
+<br /><i>Click on date to see the file uploaded on that date</i>.',
+'imagelinks'   => 'Links',
+'linkstoimage' => 'The following pages link to this file:',
+'nolinkstoimage' => 'There are no pages that link to this file.',
 '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.',
+'shareduploadwiki' => 'Please see the [$1 file description page] for further information.',
+'noimage'       => 'No file by this name exists, you can [$1 upload it]',
+'uploadnewversion' => '[$1 Upload a new version of this file]',
 
 # Statistics
 #
@@ -1067,9 +1078,9 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 'maintenancebacklink'  => 'Back to Maintenance Page',
 'disambiguations'      => 'Disambiguation 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.",
+'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 disambiguation 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.",
+'doubleredirectstext'  => "Each 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.",
 'brokenredirects'      => 'Broken Redirects',
 'brokenredirectstext'  => 'The following redirects link to a non-existing pages.',
 'selflinks'            => 'Pages with Self Links',
@@ -1090,7 +1101,7 @@ That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
 'lonelypages'  => 'Orphaned pages',
 'uncategorizedpages'   => 'Uncategorized pages',
 'uncategorizedcategories'      => 'Uncategorized categories',
-'unusedimages' => 'Unused images',
+'unusedimages' => 'Unused files',
 'popularpages' => 'Popular pages',
 'nviews'               => '$1 views',
 'wantedpages'  => 'Wanted pages',
@@ -1105,6 +1116,7 @@ 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',
+'restrictedpheading'   => 'Restricted special pages',
 'asksqlpheading' => 'asksql level',
 'blockpheading' => 'block level',
 'createaccountpheading' => 'createaccount level',
@@ -1130,10 +1142,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.</p>',
 'booksources'  => 'Book sources',
-'categoriespagetext' => 'The following categories exists in the wiki.',
+'categoriespagetext' => 'The following categories exist in the wiki.',
 'data' => 'Data',
-'userlevels' => 'User levels management',
-'grouplevels' => 'Group levels management',
+'userrights' => 'User rights management',
+'groups' => 'User groups',
 
 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
 'booksourcetext' => "Below is a list of links to other sites that
@@ -1152,20 +1164,20 @@ 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)',
-'allpagesformtext1' => 'Display pages starting at: $1',
-'allpagesformtext2' => 'Choose namespace: $1 $2',
-'allarticles'       => 'All articles',
-'allpagesprev'      => 'Previous',
-'allpagesnext'      => 'Next',
-'allpagesnamespace' => 'All pages ($1 namespace)',
-'allpagessubmit'    => 'Go',
-
-# Email this user
+'allpagesfrom'         => 'Display pages starting at:',
+'allarticles'          => 'All articles',
+'allnonarticles'       => 'All non-articles',
+'allinnamespace'       => 'All pages ($1 namespace)',
+'allnotinnamespace'    => 'All pages (not in $1 namespace)',
+'allpagesprev'         => 'Previous',
+'allpagesnext'         => 'Next',
+'allpagessubmit'       => 'Go',
+
+# E this user
 #
 'mailnologin'  => 'No send address',
-'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
-and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
+'mailnologintext' => "You must be [[Special:Userlogin|logged in]]
+and have a valid e-mail address in your [[Special:Preferences|preferences]]
 to send e-mail to other users.",
 'emailuser'            => 'E-mail this user',
 'emailpage'            => 'E-mail user',
@@ -1193,7 +1205,7 @@ or has chosen not to receive e-mail from other users.',
 'watchlistsub'         => "(for user \"$1\")",
 'nowatchlist'          => 'You have no items on your watchlist.',
 'watchnologin'         => 'Not logged in',
-'watchnologintext'     => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
+'watchnologintext'     => "You must be [[Special:Userlogin|logged in]]
 to modify your watchlist.",
 'addedwatch'           => 'Added to watchlist',
 'addedwatchtext'       => "The page \"$1\" has been added to your [[Special:Watchlist|watchlist]].
@@ -1224,19 +1236,22 @@ at the bottom of the screen (deleting a content page also deletes the accompanyi
 '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.',
+'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.',
+'wlhideshowown'        => '$1 my edits.',
+'wlshow'               => 'Show',
+'wlhide'               => 'Hide',
 
 'updatedmarker'                => '<span class=\'updatedmarker\'>&nbsp;updated (since my last visit)&nbsp;</span>',
 
 'email_notification_mailer'            => '{{SITENAME}} Notification Mailer',
-'email_notification_infotext'          => "'''Email notification is on.'''
+'email_notification_infotext'          => "Email notification is on.
 You will be notified by email when someone changes a page which is listed in your watchlist.",
 'email_notification_reset'                     => 'Reset all notification flags (set their status to "visited")',
 'email_notification_newpagetext'=> 'This is a new page.',
 'email_notification_to'        => '$WATCHINGUSERNAME_QP <$WATCHINGUSEREMAILADDR>',
-'email_notification_subject'   => '{{SITENAME}} page $PAGETITLE_QP has been changed by $PAGEEDITOR_QP',
+'email_notification_subject'   => '{{SITENAME}} page $PAGETITLE has been changed by $PAGEEDITOR',
 'email_notification_lastvisitedrevisiontext' => 'See {{SERVER}}{{localurl:$PAGETITLE_RAWURL|diff=0&oldid=$OLDID}} for all changes since your last visit.',
 'email_notification_body' => 'Dear $WATCHINGUSERNAME,
 
@@ -1277,7 +1292,6 @@ 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
 [[Project:Policy]].",
-'confirmcheck' => 'Yes, I really want to delete this.',
 'actioncomplete' => 'Action complete',
 'deletedtext'  => "\"$1\" has been deleted.
 See $2 for a record of recent deletions.",
@@ -1306,8 +1320,8 @@ Please hit "back" and reload the page you came from, then try again.',
 'protectlogpage' => 'Protection_log',
 'protectlogtext' => "Below is a list of page locks/unlocks.
 See [[Project:Protected page]] for more information.",
-'protectedarticle' => "protected $1",
-'unprotectedarticle' => "unprotected $1",
+'protectedarticle' => "protected \"[[$1]]\"",
+'unprotectedarticle' => "unprotected \"[[$1]]\"",
 'protectsub' =>"(Protecting \"$1\")",
 'confirmprotecttext' => 'Do you really want to protect this page?',
 'confirmprotect' => 'Confirm protection',
@@ -1337,6 +1351,10 @@ will not be automatically replaced.',
 'undeletedtext'   => "[[$1]] has been successfully restored.
 See [[Special:Log/delete]] for a record of recent deletions and restorations.",
 
+# Namespace form on various pages
+'namespace' => 'Namespace:',
+'invert' => 'Invert selection',
+
 # Contributions
 #
 'contributions' => 'User contributions',
@@ -1368,12 +1386,12 @@ This should be done only only to prevent vandalism, and in
 accordance with [[Project:Policy|policy]].
 Fill in a specific reason below (for example, citing particular
 pages that were vandalized).",
-'ipaddress'            => 'IP Address/username',
+'ipaddress'            => 'IP Address',
+'ipadressorusername' => 'IP Address or username',
 'ipbexpiry'            => 'Expiry',
 'ipbreason'            => 'Reason',
 'ipbsubmit'            => 'Block this user',
 'badipaddress' => 'Invalid IP address',
-'noblockreason' => 'You must supply a reason for the block.',
 'blockipsuccesssub' => 'Block succeeded',
 'blockipsuccesstext' => "\"$1\" has been blocked.
 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
@@ -1381,7 +1399,7 @@ pages that were vandalized).",
 'unblockiptext'        => 'Use the form below to restore write access
 to a previously blocked IP address or username.',
 'ipusubmit'            => 'Unblock this address',
-'ipusuccess'   => "\"$1\" unblocked",
+'ipusuccess'   => "\"[[$1]]\" unblocked",
 'ipblocklist'  => 'List of blocked IP addresses and usernames',
 'blocklistline'        => "$1, $2 blocked $3 (expires $4)",
 'blocklink'            => 'block',
@@ -1389,7 +1407,7 @@ to a previously blocked IP address or username.',
 'contribslink' => 'contribs',
 'autoblocker'  => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
 'blocklogpage' => 'Block_log',
-'blocklogentry'        => 'blocked "$1" with an expiry time of $2',
+'blocklogentry'        => 'blocked "[[$1]]" with an expiry time of $2',
 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
 blocked IP addresses are not listed. See the [[Special:Ipblocklist|IP block list]] for
 the list of currently operational bans and blocks.',
@@ -1400,6 +1418,9 @@ the list of currently operational bans and blocks.',
 'proxyblocker' => 'Proxy blocker',
 'proxyblockreason'     => 'Your IP address has been blocked because it is an open proxy. Please contact your Internet service provider or tech support and inform them of this serious security problem.',
 'proxyblocksuccess'    => "Done.\n",
+'sorbs'         => 'SORBS DNSBL',
+'sorbsreason'   => 'Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL.',
+
 
 # Developer tools
 #
@@ -1456,9 +1477,22 @@ Type the name of the user in the box and press the button to make the user an ad
 'user_rights_set'      => "<b>User rights for \"$1\" updated</b>",
 'set_rights_fail'      => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
 'makesysop'         => 'Make a user into a sysop',
+'already_sysop'     => 'This user is already an administrator',
+'already_bureaucrat' => 'This user is already a bureaucrat',
 
 # Validation
-'val_clear_old' => 'Clear my other validation data for $1',
+'val_yes' => 'Yes',
+'val_no' => 'No',
+'val_revision' => 'Revision',
+'val_time' => 'Time',
+'val_list_header' => '<th>#</th><th>Topic</th><th>Range</th><th>Action</th>',
+'val_add' => 'Add',
+'val_del' => 'Delete',
+'val_warning' => '<b>Never, <i>ever</i>, change something here without <i>explicit</i> community consensus!</b>',
+'val_rev_for' => 'Revisions for ',
+'val_rev_stats_link' => 'See the validation statistics for "$1" <a href="$2">here</a>',
+'val_iamsure' => 'Check this box if you really mean it!',
+'val_clear_old' => 'Clear my older validation data',
 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
 'val_form_note' => '<b>Hint:</b> Merging your data means that for the article
 revision you select, all options where you have specified <i>no opinion</i>
@@ -1477,7 +1511,7 @@ merging will fill in the other options with your previous settings.',
 'val_version_of' => "Version of $1" ,
 'val_table_header' => "<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>\n",
 'val_stat_link_text' => 'Validation statistics for this article',
-'val_view_version' => 'View this version',
+'val_view_version' => 'View this revision',
 'val_validate_version' => 'Validate this version',
 'val_user_validations' => 'This user has validated $1 pages.',
 'val_no_anon_validation' => 'You have to be logged in to validate an article.',
@@ -1493,7 +1527,7 @@ merging will fill in the other options with your previous settings.',
 of its history to the new name.
 The old title will become a redirect page to the new title.
 Links to the old page title will not be changed; be sure to
-[[Special:Maintenance|check]] for double or broken redirects.
+check for double or broken redirects.
 You are responsible for making sure that links continue to
 point where they are supposed to go.
 
@@ -1515,7 +1549,7 @@ proceeding.',
 In those cases, you will have to move or merge the page manually if desired.',
 'movearticle'  => 'Move page',
 'movenologin'  => 'Not logged in',
-'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
+'movenologintext' => "You must be a registered user and [[Special:Userlogin|logged in]]
 to move a page.",
 'newtitle'             => 'To new title',
 'movepagebtn'  => 'Move page',
@@ -1531,10 +1565,20 @@ title. Please merge them manually.',
 '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",
-'1movedto2_redir' => '$1 moved to $2 over redirect',
+'1movedto2'            => "[[$1]] moved to [[$2]]",
+'1movedto2_redir' => '[[$1]] moved to [[$2]] over redirect',
 'movelogpage' => 'Move log',
 'movelogpagetext' => 'Below is a list of page moved.',
+'movereason'   => 'Reason',
+'revertmove'   => 'revert',
+'delete_and_move' => 'Delete and move',
+'delete_and_move_text' => 
+'==Deletion required==
+
+The destination article "[[$1]]" already exists. Do you want to delete it to make way for the move?',
+'delete_and_move_reason' => 'Deleted to make way for move',
+'selfmove' => "Source and destination titles are the same; can't move a page over itself.",
+'immobile_namespace' => "Destination title is of a special type; cannot move pages into that namespace.",
 
 # Export
 
@@ -1556,6 +1600,9 @@ article [[Train]].
 # Namespace 8 related
 
 'allmessages'  => 'All system messages',
+'allmessagesname' => 'Name',
+'allmessagesdefault' => 'Default text',
+'allmessagescurrent' => 'Current text',
 '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.',
@@ -1579,6 +1626,7 @@ article [[Train]].
 'accesskey-minoredit' => 'i',
 'accesskey-save' => 's',
 'accesskey-preview' => 'p',
+'accesskey-diff' => 'd',
 'accesskey-compareselectedversions' => 'v',
 
 # tooltip help for some actions, most are in Monobook.js
@@ -1586,6 +1634,7 @@ article [[Train]].
 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
 'tooltip-save' => 'Save your changes [alt-s]',
 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
+'tooltip-diff' => 'Show which changes you made to the text. [alt-d]',
 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
 'tooltip-watch' => 'Add this page to your watchlist [alt-w]',
 
@@ -1623,12 +1672,12 @@ article [[Train]].
 'listingcontinuesabbrev' => " cont.",
 
 # Info page
-"infosubtitle" => "Information for page",
-"numedits" => "Number of edits (article): $1",
-"numtalkedits" => "Number of edits (discussion page): $1",
-"numwatchers" => "Number of watchers: $1",
-"numauthors" => "Number of distinct authors (article): $1",
-"numtalkauthors" => "Number of distinct authors (discussion page): $1",
+'infosubtitle' => 'Information for page',
+'numedits' => 'Number of edits (article): $1',
+'numtalkedits' => 'Number of edits (discussion page): $1',
+'numwatchers' => 'Number of watchers: $1',
+'numauthors' => 'Number of distinct authors (article): $1',
+'numtalkauthors' => 'Number of distinct authors (discussion page): $1',
 
 # Math options
 'mw_math_png' => 'Always render PNG',
@@ -1705,10 +1754,11 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
 'deletedrevision' => 'Deleted old revision $1.',
 
 # browsing diffs
-'previousdiff' => '&larr; Go to previous diff',
-'nextdiff' => 'Go to next diff &rarr;',
+'previousdiff' => '← Previous diff',
+'nextdiff' => 'Next diff →',
 
 'imagemaxsize' => 'Limit images on image description pages to: ',
+'thumbsize'    => 'Thumbnail size : ',
 'showbigimage' => 'Download high resolution version ($1x$2, $3 KB)',
 
 'newimages' => 'New images gallery',
@@ -1766,17 +1816,194 @@ ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
 
 'passwordtooshort' => 'Your password is too short. It must have at least $1 characters.',
 
+# Exif data
+'metadata' => 'Metadata',
+# Exif tags
+'exif-imagewidth' =>'Image width',
+'exif-imagelength' =>'Image height',
+'exif-bitspersample' =>'Number of bits per component',
+'exif-compression' =>'Compression scheme',
+'exif-photometricinterpretation' =>'Pixel composition',
+'exif-orientation' =>'Orientation of image',
+'exif-samplesperpixel' =>'Number of components',
+'exif-planarconfiguration' =>'Image data arrangement',
+'exif-ycbcrsubsampling' =>'Subsampling ratio of Y to C',
+'exif-ycbcrpositioning' =>'Y and C positioning',
+'exif-xresolution' =>'Image resolution in width direction',
+'exif-yresolution' =>'Image resolution in height direction',
+'exif-resolutionunit' =>'Unit of X and Y resolution',
+'exif-stripoffsets' =>'Image data location',
+'exif-rowsperstrip' =>'Number of rows per strip',
+'exif-stripbytecounts' =>'Bytes per compressed strip',
+'exif-jpeginterchangeformat' =>'Offset to JPEG SOI',
+'exif-jpeginterchangeformatlength' =>'Bytes of JPEG data',
+'exif-transferfunction' =>'Transfer function',
+'exif-whitepoint' =>'White point chromaticity',
+'exif-primarychromaticities' =>'Chromaticities of primarities',
+'exif-ycbcrcoefficients' =>'Color space transformation matrix coefficients',
+'exif-referenceblackwhite' =>'Pair of black and white reference values',
+'exif-datetime' =>'File change date and time',
+'exif-imagedescription' =>'Image title',
+'exif-make' =>'Image input equipment manufacturer',
+'exif-model' =>'Image input equipment model',
+'exif-software' =>'Software used',
+'exif-artist' =>'Person who created the image',
+'exif-copyright' =>'Copyright holder',
+'exif-exifversion' =>'Exif version',
+'exif-flashpixversion' =>'Supported Flashpix version',
+'exif-colorspace' =>'Color space information',
+'exif-componentsconfiguration' =>'Meaning of each component',
+'exif-compressedbitsperpixel' =>'Image compression mode',
+'exif-pixelydimension' =>'Valid image width',
+'exif-pixelxdimension' =>'Valind image height',
+'exif-makernote' =>'Manufacturer notes',
+'exif-usercomment' =>'User comments',
+'exif-relatedsoundfile' =>'Related audio file',
+'exif-datetimeoriginal' =>'Date and time of original data generation',
+'exif-datetimedigitized' =>'Date and time of original data generation',
+'exif-subsectime' =>'DateTime subseconds',
+'exif-subsectimeoriginal' =>'DateTimeOriginal subseconds',
+'exif-subsectimedigitized' =>'DateTimeDigitized subseconds',
+'exif-exposuretime' =>'Exposure time',
+'exif-fnumber' =>'F Number',
+'exif-exposureprogram' =>'Exposure Program',
+'exif-spectralsensitivity' =>'Spectral sensitivity',
+'exif-isospeedratings' =>'ISO speed rating',
+'exif-oecf' =>'Optoelectronic conversion factor',
+'exif-shutterspeedvalue' =>'Shutter speed',
+'exif-aperturevalue' =>'Aperture',
+'exif-brightnessvalue' =>'Brightness',
+'exif-exposurebiasvalue' =>'Exposure bias',
+'exif-maxaperturevalue' =>'Maximum land aperture',
+'exif-subjectdistance' =>'Subject distance',
+'exif-meteringmode' =>'Metering mode',
+'exif-lightsource' =>'Light source',
+'exif-flash' =>'Flash',
+'exif-focallength' =>'Lens focal length',
+'exif-subjectarea' =>'Subject area',
+'exif-flashenergy' =>'Flash energy',
+'exif-spatialfrequencyresponse' =>'Spatial frequency response',
+'exif-focalplanexresolution' =>'Focal plane X resolution',
+'exif-focalplaneyresolution' =>'Focal plane Y resolution',
+'exif-focalplaneresolutionunit' =>'Focal plane resolution unit',
+'exif-subjectlocation' =>'Subject location',
+'exif-exposureindex' =>'Exposure index',
+'exif-sensingmethod' =>'Sensing method',
+'exif-filesource' =>'File source',
+'exif-scenetype' =>'Scene type',
+'exif-cfapattern' =>'CFA pattern',
+'exif-customrendered' =>'Custom image processing',
+'exif-exposuremode' =>'Exposure mode',
+'exif-whitebalance' =>'White Balance',
+'exif-digitalzoomratio' =>'Digital zoom ration',
+'exif-focallengthin35mmfilm' =>'Focal length in 35 mm film',
+'exif-scenecapturetype' =>'Scene capture type',
+'exif-gaincontrol' =>'Scene control',
+'exif-contrast' =>'Contrast',
+'exif-saturation' =>'Saturation',
+'exif-sharpness' =>'Sharpness',
+'exif-devicesettingdescription' =>'Desice settings description',
+'exif-subjectdistancerange' =>'Subject distance range',
+'exif-imageuniqueid' =>'Unique image ID',
+'exif-gpsversionid' =>'GPS tag version',
+'exif-gpslatituderef' =>'North or South Latitude',
+'exif-gpslatitude' =>'Latitude',
+'exif-gpslongituderef' =>'East or West Longitude',
+'exif-gpslongitude' =>'Longitude',
+'exif-gpsaltituderef' =>'Altitude reference',
+'exif-gpsaltitude' =>'Altitude',
+'exif-gpstimestamp' =>'GPS time (atomic clock)',
+'exif-gpssatellites' =>'Satellites used for measurement',
+'exif-gpsstatus' =>'Receiver status',
+'exif-gpsmeasuremode' =>'Measurement mode',
+'exif-gpsdop' =>'Measurement precision',
+'exif-gpsspeedref' =>'Speed unit',
+'exif-gpsspeed' =>'Speed of GPS receiver',
+'exif-gpstrackref' =>'Reference for direction of movement',
+'exif-gpstrack' =>'Direction of movement',
+'exif-gpsimgdirectionref' =>'Reference for direction of image',
+'exif-gpsimgdirection' =>'Direction of image',
+'exif-gpsmapdatum' =>'Geodetic survey data used',
+'exif-gpsdestlatituderef' =>'Reference for latitude of destination',
+'exif-gpsdestlatitude' =>'Latitude destination',
+'exif-gpsdestlongituderef' =>'Reference for longitude of destination',
+'exif-gpsdestlongitude' =>'Longitude of destination',
+'exif-gpsdestbearingref' =>'Reference for bearing of destination',
+'exif-gpsdestbearing' =>'Bearing of destination',
+'exif-gpsdestdistanceref' =>'Reference for distance to destination',
+'exif-gpsdestdistance' =>'Distance to destination',
+'exif-gpsprocessingmethod' =>'Name of GPS processing method',
+'exif-gpsareainformation' =>'Name of GPS area',
+'exif-gpsdatestamp' =>'GPS date',
+'exif-gpsdifferential' =>'GPS differential correction',
+
+# external editor support
+'edit-externally' => 'Edit this file using an external application',
+'edit-externally-help' => 'See the [http://meta.wikimedia.org/wiki/Help:External_editors setup instructions] for more information.',
+
+# 'all' in various places, this might be different for inflicted languages
+'recentchangesall' => 'all',
+'imagelistall' => 'all',
+'watchlistall1' => 'all',
+'watchlistall2' => 'all',
+'contributionsall' => 'all',
+
+# E-mail address confirmation
+'confirmemail' => 'Confirm E-mail address',
+'confirmemail_text' => "This wiki requires that you validate your e-mail address
+before using e-mail features. Activate the button below to send a confirmation
+mail to your address. The mail will include a link containing a code; load the
+link in your browser to confirm that your e-mail address is valid.",
+'confirmemail_send' => 'Mail a confirmation code',
+'confirmemail_sent' => 'Confirmation e-mail sent.',
+'confirmemail_sendfailed' => 'Could not send confirmation mail. Check address for invalid characters.',
+'confirmemail_invalid' => 'Invalid confirmation code. The code may have expired.',
+'confirmemail_success' => 'Your e-mail address has been confirmed. You may now log in and enjoy the wiki.',
+'confirmemail_loggedin' => 'Your e-mail address has now been confirmed.',
+'confirmemail_error' => 'Something went wrong saving your confirmation.',
+
+'confirmemail_subject' => '{{SITENAME}} e-mail address confirmation',
+'confirmemail_body' => "Someone, probably you from IP address $1, has registered an
+account \"$2\" with this e-mail address on {{SITENAME}}.
+
+To confirm that this account really does belong to you and activate
+e-mail features on {{SITENAME}}, open this link in your browser:
+
+$3
+
+If this is *not* you, don't follow the link. This confirmation code
+will expire at $4.
+",
+
 );
 
+/* a fake language converter */
+class fakeConverter {
+       var $mLang;   
+       function fakeConverter($langobj) {$this->mLang = $langobj;}
+       function convert($t, $i) {return $t;}
+       function getVariants() { return array( strtolower( substr( get_class( $this->mLang ), 8 ) ) ); }
+       function getPreferredVariant() {return strtolower( substr( get_class( $this->mLang ), 8 ) );}
+       function findVariantLink(&$l, &$n) {}
+       function getExtraHashOptions() {return '';}
+       function getParsedTitle() {return '';}
+       function markNoConversion($text) {return $text;}
+       function convertCategoryKey( $key ) {return $key; }
+
+}
+
 #--------------------------------------------------------------------------
 # Internationalisation code
 #--------------------------------------------------------------------------
 
 class Language {
-       function Language(){
+       var $mConverter;
+       function Language() {
+
                # Copies any missing values in the specified arrays from En to the current language
                $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
                $name = get_class( $this );
+
                if( strpos( $name, 'language' ) == 0){
                        $lang = ucfirst( substr( $name, 8 ) );
                        foreach( $fillin as $arrname ){
@@ -1790,28 +2017,86 @@ class Language {
                                }
                        }
                }
+               $this->mConverter = new fakeConverter($this);
        }
-
-       function getDefaultUserOptions () {
+       
+       /**
+        * Exports the default user options as defined in
+        * $wgDefaultUserOptionsEn, user preferences can override some of these
+        * depending on what's in (Local|Default)Settings.php and some defines.
+        * 
+        * @return array
+        */
+       function getDefaultUserOptions() {
                global $wgDefaultUserOptionsEn ;
                return $wgDefaultUserOptionsEn ;
        }
-
-       function getBookstoreList () {
+       
+       /**
+        * Exports $wgBookstoreListEn
+        * @return array
+        */
+       function getBookstoreList() {
                global $wgBookstoreListEn ;
                return $wgBookstoreListEn ;
        }
-
+       
+       /**
+        * @return array
+        */
        function getNamespaces() {
                global $wgNamespaceNamesEn;
                return $wgNamespaceNamesEn;
        }
 
+       /**
+        * A convenience function that returns the same thing as
+        * getNamespaces() except with the array values changed to ' '
+        * where it found '_', useful for producing output to be displayed
+        * e.g. in <select> forms.
+        *
+        * @return array
+        */
+       function getFormattedNamespaces() {
+               $ns = $this->getNamespaces();
+               foreach($ns as $k => $v) {
+                       $ns[$k] = strtr($v, '_', ' ');
+               }
+               return $ns;
+       }
+
+       /**
+        * Get a namespace value by key
+        * <code>
+        * $mw_ns = $wgContLang->getNsText( NS_MEDIAWIKI );
+        * echo $mw_ns; // prints 'MediaWiki'
+        * </code>
+        *
+        * @param int $index the array key of the namespace to return
+        * @return string
+        */
        function getNsText( $index ) {
                global $wgNamespaceNamesEn;
                return $wgNamespaceNamesEn[$index];
        }
+       /**
+        * A convenience function that returns the same thing as
+        * getNsText() except with '_' changed to ' ', useful for
+        * producing output.
+        *
+        * @return array
+        */
+       function getFormattedNsText( $index ) {
+               $ns = $this->getNsText( $index );
+               return strtr($ns, '_', ' ');
+       }
 
+       /**
+        * Get a namespace key by value
+        *
+        * @param string $text
+        * @return mixed An integer if $text is a valid value otherwise false
+        */
        function getNsIndex( $text ) {
                global $wgNamespaceNamesEn;
 
@@ -1821,10 +2106,14 @@ class Language {
                return false;
        }
 
-       # short names for language variants used for language conversion links. 
-       # so far only used by zh
+       /**
+        * short names for language variants used for language conversion links. 
+        *
+        * @param string $code
+        * @return string
+        */
        function getVariantname( $code ) {
-               return wfMsg( 'variantname-' . $code );
+               return wfMsg( "variantname-$code" );
        }
 
        function specialPage( $name ) {
@@ -1862,7 +2151,7 @@ class Language {
        }
 
        function getUserToggle( $tog ) {
-               return wfMsg("tog-".$tog);
+               return wfMsg( "tog-$tog" );
        }
 
        function getLanguageNames() {
@@ -1910,11 +2199,18 @@ class Language {
                        return wfMsg($wgWeekdayNamesEn[$key-1]);
        }
 
+       /**
+        * Used by date() and time() to adjust the time output.
+        * @access public
+        * @param int   $ts the time in date('YmdHis') format
+        * @param mixed $tz adjust the time by this amount (default false)
+        * @return int
+        */
        function userAdjust( $ts, $tz = false ) {
                global $wgUser, $wgLocalTZoffset;
 
                if (!$tz) {
-               $tz = $wgUser->getOption( 'timecorrection' );
+                       $tz = $wgUser->getOption( 'timecorrection' );
                }
 
                if ( $tz === '' ) {
@@ -1938,63 +2234,116 @@ class Language {
                  (int)substr( $ts, 0, 4 ) ); #Year
                return date( 'YmdHis', $t );
        }
+       
+       /**
+        * This is meant to be used by time(), date(), and timeanddate() to get
+        * the date preference they're supposed to use, it should be used in
+        * all children.
+        *
+        *<code>
+        * function timeanddate([...], $format = '0') {
+        *      $datePreference = $this->dateFormat($format);
+        * [...]
+        *</code>
+        *
+        * @param mixed $format
+        * @return string
+        */
+       function dateFormat( $format ) {
+               global $wgUser;
 
-       function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT, $timecorrection = false ) {
-               global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
-
-               $ts=wfTimestamp(TS_MW,$ts);
-
-               if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
-
-               if ( $wgUseDynamicDates ) {
-                       if ( $format == MW_DATE_USER_FORMAT ) {
-                               $datePreference = $wgUser->getOption( 'date' );
-                       } else {
-                               $options = $this->getDefaultUserOptions();
-                               $datePreference = $options['date'];
-                       }
-                       if ( $datePreference == 0 ) {
-                               $datePreference = $wgAmericanDates ? 1 : 2;
-                       }
+               if ( !$wgUser->isLoggedIn() || $format === false ) {
+                       $options = $this->getDefaultUserOptions();
+                       return $options['date'];
                } else {
-                       $datePreference = $wgAmericanDates ? 1 : 2;
+                       return $wgUser->getOption( 'date' );
                }
+       }
+       
+       /**
+        * @access public
+        * @param mixed  $ts the time format which needs to be turned into a
+        *               date('YmdHis') format with wfTimestamp(TS_MW,$ts)
+        * @param bool   $adj whether to adjust the time output according to the
+        *               user configured offset ($timecorrection)
+        * @param mixed  $format what format to return, if it's false output the
+        *               default one.
+        * @param string $timecorrection the time offset as returned by
+        *               validateTimeZone() in Special:Preferences
+        * @return string
+        */
+       function date( $ts, $adj = false, $format = false, $timecorrection = false ) {
+               global $wgAmericanDates, $wgUser;
+               
+               if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
+               
+               $datePreference = $this->dateFormat($format);
+               
+               if ($datePreference == '0') {$datePreference = $wgAmericanDates ? '0' : '2';}
 
-               $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
+               $month = $this->getMonthName( substr( $ts, 4, 2 ) );
                $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
-               $year = $this->formatNum( substr( $ts, 0, 4 ) );
-
+               $year = $this->formatNum( substr( $ts, 0, 4 ), true );
+               
                switch( $datePreference ) {
-                       case 1: return "$month $day, $year";
-                       case 2: return "$day $month $year";
-                       default: return "$year $month $day";
+                       case '2': return "$day $month $year";
+                       case '3': return "$year $month $day";
+                       case 'ISO 8601': return substr($ts, 0, 4). '-' . substr($ts, 4, 2). '-' .substr($ts, 6, 2);
+                       default: return "$month $day, $year";
                }
        }
 
-       function time( $ts, $adj = false, $seconds = false, $timecorrection = false ) {
-               $ts=wfTimestamp(TS_MW,$ts);
+       /**
+       * @access public
+       * @param mixed  $ts the time format which needs to be turned into a
+       *               date('YmdHis') format with wfTimestamp(TS_MW,$ts)
+       * @param bool   $adj whether to adjust the time output according to the
+       *               user configured offset ($timecorrection)
+       * @param mixed  $format what format to return, if it's false output the
+       *               default one.
+       * @param string $timecorrection the time offset as returned by
+       *               validateTimeZone() in Special:Preferences
+       * @return string
+       */
+       function time( $ts, $adj = false, $format = false, $timecorrection = false ) {
+               global $wgUser, $wgAmericanDates;
 
                if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
+               $datePreference = $this->dateFormat($format);
+               
+               if ($datePreference == '0') {$datePreference = $wgAmericanDates ? '0' : '2';}
 
                $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
-               if ( $seconds ) {
+               
+               if ( $datePreference === 'ISO 8601' ) {
                        $t .= ':' . substr( $ts, 12, 2 );
                }
                return $this->formatNum( $t );
        }
-
-       function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT, $timecorrection = false, $dateandtime = false) {
-               $ts=wfTimestamp(TS_MW,$ts);
-               if ($dateandtime) {
-                       $ret = $this->date( $ts, $adj, $format, $timecorrection ) . ', ' . $this->time( $ts, $adj, false, $timecorrection );
-               } else {
-                       $ret = $this->time( $ts, $adj, false, $timecorrection ) . ', ' . $this->date( $ts, $adj, $format, $timecorrection );
+       
+       /**
+       * @access public
+       * @param mixed  $ts the time format which needs to be turned into a
+       *               date('YmdHis') format with wfTimestamp(TS_MW,$ts)
+       * @param bool   $adj whether to adjust the time output according to the
+       *               user configured offset ($timecorrection)
+       * @param mixed  $format what format to return, if it's false output the
+       *               default one.
+       * @param string $timecorrection the time offset as returned by
+       *               validateTimeZone() in Special:Preferences
+       * @return string
+       */
+       function timeanddate( $ts, $adj = false, $format = false, $timecorrection = false) {
+               global $wgUser, $wgAmericanDates;
+               
+               $datePreference = $this->dateFormat($format);
+               
+               switch ( $datePreference ) {
+                       case 'ISO 8601': return $this->date( $ts, $adj, $datePreference, $timecorrection ) . ' ' .
+                               $this->time( $ts, $adj, $datePreference, $timecorrection );
+                       default: return $this->time( $ts, $adj, $datePreference, $timecorrection ) . ', ' .
+                               $this->date( $ts, $adj, $datePreference, $timecorrection );
                }
-               return $ret;
-       }
-
-       function rfc1123( $ts ) {
-               return date( 'D, d M Y H:i:s T', $ts );
        }
 
        function getValidSpecialPages() {
@@ -2033,7 +2382,7 @@ class Language {
        }
 
        function lcfirst( $s ) {
-               return strtolower( $s{0}  ). substr( $s, 1 );
+               return strtolower( $s{0} ). substr( $s, 1 );
        }
 
        function checkTitleEncoding( $s ) {
@@ -2055,11 +2404,16 @@ class Language {
                # it with one to detect and convert another legacy encoding.
                return $s;
        }
-
+       
+       /**
+        * Some languages have special punctuation to strip out
+        * or characters which need to be converted for MySQL's
+        * indexing to grok it correctly. Make such changes here.
+        *
+        * @param string $in
+        * @return string
+        */
        function stripForSearch( $in ) {
-               # Some languages have special punctuation to strip out
-               # or characters which need to be converted for MySQL's
-               # indexing to grok it correctly. Make such changes here.
                return strtolower( $in );
        }
 
@@ -2069,13 +2423,26 @@ class Language {
                return $termsArray;
        }       
 
+       /**
+        * Get the first character of a string. In ASCII, return
+        * first byte of the string. UTF8 and others have to
+        * overload this.
+        *
+        * @param string $s
+        * @return string
+        */
        function firstChar( $s ) {
-               # Get the first character of a string. In ASCII, return
-               # first byte of the string. UTF8 and others have to
-               # overload this.
                return $s[0];
        }
 
+       function initEncoding() {
+               # Some languages may have an alternate char encoding option
+               # (Esperanto X-coding, Japanese furigana conversion, etc)
+               # If this language is used as the primary content language,
+               # an override to the defaults can be set here on startup.
+               #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
+       }
+
        function setAltEncoding() {
                # Some languages may have an alternate char encoding option
                # (Esperanto X-coding, Japanese furigana conversion, etc)
@@ -2115,10 +2482,18 @@ class Language {
                }
        }
 
-       # For right-to-left language support
+       /**
+        * For right-to-left language support
+        *
+        * @return bool
+        */
        function isRTL() { return false; }
 
-       # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
+       /**
+        * To allow "foo[[bar]]" to extend the link over the whole word "foobar"
+        *
+        * @return bool
+        */
        function linkPrefixExtension() { return false; }
 
 
@@ -2138,20 +2513,66 @@ class Language {
                $mw->mCaseSensitive = $rawEntry[0];
                $mw->mSynonyms = array_slice( $rawEntry, 1 );
        }
-
-       # Italic is unsuitable for some languages
+       
+       /** 
+        * Italic is unsuitable for some languages
+        *
+        * @access public
+        *
+        * @param string $text The text to be emphasized.
+        * @return string
+        */
        function emphasize( $text ) {
-               return '<em>'.$text.'</em>';
+               return "<em>$text</em>";
        }
 
-
-       # Normally we use the plain ASCII digits. Some languages such as Arabic will
-       # want to output numbers using script-appropriate characters: override this
-       # function with a translator. See LanguageAr.php for an example.
-       function formatNum( $number ) {
-               return $number;
+       /**
+        * This function enables formatting of numbers, it should only come
+        * into effect when the $wgTranslateNumerals variable is TRUE.
+        * 
+        * Normally we output all numbers in plain en_US style, that is
+        * 293,291.235 for twohundredninetythreethousand-twohundredninetyone
+        * point twohundredthirtyfive. However this is not sutable for all
+        * languages, some such as Pakaran want ੨੯੩,੨੯੫.੨੩੫ and others such as
+        * Icelandic just want to use commas instead of dots, and dots instead
+        * of commas like "293.291,235".
+        * 
+        * An example of this function being called:
+        * <code>
+        * wfMsg( 'message', $wgLang->formatNum( $num ) )
+        * </code>
+        * 
+        * See LanguageGu.php for the Gujarati implementation and
+        * LanguageIs.php for the , => . and . => , implementation.
+        * 
+        * @todo check if it's viable to use localeconv() for the decimal
+        *       seperator thing.
+        * @access public
+        * @param mixed $number the string to be formatted, should be an integer or
+        *        a floating point number. 
+        * @param bool $year are we being passed a year? (turns off commafication)
+        * @return mixed whatever we're fed if it's a year, a string otherwise.
+        */
+       function formatNum( $number, $year = false ) {
+               return $year ? $number : $this->commafy($number);
+       }
+       
+       /**
+        * Adds commas to a given number
+        *
+        * @param mixed $_
+        * @return string
+        */
+       function commafy($_) {
+               return strrev((string)preg_replace('/(\d{3})(?=\d)(?!\d*\.)/','$1,',strrev($_)));
        }
 
+       /**
+        * For the credit list in includes/Credits.php (action=credits)
+        *
+        * @param array $l
+        * @return string
+        */
        function listToText( $l ) {
                $s = '';
                $m = count($l) - 1;
@@ -2190,68 +2611,113 @@ class Language {
                }
        }
 
-       # Grammatical transformations, needed for inflected languages
-       # Invoked by putting {{grammar:case|word}} in a message
+       /**
+        * Grammatical transformations, needed for inflected languages
+        * Invoked by putting {{grammar:case|word}} in a message
+        *
+        * @param string $word
+        * @param string $case
+        * @return string
+        */
        function convertGrammar( $word, $case ) {
                return $word;
        }
 
-       # languages like Chinese need to be segmented in order for the diff
-       # to be of any use
+       /**
+        * languages like Chinese need to be segmented in order for the diff
+        * to be of any use
+        *
+        * @param string $text
+        * @return string
+        */
        function segmentForDiff( $text ) {
                return $text;
        }
-       # and unsegment to show the result
+       
+       /**
+        * and unsegment to show the result
+        *
+        * @param string $text
+        * @return string
+        */
        function unsegmentForDiff( $text ) {
                return $text;
        }
 
        # convert text to different variants of a language.
-       function convert( $text , $isTitle=false) {
-               return $text;
+       function convert( $text, $isTitle = false) {
+               return $this->mConverter->convert($text, $isTitle);
        }
 
-       # 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 );
+       function convertCategoryKey( $key ) {
+               return $this->mConverter->convertCategoryKey( $key );
        }
-       
-       # 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;
+
+       /**
+        * get the list of variants supported by this langauge
+        * see sample implementation in LanguageZh.php
+        *
+        * @return array an array of language codes
+        */
+       function getVariants() {
+               return $this->mConverter->getVariants();
        }
 
+
        function getPreferredVariant() {
-               return strtolower( substr( get_class( $this ), 8 ) );
+               return $this->mConverter->getPreferredVariant();
        }
 
-       /* 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. See e.g. LanguageZh.php
-
-       */
+       /**
+        * 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. See e.g. LanguageZh.php
+        *
+        * @param string $link the name of the link
+        * @param mixed $nt the title object of the link
+        * @return null the input parameters may be modified upon return
+        */
        function findVariantLink( &$link, &$nt ) {
-               return;
+               $this->mConverter->findVariantLink($link, $nt);
        }
 
-       /*
-               returns an array of extra options used by User::getPageRenderHash()
-       */
+       /**
+        * returns language specific options used by User::getPageRenderHash()
+        * for example, the preferred language variant
+        *
+        * @return string
+        * @access public
+        */
        function getExtraHashOptions() {
-               return '';
+               return $this->mConverter->getExtraHashOptions();
+       }
+
+       /**
+        * for languages that support multiple variants, the title of an
+        * article may be displayed differently in different variants. this
+        * function returns the apporiate title defined in the body of the article.
+        * 
+        * @return string
+        */
+       function getParsedTitle() {
+               return $this->mConverter->getParsedTitle();
        }
        
+       /**
+        * Enclose a string with the "no conversion" tag. This is used by
+        * various functions in the Parser
+        * 
+        * @param string $text text to be tagged for no conversion
+        * @return string the tagged text
+       */
+       function markNoConversion( $text ) {
+               return $this->mConverter->markNoConversion( $text );
+       }
+
        /**
         * A regular expression to match legal word-trailing characters
         * which should be merged onto a link of the form [[foo]]bar.
-        * FIXME
         *
         * @return string
         * @access public
@@ -2266,6 +2732,7 @@ class Language {
                return $this;
        }
 
+
 }
 
 # This should fail gracefully if there's not a localization available