'imagesize' => 2,
'thumbsize' => 2,
'rememberpassword' => 0,
- 'enotifwatchlistpages' => 1,
+ 'enotifwatchlistpages' => 0,
'enotifusertalkpages' => 1,
'enotifminoredits' => 0,
'enotifrevealaddr' => 0,
'shownumberswatching' => 1,
- 'rcusemodstyle' => 1,
- 'showupdated' => 1,
'fancysig' => 0,
'externaleditor' => 0,
'externaldiff' => 0,
'chick' => 'Chick'
);
-# 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"
-);
-
/* private */ $wgMathNamesEn = array(
MW_MATH_PNG => 'mw_math_png',
MW_MATH_SIMPLE => 'mw_math_simple',
'enotifminoredits',
'enotifrevealaddr',
'shownumberswatching',
- 'rcusemodstyle',
- 'showupdated',
'fancysig',
'externaleditor',
'externaldiff',
MAG_LOCALURL => array( 0, 'LOCALURL:' ),
MAG_LOCALURLE => array( 0, 'LOCALURLE:' ),
MAG_SERVER => array( 0, 'SERVER' ),
+ MAG_SERVERNAME => array( 0, 'SERVERNAME' ),
+ MAG_SCRIPTPATH => array( 0, 'SCRIPTPATH' ),
MAG_GRAMMAR => array( 0, 'GRAMMAR:' ),
MAG_NOTITLECONVERT => array( 0, '__NOTITLECONVERT__', '__NOTC__'),
MAG_NOCONTENTCONVERT => array( 0, '__NOCONTENTCONVERT__', '__NOCC__'),
global $wgRightsText;
/* private */ $wgAllMessagesEn = array(
-'special_version_prefix' => ' ',
-'special_version_postfix' => ' ',
+
+# The navigation toolbar, int: is used here to make sure that the appropriate
+# messages are automatically pulled from the user-selected language file.
+
+/*
+The sidebar for MonoBook is generated from this message, lines that do not
+begin with * or ** are discarded, furthermore lines that do begin with ** and
+do not contain | are also discarded, but don't depend on this behaviour for
+future releases. Also note that since each list value is wrapped in a unique
+XHTML id it should only appear once and include characters that are legal
+XHTML id names.
+
+Note to translators: Do not include this message in the language files you
+submit for inclusion in MediaWiki, it should always be inherited from the
+parent class in order maintain consistency across languages.
+*/
+'sidebar' => '
+* navigation
+** mainpage|mainpage
+** portal-url|portal
+** currentevents-url|currentevents
+** recentchanges-url|recentchanges
+** randompage-url|randompage
+** helppage|help
+** sitesupport-url|sitesupport
+',
+
# User preference toggles
'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-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)',
-'tog-enotifusertalkpages' => 'Send me an email when my user talk page is changed (remark: existing notification flags need to be cleared manually in the watchlist)',
-'tog-enotifminoredits' => 'Send me an email also for minor edits of pages (which usually do not trigger notification mails)',
-'tog-enotifrevealaddr' => 'Reveal my email address in notification mails (when I change a page, it allows watching users to reply quickly to me)',
-'tog-shownumberswatching' => 'Show the number of watching users (in recent changes view, watchlist and article page footers)',
-'tog-rcusemodstyle' => 'Show recent changes in UseMod style: only the most recent change of any page is listed.',
-'tog-showupdated' => 'Show update marker ',
+'tog-enotifwatchlistpages' => 'Send me an email on page changes',
+'tog-enotifusertalkpages' => 'Send me an email when my user talk page is changed',
+'tog-enotifminoredits' => 'Send me an email also for minor edits of pages',
+'tog-enotifrevealaddr' => 'Reveal my email address in notification mails',
+'tog-shownumberswatching' => 'Show the number of watching users',
'tog-fancysig' => 'Raw signatures (without automatic link)',
'tog-externaleditor' => 'Use external editor by default',
'tog-externaldiff' => 'Use external diff by default',
"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' => 'Project:Community Portal',
'about' => 'About',
'wikititlesuffix' => '{{SITENAME}}',
'bugreports' => 'Bug reports',
'bugreportspage' => 'Project:Bug_reports',
-'sitesupport' => '-', # To enable, something like 'Donations',
+'sitesupport' => 'Donations',
'sitesupport-url' => 'Project:Site support',
'faq' => 'FAQ',
'faqpage' => 'Project:FAQ',
'metadata' => '<b>Metadata</b> (for an explanation see <a href="$1">here</a>)',
'metadata_page' => 'Wikipedia:Metadata',
-# 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' => "Project:General_disclaimer",
'errorpagetitle' => "Error",
'articlepage' => 'View content page',
'subjectpage' => 'View subject', # For compatibility
'talk' => 'Discussion',
+'views' => 'Views',
'toolbox' => 'Toolbox',
'userpage' => 'View user page',
'wikipediapage' => 'View project page',
'printsubtitle' => "(From {{SERVER}})",
'protectedpage' => 'Protected page',
'administrators' => "Project:Administrators",
+
'sysoptitle' => 'Sysop access required',
'sysoptext' => "The action you have requested can only be
performed by users with \"sysop\" status.
'bureaucrattitle' => 'Bureaucrat access required',
"bureaucrattext" => "The action you have requested can only be
performed by sysops with \"bureaucrat\" status.",
+
+'badaccess' => 'Permission error',
+'badaccesstext' => 'The action you have requested is limited
+to users with the "$2" permission assigned.
+See $1.',
+
'nbytes' => '$1 bytes',
'ok' => 'OK',
'sitetitle' => "{{SITENAME}}",
'nstab-media' => 'Media',
'nstab-special' => 'Special',
'nstab-wp' => 'About',
-'nstab-image' => 'Image',
+'nstab-image' => 'File',
'nstab-mediawiki' => 'Message',
'nstab-template' => 'Template',
'nstab-help' => 'Help',
'nosuchactiontext' => 'The action specified by the URL is not
recognized by the wiki',
'nosuchspecialpage' => 'No such special page',
-'nospecialpagetext' => 'You have requested a special page that is not
-recognized by the wiki.',
+'nospecialpagetext' => 'You have requested an invalid special page, a list of valid special pages may be found at [[{{ns:special}}:Specialpages]].',
# General errors
#
<p>If this is not the case, you may have found a bug in the software.
Please report this to an administrator, making note of the URL.",
+'readonly_lag' => "The database has been automatically locked while the slave database servers catch up to the master",
'internalerror' => 'Internal error',
'filecopyerror' => "Could not copy file \"$1\" to \"$2\".",
'filerenameerror' => "Could not rename file \"$1\" to \"$2\".",
'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.",
'yourpasswordagain' => 'Retype password',
'newusersonly' => ' (new users only)',
'remembermypassword' => 'Remember my password across sessions.',
+'yourdomainname' => 'Your domain',
+'externaldberror' => 'There was either an external authentication database error or you are not allowed to update your external account.',
'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
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 (or missing). Please try again.',
-'mailmypassword' => 'Mail me a temporary password',
-'mailmypasswordauthent' => 'Mail me a temporary password',
-'passwordremindermailsubject' => "Email address authentication and temporary login password from {{SITENAME}}",
-'passwordremindermailbody' => "Someone, probably you from IP address $1,
-requested that we send you a temporary one-time login password for {{SITENAME}}.
-
-This mail is also be sent for the purpose of authentication of your email address.
-The password for user \"$2\" is now \"$4\".
-
-You can now log in with this temporary password, which is valid for only one login.
-You may wish to keep using your old password if you remember it or to set a new one.
-
-{{SERVER}}{{localurl:Special:Userlogin|wpName=$3&wpPassword=$4&returnto=Special:Preferences}}",
-'noemail' => "There is no e-mail address recorded for user \"$1\".",
-'passwordsent' => "A temporary password has been sent to the e-mail address
+'mailmypassword' => 'Mail me a new password',
+'passwordremindertitle' => "Password reminder from {{SITENAME}}",
+'passwordremindertext' => "Someone (probably you, from IP address $1)
+requested that we send you a new {{SITENAME}} login password.
+The password for user \"$2\" is now \"$3\".
+You should log in and change your password now.",
+'noemail' => "There is no e-mail address recorded for user \"$1\".",
+'passwordsent' => "A new password has been sent to the e-mail address
registered for \"$1\".
Please log in again after you receive it.",
-'passwordsentforemailauthentication'
- => "A temporary password has been sent to the e-mail address newly
-registered for \"$1\".
-Please re-login with that for authentication purposes.",
-'loginend' => ' ',
-'mailerror' => "Error sending mail: $1",
+'eauthentsent' => "A confirmation email has been sent to the nominated email address.
+Before any other mail is sent to the account, you will have to follow the instructions in the email,
+to confirm that the account is actually yours.",
+'loginend' => ' ',
+'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>.',
+'emailauthenticated' => 'Your email address was authenticated on $1.',
+'emailnotauthenticated' => 'Your email address is <strong>not yet authenticated</strong>. No email
+will be sent for any of the following features.',
+'noemailprefs' => '<strong>No email address has been specified</strong>, the following
+features will not work.',
'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>',
+'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.',
# Edit page toolbar
'bold_sample'=>'Bold text',
'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)',
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).
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
'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' => 'The number of hours your local time differs from server time (UTC).',
'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',
+'userrights-logcomment' => 'Changed group membership from $1 to $2',
# Default group names and descriptions
#
'uploadnologintext' => "You must be [[Special:Userlogin|logged in]]
to upload files.",
'upload_directory_read_only' => 'The upload directory ($1) is not writable by the webserver.',
-'uploadfile' => 'Upload images, sounds, documents etc.',
'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',
'savefile' => 'Save file',
'uploadedimage' => "uploaded \"[[$1]]\"",
'uploaddisabled' => 'Sorry, uploading is disabled.',
+'uploadscripted' => 'This file contains HTML or script code that my be erroneously be interpreted by a web browser.',
'uploadcorrupt' => 'The file is corrupt or has an incorrect extension. Please check the file and upload again.',
+'uploadvirus' => 'The file contains a virus! Details: $1',
'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.",
+'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]',
There have been a total of '''$3''' page views, and '''$4''' page edits
since the wiki was setup.
That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
-'userstatstext' => "There are '''$1''' registered users.
-'''$2''' of these are administrators (see $3).",
+'userstatstext' => "There are '''$1''' registered users, of which
+'''$2''' (or '''$4%''') are administrators (see $3).",
# Maintenance Page
#
'lonelypages' => 'Orphaned pages',
'uncategorizedpages' => 'Uncategorized pages',
'uncategorizedcategories' => 'Uncategorized categories',
-'unusedimages' => 'Unused images',
+'unusedimages' => 'Unused files',
'popularpages' => 'Popular pages',
'nviews' => '$1 views',
'wantedpages' => 'Wanted pages',
'nlinks' => '$1 links',
'allpages' => 'All pages',
'randompage' => 'Random page',
-'randompage-url'=> 'Special:Randompage',
+'randompage-url'=> 'Special:Random',
'shortpages' => 'Short pages',
'longpages' => 'Long pages',
'deadendpages' => 'Dead-end pages',
'specialpages' => 'Special pages',
'spheading' => 'Special pages for all users',
'restrictedpheading' => 'Restricted special pages',
-'asksqlpheading' => 'asksql level',
'blockpheading' => 'block level',
'createaccountpheading' => 'createaccount level',
'deletepheading' => 'delete level',
# Special:Allpages
'nextpage' => 'Next page ($1)',
-'allpagesformtext' => '
-<table border="0">
- <tr>
- <td align="right">Display pages starting at:</td>
- <td align="left">$1</td>
- </tr>
- <tr>
- <td align="right">Namespace:</td>
- <td align="left">$2 $3</td>
- </tr>
- <tr>
- <td align="right">$4</td>
- <td align="left">Invert</td>
- </tr>
-</table>',
+'allpagesfrom' => 'Display pages starting at:',
'allarticles' => 'All articles',
'allnonarticles' => 'All non-articles',
'allinnamespace' => 'All pages ($1 namespace)',
'unwatchthispage' => 'Stop watching',
'notanarticle' => 'Not a content page',
'watchnochange' => 'None of your watched items were edited in the time period displayed.',
-'watchdetails' => "($1 pages watched not counting talk pages;
-$2 total pages edited since cutoff;
-$3...
-<a href='$4'>show and edit complete list</a>.)",
+'watchdetails' => "* $1 pages watched not counting talk pages, $2 total pages edited in the specified period
+* Query method: $3
+* [[Special:Watchlist/edit|Show and edit complete watchlist]]
+",
+'wlheader-enotif' => "* Email notification is enabled.",
+'wlheader-showupdated' => "* Pages which have been changed since you last visited them are shown in '''bold'''",
'watchmethod-recent'=> 'checking recent edits for watched pages',
'watchmethod-list' => 'checking watched pages for recent edits',
'removechecked' => 'Remove checked items from watchlist',
'wlshow' => 'Show',
'wlhide' => 'Hide',
-'updatedmarker' => '<span class=\'updatedmarker\'> updated (since my last visit) </span>',
+'enotif_mailer' => '{{SITENAME}} Notification Mailer',
+'enotif_reset' => 'Mark all pages visited',
+'enotif_newpagetext'=> 'This is a new page.',
+'changed' => 'changed',
+'created' => 'created',
+'enotif_subject' => '{{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED by $PAGEEDITOR',
+'enotif_lastvisited' => 'See {{SERVER}}{{localurl:$PAGETITLE_RAWURL|diff=0&oldid=$OLDID}} for all changes since your last visit.',
+'enotif_body' => 'Dear $WATCHINGUSERNAME,
-'email_notification_mailer' => '{{SITENAME}} Notification Mailer',
-'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 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,
-
-the {{SITENAME}} page $PAGETITLE has been changed on $PAGEEDITDATE by $PAGEEDITOR,
+the {{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED on $PAGEEDITDATE by $PAGEEDITOR,
see {{SERVER}}{{localurl:$PAGETITLE_RAWURL}} for the current version.
$NEWPAGE
Editor\'s summary: $PAGESUMMARY $PAGEMINOREDIT
+
Contact the editor:
mail {{SERVER}}{{localurl:Special:Emailuser|target=$PAGEEDITOR_RAWURL}}
wiki {{SERVER}}{{localurl:User:$PAGEEDITOR_RAWURL}}
--
To change your watchlist settings, visit
-{{SERVER}}{{localurl:Special:Watchlist|magic=yes}}
+{{SERVER}}{{localurl:Special:Watchlist|edit=yes}}
Feedback and further assistance:
-{{SERVER}}{{localurl:WikiHelpdesk}}',
+{{SERVER}}{{localurl:Help:Contents}}',
# Delete/protect/revert
#
'deletepage' => 'Delete page',
'confirm' => 'Confirm',
-'excontent' => 'content was:',
-'exbeforeblank' => 'content before blanking was:',
+'excontent' => "content was: '$1'",
+'excontentauthor' => "content was: '$1' (and the only contributor was '$2')",
+'exbeforeblank' => "content before blanking was: '$1'",
'exblank' => 'page was empty',
'confirmdelete' => 'Confirm delete',
'deletesub' => "(Deleting \"$1\")",
'actioncomplete' => 'Action complete',
'deletedtext' => "\"$1\" has been deleted.
See $2 for a record of recent deletions.",
-'deletedarticle' => "deleted \"$1\"",
+'deletedarticle' => "deleted \"[[$1]]\"",
'dellogpage' => 'Deletion_log',
'dellogpagetext' => 'Below is a list of the most recent deletions.',
'deletionlog' => 'deletion log',
will not be automatically replaced.',
'undeleterevision' => "Deleted revision as of $1",
'undeletebtn' => 'Restore!',
-'undeletedarticle' => "restored \"$1\"",
+'undeletedarticle' => "restored \"[[$1]]\"",
'undeletedrevisions' => "$1 revisions restored",
'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',
'mycontris' => 'My contributions',
'contribsub' => "For $1",
-'contributionsformtext' => '
-<table border="0">
- <tr>
- <td align="right">Namespace:</td>
- <td align="left">$1 $2</td>
- </tr>
- <tr>
- <td align="right">$3</td>
- <td>Invert</td>
- </tr>
-</table>',
'nocontribs' => 'No changes were found matching these criteria.',
'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
'uclinks' => "View the last $1 changes; view the last $2 days.",
<br />Remember to remove the lock after your maintenance is complete.',
'unlockdbsuccesstext' => 'The database has been unlocked.',
-# SQL query
-#
-'asksql' => 'SQL query',
-'asksqltext' => "Use the form below to make a direct query of the
-database.
-Use single quotes ('like this') to delimit string literals.
-This can often add considerable load to the server, so please use
-this function sparingly.",
-'sqlislogged' => 'Please note that all queries are logged.',
-'sqlquery' => 'Enter query',
-'querybtn' => 'Submit query',
-'selectonly' => 'Only read-only queries are allowed.',
-'querysuccessful' => 'Query successful',
-
# Make sysop
'makesysoptitle' => 'Make a user into a sysop',
'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
'setbureaucratflag' => 'Set bureaucrat flag',
+'setstewardflag' => 'Set steward flag',
'bureaucratlog' => 'Bureaucrat_log',
'rightslogtext' => 'This is a log of changes to user rights.',
-'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"",
+'bureaucratlogentry' => "Changed group membership for $1 from $2 to $3",
'rights' => 'Rights:',
'set_user_rights' => 'Set user rights',
'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
'makesysop' => 'Make a user into a sysop',
'already_sysop' => 'This user is already an administrator',
'already_bureaucrat' => 'This user is already a bureaucrat',
+'already_steward' => 'This user is already a steward',
# Validation
'val_yes' => 'Yes',
'val_no' => 'No',
+'val_of' => '$1 of $2',
'val_revision' => 'Revision',
'val_time' => 'Time',
+'val_user_stats_title' => 'Validation overview of user $1',
+'val_my_stats_title' => 'My validation overview',
'val_list_header' => '<th>#</th><th>Topic</th><th>Range</th><th>Action</th>',
'val_add' => 'Add',
'val_del' => 'Delete',
+'val_show_my_ratings' => 'Show my validations',
+'val_revision_number' => 'Revision #$1',
'val_warning' => '<b>Never, <i>ever</i>, change something here without <i>explicit</i> community consensus!</b>',
-'val_rev_for' => 'Revisions for ',
+'val_rev_for' => 'Revisions for $1',
+'val_details_th_user' => 'User $1',
+'val_validation_of' => 'Validation of "$1"',
+'val_revision_of' => 'Revision of $1',
+'val_revision_changes_ok' => 'Your ratings have been stored!',
'val_rev_stats_link' => 'See the validation statistics for "$1" <a href="$2">here</a>',
+'val_revision_stats_link' => 'details',
'val_iamsure' => 'Check this box if you really mean it!',
+'val_details_th' => '<sub>User</sub> \\ <sup>Topic</sup>',
'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>
-will be set to the value and comment of the most recent revision for which you
-have expressed an opinion. For example, if you want to change a single option
-for a newer revision, but also keep your other settings for this article in
-this revision, just select which option you intend to <i>change</i>, and
-merging will fill in the other options with your previous settings.',
+'val_form_note' => "'''Hint:''' Merging your data means that for the article revision you select, all options where you have specified ''no opinion'' will be set to the value and comment of the most recent revision for which you have expressed an opinion. For example, if you want to change a single option for a newer revision, but also keep your other settings for this article in this revision, just select which option you intend to ''change'', and merging will fill in the other options with your previous settings.",
'val_noop' => 'No opinion',
+'val_topic_desc_page' => 'Project:Validation topics',
+'val_votepage_intro' => 'Change this text <a href="{{SERVER}}{{localurl:MediaWiki:Val_votepage_intro}}">here</a>!',
'val_percent' => '<b>$1%</b><br />($2 of $3 points<br />by $4 users)',
'val_percent_single' => '<b>$1%</b><br />($2 of $3 points<br />by one user)',
'val_total' => 'Total',
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.
# Special:Import
'import' => 'Import pages',
+'importinterwiki' => 'Transwiki import',
'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
'importfailed' => "Import failed: $1",
'importnotext' => 'Empty or no text',
'importsuccess' => 'Import succeeded!',
'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
+'importnosources' => 'No transwiki import sources have been defined and direct history uploads are disabled.',
# Keyboard access keys for power users
'accesskey-search' => 'f',
# Patrolling
'markaspatrolleddiff' => "Mark as patrolled",
-'markaspatrolledlink' => "<div class='patrollink'>[$1]</div>",
+'markaspatrolledlink' => "[$1]",
'markaspatrolledtext' => "Mark this article as patrolled",
'markedaspatrolled' => "Marked as patrolled",
'markedaspatrolledtext' => "The selected revision has been marked as patrolled.",
'newimages' => 'New images gallery',
'noimages' => 'Nothing to see.',
-'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',
-
# short names for language variants used for language conversion links.
# to disable showing a particular link, set it to 'disable', e.g.
# 'variantname-zh-sg' => 'disable',
'variantname-zh-sg' => 'sg',
'variantname-zh' => 'zh',
-# Chinese conversion table
-'zhconversiontable' => '-{}-',
+'variantname-is' => 'is',
+'variantname-iz' => 'iz',
# labels for User: and Title: on Special:Log pages
'specialloguserlabel' => 'User: ',
'passwordtooshort' => 'Your password is too short. It must have at least $1 characters.',
-# Exif data
+# Media Warning
+'mediawarning' => '\'\'\'Warning\'\'\': This file may contain malicious code, by executing it your system may be compromised.
+<hr>',
+
+'fileinfo' => '$1KB, MIME type: <code>$2</code>',
+
+# Metadata
'metadata' => 'Metadata',
+
# Exif tags
-'exif-imagewidth' =>'Image width',
-'exif-imagelength' =>'Image height',
-'exif-bitspersample' =>'Number of bits per component',
+'exif-imagewidth' =>'Width',
+'exif-imagelength' =>'Height',
+'exif-bitspersample' =>'Bits per component',
'exif-compression' =>'Compression scheme',
'exif-photometricinterpretation' =>'Pixel composition',
-'exif-orientation' =>'Orientation of image',
+'exif-orientation' =>'Orientation',
'exif-samplesperpixel' =>'Number of components',
-'exif-planarconfiguration' =>'Image data arrangement',
+'exif-planarconfiguration' =>'Data arrangement',
'exif-ycbcrsubsampling' =>'Subsampling ratio of Y to C',
'exif-ycbcrpositioning' =>'Y and C positioning',
'exif-xresolution' =>'Image resolution in width direction',
'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-make' =>'Camera manufacturer',
+'exif-model' =>'Camera model',
'exif-software' =>'Software used',
-'exif-artist' =>'Person who created the image',
+'exif-artist' =>'Author',
'exif-copyright' =>'Copyright holder',
'exif-exifversion' =>'Exif version',
'exif-flashpixversion' =>'Supported Flashpix version',
-'exif-colorspace' =>'Color space information',
+'exif-colorspace' =>'Color space',
'exif-componentsconfiguration' =>'Meaning of each component',
'exif-compressedbitsperpixel' =>'Image compression mode',
'exif-pixelydimension' =>'Valid image width',
'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-datetimeoriginal' =>'Date and time of data generation',
+'exif-datetimedigitized' =>'Date and time of digitizing',
'exif-subsectime' =>'DateTime subseconds',
'exif-subsectimeoriginal' =>'DateTimeOriginal subseconds',
'exif-subsectimedigitized' =>'DateTimeDigitized subseconds',
'exif-customrendered' =>'Custom image processing',
'exif-exposuremode' =>'Exposure mode',
'exif-whitebalance' =>'White Balance',
-'exif-digitalzoomratio' =>'Digital zoom ration',
+'exif-digitalzoomratio' =>'Digital zoom ratio',
'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-devicesettingdescription' =>'Device settings description',
'exif-subjectdistancerange' =>'Subject distance range',
'exif-imageuniqueid' =>'Unique image ID',
'exif-gpsversionid' =>'GPS tag version',
'exif-gpsdatestamp' =>'GPS date',
'exif-gpsdifferential' =>'GPS differential correction',
+# Make & model, can be wikified in order to link to the camera and model name
+
+'exif-make-value' => '$1',
+'exif-model-value' =>'$1',
+'exif-software-value' => '$1',
+
+# Exif attributes
+
+'exif-compression-1' => 'Uncompressed',
+'exif-compression-6' => 'JPEG',
+
+'exif-photometricinterpretation-1' => 'RGB',
+'exif-photometricinterpretation-6' => 'YCbCr',
+
+'exif-orientation-1' => 'Normal', // 0th row: top; 0th column: left
+'exif-orientation-2' => 'Flipped horizontally', // 0th row: top; 0th column: right
+'exif-orientation-3' => 'Rotated 180°', // 0th row: bottom; 0th column: right
+'exif-orientation-4' => 'Flipped vertically', // 0th row: bottom; 0th column: left
+'exif-orientation-5' => 'Rotated 90° CCW and flipped vertically', // 0th row: left; 0th column: top
+'exif-orientation-6' => 'Roatated 90° CW', // 0th row: right; 0th column: top
+'exif-orientation-7' => 'Roateted 90° CW and flipped vertically', // 0th row: right; 0th column: bottom
+'exif-orientation-8' => 'Rotated 90° CCW', // 0th row: left; 0th column: bottom
+
+'exif-planarconfiguration-1' => 'chunky format',
+'exif-planarconfiguration-2' => 'planar format',
+
+'exif-resolutionunit-2' => 'inches',
+'exif-resolutionunit-3' => 'centimetres',
+
+'exif-colorspace-1' => 'sRGB',
+'exif-colorspace-ffff.h' => 'FFFF.H',
+
+'exif-componentsconfiguration-0' => 'does not exist',
+'exif-componentsconfiguration-1' => 'Y',
+'exif-componentsconfiguration-2' => 'Cb',
+'exif-componentsconfiguration-3' => 'Cr',
+'exif-componentsconfiguration-4' => 'R',
+'exif-componentsconfiguration-5' => 'G',
+'exif-componentsconfiguration-6' => 'B',
+
+'exif-exposureprogram-0' => 'Not defined',
+'exif-exposureprogram-1' => 'Manual',
+'exif-exposureprogram-2' => 'Normal program',
+'exif-exposureprogram-3' => 'Aperture priority',
+'exif-exposureprogram-4' => 'Shutter priority',
+'exif-exposureprogram-5' => 'Creative program (biased toward depth of field)',
+'exif-exposureprogram-6' => 'Action program (biased toward fast shutter speed)',
+'exif-exposureprogram-7' => 'Portrait mode (for closeup photos with the background out of focus)',
+'exif-exposureprogram-8' => 'Landscape mode (for landscape photos with the background in focus)',
+
+'exif-meteringmode-0' => 'Unknown',
+'exif-meteringmode-1' => 'Average',
+'exif-meteringmode-2' => 'CenterWeightedAverage',
+'exif-meteringmode-3' => 'Spot',
+'exif-meteringmode-4' => 'MultiSpot',
+'exif-meteringmode-5' => 'Pattern',
+'exif-meteringmode-6' => 'Partial',
+'exif-meteringmode-255' => 'Other',
+
+'exif-lightsource-0' => 'Unknown',
+'exif-lightsource-1' => 'Daylight',
+'exif-lightsource-2' => 'Fluorescent',
+'exif-lightsource-3' => 'Tungsten (incandescent light)',
+'exif-lightsource-4' => 'Flash',
+'exif-lightsource-9' => 'Fine weather',
+'exif-lightsource-10' => 'Clody weather',
+'exif-lightsource-11' => 'Shade',
+'exif-lightsource-12' => 'Daylight fluorescent (D 5700 – 7100K)',
+'exif-lightsource-13' => 'Day white fluorescent (N 4600 – 5400K)',
+'exif-lightsource-14' => 'Cool white fluorescent (W 3900 – 4500K)',
+'exif-lightsource-15' => 'White fluorescent (WW 3200 – 3700K)',
+'exif-lightsource-17' => 'Standard light A',
+'exif-lightsource-18' => 'Standard light B',
+'exif-lightsource-19' => 'Standard light C',
+'exif-lightsource-20' => 'D55',
+'exif-lightsource-21' => 'D65',
+'exif-lightsource-22' => 'D75',
+'exif-lightsource-23' => 'D50',
+'exif-lightsource-24' => 'ISO studio tungsten',
+'exif-lightsource-255' => 'Other light source',
+
+'exif-sensingmethod-1' => 'Undefined',
+'exif-sensingmethod-2' => 'One-chip color area sensor',
+'exif-sensingmethod-3' => 'Two-chip color area sensor',
+'exif-sensingmethod-4' => 'Three-chip color area sensor',
+'exif-sensingmethod-5' => 'Color sequential area sensor',
+'exif-sensingmethod-7' => 'Trilinear sensor',
+'exif-sensingmethod-8' => 'Color sequential linear sensor',
+
+'exif-filesource-3' => 'DSC',
+
+'exif-scenetype-1' => 'A directly photographed image',
+
+'exif-customrendered-0' => 'Normal process',
+'exif-customrendered-1' => 'Custom process',
+
+'exif-exposuremode-0' => 'Auto exposure',
+'exif-exposuremode-1' => 'Manual exposure',
+'exif-exposuremode-2' => 'Auto bracket',
+
+'exif-whitebalance-0' => 'Auto white balance',
+'exif-whitebalance-1' => 'Manual white balance',
+
+'exif-scenecapturetype-0' => 'Standard',
+'exif-scenecapturetype-1' => 'Landscape',
+'exif-scenecapturetype-2' => 'Portrait',
+'exif-scenecapturetype-3' => 'Night scene',
+
+'exif-gaincontrol-0' => 'None',
+'exif-gaincontrol-1' => 'Low gain up',
+'exif-gaincontrol-2' => 'High gain up',
+'exif-gaincontrol-3' => 'Low gain down',
+'exif-gaincontrol-4' => 'High gain down',
+
+'exif-contrast-0' => 'Normal',
+'exif-contrast-1' => 'Soft',
+'exif-contrast-2' => 'Hard',
+
+'exif-saturation-0' => 'Normal',
+'exif-saturation-1' => 'Low saturation',
+'exif-saturation-2' => 'High saturation',
+
+'exif-sharpness-0' => 'Normal',
+'exif-sharpness-1' => 'Soft',
+'exif-sharpness-2' => 'Hard',
+
+'exif-subjectdistancerange-0' => 'Unknown',
+'exif-subjectdistancerange-1' => 'Macro',
+'exif-subjectdistancerange-2' => 'Close view',
+'exif-subjectdistancerange-3' => 'Distant view',
+
+// Pseudotags used for GPSLatitudeRef and GPSDestLatitudeRef
+'exif-gpslatitude-n' => 'North latitude',
+'exif-gpslatitude-s' => 'South latitude',
+
+// Pseudotags used for GPSLongitudeRef and GPSDestLongitudeRef
+'exif-gpslongitude-e' => 'East longitude',
+'exif-gpslongitude-w' => 'West longitude',
+
+'exif-gpsstatus-a' => 'Measurement in progress',
+'exif-gpsstatus-v' => 'Measurement interoperability',
+
+'exif-gpsmeasuremode-2' => '2-dimensional measurement',
+'exif-gpsmeasuremode-3' => '3-dimensional measurement',
+
+// Pseudotags used for GPSSpeedRef and GPSDestDistanceRef
+'exif-gpsspeed-k' => 'Kilometres per hour',
+'exif-gpsspeed-m' => 'Miles per hour',
+'exif-gpsspeed-n' => 'Knots',
+
+// Pseudotags used for GPSTrackRef, GPSImgDirectionRef and GPSDestBearingRef
+'exif-gpsdirection-t' => 'True direction',
+'exif-gpsdirection-m' => 'Magnetic direction',
+
# 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.',
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>
* </code>
*
* @param int $index the array key of the namespace to return
- * @return string
+ * @return mixed, string if the namespace value exists, otherwise false
*/
function getNsText( $index ) {
- global $wgNamespaceNamesEn;
- return $wgNamespaceNamesEn[$index];
+ $ns = $this->getNamespaces();
+ return isset( $ns[$index] ) ? $ns[$index] : false;
}
/**
- * Get a namespace key by value
+ * 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, case insensetive.
*
* @param string $text
* @return mixed An integer if $text is a valid value otherwise false
*/
function getNsIndex( $text ) {
- global $wgNamespaceNamesEn;
-
- foreach ( $wgNamespaceNamesEn as $i => $n ) {
- if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
+ $ns = $this->getNamespaces();
+
+ foreach ( $ns as $i => $n ) {
+ if ( strcasecmp( $n, $text ) == 0)
+ return $i;
}
return false;
}
/**
* short names for language variants used for language conversion links.
- * so far only used by zh
*
* @param string $code
* @return string
*/
function getVariantname( $code ) {
- return wfMsg( 'variantname-' . $code );
+ return wfMsg( "variantname-$code" );
}
function specialPage( $name ) {
}
function getUserToggle( $tog ) {
- return wfMsg('tog-'.$tog);
+ return wfMsg( "tog-$tog" );
}
function getLanguageNames() {
* validateTimeZone() in Special:Preferences
* @return string
*/
- function date( $ts, $adj = false, $format = false, $timecorrection = false ) {
+ function date( $ts, $adj = false, $format = true, $timecorrection = false ) {
global $wgAmericanDates, $wgUser;
if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
* @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.
+ * default one (default true)
* @param string $timecorrection the time offset as returned by
* validateTimeZone() in Special:Preferences
* @return string
*/
- function time( $ts, $adj = false, $format = false, $timecorrection = false ) {
+ function time( $ts, $adj = false, $format = true, $timecorrection = false ) {
global $wgUser, $wgAmericanDates;
if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
* @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.
+ * default one (default true)
* @param string $timecorrection the time offset as returned by
* validateTimeZone() in Special:Preferences
* @return string
*/
- function timeanddate( $ts, $adj = false, $format = false, $timecorrection = false) {
+ function timeanddate( $ts, $adj = false, $format = true, $timecorrection = false) {
global $wgUser, $wgAmericanDates;
$datePreference = $this->dateFormat($format);
/**
* For right-to-left language support
+ *
* @return bool
*/
function isRTL() { return false; }
* 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>";
}
/**
}
# convert text to different variants of a language.
- function convert( $text , $isTitle=false) {
+ function convert( $text, $isTitle = false) {
return $this->mConverter->convert($text, $isTitle);
}
* @access public
*/
function linkTrail() {
- $trail = $this->getMessage( 'linktrail' );
- if( empty( $trail ) ) $trail = Language::linkTrail();
- return $trail;
+ return $this->getMessage( 'linktrail' );
}
function getLangObj() {