* Restored the {{msg:}} magic word, except now it's the wikisyntax
[mediawiki.git] / languages / Language.php
blob39a96296eabcf21f6215f4faef5d3be01a38d87d
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
7 if( defined( 'MEDIAWIKI' ) ) {
10 # In general you should not make customizations in these language files
11 # directly, but should use the MediaWiki: special namespace to customize
12 # user interface messages through the wiki.
13 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace
15 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
16 # A lot of common constants and a base class with inheritable methods are
17 # defined here, which should not be redefined. See the other LanguageXx.php
18 # files for examples.
21 #--------------------------------------------------------------------------
22 # Language-specific text
23 #--------------------------------------------------------------------------
25 # The names of the namespaces can be set here, but the numbers
26 # are magical, so don't change or move them! The Namespace class
27 # encapsulates some of the magic-ness.
30 if($wgMetaNamespace === FALSE)
31 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
33 /* private */ $wgNamespaceNamesEn = array(
34 NS_MEDIA => 'Media',
35 NS_SPECIAL => 'Special',
36 NS_MAIN => '',
37 NS_TALK => 'Talk',
38 NS_USER => 'User',
39 NS_USER_TALK => 'User_talk',
40 NS_PROJECT => $wgMetaNamespace,
41 NS_PROJECT_TALK => $wgMetaNamespace . '_talk',
42 NS_IMAGE => 'Image',
43 NS_IMAGE_TALK => 'Image_talk',
44 NS_MEDIAWIKI => 'MediaWiki',
45 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
46 NS_TEMPLATE => 'Template',
47 NS_TEMPLATE_TALK => 'Template_talk',
48 NS_HELP => 'Help',
49 NS_HELP_TALK => 'Help_talk',
50 NS_CATEGORY => 'Category',
51 NS_CATEGORY_TALK => 'Category_talk',
54 if(isset($wgExtraNamespaces)) {
55 $wgNamespaceNamesEn=$wgNamespaceNamesEn+$wgExtraNamespaces;
58 /* private */ $wgDefaultUserOptionsEn = array(
59 'quickbar' => 1,
60 'underline' => 1,
61 'cols' => 80,
62 'rows' => 25,
63 'searchlimit' => 20,
64 'contextlines' => 5,
65 'contextchars' => 50,
66 'skin' => $wgDefaultSkin,
67 'math' => 1,
68 'rcdays' => 7,
69 'rclimit' => 50,
70 'highlightbroken' => 1,
71 'stubthreshold' => 0,
72 'previewontop' => 1,
73 'editsection' => 1,
74 'editsectiononrightclick'=> 0,
75 'showtoc' => 1,
76 'showtoolbar' => 1,
77 'date' => 0,
78 'imagesize' => 2,
79 'thumbsize' => 2,
80 'rememberpassword' => 0,
81 'enotifwatchlistpages' => 0,
82 'enotifusertalkpages' => 1,
83 'enotifminoredits' => 0,
84 'enotifrevealaddr' => 0,
85 'shownumberswatching' => 1,
86 'rcusemodstyle' => 1,
87 'showupdated' => 1,
88 'fancysig' => 0,
89 'externaleditor' => 0,
90 'externaldiff' => 0,
93 /* private */ $wgQuickbarSettingsEn = array(
94 'None', 'Fixed left', 'Fixed right', 'Floating left'
97 /* private */ $wgSkinNamesEn = array(
98 'standard' => 'Classic',
99 'nostalgia' => 'Nostalgia',
100 'cologneblue' => 'Cologne Blue',
101 'davinci' => 'DaVinci',
102 'mono' => 'Mono',
103 'monobook' => 'MonoBook',
104 'myskin' => 'MySkin',
105 'chick' => 'Chick'
108 /* private */ $wgMathNamesEn = array(
109 MW_MATH_PNG => 'mw_math_png',
110 MW_MATH_SIMPLE => 'mw_math_simple',
111 MW_MATH_HTML => 'mw_math_html',
112 MW_MATH_SOURCE => 'mw_math_source',
113 MW_MATH_MODERN => 'mw_math_modern',
114 MW_MATH_MATHML => 'mw_math_mathml'
117 # Whether to use user or default setting in Language::date()
119 /* private */ $wgDateFormatsEn = array(
120 'Default',
121 '16:12, January 15, 2001',
122 '16:12, 15 January 2001',
123 '16:12, 2001 January 15',
124 'ISO 8601' => '2001-01-15 16:12:34'
127 /* private */ $wgUserTogglesEn = array(
128 'underline',
129 'highlightbroken',
130 'justify',
131 'hideminor',
132 'usenewrc',
133 'numberheadings',
134 'showtoolbar',
135 'editondblclick',
136 'editsection',
137 'editsectiononrightclick',
138 'showtoc',
139 'rememberpassword',
140 'editwidth',
141 'watchdefault',
142 'minordefault',
143 'previewontop',
144 'previewonfirst',
145 'nocache',
146 'enotifwatchlistpages',
147 'enotifusertalkpages',
148 'enotifminoredits',
149 'enotifrevealaddr',
150 'shownumberswatching',
151 'rcusemodstyle',
152 'showupdated',
153 'fancysig',
154 'externaleditor',
155 'externaldiff',
158 /* private */ $wgBookstoreListEn = array(
159 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
160 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
161 'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
162 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1'
165 # Read language names
166 global $wgLanguageNames;
167 require_once( 'Names.php' );
169 $wgLanguageNamesEn =& $wgLanguageNames;
172 /* private */ $wgWeekdayNamesEn = array(
173 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday',
174 'friday', 'saturday'
178 /* private */ $wgMonthNamesEn = array(
179 'january', 'february', 'march', 'april', 'may_long', 'june',
180 'july', 'august', 'september', 'october', 'november',
181 'december'
183 /* private */ $wgMonthNamesGenEn = array(
184 'january-gen', 'february-gen', 'march-gen', 'april-gen', 'may-gen', 'june-gen',
185 'july-gen', 'august-gen', 'september-gen', 'october-gen', 'november-gen',
186 'december-gen'
189 /* private */ $wgMonthAbbreviationsEn = array(
190 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug',
191 'sep', 'oct', 'nov', 'dec'
194 # Note to translators:
195 # Please include the English words as synonyms. This allows people
196 # from other wikis to contribute more easily.
198 /* private */ $wgMagicWordsEn = array(
199 # ID CASE SYNONYMS
200 MAG_REDIRECT => array( 0, '#redirect' ),
201 MAG_NOTOC => array( 0, '__NOTOC__' ),
202 MAG_FORCETOC => array( 0, '__FORCETOC__' ),
203 MAG_TOC => array( 0, '__TOC__' ),
204 MAG_NOEDITSECTION => array( 0, '__NOEDITSECTION__' ),
205 MAG_START => array( 0, '__START__' ),
206 MAG_CURRENTMONTH => array( 1, 'CURRENTMONTH' ),
207 MAG_CURRENTMONTHNAME => array( 1, 'CURRENTMONTHNAME' ),
208 MAG_CURRENTMONTHNAMEGEN => array( 1, 'CURRENTMONTHNAMEGEN' ),
209 MAG_CURRENTMONTHABBREV => array( 1, 'CURRENTMONTHABBREV' ),
210 MAG_CURRENTDAY => array( 1, 'CURRENTDAY' ),
211 MAG_CURRENTDAYNAME => array( 1, 'CURRENTDAYNAME' ),
212 MAG_CURRENTYEAR => array( 1, 'CURRENTYEAR' ),
213 MAG_CURRENTTIME => array( 1, 'CURRENTTIME' ),
214 MAG_NUMBEROFARTICLES => array( 1, 'NUMBEROFARTICLES' ),
215 MAG_PAGENAME => array( 1, 'PAGENAME' ),
216 MAG_PAGENAMEE => array( 1, 'PAGENAMEE' ),
217 MAG_NAMESPACE => array( 1, 'NAMESPACE' ),
218 MAG_SUBST => array( 0, 'SUBST:' ),
219 MAG_MSGNW => array( 0, 'MSGNW:' ),
220 MAG_END => array( 0, '__END__' ),
221 MAG_IMG_THUMBNAIL => array( 1, 'thumbnail', 'thumb' ),
222 MAG_IMG_RIGHT => array( 1, 'right' ),
223 MAG_IMG_LEFT => array( 1, 'left' ),
224 MAG_IMG_NONE => array( 1, 'none' ),
225 MAG_IMG_WIDTH => array( 1, '$1px' ),
226 MAG_IMG_CENTER => array( 1, 'center', 'centre' ),
227 MAG_IMG_FRAMED => array( 1, 'framed', 'enframed', 'frame' ),
228 MAG_INT => array( 0, 'INT:' ),
229 MAG_SITENAME => array( 1, 'SITENAME' ),
230 MAG_NS => array( 0, 'NS:' ),
231 MAG_LOCALURL => array( 0, 'LOCALURL:' ),
232 MAG_LOCALURLE => array( 0, 'LOCALURLE:' ),
233 MAG_SERVER => array( 0, 'SERVER' ),
234 MAG_GRAMMAR => array( 0, 'GRAMMAR:' ),
235 MAG_NOTITLECONVERT => array( 0, '__NOTITLECONVERT__', '__NOTC__'),
236 MAG_NOCONTENTCONVERT => array( 0, '__NOCONTENTCONVERT__', '__NOCC__'),
237 MAG_CURRENTWEEK => array( 1, 'CURRENTWEEK' ),
238 MAG_CURRENTDOW => array( 1, 'CURRENTDOW' ),
239 MAG_REVISIONID => array( 1, 'REVISIONID' ),
242 #-------------------------------------------------------------------
243 # Default messages
244 #-------------------------------------------------------------------
245 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
246 # hyphen (-). If you need more characters, you may be able to change
247 # the regex in MagicWord::initRegex
249 # required for copyrightwarning
250 global $wgRightsText;
252 /* private */ $wgAllMessagesEn = array(
254 # The navigation toolbar, int: is used here to make sure that the appropriate
255 # messages are automatically pulled from the user-selected language file.
256 'navbar' =>
257 '* [[{{int:mainpage}}]]
258 * [[{{int:portal-url}}|{{int:portal}}]]
259 * [[{{int:currentevents-url}}|{{int:currentevents}}]]
260 * [[{{int:recentchanges-url}}|{{int:recentchanges}}]]
261 * [[{{int:randompage-url}}|{{int:randompage}}]]
262 * [[{{int:helppage}}|{{int:help}}]]
263 * [[{{int:sitesupport-url}}|{{int:sitesupport}}]]',
265 # User preference toggles
266 'tog-underline' => 'Underline links',
267 'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
268 'tog-justify' => 'Justify paragraphs',
269 'tog-hideminor' => 'Hide minor edits in recent changes',
270 'tog-usenewrc' => 'Enhanced recent changes (JavaScript)',
271 'tog-numberheadings' => 'Auto-number headings',
272 'tog-showtoolbar' => 'Show edit toolbar (JavaScript)',
273 'tog-editondblclick' => 'Edit pages on double click (JavaScript)',
274 'tog-editsection' => 'Enable section editing via [edit] links',
275 'tog-editsectiononrightclick' => 'Enable section editing by right clicking<br /> on section titles (JavaScript)',
276 'tog-showtoc' => 'Show table of contents<br />(for pages with more than 3 headings)',
277 'tog-rememberpassword' => 'Remember across sessions',
278 'tog-editwidth' => 'Edit box has full width',
279 'tog-watchdefault' => 'Add pages you edit to your watchlist',
280 'tog-minordefault' => 'Mark all edits minor by default',
281 'tog-previewontop' => 'Show preview before edit box',
282 'tog-previewonfirst' => 'Show preview on first edit',
283 'tog-nocache' => 'Disable page caching',
284 'tog-enotifwatchlistpages' => 'Send me an email on page changes',
285 'tog-enotifusertalkpages' => 'Send me an email when my user talk page is changed',
286 'tog-enotifminoredits' => 'Send me an email also for minor edits of pages',
287 'tog-enotifrevealaddr' => 'Reveal my email address in notification mails',
288 'tog-shownumberswatching' => 'Show the number of watching users',
289 'tog-rcusemodstyle' => 'Show recent changes in UseMod style: only the most recent change of any page is listed.',
290 'tog-showupdated' => 'Show update marker ',
291 'tog-fancysig' => 'Raw signatures (without automatic link)',
292 'tog-externaleditor' => 'Use external editor by default',
293 'tog-externaldiff' => 'Use external diff by default',
295 # dates
296 'sunday' => 'Sunday',
297 'monday' => 'Monday',
298 'tuesday' => 'Tuesday',
299 'wednesday' => 'Wednesday',
300 'thursday' => 'Thursday',
301 'friday' => 'Friday',
302 'saturday' => 'Saturday',
303 'january' => 'January',
304 'february' => 'February',
305 'march' => 'March',
306 'april' => 'April',
307 'may_long' => 'May',
308 'june' => 'June',
309 'july' => 'July',
310 'august' => 'August',
311 'september' => 'September',
312 'october' => 'October',
313 'november' => 'November',
314 'december' => 'December',
315 'jan' => 'Jan',
316 'feb' => 'Feb',
317 'mar' => 'Mar',
318 'apr' => 'Apr',
319 'may' => 'May',
320 'jun' => 'Jun',
321 'jul' => 'Jul',
322 'aug' => 'Aug',
323 'sep' => 'Sep',
324 'oct' => 'Oct',
325 'nov' => 'Nov',
326 'dec' => 'Dec',
327 # Bits of text used by many pages:
329 'categories' => 'Categories',
330 'category' => 'category',
331 'category_header' => 'Articles in category "$1"',
332 'subcategories' => 'Subcategories',
335 'linktrail' => '/^([a-z]+)(.*)$/sD',
336 'mainpage' => 'Main Page',
337 'mainpagetext' => 'Wiki software successfully installed.',
338 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
339 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
341 # NOTE: To turn off "Community portal" in the title links,
342 # set "portal" => "-"
344 'portal' => 'Community portal',
345 'portal-url' => 'Project:Community Portal',
346 'about' => 'About',
347 'aboutsite' => 'About {{SITENAME}}',
348 'aboutpage' => 'Project:About',
349 'article' => 'Content page',
350 'help' => 'Help',
351 'helppage' => 'Help:Contents',
352 'wikititlesuffix' => '{{SITENAME}}',
353 'bugreports' => 'Bug reports',
354 'bugreportspage' => 'Project:Bug_reports',
355 'sitesupport' => 'Donations',
356 'sitesupport-url' => 'Project:Site support',
357 'faq' => 'FAQ',
358 'faqpage' => 'Project:FAQ',
359 'edithelp' => 'Editing help',
360 'newwindow' => '(opens in new window)',
361 'edithelppage' => 'Help:Editing',
362 'cancel' => 'Cancel',
363 'qbfind' => 'Find',
364 'qbbrowse' => 'Browse',
365 'qbedit' => 'Edit',
366 'qbpageoptions' => 'This page',
367 'qbpageinfo' => 'Context',
368 'qbmyoptions' => 'My pages',
369 'qbspecialpages' => 'Special pages',
370 'moredotdotdot' => 'More...',
371 'mypage' => 'My page',
372 'mytalk' => 'My talk',
373 'anontalk' => 'Talk for this IP',
374 'navigation' => 'Navigation',
376 # Metadata in edit box
377 'metadata' => '<b>Metadata</b> (for an explanation see <a href="$1">here</a>)',
378 'metadata_page' => 'Wikipedia:Metadata',
380 # NOTE: To turn off "Current Events" in the sidebar,
381 # set "currentevents" => "-"
383 'currentevents' => 'Current events',
384 'currentevents-url' => 'Current events',
386 # NOTE: To turn off "Disclaimers" in the title links,
387 # set "disclaimers" => "-"
389 'disclaimers' => 'Disclaimers',
390 'disclaimerpage' => "Project:General_disclaimer",
391 'errorpagetitle' => "Error",
392 'returnto' => "Return to $1.",
393 'tagline' => "From {{SITENAME}}",
394 'whatlinkshere' => 'Pages that link here',
395 'help' => 'Help',
396 'search' => 'Search',
397 'go' => 'Go',
398 "history" => 'Page history',
399 'history_short' => 'History',
400 'info_short' => 'Information',
401 'printableversion' => 'Printable version',
402 'edit' => 'Edit',
403 'editthispage' => 'Edit this page',
404 'delete' => 'Delete',
405 'deletethispage' => 'Delete this page',
406 'undelete_short1' => 'Undelete one edit',
407 'undelete_short' => 'Undelete $1 edits',
408 'protect' => 'Protect',
409 'protectthispage' => 'Protect this page',
410 'unprotect' => 'Unprotect',
411 'unprotectthispage' => 'Unprotect this page',
412 'newpage' => 'New page',
413 'talkpage' => 'Discuss this page',
414 'specialpage' => 'Special Page',
415 'personaltools' => 'Personal tools',
416 'postcomment' => 'Post a comment',
417 'addsection' => '+',
418 'articlepage' => 'View content page',
419 'subjectpage' => 'View subject', # For compatibility
420 'talk' => 'Discussion',
421 'views' => 'Views',
422 'toolbox' => 'Toolbox',
423 'userpage' => 'View user page',
424 'wikipediapage' => 'View project page',
425 'imagepage' => 'View image page',
426 'viewtalkpage' => 'View discussion',
427 'otherlanguages' => 'Other languages',
428 'redirectedfrom' => '(Redirected from $1)',
429 'lastmodified' => 'This page was last modified $1.',
430 'viewcount' => 'This page has been accessed $1 times.',
431 'copyright' => 'Content is available under $1.',
432 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
433 'printsubtitle' => "(From {{SERVER}})",
434 'protectedpage' => 'Protected page',
435 'administrators' => "Project:Administrators",
436 'sysoptitle' => 'Sysop access required',
437 'sysoptext' => "The action you have requested can only be
438 performed by users with \"sysop\" status.
439 See $1.",
440 'developertitle' => 'Developer access required',
441 'developertext' => "The action you have requested can only be
442 performed by users with \"developer\" status.
443 See $1.",
444 'bureaucrattitle' => 'Bureaucrat access required',
445 "bureaucrattext" => "The action you have requested can only be
446 performed by sysops with \"bureaucrat\" status.",
447 'nbytes' => '$1 bytes',
448 'ok' => 'OK',
449 'sitetitle' => "{{SITENAME}}",
450 'pagetitle' => "$1 - {{SITENAME}}",
451 'sitesubtitle' => 'The Free Encyclopedia', # FIXME
452 'retrievedfrom' => "Retrieved from \"$1\"",
453 'newmessages' => "You have $1.",
454 'newmessageslink' => 'new messages',
455 'editsection'=>'edit',
456 'toc' => 'Table of contents',
457 'showtoc' => 'show',
458 'hidetoc' => 'hide',
459 'thisisdeleted' => "View or restore $1?",
460 'restorelink' => "$1 deleted edits",
461 'feedlinks' => 'Feed:',
462 'sitenotice' => '-', # the equivalent to wgSiteNotice
464 # Short words for each namespace, by default used in the 'article' tab in monobook
465 'nstab-main' => 'Article',
466 'nstab-user' => 'User page',
467 'nstab-media' => 'Media',
468 'nstab-special' => 'Special',
469 'nstab-wp' => 'About',
470 'nstab-image' => 'File',
471 'nstab-mediawiki' => 'Message',
472 'nstab-template' => 'Template',
473 'nstab-help' => 'Help',
474 'nstab-category' => 'Category',
476 # Main script and global functions
478 'nosuchaction' => 'No such action',
479 'nosuchactiontext' => 'The action specified by the URL is not
480 recognized by the wiki',
481 'nosuchspecialpage' => 'No such special page',
482 'nospecialpagetext' => 'You have requested an invalid special page, a list of valid special pages may be found at [[{{ns:special}}:Specialpages]].',
484 # General errors
486 'error' => 'Error',
487 'databaseerror' => 'Database error',
488 'dberrortext' => "A database query syntax error has occurred.
489 This may indicate a bug in the software.
490 The last attempted database query was:
491 <blockquote><tt>$1</tt></blockquote>
492 from within function \"<tt>$2</tt>\".
493 MySQL returned error \"<tt>$3: $4</tt>\".",
494 'dberrortextcl' => "A database query syntax error has occurred.
495 The last attempted database query was:
496 \"$1\"
497 from within function \"$2\".
498 MySQL returned error \"$3: $4\".\n",
499 'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
500 $1',
501 'nodb' => "Could not select database $1",
502 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
503 'laggedslavemode' => 'Warning: Page may not contain recent updates.',
504 'readonly' => 'Database locked',
505 'enterlockreason' => 'Enter a reason for the lock, including an estimate
506 of when the lock will be released',
507 'readonlytext' => "The database is currently locked to new
508 entries and other modifications, probably for routine database maintenance,
509 after which it will be back to normal.
510 The administrator who locked it offered this explanation:
511 <p>$1",
512 'missingarticle' => "The database did not find the text of a page
513 that it should have found, named \"$1\".
515 <p>This is usually caused by following an outdated diff or history link to a
516 page that has been deleted.
518 <p>If this is not the case, you may have found a bug in the software.
519 Please report this to an administrator, making note of the URL.",
520 'internalerror' => 'Internal error',
521 'filecopyerror' => "Could not copy file \"$1\" to \"$2\".",
522 'filerenameerror' => "Could not rename file \"$1\" to \"$2\".",
523 'filedeleteerror' => "Could not delete file \"$1\".",
524 'filenotfound' => "Could not find file \"$1\".",
525 'unexpected' => "Unexpected value: \"$1\"=\"$2\".",
526 'formerror' => 'Error: could not submit form',
527 'badarticleerror' => 'This action cannot be performed on this page.',
528 'cannotdelete' => 'Could not delete the page or file specified. (It may have already been deleted by someone else.)',
529 'badtitle' => 'Bad title',
530 'badtitletext' => "The requested page title was invalid, empty, or
531 an incorrectly linked inter-language or inter-wiki title.",
532 'perfdisabled' => 'Sorry! This feature has been temporarily disabled
533 because it slows the database down to the point that no one can use
534 the wiki.',
535 'perfdisabledsub' => "Here's a saved copy from $1:", # obsolete?
536 'perfcached' => 'The following data is cached and may not be completely up to date:',
537 'wrong_wfQuery_params' => "Incorrect parameters to wfQuery()<br />
538 Function: $1<br />
539 Query: $2
541 'viewsource' => 'View source',
542 'protectedtext' => "This page has been locked to prevent editing; there are
543 a number of reasons why this may be so, please see
544 [[Project:Protected page]].
546 You can view and copy the source of this page:",
547 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
548 'sqlhidden' => '(SQL query hidden)',
550 # Login and logout pages
552 'logouttitle' => 'User logout',
553 'logouttext' => "You are now logged out.<br />
554 You can continue to use {{SITENAME}} anonymously, or you can log in
555 again as the same or as a different user. Note that some pages may
556 continue to be displayed as if you were still logged in, until you clear
557 your browser cache.\n",
559 'welcomecreation' => "== Welcome, $1! ==
561 Your account has been created. Don't forget to change your {{SITENAME}} preferences.",
563 'loginpagetitle' => 'User login',
564 'yourname' => 'User name',
565 'yourpassword' => 'Password',
566 'yourpasswordagain' => 'Retype password',
567 'newusersonly' => ' (new users only)',
568 'remembermypassword' => 'Remember my password across sessions.',
569 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
570 'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
572 'login' => 'Log in',
573 'loginprompt' => "You must have cookies enabled to log in to {{SITENAME}}.",
574 'userlogin' => 'Create an account or log in',
575 'logout' => 'Log out',
576 'userlogout' => 'Log out',
577 'notloggedin' => 'Not logged in',
578 'createaccount' => 'Create new account',
579 'createaccountmail' => 'by email',
580 'badretype' => 'The passwords you entered do not match.',
581 'userexists' => 'The user name you entered is already in use. Please choose a different name.',
582 'youremail' => 'Email²',
583 'yourrealname' => 'Real name¹',
584 'yourlanguage' => 'Language',
585 'yourvariant' => 'Variant',
586 'yournick' => 'Nickname',
587 'email' => 'Email',
588 '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
589 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.",
590 'prefs-help-email-enotif' => 'This address is also used to send you email notifications if you enabled the options.',
591 'prefs-help-realname' => '¹ Real name (optional): if you choose to provide it this will be used for giving you attribution for your work.',
592 'loginerror' => 'Login error',
593 'prefs-help-email' => '² Email (optional): Enables others to contact you through your user or user_talk page without the need of revealing your identity.',
594 '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.",
595 'nocookieslogin' => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
596 'noname' => 'You have not specified a valid user name.',
597 'loginsuccesstitle' => 'Login successful',
598 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".",
599 'nosuchuser' => "There is no user by the name \"$1\".
600 Check your spelling, or use the form below to create a new user account.",
601 'nosuchusershort' => "There is no user by the name \"$1\". Check your spelling.",
602 'wrongpassword' => 'The password you entered is incorrect (or missing). Please try again.',
603 'mailmypassword' => 'Mail me a temporary password',
604 'mailmypasswordauthent' => 'Mail me a temporary password',
605 'passwordremindermailsubject' => "Email address authentication and temporary login password from {{SITENAME}}",
606 'passwordremindermailbody' => "Someone, probably you from IP address $1,
607 requested that we send you a temporary one-time login password for {{SITENAME}}.
609 This mail is also be sent for the purpose of authentication of your email address.
610 The password for user \"$2\" is now \"$4\".
612 You can now log in with this temporary password, which is valid for only one login.
613 You may wish to keep using your old password if you remember it or to set a new one.
615 {{SERVER}}{{localurl:Special:Userlogin|wpName=$3&wpPassword=$4&returnto=Special:Preferences}}",
616 'noemail' => "There is no e-mail address recorded for user \"$1\".",
617 'passwordsent' => "A temporary password has been sent to the e-mail address registered for \"$1\".
618 Please log in again after you receive it.",
619 'eauthentsent' => "A confirmation email has been sent to the nominated email address.
620 Before any other mail is sent to the account, you will have to follow the instructions in the email,
621 to confirm that the account is actually yours.",
622 'loginend' => '&nbsp;',
623 'mailerror' => "Error sending mail: $1",
624 'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts. You can\'t make any more.',
625 'emailauthenticated' => 'Your email address was authenticated on $1.',
626 'emailnotauthenticated' => 'Your email address is <strong>not yet authenticated</strong>. No email
627 will be sent for any of the following features.',
628 'noemailprefs' => '<strong>No email address has been specified</strong>, the following
629 features will not work.',
630 'emailconfirmlink' => 'Confirm your e-mail address',
631 'invalidemailaddress' => 'The email address cannot be accepted as it appears to have an invalid
632 format. Please enter a well-formatted address or empty that field.',
634 # Edit page toolbar
635 'bold_sample'=>'Bold text',
636 'bold_tip'=>'Bold text',
637 'italic_sample'=>'Italic text',
638 'italic_tip'=>'Italic text',
639 'link_sample'=>'Link title',
640 'link_tip'=>'Internal link',
641 'extlink_sample'=>'http://www.example.com link title',
642 'extlink_tip'=>'External link (remember http:// prefix)',
643 'headline_sample'=>'Headline text',
644 'headline_tip'=>'Level 2 headline',
645 'math_sample'=>'Insert formula here',
646 'math_tip'=>'Mathematical formula (LaTeX)',
647 'nowiki_sample'=>'Insert non-formatted text here',
648 'nowiki_tip'=>'Ignore wiki formatting',
649 'image_sample'=>'Example.jpg',
650 'image_tip'=>'Embedded image',
651 'media_sample'=>'Example.ogg',
652 'media_tip'=>'Media file link',
653 'sig_tip'=>'Your signature with timestamp',
654 'hr_tip'=>'Horizontal line (use sparingly)',
655 'infobox'=>'Click a button to get an example text',
656 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
657 'infobox_alert'=>"Please enter the text you want to be formatted.\\n It will be shown in the infobox for copy and pasting.\\nExample:\\n$1\\nwill become:\\n$2",
659 # Edit pages
661 'summary' => 'Summary',
662 'subject' => 'Subject/headline',
663 'minoredit' => 'This is a minor edit.',
664 'watchthis' => 'Watch this page',
665 'savearticle' => 'Save page',
666 'preview' => 'Preview',
667 'showpreview' => 'Show preview',
668 'showdiff' => 'Show changes',
669 'blockedtitle' => 'User is blocked',
670 'blockedtext' => "Your user name or IP address has been blocked by $1.
671 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
672 [[Project:Administrators|administrators]] to discuss the block.
674 Note that you may not use the \"email this user\" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]].
676 Your IP address is $3. Please include this address in any queries you make.
678 'whitelistedittitle' => 'Login required to edit',
679 'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.',
680 'whitelistreadtitle' => 'Login required to read',
681 'whitelistreadtext' => 'You have to [[Special:Userlogin|login]] to read pages.',
682 'whitelistacctitle' => 'You are not allowed to create an account',
683 'whitelistacctext' => 'To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.',
684 'loginreqtitle' => 'Login Required',
685 'loginreqtext' => 'You must [[special:Userlogin|login]] to view other pages.',
686 'accmailtitle' => 'Password sent.',
687 'accmailtext' => "The Password for '$1' has been sent to $2.",
688 'newarticle' => '(New)',
689 'newarticletext' =>
690 "You've followed a link to a page that doesn't exist yet.
691 To create the page, start typing in the box below
692 (see the [[Project:Help|help page]] for more info).
693 If you are here by mistake, just click your browser's '''back''' button.",
694 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
695 'anontalkpagetext' => "----''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.'' ",
696 'noarticletext' => '(There is currently no text in this page)',
697 'clearyourcache' => "'''Note:''' After saving, you have to clear your browser cache to see the changes: '''Mozilla:''' click ''Reload'' (or ''Ctrl-R''), '''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''.",
698 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.",
699 'usercsspreview' => "'''Remember that you are only previewing your user CSS, it has not yet been saved!'''",
700 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''",
701 'updated' => '(Updated)',
702 'note' => '<strong>Note:</strong> ',
703 'previewnote' => 'Remember that this is only a preview, and has not yet been saved!',
704 'previewconflict' => 'This preview reflects the text in the upper
705 text editing area as it will appear if you choose to save.',
706 'editing' => "Editing $1",
707 'editingsection' => "Editing $1 (section)",
708 'editingcomment' => "Editing $1 (comment)",
709 'editconflict' => 'Edit conflict: $1',
710 'explainconflict' => "Someone else has changed this page since you
711 started editing it.
712 The upper text area contains the page text as it currently exists.
713 Your changes are shown in the lower text area.
714 You will have to merge your changes into the existing text.
715 <b>Only</b> the text in the upper text area will be saved when you
716 press \"Save page\".<br />",
717 'yourtext' => 'Your text',
718 'storedversion' => 'Stored version',
719 'nonunicodebrowser' => "<strong>WARNING: Your browser is not unicode compliant, please change it before editing an article.</strong>",
720 'editingold' => "<strong>WARNING: You are editing an out-of-date
721 revision of this page.
722 If you save it, any changes made since this revision will be lost.</strong>",
723 'yourdiff' => 'Differences',
724 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
725 considered to be released under the $2 (see $1 for details).
726 If you don't want your writing to be edited mercilessly and redistributed
727 at will, then don't submit it here.<br />
728 You are also promising us that you wrote this yourself, or copied it from a
729 public domain or similar free resource.
730 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
731 'copyrightwarning2' => "Please note that all contributions to {{SITENAME}}
732 may be edited, altered, or removed by other contributors.
733 If you don't want your writing to be edited mercilessly, then don't submit it here.<br />
734 You are also promising us that you wrote this yourself, or copied it from a
735 public domain or similar free resource (see $1 for details).
736 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
737 'longpagewarning' => "<strong>WARNING: This page is $1 kilobytes long; some
738 browsers may have problems editing pages approaching or longer than 32kb.
739 Please consider breaking the page into smaller sections.</strong>",
740 'readonlywarning' => '<strong>WARNING: The database has been locked for maintenance,
741 so you will not be able to save your edits right now. You may wish to cut-n-paste
742 the text into a text file and save it for later.</strong>',
743 '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>",
744 'templatesused' => 'Templates used on this page:',
746 # History pages
748 'revhistory' => 'Revision history',
749 'nohistory' => 'There is no edit history for this page.',
750 'revnotfound' => 'Revision not found',
751 'revnotfoundtext' => "The old revision of the page you asked for could not be found.
752 Please check the URL you used to access this page.\n",
753 'loadhist' => 'Loading page history',
754 'currentrev' => 'Current revision',
755 'revisionasof' => 'Revision as of $1',
756 'revisionasofwithlink' => 'Revision as of $1; $2<br />$3 | $4',
757 'previousrevision' => '&larr;Older revision',
758 'nextrevision' => 'Newer revision&rarr;',
759 'currentrevisionlink' => 'view current revision',
760 'cur' => 'cur',
761 'next' => 'next',
762 'last' => 'last',
763 'orig' => 'orig',
764 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br />
765 Legend: (cur) = difference with current version,
766 (last) = difference with preceding version, M = minor edit.',
767 'history_copyright' => '-',
768 'deletedrev' => '[deleted]',
770 # Diffs
772 'difference' => '(Difference between revisions)',
773 'loadingrev' => 'loading revision for diff',
774 'lineno' => "Line $1:",
775 'editcurrent' => 'Edit the current version of this page',
776 'selectnewerversionfordiff' => 'Select a newer version for comparison',
777 'selectolderversionfordiff' => 'Select an older version for comparison',
778 'compareselectedversions' => 'Compare selected versions',
780 # Search results
782 'searchresults' => 'Search results',
783 'searchresulttext' => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
784 'searchquery' => "For query \"$1\"",
785 'badquery' => 'Badly formed search query',
786 'badquerytext' => 'We could not process your query.
787 This is probably because you have attempted to search for a
788 word fewer than three letters long, which is not yet supported.
789 It could also be that you have mistyped the expression, for
790 example "fish and and scales".
791 Please try another query.',
792 'matchtotals' => "The query \"$1\" matched $2 page titles
793 and the text of $3 pages.",
794 'nogomatch' => 'No page with [[$1|this exact title]] exists, trying full text search.',
795 'titlematches' => 'Article title matches',
796 'notitlematches' => 'No page title matches',
797 'textmatches' => 'Page text matches',
798 'notextmatches' => 'No page text matches',
799 'prevn' => "previous $1",
800 'nextn' => "next $1",
801 'viewprevnext' => "View ($1) ($2) ($3).",
802 'showingresults' => "Showing below up to <b>$1</b> results starting with #<b>$2</b>.",
803 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
804 'nonefound' => "'''Note''': unsuccessful searches are
805 often caused by searching for common words like \"have\" and \"from\",
806 which are not indexed, or by specifying more than one search term (only pages
807 containing all of the search terms will appear in the result).",
808 'powersearch' => 'Search',
809 'powersearchtext' => "
810 Search in namespaces :<br />
811 $1<br />
812 $2 List redirects &nbsp; Search for $3 $9",
813 "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.',
815 'googlesearch' => '
816 <form method="get" action="http://www.google.com/search" id="googlesearch">
817 <input type="hidden" name="domains" value="{{SERVER}}" />
818 <input type="hidden" name="num" value="50" />
819 <input type="hidden" name="ie" value="$2" />
820 <input type="hidden" name="oe" value="$2" />
822 <input type="text" name="q" size="31" maxlength="255" value="$1" />
823 <input type="submit" name="btnG" value="$3" />
824 <div>
825 <input type="radio" name="sitesearch" id="gwiki" value="{{SERVER}}" checked="checked" /><label for="gwiki">{{SITENAME}}</label>
826 <input type="radio" name="sitesearch" id="gWWW" value="" /><label for="gWWW">WWW</label>
827 </div>
828 </form>',
829 'blanknamespace' => '(Main)',
831 # Preferences page
833 'preferences' => 'Preferences',
834 'prefsnologin' => 'Not logged in',
835 'prefsnologintext' => "You must be [[Special:Userlogin|logged in]]
836 to set user preferences.",
837 'prefslogintext' => "You are logged in as \"$1\".
838 Your internal ID number is $2.
840 See [[Project:User preferences help]] for help deciphering the options.",
841 'prefsreset' => 'Preferences have been reset from storage.',
842 'qbsettings' => 'Quickbar',
843 'changepassword' => 'Change password',
844 'skin' => 'Skin',
845 'math' => 'Math',
846 'dateformat' => 'Date format',
847 'math_failure' => 'Failed to parse',
848 'math_unknown_error' => 'unknown error',
849 'math_unknown_function' => 'unknown function ',
850 'math_lexing_error' => 'lexing error',
851 'math_syntax_error' => 'syntax error',
852 'math_image_error' => 'PNG conversion failed; check for correct installation of latex, dvips, gs, and convert',
853 'math_bad_tmpdir' => 'Can\'t write to or create math temp directory',
854 'math_bad_output' => 'Can\'t write to or create math output directory',
855 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.',
856 'prefs-personal' => 'User data',
857 'prefs-rc' => 'Recent changes & stubs',
858 'prefs-misc' => 'Misc',
859 'saveprefs' => 'Save',
860 'resetprefs' => 'Reset',
861 'oldpassword' => 'Old password',
862 'newpassword' => 'New password',
863 'retypenew' => 'Again',
864 'textboxsize' => 'Editing',
865 'rows' => 'Rows',
866 'columns' => 'Columns',
867 'searchresultshead' => 'Search',
868 'resultsperpage' => 'Hits per page',
869 'contextlines' => 'Lines per hit',
870 'contextchars' => 'Context per line',
871 'stubthreshold' => 'Threshold for stub display',
872 'recentchangescount' => 'Titles in recent changes',
873 'savedprefs' => 'Your preferences have been saved.',
874 'timezonelegend' => 'Time zone',
875 'timezonetext' => 'The number of hours your local time differs from server time (UTC).',
876 'localtime' => 'Local time',
877 'timezoneoffset' => 'Offset¹',
878 'servertime' => 'Server time',
879 'guesstimezone' => 'Fill in from browser',
880 'emailflag' => 'Disable e-mail from other users',
881 'defaultns' => 'Search in these namespaces by default:',
882 'default' => 'default',
883 'files' => 'Files',
885 # User levels special page
888 # switching pan
889 'groups-lookup-group' => 'Manage group rights',
890 'groups-group-edit' => 'Existing groups: ',
891 'editgroup' => 'Edit Group',
892 'addgroup' => 'Add Group',
894 'userrights-lookup-user' => 'Manage user groups',
895 'userrights-user-editname' => 'Enter a username: ',
896 'editusergroup' => 'Edit User Groups',
898 # group editing
899 'groups-editgroup' => 'Edit group',
900 'groups-addgroup' => 'Add group',
901 'groups-editgroup-preamble' => 'If the name or description starts with a colon, the
902 remainder will be treated as a message name, and hence the text will be localised
903 using the MediaWiki namespace',
904 'groups-editgroup-name' => 'Group name: ',
905 'groups-editgroup-description' => 'Group description (max 255 characters):<br />',
906 'savegroup' => 'Save Group',
907 'groups-tableheader' => 'ID || Name || Description || Rights',
908 'groups-existing' => 'Existing groups',
909 'groups-noname' => 'Please specify a valid group name',
910 'groups-already-exists' => 'A group of that name already exists',
911 'addgrouplogentry' => 'Added group $2',
912 'changegrouplogentry' => 'Changed group $2',
913 'renamegrouplogentry' => 'Renamed group $2 to $3',
915 # user groups editing
917 'userrights-editusergroup' => 'Edit user groups',
918 'saveusergroups' => 'Save User Groups',
919 'userrights-groupsmember' => 'Member of:',
920 'userrights-groupsavailable' => 'Available groups:',
921 'userrights-groupshelp' => 'Select groups you want the user to be removed from or added to.
922 Unselected groups will not be changed. You can deselect a group with CTRL + Left Click',
923 'userrights-logcomment' => 'Changed group membership from $1 to $2',
925 # Default group names and descriptions
927 'group-anon-name' => 'Anonymous',
928 'group-anon-desc' => 'Anonymous users',
929 'group-loggedin-name' => 'User',
930 'group-loggedin-desc' => 'General logged in users',
931 'group-admin-name' => 'Administrator',
932 'group-admin-desc' => 'Trusted users able to block users and delete articles',
933 'group-bureaucrat-name' => 'Bureaucrat',
934 'group-bureaucrat-desc' => 'The bureaucrat group is able to make sysops',
935 'group-steward-name' => 'Steward',
936 'group-steward-desc' => 'Full access',
939 # Recent changes
941 'changes' => 'changes',
942 'recentchanges' => 'Recent changes',
943 'recentchanges-url' => 'Special:Recentchanges',
944 'recentchangestext' => 'Track the most recent changes to the wiki on this page.',
945 'rcloaderr' => 'Loading recent changes',
946 'rcnote' => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
947 'rcnotefrom' => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
948 'rclistfrom' => "Show new changes starting from $1",
949 'showhideminor' => "$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits ",
950 'rclinks' => "Show last $1 changes in last $2 days<br />$3",
951 'rchide' => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
952 'rcliu' => "; $1 edits from logged in users",
953 'diff' => 'diff',
954 'hist' => 'hist',
955 'hide' => 'hide',
956 'show' => 'show',
957 'tableform' => 'table',
958 'listform' => 'list',
959 'nchanges' => "$1 changes",
960 'minoreditletter' => 'm',
961 'newpageletter' => 'N',
962 'sectionlink' => '&rarr;',
963 'number_of_watching_users_RCview' => '[$1]',
964 'number_of_watching_users_pageview' => '[$1 watching user/s]',
966 # Upload
968 'upload' => 'Upload file',
969 'uploadbtn' => 'Upload file',
970 'uploadlink' => 'Upload images',
971 'reupload' => 'Re-upload',
972 'reuploaddesc' => 'Return to the upload form.',
973 'uploadnologin' => 'Not logged in',
974 'uploadnologintext' => "You must be [[Special:Userlogin|logged in]]
975 to upload files.",
976 'upload_directory_read_only' => 'The upload directory ($1) is not writable by the webserver.',
977 'uploaderror' => 'Upload error',
978 'uploadtext' =>
980 Use the form below to upload new files,
981 to view or search previously uploaded images
982 go to the [[Special:Imagelist|list of uploaded files]],
983 uploads and deletions are also logged in the [[Special:Log|project log]].
985 You must also check the box affirming that you are not
986 violating any copyrights by uploading the file.
987 Press the \"Upload\" button to finish the upload.
989 To include the image in a page, use a link in the form
990 '''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''',
991 '''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
992 '''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for directly linking to the file.
995 'uploadlog' => 'upload log',
996 'uploadlogpage' => 'Upload_log',
997 'uploadlogpagetext' => 'Below is a list of the most recent file uploads.',
998 'filename' => 'Filename',
999 'filedesc' => 'Summary',
1000 'filestatus' => 'Copyright status',
1001 'filesource' => 'Source',
1002 'affirmation' => "I affirm that the copyright holder of this file
1003 agrees to license it under the terms of the $1.",
1004 'copyrightpage' => "Project:Copyrights",
1005 'copyrightpagename' => "{{SITENAME}} copyright",
1006 'uploadedfiles' => 'Uploaded files',
1007 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.',
1008 'ignorewarning' => 'Ignore warning and save file anyway.',
1009 'minlength' => 'Image names must be at least three letters.',
1010 'illegalfilename' => 'The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.',
1011 'badfilename' => "Image name has been changed to \"$1\".",
1012 'badfiletype' => "\".$1\" is not a recommended image file format.",
1013 'largefile' => 'It is recommended that images not exceed $1 bytes in size, this file is $2 bytes',
1014 '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.',
1015 'fileexists' => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.',
1016 'successfulupload' => 'Successful upload',
1017 'fileuploaded' => "File $1 uploaded successfully.
1018 Please follow this link: $2 to the description page and fill
1019 in information about the file, such as where it came from, when it was
1020 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>",
1021 'uploadwarning' => 'Upload warning',
1022 'savefile' => 'Save file',
1023 'uploadedimage' => "uploaded \"[[$1]]\"",
1024 'uploaddisabled' => 'Sorry, uploading is disabled.',
1025 'uploadscripted' => 'This file contains HTML or script code that my be erronously be interpretet by a web browser.',
1026 'uploadcorrupt' => 'The file is corrupt or has an incorrect extension. Please check the file and upload again.',
1027 'uploadvirus' => 'The file contains a virus! Details: $1',
1028 'sourcefilename' => 'Source filename',
1029 'destfilename' => 'Destination filename',
1031 # Image list
1033 'imagelist' => 'File list',
1034 'imagelisttext' => "Below is a list of $1 files sorted $2.",
1035 'getimagelist' => 'fetching file list',
1036 'ilsubmit' => 'Search',
1037 'showlast' => "Show last $1 files sorted $2.",
1038 'byname' => 'by name',
1039 'bydate' => 'by date',
1040 'bysize' => 'by size',
1041 'imgdelete' => 'del',
1042 'imgdesc' => 'desc',
1043 'imglegend' => 'Legend: (desc) = show/edit image description.',
1044 'imghistory' => 'History',
1045 'revertimg' => 'rev',
1046 'deleteimg' => 'del',
1047 'deleteimgcompletely' => 'Delete all revisions',
1048 'imghistlegend' => 'Legend: (cur) = this is the current file, (del) = delete
1049 this old version, (rev) = revert to this old version.
1050 <br /><i>Click on date to see the file uploaded on that date</i>.',
1051 'imagelinks' => 'Links',
1052 'linkstoimage' => 'The following pages link to this file:',
1053 'nolinkstoimage' => 'There are no pages that link to this file.',
1054 'sharedupload' => 'This file is a shared upload and may be used by other projects.',
1055 'shareduploadwiki' => 'Please see the [$1 file description page] for further information.',
1056 'noimage' => 'No file by this name exists, you can [$1 upload it]',
1057 'uploadnewversion' => '[$1 Upload a new version of this file]',
1059 # Statistics
1061 'statistics' => 'Statistics',
1062 'sitestats' => 'Site statistics',
1063 'userstats' => 'User statistics',
1064 'sitestatstext' => "There are '''$1''' total pages in the database.
1065 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
1066 pages, redirects, and others that probably don't qualify as content pages.
1067 Excluding those, there are '''$2''' pages that are probably legitimate
1068 content pages.
1070 There have been a total of '''$3''' page views, and '''$4''' page edits
1071 since the wiki was setup.
1072 That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
1073 'userstatstext' => "There are '''$1''' registered users.
1074 '''$2''' of these are administrators (see $3).",
1076 # Maintenance Page
1078 'maintenance' => 'Maintenance page',
1079 'maintnancepagetext' => 'This page includes several handy tools for everyday maintenance. Some of these functions tend to stress the database, so please do not hit reload after every item you fixed ;-)',
1080 'maintenancebacklink' => 'Back to Maintenance Page',
1081 'disambiguations' => 'Disambiguation pages',
1082 'disambiguationspage' => "Project:Links_to_disambiguating_pages",
1083 '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.",
1084 'doubleredirects' => 'Double Redirects',
1085 '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.",
1086 'brokenredirects' => 'Broken Redirects',
1087 'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
1088 'selflinks' => 'Pages with Self Links',
1089 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
1090 'mispeelings' => 'Pages with misspellings',
1091 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
1092 'mispeelingspage' => 'List of common misspellings',
1093 'missinglanguagelinks' => 'Missing Language Links',
1094 'missinglanguagelinksbutton' => 'Find missing language links for',
1095 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
1098 # Miscellaneous special pages
1100 'orphans' => 'Orphaned pages',
1101 'geo' => 'GEO coordinates',
1102 'validate' => 'Validate page',
1103 'lonelypages' => 'Orphaned pages',
1104 'uncategorizedpages' => 'Uncategorized pages',
1105 'uncategorizedcategories' => 'Uncategorized categories',
1106 'unusedimages' => 'Unused files',
1107 'popularpages' => 'Popular pages',
1108 'nviews' => '$1 views',
1109 'wantedpages' => 'Wanted pages',
1110 'nlinks' => '$1 links',
1111 'allpages' => 'All pages',
1112 'randompage' => 'Random page',
1113 'randompage-url'=> 'Special:Random',
1114 'shortpages' => 'Short pages',
1115 'longpages' => 'Long pages',
1116 'deadendpages' => 'Dead-end pages',
1117 'listusers' => 'User list',
1118 'listadmins' => 'Admins list',
1119 'specialpages' => 'Special pages',
1120 'spheading' => 'Special pages for all users',
1121 'restrictedpheading' => 'Restricted special pages',
1122 'asksqlpheading' => 'asksql level',
1123 'blockpheading' => 'block level',
1124 'createaccountpheading' => 'createaccount level',
1125 'deletepheading' => 'delete level',
1126 'userrightspheading' => 'userrights level',
1127 'grouprightspheading' => 'grouprights level',
1128 'siteadminpheading' => 'siteadmin level',
1130 /** obsoletes
1131 'sysopspheading' => 'For sysop use only',
1132 'developerspheading' => 'For developer use only',
1134 'protectpage' => 'Protect page',
1135 'recentchangeslinked' => 'Related changes',
1136 'rclsub' => "(to pages linked from \"$1\")",
1137 'debug' => 'Debug',
1138 'newpages' => 'New pages',
1139 'ancientpages' => 'Oldest pages',
1140 'intl' => 'Interlanguage links',
1141 'move' => 'Move',
1142 'movethispage' => 'Move this page',
1143 'unusedimagestext' => '<p>Please note that other web sites may link to an image with
1144 a direct URL, and so may still be listed here despite being
1145 in active use.</p>',
1146 'booksources' => 'Book sources',
1147 'categoriespagetext' => 'The following categories exist in the wiki.',
1148 'data' => 'Data',
1149 'userrights' => 'User rights management',
1150 'groups' => 'User groups',
1152 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1153 'booksourcetext' => "Below is a list of links to other sites that
1154 sell new and used books, and may also have further information
1155 about books you are looking for.
1156 {{SITENAME}} is not affiliated with any of these businesses, and
1157 this list should not be construed as an endorsement.",
1158 'isbn' => 'ISBN',
1159 'rfcurl' => 'http://www.faqs.org/rfcs/rfc$1.html',
1160 'pubmedurl' => 'http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1',
1161 'alphaindexline' => "$1 to $2",
1162 'version' => 'Version',
1163 'log' => 'Logs',
1164 'alllogstext' => 'Combined display of upload, deletion, protection, blocking, and sysop logs.
1165 You can narrow down the view by selecting a log type, the user name, or the affected page.',
1167 # Special:Allpages
1168 'nextpage' => 'Next page ($1)',
1169 'allpagesfrom' => 'Display pages starting at:',
1170 'allarticles' => 'All articles',
1171 'allnonarticles' => 'All non-articles',
1172 'allinnamespace' => 'All pages ($1 namespace)',
1173 'allnotinnamespace' => 'All pages (not in $1 namespace)',
1174 'allpagesprev' => 'Previous',
1175 'allpagesnext' => 'Next',
1176 'allpagessubmit' => 'Go',
1178 # E this user
1180 'mailnologin' => 'No send address',
1181 'mailnologintext' => "You must be [[Special:Userlogin|logged in]]
1182 and have a valid e-mail address in your [[Special:Preferences|preferences]]
1183 to send e-mail to other users.",
1184 'emailuser' => 'E-mail this user',
1185 'emailpage' => 'E-mail user',
1186 'emailpagetext' => 'If this user has entered a valid e-mail address in
1187 his or her user preferences, the form below will send a single message.
1188 The e-mail address you entered in your user preferences will appear
1189 as the "From" address of the mail, so the recipient will be able
1190 to reply.',
1191 'usermailererror' => 'Mail object returned error: ',
1192 'defemailsubject' => "{{SITENAME}} e-mail",
1193 'noemailtitle' => 'No e-mail address',
1194 'noemailtext' => 'This user has not specified a valid e-mail address,
1195 or has chosen not to receive e-mail from other users.',
1196 'emailfrom' => 'From',
1197 'emailto' => 'To',
1198 'emailsubject' => 'Subject',
1199 'emailmessage' => 'Message',
1200 'emailsend' => 'Send',
1201 'emailsent' => 'E-mail sent',
1202 'emailsenttext' => 'Your e-mail message has been sent.',
1204 # Watchlist
1206 'watchlist' => 'My watchlist',
1207 'watchlistsub' => "(for user \"$1\")",
1208 'nowatchlist' => 'You have no items on your watchlist.',
1209 'watchnologin' => 'Not logged in',
1210 'watchnologintext' => "You must be [[Special:Userlogin|logged in]]
1211 to modify your watchlist.",
1212 'addedwatch' => 'Added to watchlist',
1213 'addedwatchtext' => "The page \"$1\" has been added to your [[Special:Watchlist|watchlist]].
1214 Future changes to this page and its associated Talk page will be listed there,
1215 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
1216 make it easier to pick out.
1218 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1219 'removedwatch' => 'Removed from watchlist',
1220 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.",
1221 'watch' => 'Watch',
1222 'watchthispage' => 'Watch this page',
1223 'unwatch' => 'Unwatch',
1224 'unwatchthispage' => 'Stop watching',
1225 'notanarticle' => 'Not a content page',
1226 'watchnochange' => 'None of your watched items were edited in the time period displayed.',
1227 'watchdetails' => "($1 pages watched not counting talk pages;
1228 $2 total pages edited since cutoff;
1229 $3...
1230 <a href='$4'>show and edit complete list</a>.)",
1231 'watchmethod-recent'=> 'checking recent edits for watched pages',
1232 'watchmethod-list' => 'checking watched pages for recent edits',
1233 'removechecked' => 'Remove checked items from watchlist',
1234 'watchlistcontains' => "Your watchlist contains $1 pages.",
1235 'watcheditlist' => 'Here\'s an alphabetical list of your
1236 watched content pages. Check the boxes of pages you want to remove from your watchlist and click the \'remove checked\' button
1237 at the bottom of the screen (deleting a content page also deletes the accompanying talk page and vice versa).',
1238 'removingchecked' => 'Removing requested items from watchlist...',
1239 'couldntremove' => "Couldn't remove item '$1'...",
1240 'iteminvalidname' => "Problem with item '$1', invalid name...",
1241 'wlnote' => 'Below are the last $1 changes in the last <b>$2</b> hours.',
1242 'wlshowlast' => 'Show last $1 hours $2 days $3',
1243 'wlsaved' => 'This is a saved version of your watchlist.',
1244 'wlhideshowown' => '$1 my edits.',
1245 'wlshow' => 'Show',
1246 'wlhide' => 'Hide',
1248 'enotif_mailer' => '{{SITENAME}} Notification Mailer',
1249 'enotif_infotext' => "* Email notification is enabled
1250 * Pages which have been changed since you last visited them are shown in '''bold'''",
1251 'enotif_reset' => 'Mark all pages visited',
1252 'enotif_newpagetext'=> 'This is a new page.',
1253 'enotif_to' => '$WATCHINGUSERNAME_QP <$WATCHINGUSEREMAILADDR>',
1254 'changed' => 'changed',
1255 'created' => 'created',
1256 'enotif_subject' => '{{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED by $PAGEEDITOR',
1257 'enotif_lastvisited' => 'See {{SERVER}}{{localurl:$PAGETITLE_RAWURL|diff=0&oldid=$OLDID}} for all changes since your last visit.',
1258 'enotif_body' => 'Dear $WATCHINGUSERNAME,
1260 the {{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED on $PAGEEDITDATE by $PAGEEDITOR,
1261 see {{SERVER}}{{localurl:$PAGETITLE_RAWURL}} for the current version.
1263 $NEWPAGE
1265 Editor\'s summary: $PAGESUMMARY $PAGEMINOREDIT
1267 Contact the editor:
1268 mail {{SERVER}}{{localurl:Special:Emailuser|target=$PAGEEDITOR_RAWURL}}
1269 wiki {{SERVER}}{{localurl:User:$PAGEEDITOR_RAWURL}}
1271 There will be no other notifications in case of further changes unless you visit this page.
1272 You could also reset the notification flags for all your watched pages on your watchlist.
1274 Your friendly {{SITENAME}} notification system
1277 To change your watchlist settings, visit
1278 {{SERVER}}{{localurl:Special:Watchlist|edit=yes}}
1280 Feedback and further assistance:
1281 {{SERVER}}{{localurl:Help:Contents}}',
1283 # Delete/protect/revert
1285 'deletepage' => 'Delete page',
1286 'confirm' => 'Confirm',
1287 'excontent' => "content was: '$1'",
1288 'excontentauthor' => "content was: '$1' (and the only contributor was '$2')",
1289 'exbeforeblank' => "content before blanking was: '$1'",
1290 'exblank' => 'page was empty',
1291 'confirmdelete' => 'Confirm delete',
1292 'deletesub' => "(Deleting \"$1\")",
1293 'historywarning' => 'Warning: The page you are about to delete has a history: ',
1294 'confirmdeletetext' => "You are about to permanently delete a page
1295 or image along with all of its history from the database.
1296 Please confirm that you intend to do this, that you understand the
1297 consequences, and that you are doing this in accordance with
1298 [[Project:Policy]].",
1299 'actioncomplete' => 'Action complete',
1300 'deletedtext' => "\"$1\" has been deleted.
1301 See $2 for a record of recent deletions.",
1302 'deletedarticle' => "deleted \"[[$1]]\"",
1303 'dellogpage' => 'Deletion_log',
1304 'dellogpagetext' => 'Below is a list of the most recent deletions.',
1305 'deletionlog' => 'deletion log',
1306 'reverted' => 'Reverted to earlier revision',
1307 'deletecomment' => 'Reason for deletion',
1308 'imagereverted' => 'Revert to earlier version was successful.',
1309 'rollback' => 'Roll back edits',
1310 'rollback_short' => 'Rollback',
1311 'rollbacklink' => 'rollback',
1312 'rollbackfailed' => 'Rollback failed',
1313 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.',
1314 'alreadyrolled' => "Cannot rollback last edit of [[$1]]
1315 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
1317 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1318 # only shown if there is an edit comment
1319 'editcomment' => "The edit comment was: \"<i>$1</i>\".",
1320 'revertpage' => "Reverted edit of $2, changed back to last version by $1",
1321 'sessionfailure' => 'There seems to be a problem with your login session;
1322 this action has been canceled as a precaution against session hijacking.
1323 Please hit "back" and reload the page you came from, then try again.',
1324 'protectlogpage' => 'Protection_log',
1325 'protectlogtext' => "Below is a list of page locks/unlocks.
1326 See [[Project:Protected page]] for more information.",
1327 'protectedarticle' => "protected \"[[$1]]\"",
1328 'unprotectedarticle' => "unprotected \"[[$1]]\"",
1329 'protectsub' =>"(Protecting \"$1\")",
1330 'confirmprotecttext' => 'Do you really want to protect this page?',
1331 'confirmprotect' => 'Confirm protection',
1332 'protectmoveonly' => 'Protect from moves only',
1333 'protectcomment' => 'Reason for protecting',
1334 'unprotectsub' =>"(Unprotecting \"$1\")",
1335 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
1336 'confirmunprotect' => 'Confirm unprotection',
1337 'unprotectcomment' => 'Reason for unprotecting',
1338 'protectreason' => '(give a reason)',
1340 # Undelete
1341 'undelete' => 'Restore deleted page',
1342 'undeletepage' => 'View and restore deleted pages',
1343 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and
1344 can be restored. The archive may be periodically cleaned out.',
1345 'undeletearticle' => 'Restore deleted page',
1346 'undeleterevisions' => "$1 revisions archived",
1347 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history.
1348 If a new page with the same name has been created since the deletion, the restored
1349 revisions will appear in the prior history, and the current revision of the live page
1350 will not be automatically replaced.',
1351 'undeleterevision' => "Deleted revision as of $1",
1352 'undeletebtn' => 'Restore!',
1353 'undeletedarticle' => "restored \"[[$1]]\"",
1354 'undeletedrevisions' => "$1 revisions restored",
1355 'undeletedtext' => "[[$1]] has been successfully restored.
1356 See [[Special:Log/delete]] for a record of recent deletions and restorations.",
1358 # Namespace form on various pages
1359 'namespace' => 'Namespace:',
1360 'invert' => 'Invert selection',
1362 # Contributions
1364 'contributions' => 'User contributions',
1365 'mycontris' => 'My contributions',
1366 'contribsub' => "For $1",
1367 'nocontribs' => 'No changes were found matching these criteria.',
1368 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1369 'uclinks' => "View the last $1 changes; view the last $2 days.",
1370 'uctop' => ' (top)' ,
1371 'newbies' => 'newbies',
1373 # What links here
1375 'whatlinkshere' => 'What links here',
1376 'notargettitle' => 'No target',
1377 'notargettext' => 'You have not specified a target page or user
1378 to perform this function on.',
1379 'linklistsub' => '(List of links)',
1380 'linkshere' => 'The following pages link to here:',
1381 'nolinkshere' => 'No pages link to here.',
1382 'isredirect' => 'redirect page',
1384 # Block/unblock IP
1386 'blockip' => 'Block user',
1387 'blockiptext' => "Use the form below to block write access
1388 from a specific IP address or username.
1389 This should be done only only to prevent vandalism, and in
1390 accordance with [[Project:Policy|policy]].
1391 Fill in a specific reason below (for example, citing particular
1392 pages that were vandalized).",
1393 'ipaddress' => 'IP Address',
1394 'ipadressorusername' => 'IP Address or username',
1395 'ipbexpiry' => 'Expiry',
1396 'ipbreason' => 'Reason',
1397 'ipbsubmit' => 'Block this user',
1398 'badipaddress' => 'Invalid IP address',
1399 'blockipsuccesssub' => 'Block succeeded',
1400 'blockipsuccesstext' => "\"$1\" has been blocked.
1401 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1402 'unblockip' => 'Unblock user',
1403 'unblockiptext' => 'Use the form below to restore write access
1404 to a previously blocked IP address or username.',
1405 'ipusubmit' => 'Unblock this address',
1406 'ipusuccess' => "\"[[$1]]\" unblocked",
1407 'ipblocklist' => 'List of blocked IP addresses and usernames',
1408 'blocklistline' => "$1, $2 blocked $3 (expires $4)",
1409 'blocklink' => 'block',
1410 'unblocklink' => 'unblock',
1411 'contribslink' => 'contribs',
1412 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1413 'blocklogpage' => 'Block_log',
1414 'blocklogentry' => 'blocked "[[$1]]" with an expiry time of $2',
1415 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
1416 blocked IP addresses are not listed. See the [[Special:Ipblocklist|IP block list]] for
1417 the list of currently operational bans and blocks.',
1418 'unblocklogentry' => 'unblocked "$1"',
1419 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
1420 'ipb_expiry_invalid' => 'Expiry time invalid.',
1421 'ip_range_invalid' => "Invalid IP range.\n",
1422 'proxyblocker' => 'Proxy blocker',
1423 '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.',
1424 'proxyblocksuccess' => "Done.\n",
1425 'sorbs' => 'SORBS DNSBL',
1426 'sorbsreason' => 'Your IP address is listed as an open proxy in the [http://www.sorbs.net SORBS] DNSBL.',
1429 # Developer tools
1431 'lockdb' => 'Lock database',
1432 'unlockdb' => 'Unlock database',
1433 'lockdbtext' => 'Locking the database will suspend the ability of all
1434 users to edit pages, change their preferences, edit their watchlists, and
1435 other things requiring changes in the database.
1436 Please confirm that this is what you intend to do, and that you will
1437 unlock the database when your maintenance is done.',
1438 'unlockdbtext' => 'Unlocking the database will restore the ability of all
1439 users to edit pages, change their preferences, edit their watchlists, and
1440 other things requiring changes in the database.
1441 Please confirm that this is what you intend to do.',
1442 'lockconfirm' => 'Yes, I really want to lock the database.',
1443 'unlockconfirm' => 'Yes, I really want to unlock the database.',
1444 'lockbtn' => 'Lock database',
1445 'unlockbtn' => 'Unlock database',
1446 'locknoconfirm' => 'You did not check the confirmation box.',
1447 'lockdbsuccesssub' => 'Database lock succeeded',
1448 'unlockdbsuccesssub' => 'Database lock removed',
1449 'lockdbsuccesstext' => 'The database has been locked.
1450 <br />Remember to remove the lock after your maintenance is complete.',
1451 'unlockdbsuccesstext' => 'The database has been unlocked.',
1453 # SQL query
1455 'asksql' => 'SQL query',
1456 'asksqltext' => "Use the form below to make a direct query of the
1457 database.
1458 Use single quotes ('like this') to delimit string literals.
1459 This can often add considerable load to the server, so please use
1460 this function sparingly.",
1461 'sqlislogged' => 'Please note that all queries are logged.',
1462 'sqlquery' => 'Enter query',
1463 'querybtn' => 'Submit query',
1464 'selectonly' => 'Only read-only queries are allowed.',
1465 'querysuccessful' => 'Query successful',
1467 # Make sysop
1468 'makesysoptitle' => 'Make a user into a sysop',
1469 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
1470 Type the name of the user in the box and press the button to make the user an administrator',
1471 'makesysopname' => 'Name of the user:',
1472 'makesysopsubmit' => 'Make this user into a sysop',
1473 'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
1474 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1475 'setbureaucratflag' => 'Set bureaucrat flag',
1476 'setstewardflag' => 'Set steward flag',
1477 'bureaucratlog' => 'Bureaucrat_log',
1478 'rightslogtext' => 'This is a log of changes to user rights.',
1479 'bureaucratlogentry' => "Changed group membership for $1 from $2 to $3",
1480 'rights' => 'Rights:',
1481 'set_user_rights' => 'Set user rights',
1482 'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
1483 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1484 'makesysop' => 'Make a user into a sysop',
1485 'already_sysop' => 'This user is already an administrator',
1486 'already_bureaucrat' => 'This user is already a bureaucrat',
1487 'already_steward' => 'This user is already a steward',
1489 # Validation
1490 'val_yes' => 'Yes',
1491 'val_no' => 'No',
1492 'val_of' => '$1 of $2',
1493 'val_revision' => 'Revision',
1494 'val_time' => 'Time',
1495 'val_user_stats_title' => 'Validation overview of user $1',
1496 'val_my_stats_title' => 'My validation overview',
1497 'val_list_header' => '<th>#</th><th>Topic</th><th>Range</th><th>Action</th>',
1498 'val_add' => 'Add',
1499 'val_del' => 'Delete',
1500 'val_show_my_ratings' => 'Show my validations',
1501 'val_revision_number' => 'Revision #$1',
1502 'val_warning' => '<b>Never, <i>ever</i>, change something here without <i>explicit</i> community consensus!</b>',
1503 'val_rev_for' => 'Revisions for ',
1504 'val_details_th_user' => 'User $1',
1505 'val_validation_of' => 'Validation of "$1"',
1506 'val_revision_of' => 'Revision of $1',
1507 'val_revision_changes_ok' => 'Your ratings have been stored!',
1508 'val_rev_stats_link' => 'See the validation statistics for "$1" <a href="$2">here</a>',
1509 'val_revision_stats_link' => '(<a href="$1">details</a>)',
1510 'val_iamsure' => 'Check this box if you really mean it!',
1511 'val_clear_old' => 'Clear my older validation data',
1512 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
1513 'val_form_note' => '<b>Hint:</b> Merging your data means that for the article
1514 revision you select, all options where you have specified <i>no opinion</i>
1515 will be set to the value and comment of the most recent revision for which you
1516 have expressed an opinion. For example, if you want to change a single option
1517 for a newer revision, but also keep your other settings for this article in
1518 this revision, just select which option you intend to <i>change</i>, and
1519 merging will fill in the other options with your previous settings.',
1520 'val_noop' => 'No opinion',
1521 'val_percent' => '<b>$1%</b><br />($2 of $3 points<br />by $4 users)',
1522 'val_percent_single' => '<b>$1%</b><br />($2 of $3 points<br />by one user)',
1523 'val_total' => 'Total',
1524 'val_version' => 'Version',
1525 'val_tab' => 'Validate',
1526 'val_this_is_current_version' => 'this is the latest version',
1527 'val_version_of' => "Version of $1" ,
1528 'val_table_header' => "<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>\n",
1529 'val_stat_link_text' => 'Validation statistics for this article',
1530 'val_view_version' => 'View this revision',
1531 'val_validate_version' => 'Validate this version',
1532 'val_user_validations' => 'This user has validated $1 pages.',
1533 'val_no_anon_validation' => 'You have to be logged in to validate an article.',
1534 'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in the article namespace.',
1535 'val_validated' => 'Validation done.',
1536 'val_article_lists' => 'List of validated articles',
1537 'val_page_validation_statistics' => 'Page validation statistics for $1',
1539 # Move page
1541 'movepage' => 'Move page',
1542 'movepagetext' => 'Using the form below will rename a page, moving all
1543 of its history to the new name.
1544 The old title will become a redirect page to the new title.
1545 Links to the old page title will not be changed; be sure to
1546 check for double or broken redirects.
1547 You are responsible for making sure that links continue to
1548 point where they are supposed to go.
1550 Note that the page will \'\'\'not\'\'\' be moved if there is already
1551 a page at the new title, unless it is empty or a redirect and has no
1552 past edit history. This means that you can rename a page back to where
1553 it was just renamed from if you make a mistake, and you cannot overwrite
1554 an existing page.
1556 <b>WARNING!</b>
1557 This can be a drastic and unexpected change for a popular page;
1558 please be sure you understand the consequences of this before
1559 proceeding.',
1560 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\'
1561 *You are moving the page across namespaces,
1562 *A non-empty talk page already exists under the new name, or
1563 *You uncheck the box below.
1565 In those cases, you will have to move or merge the page manually if desired.',
1566 'movearticle' => 'Move page',
1567 'movenologin' => 'Not logged in',
1568 'movenologintext' => "You must be a registered user and [[Special:Userlogin|logged in]]
1569 to move a page.",
1570 'newtitle' => 'To new title',
1571 'movepagebtn' => 'Move page',
1572 'pagemovedsub' => 'Move succeeded',
1573 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1574 'articleexists' => 'A page of that name already exists, or the
1575 name you have chosen is not valid.
1576 Please choose another name.',
1577 'talkexists' => 'The page itself was moved successfully, but the
1578 talk page could not be moved because one already exists at the new
1579 title. Please merge them manually.',
1580 'movedto' => 'moved to',
1581 'movetalk' => 'Move "talk" page as well, if applicable.',
1582 'talkpagemoved' => 'The corresponding talk page was also moved.',
1583 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.',
1584 '1movedto2' => "[[$1]] moved to [[$2]]",
1585 '1movedto2_redir' => '[[$1]] moved to [[$2]] over redirect',
1586 'movelogpage' => 'Move log',
1587 'movelogpagetext' => 'Below is a list of page moved.',
1588 'movereason' => 'Reason',
1589 'revertmove' => 'revert',
1590 'delete_and_move' => 'Delete and move',
1591 'delete_and_move_text' =>
1592 '==Deletion required==
1594 The destination article "[[$1]]" already exists. Do you want to delete it to make way for the move?',
1595 'delete_and_move_reason' => 'Deleted to make way for move',
1596 'selfmove' => "Source and destination titles are the same; can't move a page over itself.",
1597 'immobile_namespace' => "Destination title is of a special type; cannot move pages into that namespace.",
1599 # Export
1601 'export' => 'Export pages',
1602 'exporttext' => 'You can export the text and editing history of a particular page or
1603 set of pages wrapped in some XML. In the future, this may then be imported into another
1604 wiki running MediaWiki software, although there is no support for this feature in the
1605 current version.
1607 To export article pages, enter the titles in the text box below, one title per line, and
1608 select whether you want the current version as well as all old versions, with the page
1609 history lines, or just the current version with the info about the last edit.
1611 In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
1612 article [[Train]].
1614 'exportcuronly' => 'Include only the current revision, not the full history',
1616 # Namespace 8 related
1618 'allmessages' => 'All system messages',
1619 'allmessagesname' => 'Name',
1620 'allmessagesdefault' => 'Default text',
1621 'allmessagescurrent' => 'Current text',
1622 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
1623 'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site. ',
1624 'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',
1626 # Thumbnails
1628 'thumbnail-more' => 'Enlarge',
1629 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
1630 'filemissing' => 'File missing',
1632 # Special:Import
1633 'import' => 'Import pages',
1634 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
1635 'importfailed' => "Import failed: $1",
1636 'importnotext' => 'Empty or no text',
1637 'importsuccess' => 'Import succeeded!',
1638 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
1640 # Keyboard access keys for power users
1641 'accesskey-search' => 'f',
1642 'accesskey-minoredit' => 'i',
1643 'accesskey-save' => 's',
1644 'accesskey-preview' => 'p',
1645 'accesskey-diff' => 'd',
1646 'accesskey-compareselectedversions' => 'v',
1648 # tooltip help for some actions, most are in Monobook.js
1649 'tooltip-search' => 'Search this wiki [alt-f]',
1650 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
1651 'tooltip-save' => 'Save your changes [alt-s]',
1652 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
1653 'tooltip-diff' => 'Show which changes you made to the text. [alt-d]',
1654 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
1655 'tooltip-watch' => 'Add this page to your watchlist [alt-w]',
1657 # stylesheets
1658 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
1659 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
1661 # Metadata
1662 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',
1663 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.',
1664 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.',
1666 # Attribution
1668 'anonymous' => "Anonymous user(s) of $wgSitename",
1669 'siteuser' => "$wgSitename user $1",
1670 'lastmodifiedby' => "This page was last modified $1 by $2.",
1671 'and' => 'and',
1672 'othercontribs' => "Based on work by $1.",
1673 'others' => 'others',
1674 'siteusers' => "$wgSitename user(s) $1",
1675 'creditspage' => 'Page credits',
1676 'nocredits' => 'There is no credits info available for this page.',
1678 # Spam protection
1680 'spamprotectiontitle' => 'Spam protection filter',
1681 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.',
1682 'spamprotectionmatch' => 'The following text is what triggered our spam filter: $1',
1683 'subcategorycount' => "There are $1 subcategories to this category.",
1684 'subcategorycount1' => "There is $1 subcategory to this category.",
1685 'categoryarticlecount' => "There are $1 articles in this category.",
1686 'categoryarticlecount1' => "There is $1 article in this category.",
1687 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
1688 'listingcontinuesabbrev' => " cont.",
1690 # Info page
1691 'infosubtitle' => 'Information for page',
1692 'numedits' => 'Number of edits (article): $1',
1693 'numtalkedits' => 'Number of edits (discussion page): $1',
1694 'numwatchers' => 'Number of watchers: $1',
1695 'numauthors' => 'Number of distinct authors (article): $1',
1696 'numtalkauthors' => 'Number of distinct authors (discussion page): $1',
1698 # Math options
1699 'mw_math_png' => 'Always render PNG',
1700 'mw_math_simple' => 'HTML if very simple or else PNG',
1701 'mw_math_html' => 'HTML if possible or else PNG',
1702 'mw_math_source' => 'Leave it as TeX (for text browsers)',
1703 'mw_math_modern' => 'Recommended for modern browsers',
1704 'mw_math_mathml' => 'MathML if possible (experimental)',
1706 # Patrolling
1707 'markaspatrolleddiff' => "Mark as patrolled",
1708 'markaspatrolledlink' => "[$1]",
1709 'markaspatrolledtext' => "Mark this article as patrolled",
1710 'markedaspatrolled' => "Marked as patrolled",
1711 'markedaspatrolledtext' => "The selected revision has been marked as patrolled.",
1712 'rcpatroldisabled' => "Recent Changes Patrol disabled",
1713 'rcpatroldisabledtext' => "The Recent Changes Patrol feature is currently disabled.",
1715 # Monobook.js: tooltips and access keys for monobook
1716 'Monobook.js' => '/* tooltips and access keys */
1717 ta = new Object();
1718 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
1719 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\');
1720 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\');
1721 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\');
1722 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\');
1723 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\');
1724 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\');
1725 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1726 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1727 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\');
1728 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\');
1729 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\');
1730 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\');
1731 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\');
1732 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\');
1733 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\');
1734 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\');
1735 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\');
1736 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\');
1737 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\');
1738 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\');
1739 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\');
1740 ta[\'search\'] = new Array(\'f\',\'Search this wiki\');
1741 ta[\'p-logo\'] = new Array(\'\',\'Main Page\');
1742 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\');
1743 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\');
1744 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
1745 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\');
1746 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
1747 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
1748 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
1749 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
1750 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linked from this page\');
1751 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
1752 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
1753 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
1754 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\');
1755 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\');
1756 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\');
1757 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\');
1758 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\');
1759 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\');
1760 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\');
1761 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\');
1762 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\');
1763 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
1764 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
1765 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
1766 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
1769 # image deletion
1770 'deletedrevision' => 'Deleted old revision $1.',
1772 # browsing diffs
1773 'previousdiff' => '← Previous diff',
1774 'nextdiff' => 'Next diff →',
1776 'imagemaxsize' => 'Limit images on image description pages to: ',
1777 'thumbsize' => 'Thumbnail size : ',
1778 'showbigimage' => 'Download high resolution version ($1x$2, $3 KB)',
1780 'newimages' => 'New images gallery',
1781 'noimages' => 'Nothing to see.',
1783 'sitesettings' => 'Site Settings',
1785 # short names for language variants used for language conversion links.
1786 # to disable showing a particular link, set it to 'disable', e.g.
1787 # 'variantname-zh-sg' => 'disable',
1788 'variantname-zh-cn' => 'cn',
1789 'variantname-zh-tw' => 'tw',
1790 'variantname-zh-hk' => 'hk',
1791 'variantname-zh-sg' => 'sg',
1792 'variantname-zh' => 'zh',
1794 'variantname-is' => 'is',
1795 'variantname-iz' => 'iz',
1797 # labels for User: and Title: on Special:Log pages
1798 'specialloguserlabel' => 'User: ',
1799 'speciallogtitlelabel' => 'Title: ',
1801 'passwordtooshort' => 'Your password is too short. It must have at least $1 characters.',
1803 # Media Warning
1804 'mediawarning' => '\'\'\'Warning\'\'\': This file may contain malicious code, by executing it your system may be compromised.
1805 <hr>',
1807 'fileinfo' => '$1KB, MIME type: <code>$2</code>',
1809 # Metadata
1810 'metadata' => 'Metadata',
1812 # Exif tags
1813 'exif-imagewidth' =>'Width',
1814 'exif-imagelength' =>'Height',
1815 'exif-bitspersample' =>'Bits per component',
1816 'exif-compression' =>'Compression scheme',
1817 'exif-photometricinterpretation' =>'Pixel composition',
1818 'exif-orientation' =>'Orientation',
1819 'exif-samplesperpixel' =>'Number of components',
1820 'exif-planarconfiguration' =>'Data arrangement',
1821 'exif-ycbcrsubsampling' =>'Subsampling ratio of Y to C',
1822 'exif-ycbcrpositioning' =>'Y and C positioning',
1823 'exif-xresolution' =>'Image resolution in width direction',
1824 'exif-yresolution' =>'Image resolution in height direction',
1825 'exif-resolutionunit' =>'Unit of X and Y resolution',
1826 'exif-stripoffsets' =>'Image data location',
1827 'exif-rowsperstrip' =>'Number of rows per strip',
1828 'exif-stripbytecounts' =>'Bytes per compressed strip',
1829 'exif-jpeginterchangeformat' =>'Offset to JPEG SOI',
1830 'exif-jpeginterchangeformatlength' =>'Bytes of JPEG data',
1831 'exif-transferfunction' =>'Transfer function',
1832 'exif-whitepoint' =>'White point chromaticity',
1833 'exif-primarychromaticities' =>'Chromaticities of primarities',
1834 'exif-ycbcrcoefficients' =>'Color space transformation matrix coefficients',
1835 'exif-referenceblackwhite' =>'Pair of black and white reference values',
1836 'exif-datetime' =>'File change date and time',
1837 'exif-imagedescription' =>'Image title',
1838 'exif-make' =>'Camera manufacturer',
1839 'exif-model' =>'Camera model',
1840 'exif-software' =>'Software used',
1841 'exif-artist' =>'Author',
1842 'exif-copyright' =>'Copyright holder',
1843 'exif-exifversion' =>'Exif version',
1844 'exif-flashpixversion' =>'Supported Flashpix version',
1845 'exif-colorspace' =>'Color space',
1846 'exif-componentsconfiguration' =>'Meaning of each component',
1847 'exif-compressedbitsperpixel' =>'Image compression mode',
1848 'exif-pixelydimension' =>'Valid image width',
1849 'exif-pixelxdimension' =>'Valind image height',
1850 'exif-makernote' =>'Manufacturer notes',
1851 'exif-usercomment' =>'User comments',
1852 'exif-relatedsoundfile' =>'Related audio file',
1853 'exif-datetimeoriginal' =>'Date and time of data generation',
1854 'exif-datetimedigitized' =>'Date and time of digitizing',
1855 'exif-subsectime' =>'DateTime subseconds',
1856 'exif-subsectimeoriginal' =>'DateTimeOriginal subseconds',
1857 'exif-subsectimedigitized' =>'DateTimeDigitized subseconds',
1858 'exif-exposuretime' =>'Exposure time',
1859 'exif-fnumber' =>'F Number',
1860 'exif-exposureprogram' =>'Exposure Program',
1861 'exif-spectralsensitivity' =>'Spectral sensitivity',
1862 'exif-isospeedratings' =>'ISO speed rating',
1863 'exif-oecf' =>'Optoelectronic conversion factor',
1864 'exif-shutterspeedvalue' =>'Shutter speed',
1865 'exif-aperturevalue' =>'Aperture',
1866 'exif-brightnessvalue' =>'Brightness',
1867 'exif-exposurebiasvalue' =>'Exposure bias',
1868 'exif-maxaperturevalue' =>'Maximum land aperture',
1869 'exif-subjectdistance' =>'Subject distance',
1870 'exif-meteringmode' =>'Metering mode',
1871 'exif-lightsource' =>'Light source',
1872 'exif-flash' =>'Flash',
1873 'exif-focallength' =>'Lens focal length',
1874 'exif-subjectarea' =>'Subject area',
1875 'exif-flashenergy' =>'Flash energy',
1876 'exif-spatialfrequencyresponse' =>'Spatial frequency response',
1877 'exif-focalplanexresolution' =>'Focal plane X resolution',
1878 'exif-focalplaneyresolution' =>'Focal plane Y resolution',
1879 'exif-focalplaneresolutionunit' =>'Focal plane resolution unit',
1880 'exif-subjectlocation' =>'Subject location',
1881 'exif-exposureindex' =>'Exposure index',
1882 'exif-sensingmethod' =>'Sensing method',
1883 'exif-filesource' =>'File source',
1884 'exif-scenetype' =>'Scene type',
1885 'exif-cfapattern' =>'CFA pattern',
1886 'exif-customrendered' =>'Custom image processing',
1887 'exif-exposuremode' =>'Exposure mode',
1888 'exif-whitebalance' =>'White Balance',
1889 'exif-digitalzoomratio' =>'Digital zoom ratio',
1890 'exif-focallengthin35mmfilm' =>'Focal length in 35 mm film',
1891 'exif-scenecapturetype' =>'Scene capture type',
1892 'exif-gaincontrol' =>'Scene control',
1893 'exif-contrast' =>'Contrast',
1894 'exif-saturation' =>'Saturation',
1895 'exif-sharpness' =>'Sharpness',
1896 'exif-devicesettingdescription' =>'Desice settings description',
1897 'exif-subjectdistancerange' =>'Subject distance range',
1898 'exif-imageuniqueid' =>'Unique image ID',
1899 'exif-gpsversionid' =>'GPS tag version',
1900 'exif-gpslatituderef' =>'North or South Latitude',
1901 'exif-gpslatitude' =>'Latitude',
1902 'exif-gpslongituderef' =>'East or West Longitude',
1903 'exif-gpslongitude' =>'Longitude',
1904 'exif-gpsaltituderef' =>'Altitude reference',
1905 'exif-gpsaltitude' =>'Altitude',
1906 'exif-gpstimestamp' =>'GPS time (atomic clock)',
1907 'exif-gpssatellites' =>'Satellites used for measurement',
1908 'exif-gpsstatus' =>'Receiver status',
1909 'exif-gpsmeasuremode' =>'Measurement mode',
1910 'exif-gpsdop' =>'Measurement precision',
1911 'exif-gpsspeedref' =>'Speed unit',
1912 'exif-gpsspeed' =>'Speed of GPS receiver',
1913 'exif-gpstrackref' =>'Reference for direction of movement',
1914 'exif-gpstrack' =>'Direction of movement',
1915 'exif-gpsimgdirectionref' =>'Reference for direction of image',
1916 'exif-gpsimgdirection' =>'Direction of image',
1917 'exif-gpsmapdatum' =>'Geodetic survey data used',
1918 'exif-gpsdestlatituderef' =>'Reference for latitude of destination',
1919 'exif-gpsdestlatitude' =>'Latitude destination',
1920 'exif-gpsdestlongituderef' =>'Reference for longitude of destination',
1921 'exif-gpsdestlongitude' =>'Longitude of destination',
1922 'exif-gpsdestbearingref' =>'Reference for bearing of destination',
1923 'exif-gpsdestbearing' =>'Bearing of destination',
1924 'exif-gpsdestdistanceref' =>'Reference for distance to destination',
1925 'exif-gpsdestdistance' =>'Distance to destination',
1926 'exif-gpsprocessingmethod' =>'Name of GPS processing method',
1927 'exif-gpsareainformation' =>'Name of GPS area',
1928 'exif-gpsdatestamp' =>'GPS date',
1929 'exif-gpsdifferential' =>'GPS differential correction',
1931 # Make & model, can be wikified in order to link to the camera and model name
1933 'exif-make-value' => '$1',
1934 'exif-model-value' =>'$1',
1935 'exif-software-value' => '$1',
1937 # Exif attributes
1939 'exif-compression-1' => 'Uncompressed',
1940 'exif-compression-6' => 'JPEG',
1942 'exif-photometricinterpretation-1' => 'RGB',
1943 'exif-photometricinterpretation-6' => 'YCbCr',
1945 'exif-orientation-1' => 'Normal', // 0th row: top; 0th column: left
1946 'exif-orientation-2' => 'Flipped horizontally', // 0th row: top; 0th column: right
1947 'exif-orientation-3' => 'Rotated 180°', // 0th row: bottom; 0th column: right
1948 'exif-orientation-4' => 'Flipped vertically', // 0th row: bottom; 0th column: left
1949 'exif-orientation-5' => 'Rotated 90° CCW and flipped vertically', // 0th row: left; 0th column: top
1950 'exif-orientation-6' => 'Roatated 90° CW', // 0th row: right; 0th column: top
1951 'exif-orientation-7' => 'Roateted 90° CW and flipped vertically', // 0th row: right; 0th column: bottom
1952 'exif-orientation-8' => 'Rotated 90° CCW', // 0th row: left; 0th column: bottom
1954 'exif-planarconfiguration-1' => 'chunky format',
1955 'exif-planarconfiguration-2' => 'planar format',
1957 'exif-resolutionunit-2' => 'inches',
1958 'exif-resolutionunit-3' => 'centimetres',
1960 'exif-colorspace-1' => 'sRGB',
1961 'exif-colorspace-ffff.h' => 'FFFF.H',
1963 'exif-componentsconfiguration-0' => 'does not exist',
1964 'exif-componentsconfiguration-1' => 'Y',
1965 'exif-componentsconfiguration-2' => 'Cb',
1966 'exif-componentsconfiguration-3' => 'Cr',
1967 'exif-componentsconfiguration-4' => 'R',
1968 'exif-componentsconfiguration-5' => 'G',
1969 'exif-componentsconfiguration-6' => 'B',
1971 'exif-exposureprogram-0' => 'Not defined',
1972 'exif-exposureprogram-1' => 'Manual',
1973 'exif-exposureprogram-2' => 'Normal program',
1974 'exif-exposureprogram-3' => 'Aperture priority',
1975 'exif-exposureprogram-4' => 'Shutter priority',
1976 'exif-exposureprogram-5' => 'Creative program (biased toward depth of field)',
1977 'exif-exposureprogram-6' => 'Action program (biased toward fast shutter speed)',
1978 'exif-exposureprogram-7' => 'Portrait mode (for closeup photos with the background out of focus)',
1979 'exif-exposureprogram-8' => 'Landscape mode (for landscape photos with the background in focus)',
1981 'exif-meteringmode-0' => 'Unknown',
1982 'exif-meteringmode-1' => 'Average',
1983 'exif-meteringmode-2' => 'CenterWeightedAverage',
1984 'exif-meteringmode-3' => 'Spot',
1985 'exif-meteringmode-4' => 'MultiSpot',
1986 'exif-meteringmode-5' => 'Pattern',
1987 'exif-meteringmode-6' => 'Partial',
1988 'exif-meteringmode-255' => 'Other',
1990 'exif-lightsource-0' => 'Unknown',
1991 'exif-lightsource-1' => 'Daylight',
1992 'exif-lightsource-2' => 'Fluorescent',
1993 'exif-lightsource-3' => 'Tungsten (incandescent light)',
1994 'exif-lightsource-4' => 'Flash',
1995 'exif-lightsource-9' => 'Fine weather',
1996 'exif-lightsource-10' => 'Clody weather',
1997 'exif-lightsource-11' => 'Shade',
1998 'exif-lightsource-12' => 'Daylight fluorescent (D 5700 – 7100K)',
1999 'exif-lightsource-13' => 'Day white fluorescent (N 4600 – 5400K)',
2000 'exif-lightsource-14' => 'Cool white fluorescent (W 3900 – 4500K)',
2001 'exif-lightsource-15' => 'White fluorescent (WW 3200 – 3700K)',
2002 'exif-lightsource-17' => 'Standard light A',
2003 'exif-lightsource-18' => 'Standard light B',
2004 'exif-lightsource-19' => 'Standard light C',
2005 'exif-lightsource-20' => 'D55',
2006 'exif-lightsource-21' => 'D65',
2007 'exif-lightsource-22' => 'D75',
2008 'exif-lightsource-23' => 'D50',
2009 'exif-lightsource-24' => 'ISO studio tungsten',
2010 'exif-lightsource-255' => 'Other light source',
2012 'exif-sensingmethod-1' => 'Undefined',
2013 'exif-sensingmethod-2' => 'One-chip color area sensor',
2014 'exif-sensingmethod-3' => 'Two-chip color area sensor',
2015 'exif-sensingmethod-4' => 'Three-chip color area sensor',
2016 'exif-sensingmethod-5' => 'Color sequential area sensor',
2017 'exif-sensingmethod-7' => 'Trilinear sensor',
2018 'exif-sensingmethod-8' => 'Color sequential linear sensor',
2020 'exif-filesource-3' => 'DSC',
2022 'exif-scenetype-1' => 'A directly photographed image',
2024 'exif-customrendered-0' => 'Normal process',
2025 'exif-customrendered-1' => 'Custom process',
2027 'exif-exposuremode-0' => 'Auto exposure',
2028 'exif-exposuremode-1' => 'Manual exposure',
2029 'exif-exposuremode-2' => 'Auto bracket',
2031 'exif-whitebalance-0' => 'Auto white balance',
2032 'exif-whitebalance-1' => 'Manual white balance',
2034 'exif-scenecapturetype-0' => 'Standard',
2035 'exif-scenecapturetype-1' => 'Landscape',
2036 'exif-scenecapturetype-2' => 'Portrait',
2037 'exif-scenecapturetype-3' => 'Night scene',
2039 'exif-gaincontrol-0' => 'None',
2040 'exif-gaincontrol-1' => 'Low gain up',
2041 'exif-gaincontrol-2' => 'High gain up',
2042 'exif-gaincontrol-3' => 'Low gain down',
2043 'exif-gaincontrol-4' => 'High gain down',
2045 'exif-contrast-0' => 'Normal',
2046 'exif-contrast-1' => 'Soft',
2047 'exif-contrast-2' => 'Hard',
2049 'exif-saturation-0' => 'Normal',
2050 'exif-saturation-1' => 'Low saturation',
2051 'exif-saturation-2' => 'High saturation',
2053 'exif-sharpness-0' => 'Normal',
2054 'exif-sharpness-1' => 'Soft',
2055 'exif-sharpness-2' => 'Hard',
2057 'exif-subjectdistancerange-0' => 'Unknown',
2058 'exif-subjectdistancerange-1' => 'Macro',
2059 'exif-subjectdistancerange-2' => 'Close view',
2060 'exif-subjectdistancerange-3' => 'Distant view',
2062 'exif-gpslatituderef-n' => 'North latitude',
2063 'exif-gpslatituderef-s' => 'South latitude',
2065 'exif-gpslongituderef-e' => 'East longitude',
2066 'exif-gpslongituderef-w' => 'West longitude',
2068 'exif-gpsstatus-a' => 'Measurement in progress',
2069 'exif-gpsstatus-v' => 'Measurement interoperability',
2071 'exif-gpsmeasuremode-2' => '2-dimensional measurement',
2072 'exif-gpsmeasuremode-3' => '3-dimensional measurement',
2074 'exif-gpsspeedref-k' => 'Kilometres per hour',
2075 'exif-gpsspeedref-m' => 'Miles per hour',
2076 'exif-gpsspeedref-n' => 'Knots',
2078 'exif-gpstrackref-t' => 'True direction',
2079 'exif-gpstrackref-m' => 'Magnetic direction',
2081 'exif-gpsimgdirectionref-t' => 'True direction',
2082 'exif-gpsimgdirectionref-m' => 'Magnetic direction',
2084 'exif-gpsdestlatituderef-n' => 'North latitude',
2085 'exif-gpsdestlatituderef-s' => 'South latitude',
2087 'exif-gpsdestlongituderef-e' => 'East longitude',
2088 'exif-gpsdestlongituderef-w' => 'West longitude',
2090 'exif-gpsdestbearingref-t' => 'True direction',
2091 'exif-gpsdestbearingref-m' => 'Magnetic direction',
2093 'exif-gpsdestdistanceref-k' => 'Kilometres per hour',
2094 'exif-gpsdestdistanceref-m' => 'Miles per hour',
2095 'exif-gpsdestdistanceref-n' => 'Knots',
2097 # external editor support
2098 'edit-externally' => 'Edit this file using an external application',
2099 'edit-externally-help' => 'See the [http://meta.wikimedia.org/wiki/Help:External_editors setup instructions] for more information.',
2101 # 'all' in various places, this might be different for inflicted languages
2102 'recentchangesall' => 'all',
2103 'imagelistall' => 'all',
2104 'watchlistall1' => 'all',
2105 'watchlistall2' => 'all',
2106 'contributionsall' => 'all',
2108 # E-mail address confirmation
2109 'confirmemail' => 'Confirm E-mail address',
2110 'confirmemail_text' => "This wiki requires that you validate your e-mail address
2111 before using e-mail features. Activate the button below to send a confirmation
2112 mail to your address. The mail will include a link containing a code; load the
2113 link in your browser to confirm that your e-mail address is valid.",
2114 'confirmemail_send' => 'Mail a confirmation code',
2115 'confirmemail_sent' => 'Confirmation e-mail sent.',
2116 'confirmemail_sendfailed' => 'Could not send confirmation mail. Check address for invalid characters.',
2117 'confirmemail_invalid' => 'Invalid confirmation code. The code may have expired.',
2118 'confirmemail_success' => 'Your e-mail address has been confirmed. You may now log in and enjoy the wiki.',
2119 'confirmemail_loggedin' => 'Your e-mail address has now been confirmed.',
2120 'confirmemail_error' => 'Something went wrong saving your confirmation.',
2122 'confirmemail_subject' => '{{SITENAME}} e-mail address confirmation',
2123 'confirmemail_body' => "Someone, probably you from IP address $1, has registered an
2124 account \"$2\" with this e-mail address on {{SITENAME}}.
2126 To confirm that this account really does belong to you and activate
2127 e-mail features on {{SITENAME}}, open this link in your browser:
2131 If this is *not* you, don't follow the link. This confirmation code
2132 will expire at $4.
2137 /* a fake language converter */
2138 class fakeConverter {
2139 var $mLang;
2140 function fakeConverter($langobj) {$this->mLang = $langobj;}
2141 function convert($t, $i) {return $t;}
2142 function getVariants() { return array( strtolower( substr( get_class( $this->mLang ), 8 ) ) ); }
2143 function getPreferredVariant() {return strtolower( substr( get_class( $this->mLang ), 8 ) );}
2144 function findVariantLink(&$l, &$n) {}
2145 function getExtraHashOptions() {return '';}
2146 function getParsedTitle() {return '';}
2147 function markNoConversion($text) {return $text;}
2148 function convertCategoryKey( $key ) {return $key; }
2152 #--------------------------------------------------------------------------
2153 # Internationalisation code
2154 #--------------------------------------------------------------------------
2156 class Language {
2157 var $mConverter;
2158 function Language() {
2160 # Copies any missing values in the specified arrays from En to the current language
2161 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
2162 $name = get_class( $this );
2164 if( strpos( $name, 'language' ) == 0){
2165 $lang = ucfirst( substr( $name, 8 ) );
2166 foreach( $fillin as $arrname ){
2167 $langver = "{$arrname}{$lang}";
2168 $enver = "{$arrname}En";
2169 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] ))
2170 continue;
2171 foreach($GLOBALS[$enver] as $spage => $text){
2172 if( ! isset( $GLOBALS[$langver][$spage] ) )
2173 $GLOBALS[$langver][$spage] = $text;
2177 $this->mConverter = new fakeConverter($this);
2181 * Exports the default user options as defined in
2182 * $wgDefaultUserOptionsEn, user preferences can override some of these
2183 * depending on what's in (Local|Default)Settings.php and some defines.
2185 * @return array
2187 function getDefaultUserOptions() {
2188 global $wgDefaultUserOptionsEn ;
2189 return $wgDefaultUserOptionsEn ;
2193 * Exports $wgBookstoreListEn
2194 * @return array
2196 function getBookstoreList() {
2197 global $wgBookstoreListEn ;
2198 return $wgBookstoreListEn ;
2202 * @return array
2204 function getNamespaces() {
2205 global $wgNamespaceNamesEn;
2206 return $wgNamespaceNamesEn;
2210 * A convenience function that returns the same thing as
2211 * getNamespaces() except with the array values changed to ' '
2212 * where it found '_', useful for producing output to be displayed
2213 * e.g. in <select> forms.
2215 * @return array
2217 function getFormattedNamespaces() {
2218 $ns = $this->getNamespaces();
2219 foreach($ns as $k => $v) {
2220 $ns[$k] = strtr($v, '_', ' ');
2222 return $ns;
2226 * Get a namespace value by key
2227 * <code>
2228 * $mw_ns = $wgContLang->getNsText( NS_MEDIAWIKI );
2229 * echo $mw_ns; // prints 'MediaWiki'
2230 * </code>
2232 * @param int $index the array key of the namespace to return
2233 * @return string
2235 function getNsText( $index ) {
2236 global $wgNamespaceNamesEn;
2237 return $wgNamespaceNamesEn[$index];
2240 * A convenience function that returns the same thing as
2241 * getNsText() except with '_' changed to ' ', useful for
2242 * producing output.
2244 * @return array
2246 function getFormattedNsText( $index ) {
2247 $ns = $this->getNsText( $index );
2248 return strtr($ns, '_', ' ');
2252 * Get a namespace key by value
2254 * @param string $text
2255 * @return mixed An integer if $text is a valid value otherwise false
2257 function getNsIndex( $text ) {
2258 global $wgNamespaceNamesEn;
2260 foreach ( $wgNamespaceNamesEn as $i => $n ) {
2261 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
2263 return false;
2267 * short names for language variants used for language conversion links.
2269 * @param string $code
2270 * @return string
2272 function getVariantname( $code ) {
2273 return wfMsg( "variantname-$code" );
2276 function specialPage( $name ) {
2277 return $this->getNsText(NS_SPECIAL) . ':' . $name;
2280 function getQuickbarSettings() {
2281 global $wgQuickbarSettingsEn;
2282 return $wgQuickbarSettingsEn;
2285 function getSkinNames() {
2286 global $wgSkinNamesEn;
2287 return $wgSkinNamesEn;
2290 function getMathNames() {
2291 global $wgMathNamesEn;
2292 return $wgMathNamesEn;
2295 function getDateFormats() {
2296 global $wgDateFormatsEn;
2297 return $wgDateFormatsEn;
2300 function getValidationTypes() {
2301 global $wgValidationTypesEn;
2302 return $wgValidationTypesEn;
2305 function getUserToggles() {
2306 global $wgUserTogglesEn;
2307 return $wgUserTogglesEn;
2310 function getUserToggle( $tog ) {
2311 return wfMsg( "tog-$tog" );
2314 function getLanguageNames() {
2315 global $wgLanguageNamesEn;
2316 return $wgLanguageNamesEn;
2319 function getLanguageName( $code ) {
2320 global $wgLanguageNamesEn;
2321 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
2322 return "";
2324 return $wgLanguageNamesEn[$code];
2327 function getMonthName( $key ) {
2328 global $wgMonthNamesEn, $wgContLang;
2329 // see who called us and use the correct message function
2330 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
2331 return wfMsgForContent($wgMonthNamesEn[$key-1]);
2332 else
2333 return wfMsg($wgMonthNamesEn[$key-1]);
2336 /* by default we just return base form */
2337 function getMonthNameGen( $key ) {
2338 return $this->getMonthName( $key );
2341 function getMonthAbbreviation( $key ) {
2342 global $wgMonthAbbreviationsEn, $wgContLang;
2343 // see who called us and use the correct message function
2344 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
2345 return wfMsgForContent(@$wgMonthAbbreviationsEn[$key-1]);
2346 else
2347 return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
2350 function getWeekdayName( $key ) {
2351 global $wgWeekdayNamesEn, $wgContLang;
2352 // see who called us and use the correct message function
2353 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
2354 return wfMsgForContent($wgWeekdayNamesEn[$key-1]);
2355 else
2356 return wfMsg($wgWeekdayNamesEn[$key-1]);
2360 * Used by date() and time() to adjust the time output.
2361 * @access public
2362 * @param int $ts the time in date('YmdHis') format
2363 * @param mixed $tz adjust the time by this amount (default false)
2364 * @return int
2366 function userAdjust( $ts, $tz = false ) {
2367 global $wgUser, $wgLocalTZoffset;
2369 if (!$tz) {
2370 $tz = $wgUser->getOption( 'timecorrection' );
2373 if ( $tz === '' ) {
2374 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
2375 $minDiff = 0;
2376 } elseif ( strpos( $tz, ':' ) !== false ) {
2377 $tzArray = explode( ':', $tz );
2378 $hrDiff = intval($tzArray[0]);
2379 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
2380 } else {
2381 $hrDiff = intval( $tz );
2383 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
2385 $t = mktime( (
2386 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours
2387 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes
2388 (int)substr( $ts, 12, 2 ), # Seconds
2389 (int)substr( $ts, 4, 2 ), # Month
2390 (int)substr( $ts, 6, 2 ), # Day
2391 (int)substr( $ts, 0, 4 ) ); #Year
2392 return date( 'YmdHis', $t );
2396 * This is meant to be used by time(), date(), and timeanddate() to get
2397 * the date preference they're supposed to use, it should be used in
2398 * all children.
2400 *<code>
2401 * function timeanddate([...], $format = '0') {
2402 * $datePreference = $this->dateFormat($format);
2403 * [...]
2404 *</code>
2406 * @param mixed $format
2407 * @return string
2409 function dateFormat( $format ) {
2410 global $wgUser;
2412 if ( !$wgUser->isLoggedIn() || $format === false ) {
2413 $options = $this->getDefaultUserOptions();
2414 return $options['date'];
2415 } else {
2416 return $wgUser->getOption( 'date' );
2421 * @access public
2422 * @param mixed $ts the time format which needs to be turned into a
2423 * date('YmdHis') format with wfTimestamp(TS_MW,$ts)
2424 * @param bool $adj whether to adjust the time output according to the
2425 * user configured offset ($timecorrection)
2426 * @param mixed $format what format to return, if it's false output the
2427 * default one.
2428 * @param string $timecorrection the time offset as returned by
2429 * validateTimeZone() in Special:Preferences
2430 * @return string
2432 function date( $ts, $adj = false, $format = true, $timecorrection = false ) {
2433 global $wgAmericanDates, $wgUser;
2435 if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
2437 $datePreference = $this->dateFormat($format);
2439 if ($datePreference == '0') {$datePreference = $wgAmericanDates ? '0' : '2';}
2441 $month = $this->getMonthName( substr( $ts, 4, 2 ) );
2442 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
2443 $year = $this->formatNum( substr( $ts, 0, 4 ), true );
2445 switch( $datePreference ) {
2446 case '2': return "$day $month $year";
2447 case '3': return "$year $month $day";
2448 case 'ISO 8601': return substr($ts, 0, 4). '-' . substr($ts, 4, 2). '-' .substr($ts, 6, 2);
2449 default: return "$month $day, $year";
2454 * @access public
2455 * @param mixed $ts the time format which needs to be turned into a
2456 * date('YmdHis') format with wfTimestamp(TS_MW,$ts)
2457 * @param bool $adj whether to adjust the time output according to the
2458 * user configured offset ($timecorrection)
2459 * @param mixed $format what format to return, if it's false output the
2460 * default one (default true)
2461 * @param string $timecorrection the time offset as returned by
2462 * validateTimeZone() in Special:Preferences
2463 * @return string
2465 function time( $ts, $adj = false, $format = true, $timecorrection = false ) {
2466 global $wgUser, $wgAmericanDates;
2468 if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
2469 $datePreference = $this->dateFormat($format);
2471 if ($datePreference == '0') {$datePreference = $wgAmericanDates ? '0' : '2';}
2473 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
2475 if ( $datePreference === 'ISO 8601' ) {
2476 $t .= ':' . substr( $ts, 12, 2 );
2478 return $this->formatNum( $t );
2482 * @access public
2483 * @param mixed $ts the time format which needs to be turned into a
2484 * date('YmdHis') format with wfTimestamp(TS_MW,$ts)
2485 * @param bool $adj whether to adjust the time output according to the
2486 * user configured offset ($timecorrection)
2487 * @param mixed $format what format to return, if it's false output the
2488 * default one (default true)
2489 * @param string $timecorrection the time offset as returned by
2490 * validateTimeZone() in Special:Preferences
2491 * @return string
2493 function timeanddate( $ts, $adj = false, $format = true, $timecorrection = false) {
2494 global $wgUser, $wgAmericanDates;
2496 $datePreference = $this->dateFormat($format);
2498 switch ( $datePreference ) {
2499 case 'ISO 8601': return $this->date( $ts, $adj, $datePreference, $timecorrection ) . ' ' .
2500 $this->time( $ts, $adj, $datePreference, $timecorrection );
2501 default: return $this->time( $ts, $adj, $datePreference, $timecorrection ) . ', ' .
2502 $this->date( $ts, $adj, $datePreference, $timecorrection );
2506 function getValidSpecialPages() {
2507 global $wgValidSpecialPagesEn;
2508 return $wgValidSpecialPagesEn;
2511 function getSysopSpecialPages() {
2512 global $wgSysopSpecialPagesEn;
2513 return $wgSysopSpecialPagesEn;
2516 function getDeveloperSpecialPages() {
2517 global $wgDeveloperSpecialPagesEn;
2518 return $wgDeveloperSpecialPagesEn;
2521 function getMessage( $key ) {
2522 global $wgAllMessagesEn;
2523 return @$wgAllMessagesEn[$key];
2526 function getAllMessages() {
2527 global $wgAllMessagesEn;
2528 return $wgAllMessagesEn;
2531 function iconv( $in, $out, $string ) {
2532 # For most languages, this is a wrapper for iconv
2533 return iconv( $in, $out, $string );
2536 function ucfirst( $string ) {
2537 # For most languages, this is a wrapper for ucfirst()
2538 return ucfirst( $string );
2541 function lcfirst( $s ) {
2542 return strtolower( $s{0} ). substr( $s, 1 );
2545 function checkTitleEncoding( $s ) {
2546 global $wgInputEncoding;
2548 # Check for UTF-8 URLs; Internet Explorer produces these if you
2549 # type non-ASCII chars in the URL bar or follow unescaped links.
2550 $ishigh = preg_match( '/[\x80-\xff]/', $s);
2551 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
2552 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
2554 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
2555 return @iconv( 'UTF-8', $wgInputEncoding, $s );
2557 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf )
2558 return utf8_encode( $s );
2560 # Other languages can safely leave this function, or replace
2561 # it with one to detect and convert another legacy encoding.
2562 return $s;
2566 * Some languages have special punctuation to strip out
2567 * or characters which need to be converted for MySQL's
2568 * indexing to grok it correctly. Make such changes here.
2570 * @param string $in
2571 * @return string
2573 function stripForSearch( $in ) {
2574 return strtolower( $in );
2577 function convertForSearchResult( $termsArray ) {
2578 # some languages, e.g. Chinese, need to do a conversion
2579 # in order for search results to be displayed correctly
2580 return $termsArray;
2584 * Get the first character of a string. In ASCII, return
2585 * first byte of the string. UTF8 and others have to
2586 * overload this.
2588 * @param string $s
2589 * @return string
2591 function firstChar( $s ) {
2592 return $s[0];
2595 function initEncoding() {
2596 # Some languages may have an alternate char encoding option
2597 # (Esperanto X-coding, Japanese furigana conversion, etc)
2598 # If this language is used as the primary content language,
2599 # an override to the defaults can be set here on startup.
2600 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2603 function setAltEncoding() {
2604 # Some languages may have an alternate char encoding option
2605 # (Esperanto X-coding, Japanese furigana conversion, etc)
2606 # If 'altencoding' is checked in user prefs, this gives a
2607 # chance to swap out the default encoding settings.
2608 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2611 function recodeForEdit( $s ) {
2612 # For some languages we'll want to explicitly specify
2613 # which characters make it into the edit box raw
2614 # or are converted in some way or another.
2615 # Note that if wgOutputEncoding is different from
2616 # wgInputEncoding, this text will be further converted
2617 # to wgOutputEncoding.
2618 global $wgInputEncoding, $wgEditEncoding;
2619 if( $wgEditEncoding == '' or
2620 $wgEditEncoding == $wgInputEncoding ) {
2621 return $s;
2622 } else {
2623 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
2627 function recodeInput( $s ) {
2628 # Take the previous into account.
2629 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2630 if($wgEditEncoding != "") {
2631 $enc = $wgEditEncoding;
2632 } else {
2633 $enc = $wgOutputEncoding;
2635 if( $enc == $wgInputEncoding ) {
2636 return $s;
2637 } else {
2638 return $this->iconv( $enc, $wgInputEncoding, $s );
2643 * For right-to-left language support
2645 * @return bool
2647 function isRTL() { return false; }
2650 * To allow "foo[[bar]]" to extend the link over the whole word "foobar"
2652 * @return bool
2654 function linkPrefixExtension() { return false; }
2657 function &getMagicWords() {
2658 global $wgMagicWordsEn;
2659 return $wgMagicWordsEn;
2662 # Fill a MagicWord object with data from here
2663 function getMagic( &$mw ) {
2664 $raw =& $this->getMagicWords();
2665 if( !isset( $raw[$mw->mId] ) ) {
2666 # Fall back to English if local list is incomplete
2667 $raw =& Language::getMagicWords();
2669 $rawEntry = $raw[$mw->mId];
2670 $mw->mCaseSensitive = $rawEntry[0];
2671 $mw->mSynonyms = array_slice( $rawEntry, 1 );
2674 /**
2675 * Italic is unsuitable for some languages
2677 * @access public
2679 * @param string $text The text to be emphasized.
2680 * @return string
2682 function emphasize( $text ) {
2683 return "<em>$text</em>";
2687 * This function enables formatting of numbers, it should only come
2688 * into effect when the $wgTranslateNumerals variable is TRUE.
2690 * Normally we output all numbers in plain en_US style, that is
2691 * 293,291.235 for twohundredninetythreethousand-twohundredninetyone
2692 * point twohundredthirtyfive. However this is not sutable for all
2693 * languages, some such as Pakaran want ੨੯੩,੨੯੫.੨੩੫ and others such as
2694 * Icelandic just want to use commas instead of dots, and dots instead
2695 * of commas like "293.291,235".
2697 * An example of this function being called:
2698 * <code>
2699 * wfMsg( 'message', $wgLang->formatNum( $num ) )
2700 * </code>
2702 * See LanguageGu.php for the Gujarati implementation and
2703 * LanguageIs.php for the , => . and . => , implementation.
2705 * @todo check if it's viable to use localeconv() for the decimal
2706 * seperator thing.
2707 * @access public
2708 * @param mixed $number the string to be formatted, should be an integer or
2709 * a floating point number.
2710 * @param bool $year are we being passed a year? (turns off commafication)
2711 * @return mixed whatever we're fed if it's a year, a string otherwise.
2713 function formatNum( $number, $year = false ) {
2714 return $year ? $number : $this->commafy($number);
2718 * Adds commas to a given number
2720 * @param mixed $_
2721 * @return string
2723 function commafy($_) {
2724 return strrev((string)preg_replace('/(\d{3})(?=\d)(?!\d*\.)/','$1,',strrev($_)));
2728 * For the credit list in includes/Credits.php (action=credits)
2730 * @param array $l
2731 * @return string
2733 function listToText( $l ) {
2734 $s = '';
2735 $m = count($l) - 1;
2736 for ($i = $m; $i >= 0; $i--) {
2737 if ($i == $m) {
2738 $s = $l[$i];
2739 } else if ($i == $m - 1) {
2740 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s;
2741 } else {
2742 $s = $l[$i] . ', ' . $s;
2745 return $s;
2748 # Crop a string from the beginning or end to a certain number of bytes.
2749 # (Bytes are used because our storage has limited byte lengths for some
2750 # columns in the database.) Multibyte charsets will need to make sure that
2751 # only whole characters are included!
2753 # $length does not include the optional ellipsis.
2754 # If $length is negative, snip from the beginning
2755 function truncate( $string, $length, $ellipsis = '' ) {
2756 if( $length == 0 ) {
2757 return $ellipsis;
2759 if ( strlen( $string ) <= abs( $length ) ) {
2760 return $string;
2762 if( $length > 0 ) {
2763 $string = substr( $string, 0, $length );
2764 return $string . $ellipsis;
2765 } else {
2766 $string = substr( $string, $length );
2767 return $ellipsis . $string;
2772 * Grammatical transformations, needed for inflected languages
2773 * Invoked by putting {{grammar:case|word}} in a message
2775 * @param string $word
2776 * @param string $case
2777 * @return string
2779 function convertGrammar( $word, $case ) {
2780 return $word;
2784 * languages like Chinese need to be segmented in order for the diff
2785 * to be of any use
2787 * @param string $text
2788 * @return string
2790 function segmentForDiff( $text ) {
2791 return $text;
2795 * and unsegment to show the result
2797 * @param string $text
2798 * @return string
2800 function unsegmentForDiff( $text ) {
2801 return $text;
2804 # convert text to different variants of a language.
2805 function convert( $text, $isTitle = false) {
2806 return $this->mConverter->convert($text, $isTitle);
2809 function convertCategoryKey( $key ) {
2810 return $this->mConverter->convertCategoryKey( $key );
2814 * get the list of variants supported by this langauge
2815 * see sample implementation in LanguageZh.php
2817 * @return array an array of language codes
2819 function getVariants() {
2820 return $this->mConverter->getVariants();
2824 function getPreferredVariant() {
2825 return $this->mConverter->getPreferredVariant();
2829 * if a language supports multiple variants, it is
2830 * possible that non-existing link in one variant
2831 * actually exists in another variant. this function
2832 * tries to find it. See e.g. LanguageZh.php
2834 * @param string $link the name of the link
2835 * @param mixed $nt the title object of the link
2836 * @return null the input parameters may be modified upon return
2838 function findVariantLink( &$link, &$nt ) {
2839 $this->mConverter->findVariantLink($link, $nt);
2843 * returns language specific options used by User::getPageRenderHash()
2844 * for example, the preferred language variant
2846 * @return string
2847 * @access public
2849 function getExtraHashOptions() {
2850 return $this->mConverter->getExtraHashOptions();
2854 * for languages that support multiple variants, the title of an
2855 * article may be displayed differently in different variants. this
2856 * function returns the apporiate title defined in the body of the article.
2858 * @return string
2860 function getParsedTitle() {
2861 return $this->mConverter->getParsedTitle();
2865 * Enclose a string with the "no conversion" tag. This is used by
2866 * various functions in the Parser
2868 * @param string $text text to be tagged for no conversion
2869 * @return string the tagged text
2871 function markNoConversion( $text ) {
2872 return $this->mConverter->markNoConversion( $text );
2876 * A regular expression to match legal word-trailing characters
2877 * which should be merged onto a link of the form [[foo]]bar.
2879 * @return string
2880 * @access public
2882 function linkTrail() {
2883 $trail = $this->getMessage( 'linktrail' );
2884 if( empty( $trail ) ) $trail = Language::linkTrail();
2885 return $trail;
2888 function getLangObj() {
2889 return $this;
2895 # This should fail gracefully if there's not a localization available
2896 wfSuppressWarnings();
2897 include_once( 'Language' . str_replace( '-', '_', ucfirst( $wgLanguageCode ) ) . '.php' );
2898 wfRestoreWarnings();