linkify log entry page titles in RC
[lhc/web/wiklou.git] / languages / Language.php
1 <?php
2 if( defined( 'MEDIAWIKI' ) ) {
3
4 #
5 # In general you should not make customizations in these language files
6 # directly, but should use the MediaWiki: special namespace to customize
7 # user interface messages through the wiki.
8 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace
9 #
10 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
11 # A lot of common constants and a base class with inheritable methods are
12 # defined here, which should not be redefined. See the other LanguageXx.php
13 # files for examples.
14 #
15
16 #--------------------------------------------------------------------------
17 # Language-specific text
18 #--------------------------------------------------------------------------
19
20 # The names of the namespaces can be set here, but the numbers
21 # are magical, so don't change or move them! The Namespace class
22 # encapsulates some of the magic-ness.
23 #
24
25 if($wgMetaNamespace === FALSE)
26 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
27
28 /* private */ $wgNamespaceNamesEn = array(
29 NS_MEDIA => 'Media',
30 NS_SPECIAL => 'Special',
31 NS_MAIN => '',
32 NS_TALK => 'Talk',
33 NS_USER => 'User',
34 NS_USER_TALK => 'User_talk',
35 NS_PROJECT => $wgMetaNamespace,
36 NS_PROJECT_TALK => $wgMetaNamespace . '_talk',
37 NS_IMAGE => 'Image',
38 NS_IMAGE_TALK => 'Image_talk',
39 NS_MEDIAWIKI => 'MediaWiki',
40 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
41 NS_TEMPLATE => 'Template',
42 NS_TEMPLATE_TALK => 'Template_talk',
43 NS_HELP => 'Help',
44 NS_HELP_TALK => 'Help_talk',
45 NS_CATEGORY => 'Category',
46 NS_CATEGORY_TALK => 'Category_talk',
47 );
48
49 if(isset($wgExtraNamespaces)) {
50 $wgNamespaceNamesEn=$wgNamespaceNamesEn+$wgExtraNamespaces;
51 }
52
53 /* private */ $wgDefaultUserOptionsEn = array(
54 'quickbar' => 1,
55 'underline' => 1,
56 'hover' => 1,
57 'cols' => 80,
58 'rows' => 25,
59 'searchlimit' => 20,
60 'contextlines' => 5,
61 'contextchars' => 50,
62 'skin' => $wgDefaultSkin,
63 'math' => 1,
64 'rcdays' => 7,
65 'rclimit' => 50,
66 'highlightbroken' => 1,
67 'stubthreshold' => 0,
68 'previewontop' => 1,
69 'editsection' => 1,
70 'editsectiononrightclick'=> 0,
71 'showtoc' => 1,
72 'showtoolbar' => 1,
73 'date' => 0,
74 'imagesize' => 2,
75 'rememberpassword' => 0,
76 'enotifwatchlistpages' => 1,
77 'enotifusertalkpages' => 1,
78 'enotifminoredits' => 0,
79 'enotifrevealaddr' => 0,
80 'shownumberswatching' => 1,
81 'rcusemodstyle' => 1,
82 'showupdated' => 1,
83 'fancysig' => 0,
84 'externaleditor' => 0,
85 );
86
87 /* private */ $wgQuickbarSettingsEn = array(
88 'None', 'Fixed left', 'Fixed right', 'Floating left'
89 );
90
91 /* private */ $wgSkinNamesEn = array(
92 'standard' => 'Classic',
93 'nostalgia' => 'Nostalgia',
94 'cologneblue' => 'Cologne Blue',
95 'davinci' => 'DaVinci',
96 'mono' => 'Mono',
97 'monobook' => 'MonoBook',
98 'myskin' => 'MySkin',
99 'chick' => 'Chick'
100 );
101
102 # Validation types
103 $wgValidationTypesEn = array (
104 '0' => "Style|Awful|Awesome|5",
105 '1' => "Legal|Illegal|Legal|5",
106 '2' => "Completeness|Stub|Extensive|5",
107 '3' => "Facts|Wild guesses|Solid as a rock|5",
108 '4' => "Suitable for 1.0 (paper)|No|Yes|2",
109 '5' => "Suitable for 1.0 (CD)|No|Yes|2"
110 );
111
112 /* private */ $wgMathNamesEn = array(
113 MW_MATH_PNG => 'mw_math_png',
114 MW_MATH_SIMPLE => 'mw_math_simple',
115 MW_MATH_HTML => 'mw_math_html',
116 MW_MATH_SOURCE => 'mw_math_source',
117 MW_MATH_MODERN => 'mw_math_modern',
118 MW_MATH_MATHML => 'mw_math_mathml'
119 );
120
121 # Whether to use user or default setting in Language::date()
122 define( 'MW_DATE_DEFAULT', false );
123 define( 'MW_DATE_USER_FORMAT', true );
124
125 /* private */ $wgDateFormatsEn = array(
126 'No preference',
127 'January 15, 2001',
128 '15 January 2001',
129 '2001 January 15',
130 '2001-01-15'
131 );
132
133 /* private */ $wgUserTogglesEn = array(
134 'hover',
135 'underline',
136 'highlightbroken',
137 'justify',
138 'hideminor',
139 'usenewrc',
140 'numberheadings',
141 'showtoolbar',
142 'editondblclick',
143 'editsection',
144 'editsectiononrightclick',
145 'showtoc',
146 'rememberpassword',
147 'editwidth',
148 'watchdefault',
149 'minordefault',
150 'previewontop',
151 'previewonfirst',
152 'nocache',
153 'enotifwatchlistpages',
154 'enotifusertalkpages',
155 'enotifminoredits',
156 'enotifrevealaddr',
157 'shownumberswatching',
158 'rcusemodstyle',
159 'showupdated',
160 'fancysig',
161 'externaleditor'
162 );
163
164 /* private */ $wgBookstoreListEn = array(
165 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
166 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
167 'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
168 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1'
169 );
170
171 # Read language names
172 global $wgLanguageNames;
173 require_once( 'Names.php' );
174
175 $wgLanguageNamesEn =& $wgLanguageNames;
176
177
178 /* private */ $wgWeekdayNamesEn = array(
179 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday',
180 'friday', 'saturday'
181 );
182
183
184 /* private */ $wgMonthNamesEn = array(
185 'january', 'february', 'march', 'april', 'may_long', 'june',
186 'july', 'august', 'september', 'october', 'november',
187 'december'
188 );
189 /* private */ $wgMonthNamesGenEn = array(
190 'january-gen', 'february-gen', 'march-gen', 'april-gen', 'may-gen', 'june-gen',
191 'july-gen', 'august-gen', 'september-gen', 'october-gen', 'november-gen',
192 'december-gen'
193 );
194
195 /* private */ $wgMonthAbbreviationsEn = array(
196 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug',
197 'sep', 'oct', 'nov', 'dec'
198 );
199
200 # Note to translators:
201 # Please include the English words as synonyms. This allows people
202 # from other wikis to contribute more easily.
203 #
204 /* private */ $wgMagicWordsEn = array(
205 # ID CASE SYNONYMS
206 MAG_REDIRECT => array( 0, '#redirect' ),
207 MAG_NOTOC => array( 0, '__NOTOC__' ),
208 MAG_FORCETOC => array( 0, '__FORCETOC__' ),
209 MAG_TOC => array( 0, '__TOC__' ),
210 MAG_NOEDITSECTION => array( 0, '__NOEDITSECTION__' ),
211 MAG_START => array( 0, '__START__' ),
212 MAG_CURRENTMONTH => array( 1, 'CURRENTMONTH' ),
213 MAG_CURRENTMONTHNAME => array( 1, 'CURRENTMONTHNAME' ),
214 MAG_CURRENTMONTHNAMEGEN => array( 1, 'CURRENTMONTHNAMEGEN' ),
215 MAG_CURRENTMONTHABBREV => array( 1, 'CURRENTMONTHABBREV' ),
216 MAG_CURRENTDAY => array( 1, 'CURRENTDAY' ),
217 MAG_CURRENTDAYNAME => array( 1, 'CURRENTDAYNAME' ),
218 MAG_CURRENTYEAR => array( 1, 'CURRENTYEAR' ),
219 MAG_CURRENTTIME => array( 1, 'CURRENTTIME' ),
220 MAG_NUMBEROFARTICLES => array( 1, 'NUMBEROFARTICLES' ),
221 MAG_PAGENAME => array( 1, 'PAGENAME' ),
222 MAG_PAGENAMEE => array( 1, 'PAGENAMEE' ),
223 MAG_NAMESPACE => array( 1, 'NAMESPACE' ),
224 MAG_MSG => array( 0, 'MSG:' ),
225 MAG_SUBST => array( 0, 'SUBST:' ),
226 MAG_MSGNW => array( 0, 'MSGNW:' ),
227 MAG_END => array( 0, '__END__' ),
228 MAG_IMG_THUMBNAIL => array( 1, 'thumbnail', 'thumb' ),
229 MAG_IMG_RIGHT => array( 1, 'right' ),
230 MAG_IMG_LEFT => array( 1, 'left' ),
231 MAG_IMG_NONE => array( 1, 'none' ),
232 MAG_IMG_WIDTH => array( 1, '$1px' ),
233 MAG_IMG_CENTER => array( 1, 'center', 'centre' ),
234 MAG_IMG_FRAMED => array( 1, 'framed', 'enframed', 'frame' ),
235 MAG_INT => array( 0, 'INT:' ),
236 MAG_SITENAME => array( 1, 'SITENAME' ),
237 MAG_NS => array( 0, 'NS:' ),
238 MAG_LOCALURL => array( 0, 'LOCALURL:' ),
239 MAG_LOCALURLE => array( 0, 'LOCALURLE:' ),
240 MAG_SERVER => array( 0, 'SERVER' ),
241 MAG_GRAMMAR => array( 0, 'GRAMMAR:' ),
242 MAG_NOTITLECONVERT => array( 0, '__NOTITLECONVERT__', '__NOTC__'),
243 MAG_NOCONTENTCONVERT => array( 0, '__NOCONTENTCONVERT__', '__NOCC__'),
244 MAG_CURRENTWEEK => array( 1, 'CURRENTWEEK' ),
245 MAG_CURRENTDOW => array( 1, 'CURRENTDOW' ),
246 );
247
248 #-------------------------------------------------------------------
249 # Default messages
250 #-------------------------------------------------------------------
251 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
252 # hyphen (-). If you need more characters, you may be able to change
253 # the regex in MagicWord::initRegex
254
255 # required for copyrightwarning
256 global $wgRightsText;
257
258 /* private */ $wgAllMessagesEn = array(
259 'special_version_prefix' => '&nbsp;',
260 'special_version_postfix' => '&nbsp;',
261 # User preference toggles
262 'tog-hover' => 'Show hoverbox over wiki links',
263 'tog-underline' => 'Underline links',
264 'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
265 'tog-justify' => 'Justify paragraphs',
266 'tog-hideminor' => 'Hide minor edits in recent changes',
267 'tog-usenewrc' => 'Enhanced recent changes (not for all browsers)',
268 'tog-numberheadings' => 'Auto-number headings',
269 'tog-showtoolbar' => 'Show edit toolbar',
270 'tog-editondblclick' => 'Edit pages on double click (JavaScript)',
271 'tog-editsection' => 'Enable section editing via [edit] links',
272 'tog-editsectiononrightclick' => 'Enable section editing by right clicking<br /> on section titles (JavaScript)',
273 'tog-showtoc' => 'Show table of contents<br />(for pages with more than 3 headings)',
274 'tog-rememberpassword' => 'Remember password across sessions',
275 'tog-editwidth' => 'Edit box has full width',
276 'tog-watchdefault' => 'Add pages you edit to your watchlist',
277 'tog-minordefault' => 'Mark all edits minor by default',
278 'tog-previewontop' => 'Show preview before edit box and not after it',
279 'tog-previewonfirst' => 'Show preview on first edit',
280 'tog-nocache' => 'Disable page caching',
281 'tog-enotifwatchlistpages' => 'Send me an email on page changes (remark: existing notification flags need to be cleared manually in the watchlist)',
282 'tog-enotifusertalkpages' => 'Send me an email when my user talk page is changed (remark: existing notification flags need to be cleared manually in the watchlist)',
283 'tog-enotifminoredits' => 'Send me an email also for minor edits of pages (which usually do not trigger notification mails)',
284 'tog-enotifrevealaddr' => 'Reveal my email address in notification mails (when I change a page, it allows watching users to reply quickly to me)',
285 'tog-shownumberswatching' => 'Show the number of watching users (in recent changes view, watchlist and article page footers)',
286 'tog-rcusemodstyle' => 'Show recent changes in UseMod style: only the most recent change of any page is listed.',
287 'tog-showupdated' => 'Show update marker ',
288 'tog-fancysig' => 'Raw signatures (without automatic link)',
289 'tog-externaleditor' => 'Use external editor by default',
290
291 # dates
292 'sunday' => 'Sunday',
293 'monday' => 'Monday',
294 'tuesday' => 'Tuesday',
295 'wednesday' => 'Wednesday',
296 'thursday' => 'Thursday',
297 'friday' => 'Friday',
298 'saturday' => 'Saturday',
299 'january' => 'January',
300 'february' => 'February',
301 'march' => 'March',
302 'april' => 'April',
303 'may_long' => 'May',
304 'june' => 'June',
305 'july' => 'July',
306 'august' => 'August',
307 'september' => 'September',
308 'october' => 'October',
309 'november' => 'November',
310 'december' => 'December',
311 'jan' => 'Jan',
312 'feb' => 'Feb',
313 'mar' => 'Mar',
314 'apr' => 'Apr',
315 'may' => 'May',
316 'jun' => 'Jun',
317 'jul' => 'Jul',
318 'aug' => 'Aug',
319 'sep' => 'Sep',
320 'oct' => 'Oct',
321 'nov' => 'Nov',
322 'dec' => 'Dec',
323 # Bits of text used by many pages:
324 #
325 'categories' => 'Categories',
326 'category' => 'category',
327 'category_header' => 'Articles in category "$1"',
328 'subcategories' => 'Subcategories',
329
330
331 'linktrail' => '/^([a-z]+)(.*)$/sD',
332 'mainpage' => 'Main Page',
333 'mainpagetext' => 'Wiki software successfully installed.',
334 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
335 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
336
337 # NOTE: To turn off "Community portal" in the title links,
338 # set "portal" => "-"
339
340 'portal' => 'Community portal',
341 'portal-url' => 'Project:Community Portal',
342 'about' => 'About',
343 "aboutsite" => "About {{SITENAME}}",
344 "aboutpage" => "Project:About",
345 'article' => 'Content page',
346 'help' => 'Help',
347 "helppage" => "Help:Contents",
348 "wikititlesuffix" => "{{SITENAME}}",
349 "bugreports" => "Bug reports",
350 "bugreportspage" => "Project:Bug_reports",
351 'sitesupport' => '-', # To enable, something like 'Donations',
352 'sitesupport-url' => 'Project:Site support',
353 'faq' => 'FAQ',
354 "faqpage" => "Project:FAQ",
355 "edithelp" => "Editing help",
356 "newwindow" => "(opens in new window)",
357 "edithelppage" => "Help:Editing",
358 'cancel' => 'Cancel',
359 'qbfind' => 'Find',
360 'qbbrowse' => 'Browse',
361 'qbedit' => 'Edit',
362 'qbpageoptions' => 'This page',
363 'qbpageinfo' => 'Context',
364 'qbmyoptions' => 'My pages',
365 'qbspecialpages' => 'Special pages',
366 'moredotdotdot' => 'More...',
367 'mypage' => 'My page',
368 'mytalk' => 'My talk',
369 'anontalk' => 'Talk for this IP',
370 'navigation' => 'Navigation',
371
372 # Metadata in edit box
373 'metadata' => '<b>Metadata</b> (for an explanation see <a href="$1">here</a>)',
374 'metadata_page' => 'Wikipedia:Metadata',
375
376 # NOTE: To turn off "Current Events" in the sidebar,
377 # set "currentevents" => "-"
378
379 'currentevents' => 'Current events',
380 'currentevents-url' => 'Current events',
381
382 # NOTE: To turn off "Disclaimers" in the title links,
383 # set "disclaimers" => "-"
384
385 'disclaimers' => 'Disclaimers',
386 'disclaimerpage' => "Project:General_disclaimer",
387 'errorpagetitle' => "Error",
388 'returnto' => "Return to $1.",
389 'tagline' => "From {{SITENAME}}",
390 'whatlinkshere' => 'Pages that link here',
391 'help' => 'Help',
392 'search' => 'Search',
393 'go' => 'Go',
394 "history" => 'Page history',
395 'history_short' => 'History',
396 'info_short' => 'Information',
397 'printableversion' => 'Printable version',
398 'edit' => 'Edit',
399 'editthispage' => 'Edit this page',
400 'delete' => 'Delete',
401 "deletethispage" => "Delete this page",
402 "undelete_short1" => "Undelete one edit",
403 "undelete_short" => "Undelete $1 edits",
404 'protect' => 'Protect',
405 'protectthispage' => 'Protect this page',
406 'unprotect' => 'Unprotect',
407 'unprotectthispage' => 'Unprotect this page',
408 'newpage' => 'New page',
409 'talkpage' => 'Discuss this page',
410 'specialpage' => 'Special Page',
411 'personaltools' => 'Personal tools',
412 'postcomment' => 'Post a comment',
413 'addsection' => '+',
414 'articlepage' => 'View content page',
415 'subjectpage' => 'View subject', # For compatibility
416 'talk' => 'Discussion',
417 'toolbox' => 'Toolbox',
418 'userpage' => 'View user page',
419 'wikipediapage' => 'View project page',
420 'imagepage' => 'View image page',
421 'viewtalkpage' => 'View discussion',
422 'otherlanguages' => 'Other languages',
423 'redirectedfrom' => '(Redirected from $1)',
424 'lastmodified' => 'This page was last modified $1.',
425 'viewcount' => 'This page has been accessed $1 times.',
426 'copyright' => 'Content is available under $1.',
427 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
428 'printsubtitle' => "(From {{SERVER}})",
429 'protectedpage' => 'Protected page',
430 'administrators' => "Project:Administrators",
431 'sysoptitle' => 'Sysop access required',
432 'sysoptext' => "The action you have requested can only be
433 performed by users with \"sysop\" status.
434 See $1.",
435 'developertitle' => 'Developer access required',
436 'developertext' => "The action you have requested can only be
437 performed by users with \"developer\" status.
438 See $1.",
439 'bureaucrattitle' => 'Bureaucrat access required',
440 "bureaucrattext" => "The action you have requested can only be
441 performed by sysops with \"bureaucrat\" status.",
442 'nbytes' => '$1 bytes',
443 'go' => 'Go',
444 'ok' => 'OK',
445 'sitetitle' => "{{SITENAME}}",
446 'pagetitle' => "$1 - {{SITENAME}}",
447 'sitesubtitle' => 'The Free Encyclopedia', # FIXME
448 'retrievedfrom' => "Retrieved from \"$1\"",
449 'newmessages' => "You have $1.",
450 'newmessageslink' => 'new messages',
451 'editsection'=>'edit',
452 'toc' => 'Table of contents',
453 'showtoc' => 'show',
454 'hidetoc' => 'hide',
455 'thisisdeleted' => "View or restore $1?",
456 'restorelink' => "$1 deleted edits",
457 'feedlinks' => 'Feed:',
458 'sitenotice' => '-', # the equivalent to wgSiteNotice
459
460 # Short words for each namespace, by default used in the 'article' tab in monobook
461 'nstab-main' => 'Article',
462 'nstab-user' => 'User page',
463 'nstab-media' => 'Media',
464 'nstab-special' => 'Special',
465 'nstab-wp' => 'About',
466 'nstab-image' => 'Image',
467 'nstab-mediawiki' => 'Message',
468 'nstab-template' => 'Template',
469 'nstab-help' => 'Help',
470 'nstab-category' => 'Category',
471
472 # Main script and global functions
473 #
474 'nosuchaction' => 'No such action',
475 'nosuchactiontext' => 'The action specified by the URL is not
476 recognized by the wiki',
477 'nosuchspecialpage' => 'No such special page',
478 'nospecialpagetext' => 'You have requested a special page that is not
479 recognized by the wiki.',
480
481 # General errors
482 #
483 'error' => 'Error',
484 'databaseerror' => 'Database error',
485 'dberrortext' => "A database query syntax error has occurred.
486 This may indicate a bug in the software.
487 The last attempted database query was:
488 <blockquote><tt>$1</tt></blockquote>
489 from within function \"<tt>$2</tt>\".
490 MySQL returned error \"<tt>$3: $4</tt>\".",
491 'dberrortextcl' => "A database query syntax error has occurred.
492 The last attempted database query was:
493 \"$1\"
494 from within function \"$2\".
495 MySQL returned error \"$3: $4\".\n",
496 'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
497 $1',
498 'nodb' => "Could not select database $1",
499 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
500 'laggedslavemode' => 'Warning: Page may not contain recent updates.',
501 'readonly' => 'Database locked',
502 'enterlockreason' => 'Enter a reason for the lock, including an estimate
503 of when the lock will be released',
504 'readonlytext' => "The database is currently locked to new
505 entries and other modifications, probably for routine database maintenance,
506 after which it will be back to normal.
507 The administrator who locked it offered this explanation:
508 <p>$1",
509 'missingarticle' => "The database did not find the text of a page
510 that it should have found, named \"$1\".
511
512 <p>This is usually caused by following an outdated diff or history link to a
513 page that has been deleted.
514
515 <p>If this is not the case, you may have found a bug in the software.
516 Please report this to an administrator, making note of the URL.",
517 'internalerror' => 'Internal error',
518 'filecopyerror' => "Could not copy file \"$1\" to \"$2\".",
519 'filerenameerror' => "Could not rename file \"$1\" to \"$2\".",
520 'filedeleteerror' => "Could not delete file \"$1\".",
521 'filenotfound' => "Could not find file \"$1\".",
522 'unexpected' => "Unexpected value: \"$1\"=\"$2\".",
523 'formerror' => 'Error: could not submit form',
524 'badarticleerror' => 'This action cannot be performed on this page.',
525 'cannotdelete' => 'Could not delete the page or image specified. (It may have already been deleted by someone else.)',
526 'badtitle' => 'Bad title',
527 'badtitletext' => "The requested page title was invalid, empty, or
528 an incorrectly linked inter-language or inter-wiki title.",
529 'perfdisabled' => 'Sorry! This feature has been temporarily disabled
530 because it slows the database down to the point that no one can use
531 the wiki.',
532 'perfdisabledsub' => "Here's a saved copy from $1:", # obsolete?
533 'perfcached' => 'The following data is cached and may not be completely up to date:',
534 'wrong_wfQuery_params' => "Incorrect parameters to wfQuery()<br />
535 Function: $1<br />
536 Query: $2
537 ",
538 'viewsource' => 'View source',
539 'protectedtext' => "This page has been locked to prevent editing; there are
540 a number of reasons why this may be so, please see
541 [[Project:Protected page]].
542
543 You can view and copy the source of this page:",
544 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
545
546 # Login and logout pages
547 #
548 'logouttitle' => 'User logout',
549 'logouttext' => "You are now logged out.<br />
550 You can continue to use {{SITENAME}} anonymously, or you can log in
551 again as the same or as a different user. Note that some pages may
552 continue to be displayed as if you were still logged in, until you clear
553 your browser cache.\n",
554
555 'welcomecreation' => "== Welcome, $1! ==
556
557 Your account has been created. Don't forget to change your {{SITENAME}} preferences.",
558
559 'loginpagetitle' => 'User login',
560 'yourname' => 'Your user name',
561 'yourpassword' => 'Your password',
562 'yourpasswordagain' => 'Retype password',
563 'newusersonly' => ' (new users only)',
564 'remembermypassword' => 'Remember my password across sessions.',
565 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
566 'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
567
568 'login' => 'Log in',
569 'loginprompt' => "You must have cookies enabled to log in to {{SITENAME}}.",
570 'userlogin' => 'Create an account or log in',
571 'logout' => 'Log out',
572 'userlogout' => 'Log out',
573 'notloggedin' => 'Not logged in',
574 'createaccount' => 'Create new account',
575 'createaccountmail' => 'by email',
576 'badretype' => 'The passwords you entered do not match.',
577 'userexists' => 'The user name you entered is already in use. Please choose a different name.',
578 'youremail' => 'Your email**',
579 'yourrealname' => 'Your real name*',
580 'yourlanguage' => 'Interface language',
581 'yourvariant' => 'Language variant',
582 'yournick' => 'Your nickname (for signatures)',
583 'emailforlost' => "Fields marked with stars (*, **) are optional. Storing an email address enables people to contact you through the website without you having to reveal your
584 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.",
585 'prefs-help-email' => '** <strong>Email</strong> (optional): Enables others to contact you through your user or user_talk page without the need of revealing your
586 email address. It also allows the wiki to sent you a temporary password in case you forgot your current one.',
587 'prefs-help-email-enotif' => 'This address is also used to send you email notifications if you enabled the options.',
588 'prefs-help-realname' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.',
589 'prefs-help-userdata' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br />
590 * <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
591 email address to them, and it can be used to send you a new password if you forget it.',
592 'loginerror' => 'Login error',
593 '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.",
594 'nocookieslogin' => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
595 'noname' => 'You have not specified a valid user name.',
596 'loginsuccesstitle' => 'Login successful',
597 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".",
598 'nosuchuser' => "There is no user by the name \"$1\".
599 Check your spelling, or use the form below to create a new user account.",
600 'nosuchusershort' => "There is no user by the name \"$1\". Check your spelling.",
601 'wrongpassword' => 'The password you entered is incorrect (or missing). Please try again.',
602 'mailmypassword' => 'Mail me a temporary password',
603 'mailmypasswordauthent' => 'Mail me a temporary password',
604 'passwordremindermailsubject' => "Email address authentication and temporary login password from {{SITENAME}}",
605 'passwordremindermailbody' => "Someone, probably you from IP address $1,
606 requested that we send you a temporary one-time login password for {{SITENAME}}.
607
608 This mail is also be sent for the purpose of authentication of your email address.
609 The password for user \"$2\" is now \"$4\".
610
611 You can now log in with this temporary password, which is valid for only one login.
612 You may wish to keep using your old password if you remember it or to set a new one.
613
614 {{SERVER}}{{localurl:Special:Userlogin|wpName=$3&wpPassword=$4&returnto=Special:Preferences}}",
615 'noemail' => "There is no e-mail address recorded for user \"$1\".",
616 'passwordsent' => "A temporary password has been sent to the e-mail address
617 registered for \"$1\".
618 Please log in again after you receive it.",
619 'passwordsentforemailauthentication'
620 => "A temporary password has been sent to the e-mail address newly
621 registered for \"$1\".
622 Please re-login with that for authentication purposes.",
623 'loginend' => '&nbsp;',
624 'mailerror' => "Error sending mail: $1",
625 'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts. You can\'t make any more.',
626 'emailauthenticated' => 'Your email address was authenticated on $1.',
627 'emailnotauthenticated' => 'Your email address is <strong>not yet authenticated</strong> and the advanced email features are disabled until authentication <strong>(d.u.a.)</strong>.<br />
628 To authenticate, please login in with the temporary password which has been mailed to you, or request a new one on the login page.',
629 'invalidemailaddress' => 'The email address cannot be accepted as it appears to have an invalid format. Please enter a well-formatted address or empty that field.',
630 'disableduntilauthent' => '<strong>(d.u.a.)</strong>',
631 'disablednoemail' => '<strong>(disabled; no email address)</strong>',
632
633 # Edit page toolbar
634 'bold_sample'=>'Bold text',
635 'bold_tip'=>'Bold text',
636 'italic_sample'=>'Italic text',
637 'italic_tip'=>'Italic text',
638 'link_sample'=>'Link title',
639 'link_tip'=>'Internal link',
640 'extlink_sample'=>'http://www.example.com link title',
641 'extlink_tip'=>'External link (remember http:// prefix)',
642 'headline_sample'=>'Headline text',
643 'headline_tip'=>'Level 2 headline',
644 'math_sample'=>'Insert formula here',
645 'math_tip'=>'Mathematical formula (LaTeX)',
646 'nowiki_sample'=>'Insert non-formatted text here',
647 'nowiki_tip'=>'Ignore wiki formatting',
648 'image_sample'=>'Example.jpg',
649 'image_tip'=>'Embedded image',
650 'media_sample'=>'Example.mp3',
651 'media_tip'=>'Media file link',
652 'sig_tip'=>'Your signature with timestamp',
653 'hr_tip'=>'Horizontal line (use sparingly)',
654 'infobox'=>'Click a button to get an example text',
655 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
656 '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",
657
658 # Edit pages
659 #
660 'summary' => 'Summary',
661 'subject' => 'Subject/headline',
662 'minoredit' => 'This is a minor edit.',
663 'watchthis' => 'Watch this page',
664 'savearticle' => 'Save page',
665 'preview' => 'Preview',
666 'showpreview' => 'Show preview',
667 'showdiff' => 'Show changes',
668 'blockedtitle' => 'User is blocked',
669 'blockedtext' => "Your user name or IP address has been blocked by $1.
670 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
671 [[Project:Administrators|administrators]] to discuss the block.
672
673 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]].
674
675 Your IP address is $3. Please include this address in any queries you make.
676 ",
677 'whitelistedittitle' => 'Login required to edit',
678 'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.',
679 'whitelistreadtitle' => 'Login required to read',
680 'whitelistreadtext' => 'You have to [[Special:Userlogin|login]] to read pages.',
681 'whitelistacctitle' => 'You are not allowed to create an account',
682 'whitelistacctext' => 'To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.',
683 'loginreqtitle' => 'Login Required',
684 'loginreqtext' => 'You must [[special:Userlogin|login]] to view other pages.',
685 'accmailtitle' => 'Password sent.',
686 'accmailtext' => "The Password for '$1' has been sent to $2.",
687 'newarticle' => '(New)',
688 'newarticletext' =>
689 "You've followed a link to a page that doesn't exist yet.
690 To create the page, start typing in the box below
691 (see the [[Project:Help|help page]] for more info).
692 If you are here by mistake, just click your browser's '''back''' button.",
693 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
694 '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.'' ",
695 'noarticletext' => '(There is currently no text in this page)',
696 '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''.",
697 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.",
698 'usercsspreview' => "'''Remember that you are only previewing your user CSS, it has not yet been saved!'''",
699 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''",
700 'updated' => '(Updated)',
701 'note' => '<strong>Note:</strong> ',
702 'previewnote' => 'Remember that this is only a preview, and has not yet been saved!',
703 'previewconflict' => 'This preview reflects the text in the upper
704 text editing area as it will appear if you choose to save.',
705 'editing' => "Editing $1",
706 'editingsection' => "Editing $1 (section)",
707 'editingcomment' => "Editing $1 (comment)",
708 'editconflict' => 'Edit conflict: $1',
709 'explainconflict' => "Someone else has changed this page since you
710 started editing it.
711 The upper text area contains the page text as it currently exists.
712 Your changes are shown in the lower text area.
713 You will have to merge your changes into the existing text.
714 <b>Only</b> the text in the upper text area will be saved when you
715 press \"Save page\".\n<p>",
716 'yourtext' => 'Your text',
717 'storedversion' => 'Stored version',
718 'nonunicodebrowser' => "<strong>WARNING: Your browser is not unicode compliant, please change it before editing an article.</strong>",
719 'editingold' => "<strong>WARNING: You are editing an out-of-date
720 revision of this page.
721 If you save it, any changes made since this revision will be lost.</strong>\n",
722 'yourdiff' => 'Differences',
723 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
724 considered to be released under the $2 (see $1 for details).
725 If you don't want your writing to be edited mercilessly and redistributed
726 at will, then don't submit it here.<br />
727 You are also promising us that you wrote this yourself, or copied it from a
728 public domain or similar free resource.
729 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
730 'copyrightwarning2' => "Please note that all contributions to {{SITENAME}}
731 may be edited, altered, or removed by other contributors.
732 If you don't want your writing to be edited mercilessly, then don't submit it here.<br />
733 You are also promising us that you wrote this yourself, or copied it from a
734 public domain or similar free resource (see $1 for details).
735 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
736 'longpagewarning' => "WARNING: This page is $1 kilobytes long; some
737 browsers may have problems editing pages approaching or longer than 32kb.
738 Please consider breaking the page into smaller sections.",
739 'readonlywarning' => 'WARNING: The database has been locked for maintenance,
740 so you will not be able to save your edits right now. You may wish to cut-n-paste
741 the text into a text file and save it for later.',
742 'protectedpagewarning' => "WARNING: This page has been locked so that only
743 users with sysop privileges can edit it. Be sure you are following the
744 <a href='$wgScript/Project:Protected_page_guidelines'>protected page
745 guidelines</a>.",
746 'templatesused' => 'Templates used on this page:',
747
748 # History pages
749 #
750 'revhistory' => 'Revision history',
751 'nohistory' => 'There is no edit history for this page.',
752 'revnotfound' => 'Revision not found',
753 'revnotfoundtext' => "The old revision of the page you asked for could not be found.
754 Please check the URL you used to access this page.\n",
755 'loadhist' => 'Loading page history',
756 'currentrev' => 'Current revision',
757 'revisionasof' => 'Revision as of $1',
758 'revisionasofwithlink' => 'Revision as of $1; $2<br />$3 | $4',
759 'previousrevision' => '&larr;Older revision',
760 'nextrevision' => 'Newer revision&rarr;',
761 'currentrevisionlink' => 'view current revision',
762 'cur' => 'cur',
763 'next' => 'next',
764 'last' => 'last',
765 'orig' => 'orig',
766 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br />
767 Legend: (cur) = difference with current version,
768 (last) = difference with preceding version, M = minor edit.',
769 'history_copyright' => '-',
770
771 # Diffs
772 #
773 'difference' => '(Difference between revisions)',
774 'loadingrev' => 'loading revision for diff',
775 'lineno' => "Line $1:",
776 'editcurrent' => 'Edit the current version of this page',
777 'selectnewerversionfordiff' => 'Select a newer version for comparison',
778 'selectolderversionfordiff' => 'Select an older version for comparison',
779 'compareselectedversions' => 'Compare selected versions',
780
781 # Search results
782 #
783 'searchresults' => 'Search results',
784 'searchresulttext' => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
785 'searchquery' => "For query \"$1\"",
786 'badquery' => 'Badly formed search query',
787 'badquerytext' => 'We could not process your query.
788 This is probably because you have attempted to search for a
789 word fewer than three letters long, which is not yet supported.
790 It could also be that you have mistyped the expression, for
791 example "fish and and scales".
792 Please try another query.',
793 'matchtotals' => "The query \"$1\" matched $2 page titles
794 and the text of $3 pages.",
795 'nogomatch' => 'No page with this exact title exists, trying full text search.',
796 'titlematches' => 'Article title matches',
797 'notitlematches' => 'No page title matches',
798 'textmatches' => 'Page text matches',
799 'notextmatches' => 'No page text matches',
800 'prevn' => "previous $1",
801 'nextn' => "next $1",
802 'viewprevnext' => "View ($1) ($2) ($3).",
803 'showingresults' => "Showing below up to <b>$1</b> results starting with #<b>$2</b>.",
804 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
805 'nonefound' => "'''Note''': unsuccessful searches are
806 often caused by searching for common words like \"have\" and \"from\",
807 which are not indexed, or by specifying more than one search term (only pages
808 containing all of the search terms will appear in the result).",
809 'powersearch' => 'Search',
810 'powersearchtext' => "
811 Search in namespaces :<br />
812 $1<br />
813 $2 List redirects &nbsp; Search for $3 $9",
814 "searchdisabled" => '<p style="margin: 1.5em 2em 1em">{{SITENAME}} search is disabled for performance reasons. You can search via Google in the meantime.
815 <span style="font-size: 89%; display: block; margin-left: .2em">Note that their indexes of {{SITENAME}} content may be out of date.</span></p>',
816 'googlesearch' => "
817 <!-- SiteSearch Google -->
818 <FORM method=GET action=\"http://www.google.com/search\">
819 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
820 <A HREF=\"http://www.google.com/\">
821 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
822 border=\"0\" ALT=\"Google\"></A>
823 </td>
824 <td>
825 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
826 <INPUT type=submit name=btnG VALUE=\"Google Search\">
827 <font size=-1>
828 <input type=hidden name=domains value=\"{{SERVER}}\"><br /><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{{SERVER}}\" checked> {{SERVER}} <br />
829 <input type='hidden' name='ie' value='$2'>
830 <input type='hidden' name='oe' value='$2'>
831 </font>
832 </td></tr></TABLE>
833 </FORM>
834 <!-- SiteSearch Google -->",
835 'blanknamespace' => '(Main)',
836
837 # Preferences page
838 #
839 'preferences' => 'Preferences',
840 'prefsnologin' => 'Not logged in',
841 'prefsnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
842 to set user preferences.",
843 'prefslogintext' => "You are logged in as \"$1\".
844 Your internal ID number is $2.
845
846 See [[Project:User preferences help]] for help deciphering the options.",
847 'prefsreset' => 'Preferences have been reset from storage.',
848 'qbsettings' => 'Quickbar settings',
849 'qbsettingsnote' => 'This preference only works in the \'Standard\' and the \'CologneBlue\' skin.',
850 'changepassword' => 'Change password',
851 'skin' => 'Skin',
852 'math' => 'Rendering math',
853 'dateformat' => 'Date format',
854 'math_failure' => 'Failed to parse',
855 'math_unknown_error' => 'unknown error',
856 'math_unknown_function' => 'unknown function ',
857 'math_lexing_error' => 'lexing error',
858 'math_syntax_error' => 'syntax error',
859 'math_image_error' => 'PNG conversion failed; check for correct installation of latex, dvips, gs, and convert',
860 'math_bad_tmpdir' => 'Can\'t write to or create math temp directory',
861 'math_bad_output' => 'Can\'t write to or create math output directory',
862 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.',
863 'prefs-personal' => 'User data',
864 'prefs-rc' => 'Recent changes and stub display',
865 'prefs-misc' => 'Misc settings',
866 'saveprefs' => 'Save preferences',
867 'resetprefs' => 'Reset preferences',
868 'oldpassword' => 'Old password',
869 'newpassword' => 'New password',
870 'retypenew' => 'Retype new password',
871 'textboxsize' => 'Editing',
872 'rows' => 'Rows',
873 'columns' => 'Columns',
874 'searchresultshead' => 'Search result settings',
875 'resultsperpage' => 'Hits to show per page',
876 'contextlines' => 'Lines to show per hit',
877 'contextchars' => 'Characters of context per line',
878 'stubthreshold' => 'Threshold for stub display',
879 'recentchangescount' => 'Number of titles in recent changes',
880 'savedprefs' => 'Your preferences have been saved.',
881 'timezonelegend' => 'Time zone',
882 'timezonetext' => 'Enter number of hours your local time differs
883 from server time (UTC).',
884 'localtime' => 'Local time display',
885 'timezoneoffset' => 'Offset',
886 'servertime' => 'Server time is now',
887 'guesstimezone' => 'Fill in from browser',
888 'emailflag' => 'Disable e-mail from other users',
889 'defaultns' => 'Search in these namespaces by default:',
890 'default' => 'default',
891
892 # User levels special page
893 #
894
895 # switching pan
896 'grouplevels-lookup-group' => 'Manage group rights',
897 'grouplevels-group-edit' => 'Existing groups: ',
898 'editgroup' => 'Edit Group',
899 'addgroup' => 'Add Group',
900
901 'userlevels-lookup-user' => 'Manage user groups',
902 'userlevels-user-editname' => 'Enter a username: ',
903 'editusergroup' => 'Edit User Groups',
904
905 # group editing
906 'grouplevels-editgroup' => 'Edit group',
907 'grouplevels-addgroup' => 'Add group',
908 'grouplevels-editgroup-name' => 'Group name: ',
909 'grouplevels-editgroup-description' => 'Group description (max 255 characters):<br />',
910 'savegroup' => 'Save Group',
911
912 # user groups editing
913 #
914 'userlevels-editusergroup' => 'Edit user groups',
915 'saveusergroups' => 'Save User Groups',
916 'userlevels-groupsmember' => 'Member of:',
917 'userlevels-groupsavailable' => 'Available groups:',
918 'userlevels-groupshelp' => 'Select groups you want the user to be removed from or added to.
919 Unselected groups will not be changed. You can deselect a group with CTRL + Left Click',
920
921 # Recent changes
922 #
923 'changes' => 'changes',
924 'recentchanges' => 'Recent changes',
925 'recentchanges-url' => 'Special:Recentchanges',
926 'recentchangestext' => 'Track the most recent changes to the wiki on this page.',
927 'rcloaderr' => 'Loading recent changes',
928 'rcnote' => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
929 'rcnotefrom' => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
930 'rclistfrom' => "Show new changes starting from $1",
931 'showhideminor' => "$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits ",
932 'rclinks' => "Show last $1 changes in last $2 days<br />$3",
933 'rchide' => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
934 'rcliu' => "; $1 edits from logged in users",
935 'diff' => 'diff',
936 'hist' => 'hist',
937 'hide' => 'hide',
938 'show' => 'show',
939 'tableform' => 'table',
940 'listform' => 'list',
941 'nchanges' => "$1 changes",
942 'minoreditletter' => 'm',
943 'newpageletter' => 'N',
944 'sectionlink' => '&rarr;',
945 'number_of_watching_users_RCview' => '[$1]',
946 'number_of_watching_users_pageview' => '[$1 watching user/s]',
947
948 # Upload
949 #
950 'upload' => 'Upload file',
951 'uploadbtn' => 'Upload file',
952 'uploadlink' => 'Upload images',
953 'reupload' => 'Re-upload',
954 'reuploaddesc' => 'Return to the upload form.',
955 'uploadnologin' => 'Not logged in',
956 'uploadnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
957 to upload files.",
958 'uploadfile' => 'Upload images, sounds, documents etc.',
959 'uploaderror' => 'Upload error',
960 'uploadtext' =>
961 "'''STOP!''' Before you upload here,
962 make sure to read and follow the [[Project:Image use policy|image use policy]].
963
964 To view or search previously uploaded images,
965 go to the [[Special:Imagelist|list of uploaded images]].
966 Uploads and deletions are logged on the
967 [[Project:Upload log|upload log]].
968
969 Use the form below to upload new image files for use in
970 illustrating your pages.
971 On most browsers, you will see a \"Browse...\" button, which will
972 bring up your operating system's standard file open dialog.
973 Choosing a file will fill the name of that file into the text
974 field next to the button.
975 You must also check the box affirming that you are not
976 violating any copyrights by uploading the file.
977 Press the \"Upload\" button to finish the upload.
978 This may take some time if you have a slow internet connection.
979
980 The preferred formats are JPEG for photographic images, PNG
981 for drawings and other iconic images, and OGG for sounds.
982 Please name your files descriptively to avoid confusion.
983 To include the image in a page, use a link in the form
984 '''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''' or
985 '''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
986 '''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for sounds.
987
988 Please note that as with wiki pages, others may edit or
989 delete your uploads if they think it serves the project, and
990 you may be blocked from uploading if you abuse the system.",
991
992 'uploadlog' => 'upload log',
993 'uploadlogpage' => 'Upload_log',
994 'uploadlogpagetext' => 'Below is a list of the most recent file uploads.',
995 'filename' => 'Filename',
996 'filedesc' => 'Summary',
997 'filestatus' => 'Copyright status',
998 'filesource' => 'Source',
999 'affirmation' => "I affirm that the copyright holder of this file
1000 agrees to license it under the terms of the $1.",
1001 'copyrightpage' => "Project:Copyrights",
1002 'copyrightpagename' => "{{SITENAME}} copyright",
1003 'uploadedfiles' => 'Uploaded files',
1004 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.',
1005 'ignorewarning' => 'Ignore warning and save file anyway.',
1006 'minlength' => 'Image names must be at least three letters.',
1007 'illegalfilename' => 'The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.',
1008 'badfilename' => "Image name has been changed to \"$1\".",
1009 'badfiletype' => "\".$1\" is not a recommended image file format.",
1010 'largefile' => 'It is recommended that images not exceed 100k in size.',
1011 '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.',
1012 'fileexists' => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.',
1013 'successfulupload' => 'Successful upload',
1014 'fileuploaded' => "File $1 uploaded successfully.
1015 Please follow this link: $2 to the description page and fill
1016 in information about the file, such as where it came from, when it was
1017 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>",
1018 'uploadwarning' => 'Upload warning',
1019 'savefile' => 'Save file',
1020 'uploadedimage' => "uploaded \"[[$1]]\"",
1021 'uploaddisabled' => 'Sorry, uploading is disabled.',
1022 'uploadcorrupt' => 'The file is corrupt or has an incorrect extension. Please check the file and upload again.',
1023
1024 # Image list
1025 #
1026 'imagelist' => 'Image list',
1027 'imagelisttext' => "Below is a list of $1 images sorted $2.",
1028 'getimagelist' => 'fetching image list',
1029 'ilshowmatch' => 'Show all images with names matching',
1030 'ilsubmit' => 'Search',
1031 'showlast' => "Show last $1 images sorted $2.",
1032 'all' => 'all',
1033 'byname' => 'by name',
1034 'bydate' => 'by date',
1035 'bysize' => 'by size',
1036 'imgdelete' => 'del',
1037 'imgdesc' => 'desc',
1038 'imglegend' => 'Legend: (desc) = show/edit image description.',
1039 'imghistory' => 'Image history',
1040 'revertimg' => 'rev',
1041 'deleteimg' => 'del',
1042 'deleteimgcompletely' => 'Delete all revisions',
1043 'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete
1044 this old version, (rev) = revert to this old version.
1045 <br /><i>Click on date to see image uploaded on that date</i>.',
1046 'imagelinks' => 'Image links',
1047 'linkstoimage' => 'The following pages link to this image:',
1048 'nolinkstoimage' => 'There are no pages that link to this image.',
1049 'sharedupload' => 'This file is a shared upload and may be used by other projects.',
1050 'shareduploadwiki' => 'Please see the [$1 image description page] for further information.',
1051
1052 # Statistics
1053 #
1054 'statistics' => 'Statistics',
1055 'sitestats' => 'Site statistics',
1056 'userstats' => 'User statistics',
1057 'sitestatstext' => "There are '''$1''' total pages in the database.
1058 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
1059 pages, redirects, and others that probably don't qualify as content pages.
1060 Excluding those, there are '''$2''' pages that are probably legitimate
1061 content pages.
1062
1063 There have been a total of '''$3''' page views, and '''$4''' page edits
1064 since the wiki was setup.
1065 That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
1066 'userstatstext' => "There are '''$1''' registered users.
1067 '''$2''' of these are administrators (see $3).",
1068
1069 # Maintenance Page
1070 #
1071 'maintenance' => 'Maintenance page',
1072 '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 ;-)',
1073 'maintenancebacklink' => 'Back to Maintenance Page',
1074 'disambiguations' => 'Disambiguation pages',
1075 'disambiguationspage' => "Project:Links_to_disambiguating_pages",
1076 '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.",
1077 'doubleredirects' => 'Double Redirects',
1078 'doubleredirectstext' => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br />\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" target page, which the first redirect should point to.",
1079 'brokenredirects' => 'Broken Redirects',
1080 'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
1081 'selflinks' => 'Pages with Self Links',
1082 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
1083 'mispeelings' => 'Pages with misspellings',
1084 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
1085 'mispeelingspage' => 'List of common misspellings',
1086 'missinglanguagelinks' => 'Missing Language Links',
1087 'missinglanguagelinksbutton' => 'Find missing language links for',
1088 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
1089
1090
1091 # Miscellaneous special pages
1092 #
1093 'orphans' => 'Orphaned pages',
1094 'geo' => 'GEO coordinates',
1095 'validate' => 'Validate page',
1096 'lonelypages' => 'Orphaned pages',
1097 'uncategorizedpages' => 'Uncategorized pages',
1098 'uncategorizedcategories' => 'Uncategorized categories',
1099 'unusedimages' => 'Unused images',
1100 'popularpages' => 'Popular pages',
1101 'nviews' => '$1 views',
1102 'wantedpages' => 'Wanted pages',
1103 'nlinks' => '$1 links',
1104 'allpages' => 'All pages',
1105 'randompage' => 'Random page',
1106 'randompage-url'=> 'Special:Randompage',
1107 'shortpages' => 'Short pages',
1108 'longpages' => 'Long pages',
1109 'deadendpages' => 'Dead-end pages',
1110 'listusers' => 'User list',
1111 'listadmins' => 'Admins list',
1112 'specialpages' => 'Special pages',
1113 'spheading' => 'Special pages for all users',
1114 'restrictedpheading' => 'Restricted special pages',
1115 'asksqlpheading' => 'asksql level',
1116 'blockpheading' => 'block level',
1117 'createaccountpheading' => 'createaccount level',
1118 'deletepheading' => 'delete level',
1119 'userrightspheading' => 'userrights level',
1120 'grouprightspheading' => 'grouprights level',
1121 'siteadminpheading' => 'siteadmin level',
1122
1123 /** obsoletes
1124 'sysopspheading' => 'For sysop use only',
1125 'developerspheading' => 'For developer use only',
1126 */
1127 'protectpage' => 'Protect page',
1128 'recentchangeslinked' => 'Related changes',
1129 'rclsub' => "(to pages linked from \"$1\")",
1130 'debug' => 'Debug',
1131 'newpages' => 'New pages',
1132 'ancientpages' => 'Oldest pages',
1133 'intl' => 'Interlanguage links',
1134 'move' => 'Move',
1135 'movethispage' => 'Move this page',
1136 'unusedimagestext' => '<p>Please note that other web sites may link to an image with
1137 a direct URL, and so may still be listed here despite being
1138 in active use.</p>',
1139 'booksources' => 'Book sources',
1140 'categoriespagetext' => 'The following categories exist in the wiki.',
1141 'data' => 'Data',
1142 'userlevels' => 'User rights management',
1143 'grouplevels' => 'User group management',
1144
1145 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1146 'booksourcetext' => "Below is a list of links to other sites that
1147 sell new and used books, and may also have further information
1148 about books you are looking for.
1149 {{SITENAME}} is not affiliated with any of these businesses, and
1150 this list should not be construed as an endorsement.",
1151 'isbn' => 'ISBN',
1152 'rfcurl' => 'http://www.faqs.org/rfcs/rfc$1.html',
1153 'pubmedurl' => 'http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1',
1154 'alphaindexline' => "$1 to $2",
1155 'version' => 'Version',
1156 'log' => 'Logs',
1157 'alllogstext' => 'Combined display of upload, deletion, protection, blocking, and sysop logs.
1158 You can narrow down the view by selecting a log type, the user name, or the affected page.',
1159
1160 # Special:Allpages
1161 'nextpage' => 'Next page ($1)',
1162 'articlenamespace' => '(articles)',
1163 'allpagesformtext1' => 'Display pages starting at: $1',
1164 'allpagesformtext2' => 'Choose namespace: $1 $2',
1165 'allarticles' => 'All articles',
1166 'allpagesprev' => 'Previous',
1167 'allpagesnext' => 'Next',
1168 'allpagesnamespace' => 'All pages ($1 namespace)',
1169 'allpagessubmit' => 'Go',
1170
1171 # Email this user
1172 #
1173 'mailnologin' => 'No send address',
1174 'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
1175 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
1176 to send e-mail to other users.",
1177 'emailuser' => 'E-mail this user',
1178 'emailpage' => 'E-mail user',
1179 'emailpagetext' => 'If this user has entered a valid e-mail address in
1180 his or her user preferences, the form below will send a single message.
1181 The e-mail address you entered in your user preferences will appear
1182 as the "From" address of the mail, so the recipient will be able
1183 to reply.',
1184 'usermailererror' => 'Mail object returned error: ',
1185 'defemailsubject' => "{{SITENAME}} e-mail",
1186 'noemailtitle' => 'No e-mail address',
1187 'noemailtext' => 'This user has not specified a valid e-mail address,
1188 or has chosen not to receive e-mail from other users.',
1189 'emailfrom' => 'From',
1190 'emailto' => 'To',
1191 'emailsubject' => 'Subject',
1192 'emailmessage' => 'Message',
1193 'emailsend' => 'Send',
1194 'emailsent' => 'E-mail sent',
1195 'emailsenttext' => 'Your e-mail message has been sent.',
1196
1197 # Watchlist
1198 #
1199 'watchlist' => 'My watchlist',
1200 'watchlistsub' => "(for user \"$1\")",
1201 'nowatchlist' => 'You have no items on your watchlist.',
1202 'watchnologin' => 'Not logged in',
1203 'watchnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1204 to modify your watchlist.",
1205 'addedwatch' => 'Added to watchlist',
1206 'addedwatchtext' => "The page \"$1\" has been added to your [[Special:Watchlist|watchlist]].
1207 Future changes to this page and its associated Talk page will be listed there,
1208 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
1209 make it easier to pick out.
1210
1211 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1212 'removedwatch' => 'Removed from watchlist',
1213 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.",
1214 'watch' => 'Watch',
1215 'watchthispage' => 'Watch this page',
1216 'unwatch' => 'Unwatch',
1217 'unwatchthispage' => 'Stop watching',
1218 'notanarticle' => 'Not a content page',
1219 'watchnochange' => 'None of your watched items were edited in the time period displayed.',
1220 'watchdetails' => "($1 pages watched not counting talk pages;
1221 $2 total pages edited since cutoff;
1222 $3...
1223 <a href='$4'>show and edit complete list</a>.)",
1224 'watchmethod-recent'=> 'checking recent edits for watched pages',
1225 'watchmethod-list' => 'checking watched pages for recent edits',
1226 'removechecked' => 'Remove checked items from watchlist',
1227 'watchlistcontains' => "Your watchlist contains $1 pages.",
1228 'watcheditlist' => 'Here\'s an alphabetical list of your
1229 watched content pages. Check the boxes of pages you want to remove from your watchlist and click the \'remove checked\' button
1230 at the bottom of the screen (deleting a content page also deletes the accompanying talk page and vice versa).',
1231 'removingchecked' => 'Removing requested items from watchlist...',
1232 'couldntremove' => "Couldn't remove item '$1'...",
1233 'iteminvalidname' => "Problem with item '$1', invalid name...",
1234 'wlnote' => 'Below are the last $1 changes in the last <b>$2</b> hours.',
1235 'wlshowlast' => 'Show last $1 hours $2 days $3',
1236 'wlsaved' => 'This is a saved version of your watchlist.',
1237 'wlhideshowown' => '$1 my edits.',
1238 'wlshow' => 'Show',
1239 'wlhide' => 'Hide',
1240
1241 'updatedmarker' => '<span class=\'updatedmarker\'>&nbsp;updated (since my last visit)&nbsp;</span>',
1242
1243 'email_notification_mailer' => '{{SITENAME}} Notification Mailer',
1244 'email_notification_infotext' => "'''Email notification is on.'''
1245 You will be notified by email when someone changes a page which is listed in your watchlist.",
1246 'email_notification_reset' => 'Reset all notification flags (set their status to "visited")',
1247 'email_notification_newpagetext'=> 'This is a new page.',
1248 'email_notification_to' => '$WATCHINGUSERNAME_QP <$WATCHINGUSEREMAILADDR>',
1249 'email_notification_subject' => '{{SITENAME}} page $PAGETITLE_QP has been changed by $PAGEEDITOR_QP',
1250 'email_notification_lastvisitedrevisiontext' => 'See {{SERVER}}{{localurl:$PAGETITLE_RAWURL|diff=0&oldid=$OLDID}} for all changes since your last visit.',
1251 'email_notification_body' => 'Dear $WATCHINGUSERNAME,
1252
1253 the {{SITENAME}} page $PAGETITLE has been changed on $PAGEEDITDATE by $PAGEEDITOR,
1254 see {{SERVER}}{{localurl:$PAGETITLE_RAWURL}} for the current version.
1255
1256 $NEWPAGE
1257
1258 Editor\'s summary: $PAGESUMMARY $PAGEMINOREDIT
1259 Contact the editor:
1260 mail {{SERVER}}{{localurl:Special:Emailuser|target=$PAGEEDITOR_RAWURL}}
1261 wiki {{SERVER}}{{localurl:User:$PAGEEDITOR_RAWURL}}
1262
1263 There will be no other notifications in case of further changes unless you visit this page.
1264 You could also reset the notification flags for all your watched pages on your watchlist.
1265
1266 Your friendly {{SITENAME}} notification system
1267
1268 --
1269 To change your watchlist settings, visit
1270 {{SERVER}}{{localurl:Special:Watchlist|magic=yes}}
1271
1272 Feedback and further assistance:
1273 {{SERVER}}{{localurl:WikiHelpdesk}}',
1274
1275 # Delete/protect/revert
1276 #
1277 'deletepage' => 'Delete page',
1278 'confirm' => 'Confirm',
1279 'excontent' => 'content was:',
1280 'exbeforeblank' => 'content before blanking was:',
1281 'exblank' => 'page was empty',
1282 'confirmdelete' => 'Confirm delete',
1283 'deletesub' => "(Deleting \"$1\")",
1284 'historywarning' => 'Warning: The page you are about to delete has a history: ',
1285 'confirmdeletetext' => "You are about to permanently delete a page
1286 or image along with all of its history from the database.
1287 Please confirm that you intend to do this, that you understand the
1288 consequences, and that you are doing this in accordance with
1289 [[Project:Policy]].",
1290 'actioncomplete' => 'Action complete',
1291 'deletedtext' => "\"$1\" has been deleted.
1292 See $2 for a record of recent deletions.",
1293 'deletedarticle' => "deleted \"$1\"",
1294 'dellogpage' => 'Deletion_log',
1295 'dellogpagetext' => 'Below is a list of the most recent deletions.',
1296 'deletionlog' => 'deletion log',
1297 'reverted' => 'Reverted to earlier revision',
1298 'deletecomment' => 'Reason for deletion',
1299 'imagereverted' => 'Revert to earlier version was successful.',
1300 'rollback' => 'Roll back edits',
1301 'rollback_short' => 'Rollback',
1302 'rollbacklink' => 'rollback',
1303 'rollbackfailed' => 'Rollback failed',
1304 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.',
1305 'alreadyrolled' => "Cannot rollback last edit of [[$1]]
1306 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
1307
1308 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1309 # only shown if there is an edit comment
1310 'editcomment' => "The edit comment was: \"<i>$1</i>\".",
1311 'revertpage' => "Reverted edit of $2, changed back to last version by $1",
1312 'sessionfailure' => 'There seems to be a problem with your login session;
1313 this action has been canceled as a precaution against session hijacking.
1314 Please hit "back" and reload the page you came from, then try again.',
1315 'protectlogpage' => 'Protection_log',
1316 'protectlogtext' => "Below is a list of page locks/unlocks.
1317 See [[Project:Protected page]] for more information.",
1318 'protectedarticle' => "protected \"[[$1]]\"",
1319 'unprotectedarticle' => "unprotected \"[[$1]]\"",
1320 'protectsub' =>"(Protecting \"$1\")",
1321 'confirmprotecttext' => 'Do you really want to protect this page?',
1322 'confirmprotect' => 'Confirm protection',
1323 'protectmoveonly' => 'Protect from moves only',
1324 'protectcomment' => 'Reason for protecting',
1325 'unprotectsub' =>"(Unprotecting \"$1\")",
1326 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
1327 'confirmunprotect' => 'Confirm unprotection',
1328 'unprotectcomment' => 'Reason for unprotecting',
1329 'protectreason' => '(give a reason)',
1330
1331 # Undelete
1332 'undelete' => 'Restore deleted page',
1333 'undeletepage' => 'View and restore deleted pages',
1334 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and
1335 can be restored. The archive may be periodically cleaned out.',
1336 'undeletearticle' => 'Restore deleted page',
1337 'undeleterevisions' => "$1 revisions archived",
1338 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history.
1339 If a new page with the same name has been created since the deletion, the restored
1340 revisions will appear in the prior history, and the current revision of the live page
1341 will not be automatically replaced.',
1342 'undeleterevision' => "Deleted revision as of $1",
1343 'undeletebtn' => 'Restore!',
1344 'undeletedarticle' => "restored \"$1\"",
1345 'undeletedrevisions' => "$1 revisions restored",
1346 'undeletedtext' => "[[$1]] has been successfully restored.
1347 See [[Special:Log/delete]] for a record of recent deletions and restorations.",
1348
1349 # Contributions
1350 #
1351 'contributions' => 'User contributions',
1352 'mycontris' => 'My contributions',
1353 'contribsub' => "For $1",
1354 'nocontribs' => 'No changes were found matching these criteria.',
1355 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1356 'uclinks' => "View the last $1 changes; view the last $2 days.",
1357 'uctop' => ' (top)' ,
1358 'newbies' => 'newbies',
1359
1360 # What links here
1361 #
1362 'whatlinkshere' => 'What links here',
1363 'notargettitle' => 'No target',
1364 'notargettext' => 'You have not specified a target page or user
1365 to perform this function on.',
1366 'linklistsub' => '(List of links)',
1367 'linkshere' => 'The following pages link to here:',
1368 'nolinkshere' => 'No pages link to here.',
1369 'isredirect' => 'redirect page',
1370
1371 # Block/unblock IP
1372 #
1373 'blockip' => 'Block user',
1374 'blockiptext' => "Use the form below to block write access
1375 from a specific IP address or username.
1376 This should be done only only to prevent vandalism, and in
1377 accordance with [[Project:Policy|policy]].
1378 Fill in a specific reason below (for example, citing particular
1379 pages that were vandalized).",
1380 'ipaddress' => 'IP Address/username',
1381 'ipbexpiry' => 'Expiry',
1382 'ipbreason' => 'Reason',
1383 'ipbsubmit' => 'Block this user',
1384 'badipaddress' => 'Invalid IP address',
1385 'noblockreason' => 'You must supply a reason for the block.',
1386 'blockipsuccesssub' => 'Block succeeded',
1387 'blockipsuccesstext' => "\"$1\" has been blocked.
1388 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1389 'unblockip' => 'Unblock user',
1390 'unblockiptext' => 'Use the form below to restore write access
1391 to a previously blocked IP address or username.',
1392 'ipusubmit' => 'Unblock this address',
1393 'ipusuccess' => "\"[[$1]]\" unblocked",
1394 'ipblocklist' => 'List of blocked IP addresses and usernames',
1395 'blocklistline' => "$1, $2 blocked $3 (expires $4)",
1396 'blocklink' => 'block',
1397 'unblocklink' => 'unblock',
1398 'contribslink' => 'contribs',
1399 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1400 'blocklogpage' => 'Block_log',
1401 'blocklogentry' => 'blocked "[[$1]]" with an expiry time of $2',
1402 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
1403 blocked IP addresses are not listed. See the [[Special:Ipblocklist|IP block list]] for
1404 the list of currently operational bans and blocks.',
1405 'unblocklogentry' => 'unblocked "$1"',
1406 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
1407 'ipb_expiry_invalid' => 'Expiry time invalid.',
1408 'ip_range_invalid' => "Invalid IP range.\n",
1409 'proxyblocker' => 'Proxy blocker',
1410 '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.',
1411 'proxyblocksuccess' => "Done.\n",
1412
1413 # Developer tools
1414 #
1415 'lockdb' => 'Lock database',
1416 'unlockdb' => 'Unlock database',
1417 'lockdbtext' => 'Locking the database will suspend the ability of all
1418 users to edit pages, change their preferences, edit their watchlists, and
1419 other things requiring changes in the database.
1420 Please confirm that this is what you intend to do, and that you will
1421 unlock the database when your maintenance is done.',
1422 'unlockdbtext' => 'Unlocking the database will restore the ability of all
1423 users to edit pages, change their preferences, edit their watchlists, and
1424 other things requiring changes in the database.
1425 Please confirm that this is what you intend to do.',
1426 'lockconfirm' => 'Yes, I really want to lock the database.',
1427 'unlockconfirm' => 'Yes, I really want to unlock the database.',
1428 'lockbtn' => 'Lock database',
1429 'unlockbtn' => 'Unlock database',
1430 'locknoconfirm' => 'You did not check the confirmation box.',
1431 'lockdbsuccesssub' => 'Database lock succeeded',
1432 'unlockdbsuccesssub' => 'Database lock removed',
1433 'lockdbsuccesstext' => 'The database has been locked.
1434 <br />Remember to remove the lock after your maintenance is complete.',
1435 'unlockdbsuccesstext' => 'The database has been unlocked.',
1436
1437 # SQL query
1438 #
1439 'asksql' => 'SQL query',
1440 'asksqltext' => "Use the form below to make a direct query of the
1441 database.
1442 Use single quotes ('like this') to delimit string literals.
1443 This can often add considerable load to the server, so please use
1444 this function sparingly.",
1445 'sqlislogged' => 'Please note that all queries are logged.',
1446 'sqlquery' => 'Enter query',
1447 'querybtn' => 'Submit query',
1448 'selectonly' => 'Only read-only queries are allowed.',
1449 'querysuccessful' => 'Query successful',
1450
1451 # Make sysop
1452 'makesysoptitle' => 'Make a user into a sysop',
1453 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
1454 Type the name of the user in the box and press the button to make the user an administrator',
1455 'makesysopname' => 'Name of the user:',
1456 'makesysopsubmit' => 'Make this user into a sysop',
1457 'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
1458 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1459 'setbureaucratflag' => 'Set bureaucrat flag',
1460 'bureaucratlog' => 'Bureaucrat_log',
1461 'rightslogtext' => 'This is a log of changes to user rights.',
1462 'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"",
1463 'rights' => 'Rights:',
1464 'set_user_rights' => 'Set user rights',
1465 'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
1466 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1467 'makesysop' => 'Make a user into a sysop',
1468 'already_sysop' => 'This user is already an administrator',
1469 'already_bureaucrat' => 'This user is already a bureaucrat',
1470
1471 # Validation
1472 'val_yes' => 'Yes',
1473 'val_no' => 'No',
1474 'val_revision' => 'Revision',
1475 'val_time' => 'Time',
1476 'val_list_header' => '<th>#</th><th>Topic</th><th>Range</th><th>Action</th>',
1477 'val_add' => 'Add',
1478 'val_del' => 'Delete',
1479 'val_warning' => '<b>Never, <i>ever</i>, change something here without <i>explicit</i> community consensus!</b>',
1480 'val_rev_for' => 'Revisions for ',
1481 'val_rev_stats_link' => 'See the validation statistics for "$1" <a href="$2">here</a>',
1482 'val_iamsure' => 'Check this box if you really mean it!',
1483 'val_clear_old' => 'Clear my older validation data',
1484 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
1485 'val_form_note' => '<b>Hint:</b> Merging your data means that for the article
1486 revision you select, all options where you have specified <i>no opinion</i>
1487 will be set to the value and comment of the most recent revision for which you
1488 have expressed an opinion. For example, if you want to change a single option
1489 for a newer revision, but also keep your other settings for this article in
1490 this revision, just select which option you intend to <i>change</i>, and
1491 merging will fill in the other options with your previous settings.',
1492 'val_noop' => 'No opinion',
1493 'val_percent' => '<b>$1%</b><br />($2 of $3 points<br />by $4 users)',
1494 'val_percent_single' => '<b>$1%</b><br />($2 of $3 points<br />by one user)',
1495 'val_total' => 'Total',
1496 'val_version' => 'Version',
1497 'val_tab' => 'Validate',
1498 'val_this_is_current_version' => 'this is the latest version',
1499 'val_version_of' => "Version of $1" ,
1500 'val_table_header' => "<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>\n",
1501 'val_stat_link_text' => 'Validation statistics for this article',
1502 'val_view_version' => 'View this revision',
1503 'val_validate_version' => 'Validate this version',
1504 'val_user_validations' => 'This user has validated $1 pages.',
1505 'val_no_anon_validation' => 'You have to be logged in to validate an article.',
1506 'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in the article namespace.',
1507 'val_validated' => 'Validation done.',
1508 'val_article_lists' => 'List of validated articles',
1509 'val_page_validation_statistics' => 'Page validation statistics for $1',
1510
1511 # Move page
1512 #
1513 'movepage' => 'Move page',
1514 'movepagetext' => 'Using the form below will rename a page, moving all
1515 of its history to the new name.
1516 The old title will become a redirect page to the new title.
1517 Links to the old page title will not be changed; be sure to
1518 [[Special:Maintenance|check]] for double or broken redirects.
1519 You are responsible for making sure that links continue to
1520 point where they are supposed to go.
1521
1522 Note that the page will \'\'\'not\'\'\' be moved if there is already
1523 a page at the new title, unless it is empty or a redirect and has no
1524 past edit history. This means that you can rename a page back to where
1525 it was just renamed from if you make a mistake, and you cannot overwrite
1526 an existing page.
1527
1528 <b>WARNING!</b>
1529 This can be a drastic and unexpected change for a popular page;
1530 please be sure you understand the consequences of this before
1531 proceeding.',
1532 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\'
1533 *You are moving the page across namespaces,
1534 *A non-empty talk page already exists under the new name, or
1535 *You uncheck the box below.
1536
1537 In those cases, you will have to move or merge the page manually if desired.',
1538 'movearticle' => 'Move page',
1539 'movenologin' => 'Not logged in',
1540 'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1541 to move a page.",
1542 'newtitle' => 'To new title',
1543 'movepagebtn' => 'Move page',
1544 'pagemovedsub' => 'Move succeeded',
1545 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1546 'articleexists' => 'A page of that name already exists, or the
1547 name you have chosen is not valid.
1548 Please choose another name.',
1549 'talkexists' => 'The page itself was moved successfully, but the
1550 talk page could not be moved because one already exists at the new
1551 title. Please merge them manually.',
1552 'movedto' => 'moved to',
1553 'movetalk' => 'Move "talk" page as well, if applicable.',
1554 'talkpagemoved' => 'The corresponding talk page was also moved.',
1555 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.',
1556 '1movedto2' => "[[$1]] moved to [[$2]]",
1557 '1movedto2_redir' => '[[$1]] moved to [[$2]] over redirect',
1558 'movelogpage' => 'Move log',
1559 'movelogpagetext' => 'Below is a list of page moved.',
1560
1561 # Export
1562
1563 'export' => 'Export pages',
1564 'exporttext' => 'You can export the text and editing history of a particular page or
1565 set of pages wrapped in some XML. In the future, this may then be imported into another
1566 wiki running MediaWiki software, although there is no support for this feature in the
1567 current version.
1568
1569 To export article pages, enter the titles in the text box below, one title per line, and
1570 select whether you want the current version as well as all old versions, with the page
1571 history lines, or just the current version with the info about the last edit.
1572
1573 In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
1574 article [[Train]].
1575 ',
1576 'exportcuronly' => 'Include only the current revision, not the full history',
1577
1578 # Namespace 8 related
1579
1580 'allmessages' => 'All system messages',
1581 'allmessagesname' => 'Name',
1582 'allmessagesdefault' => 'Default text',
1583 'allmessagescurrent' => 'Current text',
1584 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
1585 'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site. ',
1586 'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',
1587
1588 # Thumbnails
1589
1590 'thumbnail-more' => 'Enlarge',
1591 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
1592 'filemissing' => 'File missing',
1593
1594 # Special:Import
1595 'import' => 'Import pages',
1596 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
1597 'importfailed' => "Import failed: $1",
1598 'importnotext' => 'Empty or no text',
1599 'importsuccess' => 'Import succeeded!',
1600 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
1601
1602 # Keyboard access keys for power users
1603 'accesskey-search' => 'f',
1604 'accesskey-minoredit' => 'i',
1605 'accesskey-save' => 's',
1606 'accesskey-preview' => 'p',
1607 'accesskey-diff' => 'd',
1608 'accesskey-compareselectedversions' => 'v',
1609
1610 # tooltip help for some actions, most are in Monobook.js
1611 'tooltip-search' => 'Search this wiki [alt-f]',
1612 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
1613 'tooltip-save' => 'Save your changes [alt-s]',
1614 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
1615 'tooltip-diff' => 'Show which changes you made to the text. [alt-d]',
1616 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
1617 'tooltip-watch' => 'Add this page to your watchlist [alt-w]',
1618
1619 # stylesheets
1620 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
1621 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
1622
1623 # Metadata
1624 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',
1625 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.',
1626 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.',
1627
1628 # Attribution
1629
1630 'anonymous' => "Anonymous user(s) of $wgSitename",
1631 'siteuser' => "$wgSitename user $1",
1632 'lastmodifiedby' => "This page was last modified $1 by $2.",
1633 'and' => 'and',
1634 'othercontribs' => "Based on work by $1.",
1635 'others' => 'others',
1636 'siteusers' => "$wgSitename user(s) $1",
1637 'creditspage' => 'Page credits',
1638 'nocredits' => 'There is no credits info available for this page.',
1639
1640 # Spam protection
1641
1642 'spamprotectiontitle' => 'Spam protection filter',
1643 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.',
1644 'spamprotectionmatch' => 'The following text is what triggered our spam filter: $1',
1645 'subcategorycount' => "There are $1 subcategories to this category.",
1646 'subcategorycount1' => "There is $1 subcategory to this category.",
1647 'categoryarticlecount' => "There are $1 articles in this category.",
1648 'categoryarticlecount1' => "There is $1 article in this category.",
1649 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
1650 'listingcontinuesabbrev' => " cont.",
1651
1652 # Info page
1653 "infosubtitle" => "Information for page",
1654 "numedits" => "Number of edits (article): $1",
1655 "numtalkedits" => "Number of edits (discussion page): $1",
1656 "numwatchers" => "Number of watchers: $1",
1657 "numauthors" => "Number of distinct authors (article): $1",
1658 "numtalkauthors" => "Number of distinct authors (discussion page): $1",
1659
1660 # Math options
1661 'mw_math_png' => 'Always render PNG',
1662 'mw_math_simple' => 'HTML if very simple or else PNG',
1663 'mw_math_html' => 'HTML if possible or else PNG',
1664 'mw_math_source' => 'Leave it as TeX (for text browsers)',
1665 'mw_math_modern' => 'Recommended for modern browsers',
1666 'mw_math_mathml' => 'MathML if possible (experimental)',
1667
1668 # Patrolling
1669 'markaspatrolleddiff' => "Mark as patrolled",
1670 'markaspatrolledlink' => "<div class='patrollink'>[$1]</div>",
1671 'markaspatrolledtext' => "Mark this article as patrolled",
1672 'markedaspatrolled' => "Marked as patrolled",
1673 'markedaspatrolledtext' => "The selected revision has been marked as patrolled.",
1674 'rcpatroldisabled' => "Recent Changes Patrol disabled",
1675 'rcpatroldisabledtext' => "The Recent Changes Patrol feature is currently disabled.",
1676
1677 # Monobook.js: tooltips and access keys for monobook
1678 'Monobook.js' => '/* tooltips and access keys */
1679 ta = new Object();
1680 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
1681 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\');
1682 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\');
1683 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\');
1684 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\');
1685 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\');
1686 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\');
1687 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1688 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1689 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\');
1690 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\');
1691 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\');
1692 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\');
1693 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\');
1694 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\');
1695 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\');
1696 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\');
1697 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\');
1698 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\');
1699 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\');
1700 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\');
1701 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\');
1702 ta[\'search\'] = new Array(\'f\',\'Search this wiki\');
1703 ta[\'p-logo\'] = new Array(\'\',\'Main Page\');
1704 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\');
1705 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\');
1706 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
1707 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\');
1708 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
1709 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
1710 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
1711 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
1712 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linked from this page\');
1713 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
1714 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
1715 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
1716 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\');
1717 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\');
1718 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\');
1719 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\');
1720 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\');
1721 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\');
1722 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\');
1723 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\');
1724 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\');
1725 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
1726 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
1727 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
1728 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
1729 ',
1730
1731 # image deletion
1732 'deletedrevision' => 'Deleted old revision $1.',
1733
1734 # browsing diffs
1735 'previousdiff' => '&larr; Go to previous diff',
1736 'nextdiff' => 'Go to next diff &rarr;',
1737
1738 'imagemaxsize' => 'Limit images on image description pages to: ',
1739 'showbigimage' => 'Download high resolution version ($1x$2, $3 KB)',
1740
1741 'newimages' => 'New images gallery',
1742 'noimages' => 'Nothing to see.',
1743
1744 'sitesettings' => 'Site Settings',
1745 'sitesettings-features' => 'Features',
1746 'sitesettings-permissions' => 'Permissions',
1747 'sitesettings-memcached' => 'Memcache Daemon',
1748 'sitesettings-debugging' => 'Debugging',
1749 'sitesettings-caching' => 'Page caching',
1750 'sitesettings-wgShowIPinHeader' => 'Show IP in header (for non-logged in users)',
1751 'sitesettings-wgUseDatabaseMessages' => 'Use database messages for user interface labels',
1752 'sitesettings-wgUseCategoryMagic' => 'Enable categories',
1753 'sitesettings-wgUseCategoryBrowser' => 'Enable experimental dmoz-like category browsing. Outputs things like: Encyclopedia > Music > Style of Music > Jazz',
1754 'sitesettings-wgHitcounterUpdateFreq' => 'Hit counter update frequency',
1755 'sitesettings-wgAllowExternalImages' => 'Allow to include external images into articles',
1756 'sitesettings-permissions-readonly' => 'Maintenance mode: Disable write access',
1757 'sitesettings-permissions-whitelist' => 'Whitelist mode',
1758 'sitesettings-permissions-banning' => 'User banning',
1759 'sitesettings-permissions-miser' => 'Performance settings',
1760 'sitesettings-wgReadOnly' => 'Readonly mode',
1761 'sitesettings-wgReadOnlyFile' => 'Readonly message file',
1762 'sitesettings-wgWhitelistEdit' => 'Users must be logged in to edit',
1763 'sitesettings-wgWhitelistRead' => 'Anonymous users may only read these pages:',
1764 'sitesettings-wgWhitelistAccount-user' => 'Users may create accounts themself',
1765 'sitesettings-wgWhitelistAccount-sysop' => 'Sysops may create accounts for users',
1766 'sitesettings-wgWhitelistAccount-developer' => 'Developers may create accounts for users',
1767 'sitesettings-wgSysopUserBans' => 'Sysops may block logged-in users',
1768 'sitesettings-wgSysopRangeBans' => 'Sysops may block IP-ranges',
1769 'sitesettings-wgDefaultBlockExpiry' => 'By default, blocks expire after:',
1770 'sitesettings-wgMiserMode' => 'Enable miser mode, which disables most "expensive" features',
1771 'sitesettings-wgDisableQueryPages' => 'When in miser mode, disable all query pages, not only "expensive" ones',
1772 'sitesettings-wgUseWatchlistCache' => 'Generate a watchlist once every hour or so',
1773 'sitesettings-wgWLCacheTimeout' => 'The hour or so mentioned above (in seconds):',
1774 'sitesettings-cookies' => 'Cookies',
1775 'sitesettings-performance' => 'Performance',
1776 'sitesettings-images' => 'Images',
1777
1778 # short names for language variants used for language conversion links.
1779 # to disable showing a particular link, set it to 'disable', e.g.
1780 # 'variantname-zh-sg' => 'disable',
1781 'variantname-zh-cn' => 'cn',
1782 'variantname-zh-tw' => 'tw',
1783 'variantname-zh-hk' => 'hk',
1784 'variantname-zh-sg' => 'sg',
1785 'variantname-zh' => 'zh',
1786
1787 # Chinese conversion table
1788 'zhconversiontable' => '-{}-',
1789
1790 # labels for User: and Title: on Special:Log pages
1791 'specialloguserlabel' => 'User: ',
1792 'speciallogtitlelabel' => 'Title: ',
1793
1794 # labels for Group: and User: ond Special:Listusers
1795 'speciallistusersuserlabel' => 'User: ',
1796 'speciallistusersgrouplabel' => 'Group: ',
1797
1798 'passwordtooshort' => 'Your password is too short. It must have at least $1 characters.',
1799
1800 # external editor support
1801 'edit-externally' => 'Edit this file using an external application',
1802 'edit-externally-help' => 'See the [http://meta.wikimedia.org/wiki/Help:External_editors setup instructions] for more information.',
1803 );
1804
1805 #--------------------------------------------------------------------------
1806 # Internationalisation code
1807 #--------------------------------------------------------------------------
1808
1809 class Language {
1810 function Language(){
1811 # Copies any missing values in the specified arrays from En to the current language
1812 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
1813 $name = get_class( $this );
1814 if( strpos( $name, 'language' ) == 0){
1815 $lang = ucfirst( substr( $name, 8 ) );
1816 foreach( $fillin as $arrname ){
1817 $langver = "{$arrname}{$lang}";
1818 $enver = "{$arrname}En";
1819 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] ))
1820 continue;
1821 foreach($GLOBALS[$enver] as $spage => $text){
1822 if( ! isset( $GLOBALS[$langver][$spage] ) )
1823 $GLOBALS[$langver][$spage] = $text;
1824 }
1825 }
1826 }
1827 }
1828
1829 function getDefaultUserOptions () {
1830 global $wgDefaultUserOptionsEn ;
1831 return $wgDefaultUserOptionsEn ;
1832 }
1833
1834 function getBookstoreList () {
1835 global $wgBookstoreListEn ;
1836 return $wgBookstoreListEn ;
1837 }
1838
1839 function getNamespaces() {
1840 global $wgNamespaceNamesEn;
1841 return $wgNamespaceNamesEn;
1842 }
1843
1844 function getNsText( $index ) {
1845 global $wgNamespaceNamesEn;
1846 return $wgNamespaceNamesEn[$index];
1847 }
1848
1849 function getNsIndex( $text ) {
1850 global $wgNamespaceNamesEn;
1851
1852 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1853 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1854 }
1855 return false;
1856 }
1857
1858 # short names for language variants used for language conversion links.
1859 # so far only used by zh
1860 function getVariantname( $code ) {
1861 return wfMsg( 'variantname-' . $code );
1862 }
1863
1864 function specialPage( $name ) {
1865 return $this->getNsText(NS_SPECIAL) . ':' . $name;
1866 }
1867
1868 function getQuickbarSettings() {
1869 global $wgQuickbarSettingsEn;
1870 return $wgQuickbarSettingsEn;
1871 }
1872
1873 function getSkinNames() {
1874 global $wgSkinNamesEn;
1875 return $wgSkinNamesEn;
1876 }
1877
1878 function getMathNames() {
1879 global $wgMathNamesEn;
1880 return $wgMathNamesEn;
1881 }
1882
1883 function getDateFormats() {
1884 global $wgDateFormatsEn;
1885 return $wgDateFormatsEn;
1886 }
1887
1888 function getValidationTypes() {
1889 global $wgValidationTypesEn;
1890 return $wgValidationTypesEn;
1891 }
1892
1893 function getUserToggles() {
1894 global $wgUserTogglesEn;
1895 return $wgUserTogglesEn;
1896 }
1897
1898 function getUserToggle( $tog ) {
1899 return wfMsg("tog-".$tog);
1900 }
1901
1902 function getLanguageNames() {
1903 global $wgLanguageNamesEn;
1904 return $wgLanguageNamesEn;
1905 }
1906
1907 function getLanguageName( $code ) {
1908 global $wgLanguageNamesEn;
1909 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1910 return "";
1911 }
1912 return $wgLanguageNamesEn[$code];
1913 }
1914
1915 function getMonthName( $key ) {
1916 global $wgMonthNamesEn, $wgContLang;
1917 // see who called us and use the correct message function
1918 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
1919 return wfMsgForContent($wgMonthNamesEn[$key-1]);
1920 else
1921 return wfMsg($wgMonthNamesEn[$key-1]);
1922 }
1923
1924 /* by default we just return base form */
1925 function getMonthNameGen( $key ) {
1926 return $this->getMonthName( $key );
1927 }
1928
1929 function getMonthAbbreviation( $key ) {
1930 global $wgMonthAbbreviationsEn, $wgContLang;
1931 // see who called us and use the correct message function
1932 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
1933 return wfMsgForContent(@$wgMonthAbbreviationsEn[$key-1]);
1934 else
1935 return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
1936 }
1937
1938 function getWeekdayName( $key ) {
1939 global $wgWeekdayNamesEn, $wgContLang;
1940 // see who called us and use the correct message function
1941 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
1942 return wfMsgForContent($wgWeekdayNamesEn[$key-1]);
1943 else
1944 return wfMsg($wgWeekdayNamesEn[$key-1]);
1945 }
1946
1947 function userAdjust( $ts, $tz = false ) {
1948 global $wgUser, $wgLocalTZoffset;
1949
1950 if (!$tz) {
1951 $tz = $wgUser->getOption( 'timecorrection' );
1952 }
1953
1954 if ( $tz === '' ) {
1955 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1956 $minDiff = 0;
1957 } elseif ( strpos( $tz, ':' ) !== false ) {
1958 $tzArray = explode( ':', $tz );
1959 $hrDiff = intval($tzArray[0]);
1960 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
1961 } else {
1962 $hrDiff = intval( $tz );
1963 }
1964 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1965
1966 $t = mktime( (
1967 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours
1968 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes
1969 (int)substr( $ts, 12, 2 ), # Seconds
1970 (int)substr( $ts, 4, 2 ), # Month
1971 (int)substr( $ts, 6, 2 ), # Day
1972 (int)substr( $ts, 0, 4 ) ); #Year
1973 return date( 'YmdHis', $t );
1974 }
1975
1976 function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT, $timecorrection = false ) {
1977 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1978
1979 $ts=wfTimestamp(TS_MW,$ts);
1980
1981 if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
1982
1983 if ( $wgUseDynamicDates ) {
1984 if ( $format == MW_DATE_USER_FORMAT ) {
1985 $datePreference = $wgUser->getOption( 'date' );
1986 } else {
1987 $options = $this->getDefaultUserOptions();
1988 $datePreference = $options['date'];
1989 }
1990 if ( $datePreference == 0 ) {
1991 $datePreference = $wgAmericanDates ? 1 : 2;
1992 }
1993 } else {
1994 $datePreference = $wgAmericanDates ? 1 : 2;
1995 }
1996
1997 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1998 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
1999 $year = $this->formatNum( substr( $ts, 0, 4 ) );
2000
2001 switch( $datePreference ) {
2002 case 1: return "$month $day, $year";
2003 case 2: return "$day $month $year";
2004 case 4: return substr($ts, 0, 4). '-' . substr($ts, 4, 2). '-' .substr($ts, 6, 2);
2005 default: return "$year $month $day";
2006 }
2007 }
2008
2009 function time( $ts, $adj = false, $seconds = false, $timecorrection = false ) {
2010 global $wgUser;
2011 $ts=wfTimestamp(TS_MW,$ts);
2012
2013 if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
2014
2015 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
2016 if ( $seconds || $wgUser->getOption( 'date' ) == 4) {
2017 $t .= ':' . substr( $ts, 12, 2 );
2018 }
2019 return $this->formatNum( $t );
2020 }
2021
2022 function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT, $timecorrection = false, $dateandtime = false) {
2023 global $wgUser;
2024 $ts=wfTimestamp(TS_MW,$ts);
2025 if ( 4 == $wgUser->getOption( 'date' ) ) {
2026 return $this->date( $ts, $adj, $format, $timecorrection ) . ' ' .
2027 $this->time( $ts, $adj, false, $timecorrection );
2028 } else {
2029 return $this->time( $ts, $adj, false, $timecorrection ) . ', ' .
2030 $this->date( $ts, $adj, $format, $timecorrection );
2031 }
2032 }
2033
2034 function rfc1123( $ts ) {
2035 return date( 'D, d M Y H:i:s T', $ts );
2036 }
2037
2038 function getValidSpecialPages() {
2039 global $wgValidSpecialPagesEn;
2040 return $wgValidSpecialPagesEn;
2041 }
2042
2043 function getSysopSpecialPages() {
2044 global $wgSysopSpecialPagesEn;
2045 return $wgSysopSpecialPagesEn;
2046 }
2047
2048 function getDeveloperSpecialPages() {
2049 global $wgDeveloperSpecialPagesEn;
2050 return $wgDeveloperSpecialPagesEn;
2051 }
2052
2053 function getMessage( $key ) {
2054 global $wgAllMessagesEn;
2055 return @$wgAllMessagesEn[$key];
2056 }
2057
2058 function getAllMessages() {
2059 global $wgAllMessagesEn;
2060 return $wgAllMessagesEn;
2061 }
2062
2063 function iconv( $in, $out, $string ) {
2064 # For most languages, this is a wrapper for iconv
2065 return iconv( $in, $out, $string );
2066 }
2067
2068 function ucfirst( $string ) {
2069 # For most languages, this is a wrapper for ucfirst()
2070 return ucfirst( $string );
2071 }
2072
2073 function lcfirst( $s ) {
2074 return strtolower( $s{0} ). substr( $s, 1 );
2075 }
2076
2077 function checkTitleEncoding( $s ) {
2078 global $wgInputEncoding;
2079
2080 # Check for UTF-8 URLs; Internet Explorer produces these if you
2081 # type non-ASCII chars in the URL bar or follow unescaped links.
2082 $ishigh = preg_match( '/[\x80-\xff]/', $s);
2083 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
2084 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
2085
2086 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
2087 return @iconv( 'UTF-8', $wgInputEncoding, $s );
2088
2089 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf )
2090 return utf8_encode( $s );
2091
2092 # Other languages can safely leave this function, or replace
2093 # it with one to detect and convert another legacy encoding.
2094 return $s;
2095 }
2096
2097 function stripForSearch( $in ) {
2098 # Some languages have special punctuation to strip out
2099 # or characters which need to be converted for MySQL's
2100 # indexing to grok it correctly. Make such changes here.
2101 return strtolower( $in );
2102 }
2103
2104 function convertForSearchResult( $termsArray ) {
2105 # some languages, e.g. Chinese, need to do a conversion
2106 # in order for search results to be displayed correctly
2107 return $termsArray;
2108 }
2109
2110 function firstChar( $s ) {
2111 # Get the first character of a string. In ASCII, return
2112 # first byte of the string. UTF8 and others have to
2113 # overload this.
2114 return $s[0];
2115 }
2116
2117 function initEncoding() {
2118 # Some languages may have an alternate char encoding option
2119 # (Esperanto X-coding, Japanese furigana conversion, etc)
2120 # If this language is used as the primary content language,
2121 # an override to the defaults can be set here on startup.
2122 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2123 }
2124
2125 function setAltEncoding() {
2126 # Some languages may have an alternate char encoding option
2127 # (Esperanto X-coding, Japanese furigana conversion, etc)
2128 # If 'altencoding' is checked in user prefs, this gives a
2129 # chance to swap out the default encoding settings.
2130 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2131 }
2132
2133 function recodeForEdit( $s ) {
2134 # For some languages we'll want to explicitly specify
2135 # which characters make it into the edit box raw
2136 # or are converted in some way or another.
2137 # Note that if wgOutputEncoding is different from
2138 # wgInputEncoding, this text will be further converted
2139 # to wgOutputEncoding.
2140 global $wgInputEncoding, $wgEditEncoding;
2141 if( $wgEditEncoding == '' or
2142 $wgEditEncoding == $wgInputEncoding ) {
2143 return $s;
2144 } else {
2145 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
2146 }
2147 }
2148
2149 function recodeInput( $s ) {
2150 # Take the previous into account.
2151 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2152 if($wgEditEncoding != "") {
2153 $enc = $wgEditEncoding;
2154 } else {
2155 $enc = $wgOutputEncoding;
2156 }
2157 if( $enc == $wgInputEncoding ) {
2158 return $s;
2159 } else {
2160 return $this->iconv( $enc, $wgInputEncoding, $s );
2161 }
2162 }
2163
2164 # For right-to-left language support
2165 function isRTL() { return false; }
2166
2167 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
2168 function linkPrefixExtension() { return false; }
2169
2170
2171 function &getMagicWords() {
2172 global $wgMagicWordsEn;
2173 return $wgMagicWordsEn;
2174 }
2175
2176 # Fill a MagicWord object with data from here
2177 function getMagic( &$mw ) {
2178 $raw =& $this->getMagicWords();
2179 if( !isset( $raw[$mw->mId] ) ) {
2180 # Fall back to English if local list is incomplete
2181 $raw =& Language::getMagicWords();
2182 }
2183 $rawEntry = $raw[$mw->mId];
2184 $mw->mCaseSensitive = $rawEntry[0];
2185 $mw->mSynonyms = array_slice( $rawEntry, 1 );
2186 }
2187
2188 # Italic is unsuitable for some languages
2189 function emphasize( $text ) {
2190 return '<em>'.$text.'</em>';
2191 }
2192
2193
2194 # Normally we use the plain ASCII digits. Some languages such as Arabic will
2195 # want to output numbers using script-appropriate characters: override this
2196 # function with a translator. See LanguageAr.php for an example.
2197 function formatNum( $number ) {
2198 return $number;
2199 }
2200
2201 function listToText( $l ) {
2202 $s = '';
2203 $m = count($l) - 1;
2204 for ($i = $m; $i >= 0; $i--) {
2205 if ($i == $m) {
2206 $s = $l[$i];
2207 } else if ($i == $m - 1) {
2208 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s;
2209 } else {
2210 $s = $l[$i] . ', ' . $s;
2211 }
2212 }
2213 return $s;
2214 }
2215
2216 # Crop a string from the beginning or end to a certain number of bytes.
2217 # (Bytes are used because our storage has limited byte lengths for some
2218 # columns in the database.) Multibyte charsets will need to make sure that
2219 # only whole characters are included!
2220 #
2221 # $length does not include the optional ellipsis.
2222 # If $length is negative, snip from the beginning
2223 function truncate( $string, $length, $ellipsis = '' ) {
2224 if( $length == 0 ) {
2225 return $ellipsis;
2226 }
2227 if ( strlen( $string ) <= abs( $length ) ) {
2228 return $string;
2229 }
2230 if( $length > 0 ) {
2231 $string = substr( $string, 0, $length );
2232 return $string . $ellipsis;
2233 } else {
2234 $string = substr( $string, $length );
2235 return $ellipsis . $string;
2236 }
2237 }
2238
2239 # Grammatical transformations, needed for inflected languages
2240 # Invoked by putting {{grammar:case|word}} in a message
2241 function convertGrammar( $word, $case ) {
2242 return $word;
2243 }
2244
2245 # languages like Chinese need to be segmented in order for the diff
2246 # to be of any use
2247 function segmentForDiff( $text ) {
2248 return $text;
2249 }
2250 # and unsegment to show the result
2251 function unsegmentForDiff( $text ) {
2252 return $text;
2253 }
2254
2255 # convert text to different variants of a language.
2256 function convert( $text , $isTitle=false) {
2257 return $text;
2258 }
2259
2260 # returns a list of language variants for conversion.
2261 # right now mainly used in the Chinese conversion
2262 function getVariants() {
2263 $lang = strtolower( substr( get_class( $this ), 8 ) );
2264 return array( $lang );
2265 }
2266
2267 # in case some variant is not defined in the markup, we need
2268 # to have some fallback. for example, in zh, normally people
2269 # will define zh-cn and zh-tw, but less so for zh-sg or zh-hk.
2270 # when zh-sg is preferred but not defined, we will pick zh-cn
2271 # in this case. right now this is only used by zh.
2272 function getVariantFallback( $v ) {
2273 return false;
2274 }
2275
2276 function getPreferredVariant() {
2277 return strtolower( substr( get_class( $this ), 8 ) );
2278 }
2279
2280 /* if a language supports multiple variants, it is
2281 possible that non-existing link in one variant
2282 actually exists in another variant. this function
2283 tries to find it. See e.g. LanguageZh.php
2284
2285 */
2286 function findVariantLink( &$link, &$nt ) {
2287 return;
2288 }
2289
2290 /*
2291 returns an array of extra options used by User::getPageRenderHash()
2292 */
2293 function getExtraHashOptions() {
2294 return '';
2295 }
2296
2297 /**
2298 * A regular expression to match legal word-trailing characters
2299 * which should be merged onto a link of the form [[foo]]bar.
2300 * FIXME
2301 *
2302 * @return string
2303 * @access public
2304 */
2305 function linkTrail() {
2306 $trail = $this->getMessage( 'linktrail' );
2307 if( empty( $trail ) ) $trail = Language::linkTrail();
2308 return $trail;
2309 }
2310
2311 function getLangObj() {
2312 return $this;
2313 }
2314
2315 }
2316
2317 # This should fail gracefully if there's not a localization available
2318 wfSuppressWarnings();
2319 include_once( 'Language' . str_replace( '-', '_', ucfirst( $wgLanguageCode ) ) . '.php' );
2320 wfRestoreWarnings();
2321
2322 }
2323 ?>