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