Fix http://bugzilla.wikipedia.org/show_bug.cgi?id=528 . New shorter "nosuchuser"...
[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
915 # Image list
916 #
917 'imagelist' => 'Image list',
918 'imagelisttext' => "Below is a list of $1 images sorted $2.",
919 'getimagelist' => 'fetching image list',
920 'ilshowmatch' => 'Show all images with names matching',
921 'ilsubmit' => 'Search',
922 'showlast' => "Show last $1 images sorted $2.",
923 'all' => 'all',
924 'byname' => 'by name',
925 'bydate' => 'by date',
926 'bysize' => 'by size',
927 'imgdelete' => 'del',
928 'imgdesc' => 'desc',
929 'imglegend' => 'Legend: (desc) = show/edit image description.',
930 'imghistory' => 'Image history',
931 'revertimg' => 'rev',
932 'deleteimg' => 'del',
933 'deleteimgcompletely' => 'Delete all revisions',
934 'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete
935 this old version, (rev) = revert to this old version.
936 <br /><i>Click on date to see image uploaded on that date</i>.',
937 'imagelinks' => 'Image links',
938 'linkstoimage' => 'The following pages link to this image:',
939 'nolinkstoimage' => 'There are no pages that link to this image.',
940
941 # Statistics
942 #
943 'statistics' => 'Statistics',
944 'sitestats' => 'Site statistics',
945 'userstats' => 'User statistics',
946 'sitestatstext' => "There are '''$1''' total pages in the database.
947 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
948 pages, redirects, and others that probably don't qualify as content pages.
949 Excluding those, there are '''$2''' pages that are probably legitimate
950 content pages.
951
952 There have been a total of '''$3''' page views, and '''$4''' page edits
953 since the wiki was setup.
954 That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
955 'userstatstext' => "There are '''$1''' registered users.
956 '''$2''' of these are administrators (see $3).",
957
958 # Maintenance Page
959 #
960 'maintenance' => 'Maintenance page',
961 '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 ;-)',
962 'maintenancebacklink' => 'Back to Maintenance Page',
963 'disambiguations' => 'Disambiguation pages',
964 'disambiguationspage' => "{{ns:4}}:Links_to_disambiguating_pages",
965 '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.",
966 'doubleredirects' => 'Double Redirects',
967 '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.",
968 'brokenredirects' => 'Broken Redirects',
969 'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
970 'selflinks' => 'Pages with Self Links',
971 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
972 'mispeelings' => 'Pages with misspellings',
973 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
974 'mispeelingspage' => 'List of common misspellings',
975 'missinglanguagelinks' => 'Missing Language Links',
976 'missinglanguagelinksbutton' => 'Find missing language links for',
977 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
978
979
980 # Miscellaneous special pages
981 #
982 'orphans' => 'Orphaned pages',
983 'geo' => 'GEO coordinates',
984 'validate' => 'Validate page',
985 'lonelypages' => 'Orphaned pages',
986 'uncategorizedpages' => 'Uncategorized pages',
987 'unusedimages' => 'Unused images',
988 'popularpages' => 'Popular pages',
989 'nviews' => '$1 views',
990 'wantedpages' => 'Wanted pages',
991 'nlinks' => '$1 links',
992 'allpages' => 'All pages',
993 'randompage' => 'Random page',
994 'shortpages' => 'Short pages',
995 'longpages' => 'Long pages',
996 'deadendpages' => 'Dead-end pages',
997 'listusers' => 'User list',
998 'listadmins' => 'Admins list',
999 'specialpages' => 'Special pages',
1000 'spheading' => 'Special pages for all users',
1001 'sysopspheading' => 'For sysop use only',
1002 'developerspheading' => 'For developer use only',
1003 'protectpage' => 'Protect page',
1004 'recentchangeslinked' => 'Related changes',
1005 'rclsub' => "(to pages linked from \"$1\")",
1006 'debug' => 'Debug',
1007 'newpages' => 'New pages',
1008 'ancientpages' => 'Oldest pages',
1009 'intl' => 'Interlanguage links',
1010 'move' => 'Move',
1011 'movethispage' => 'Move this page',
1012 'unusedimagestext' => '<p>Please note that other web sites may link to an image with
1013 a direct URL, and so may still be listed here despite being
1014 in active use.',
1015 'booksources' => 'Book sources',
1016 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1017 'booksourcetext' => "Below is a list of links to other sites that
1018 sell new and used books, and may also have further information
1019 about books you are looking for.
1020 {{SITENAME}} is not affiliated with any of these businesses, and
1021 this list should not be construed as an endorsement.",
1022 'isbn' => 'ISBN',
1023 'rfcurl' => "http://www.faqs.org/rfcs/rfc$1.html",
1024 'alphaindexline' => "$1 to $2",
1025 'version' => 'Version',
1026 'log' => 'Logs',
1027 'alllogstext' => 'Combined display of upload, deletion, protection, blocking, and sysop logs.
1028 You can narrow down the view by selecting a log type, the user name, or the affected page.',
1029
1030 # Special:Allpages
1031 'nextpage' => 'Next page ($1)',
1032 'articlenamespace' => '(articles)',
1033 'allpagesformtext1' => 'Display pages starting at: $1',
1034 'allpagesformtext2' => 'Choose namespace: $2 $3',
1035 'allarticles' => 'All articles',
1036 'allpagesprev' => 'Previous',
1037 'allpagesnext' => 'Next',
1038 'allpagesnamespace' => 'All pages ($1 namespace)',
1039 'allpagessubmit' => 'Go',
1040
1041 # Email this user
1042 #
1043 'mailnologin' => 'No send address',
1044 'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
1045 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
1046 to send e-mail to other users.",
1047 'emailuser' => 'E-mail this user',
1048 'emailpage' => 'E-mail user',
1049 'emailpagetext' => 'If this user has entered a valid e-mail address in
1050 his or her user preferences, the form below will send a single message.
1051 The e-mail address you entered in your user preferences will appear
1052 as the "From" address of the mail, so the recipient will be able
1053 to reply.',
1054 'usermailererror' => 'Mail object returned error: ',
1055 'defemailsubject' => "{{SITENAME}} e-mail",
1056 'noemailtitle' => 'No e-mail address',
1057 'noemailtext' => 'This user has not specified a valid e-mail address,
1058 or has chosen not to receive e-mail from other users.',
1059 'emailfrom' => 'From',
1060 'emailto' => 'To',
1061 'emailsubject' => 'Subject',
1062 'emailmessage' => 'Message',
1063 'emailsend' => 'Send',
1064 'emailsent' => 'E-mail sent',
1065 'emailsenttext' => 'Your e-mail message has been sent.',
1066
1067 # Watchlist
1068 #
1069 'watchlist' => 'My watchlist',
1070 'watchlistsub' => "(for user \"$1\")",
1071 'nowatchlist' => 'You have no items on your watchlist.',
1072 'watchnologin' => 'Not logged in',
1073 'watchnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1074 to modify your watchlist.",
1075 'addedwatch' => 'Added to watchlist',
1076 'addedwatchtext' => "The page \"$1\" has been added to your [[{{ns:-1}}:Watchlist|watchlist]].
1077 Future changes to this page and its associated Talk page will be listed there,
1078 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
1079 make it easier to pick out.
1080
1081 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1082 'removedwatch' => 'Removed from watchlist',
1083 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.",
1084 'watch' => 'Watch',
1085 'watchthispage' => 'Watch this page',
1086 'unwatch' => 'Unwatch',
1087 'unwatchthispage' => 'Stop watching',
1088 'notanarticle' => 'Not a content page',
1089 'watchnochange' => 'None of your watched items were edited in the time period displayed.',
1090 'watchdetails' => "($1 pages watched not counting talk pages;
1091 $2 total pages edited since cutoff;
1092 $3...
1093 <a href='$4'>show and edit complete list</a>.)",
1094 'watchmethod-recent'=> 'checking recent edits for watched pages',
1095 'watchmethod-list' => 'checking watched pages for recent edits',
1096 'removechecked' => 'Remove checked items from watchlist',
1097 'watchlistcontains' => "Your watchlist contains $1 pages.",
1098 'watcheditlist' => 'Here\'s an alphabetical list of your
1099 watched pages. Check the boxes of pages you want to remove
1100 from your watchlist and click the \'remove checked\' button
1101 at the bottom of the screen.',
1102 'removingchecked' => 'Removing requested items from watchlist...',
1103 'couldntremove' => "Couldn't remove item '$1'...",
1104 'iteminvalidname' => "Problem with item '$1', invalid name...",
1105 'wlnote' => "Below are the last $1 changes in the last <b>$2</b> hours.",
1106 'wlshowlast' => "Show last $1 hours $2 days $3",
1107 'wlsaved' => 'This is a saved version of your watchlist.',
1108
1109
1110 # Delete/protect/revert
1111 #
1112 'deletepage' => 'Delete page',
1113 'confirm' => 'Confirm',
1114 'excontent' => 'content was:',
1115 'exbeforeblank' => 'content before blanking was:',
1116 'exblank' => 'page was empty',
1117 'confirmdelete' => 'Confirm delete',
1118 'deletesub' => "(Deleting \"$1\")",
1119 'historywarning' => 'Warning: The page you are about to delete has a history: ',
1120 'confirmdeletetext' => "You are about to permanently delete a page
1121 or image along with all of its history from the database.
1122 Please confirm that you intend to do this, that you understand the
1123 consequences, and that you are doing this in accordance with
1124 [[{{ns:4}}:Policy]].",
1125 'confirmcheck' => 'Yes, I really want to delete this.',
1126 'actioncomplete' => 'Action complete',
1127 'deletedtext' => "\"$1\" has been deleted.
1128 See $2 for a record of recent deletions.",
1129 'deletedarticle' => "deleted \"$1\"",
1130 'dellogpage' => 'Deletion_log',
1131 'dellogpagetext' => 'Below is a list of the most recent deletions.',
1132 'deletionlog' => 'deletion log',
1133 'reverted' => 'Reverted to earlier revision',
1134 'deletecomment' => 'Reason for deletion',
1135 'imagereverted' => 'Revert to earlier version was successful.',
1136 'rollback' => 'Roll back edits',
1137 'rollback_short' => 'Rollback',
1138 'rollbacklink' => 'rollback',
1139 'rollbackfailed' => 'Rollback failed',
1140 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.',
1141 'alreadyrolled' => "Cannot rollback last edit of [[$1]]
1142 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
1143
1144 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1145 # only shown if there is an edit comment
1146 'editcomment' => "The edit comment was: \"<i>$1</i>\".",
1147 'revertpage' => "Reverted edit of $2, changed back to last version by $1",
1148 'protectlogpage' => 'Protection_log',
1149 'protectlogtext' => "Below is a list of page locks/unlocks.
1150 See [[{{ns:4}}:Protected page]] for more information.",
1151 'protectedarticle' => "protected [[$1]]",
1152 'unprotectedarticle' => "unprotected [[$1]]",
1153 'protectsub' =>"(Protecting \"$1\")",
1154 'confirmprotecttext' => 'Do you really want to protect this page?',
1155 'confirmprotect' => 'Confirm protection',
1156 'protectcomment' => 'Reason for protecting',
1157 'unprotectsub' =>"(Unprotecting \"$1\")",
1158 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
1159 'confirmunprotect' => 'Confirm unprotection',
1160 'unprotectcomment' => 'Reason for unprotecting',
1161 'protectreason' => '(give a reason)',
1162
1163 # Undelete
1164 'undelete' => 'Restore deleted page',
1165 'undeletepage' => 'View and restore deleted pages',
1166 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and
1167 can be restored. The archive may be periodically cleaned out.',
1168 'undeletearticle' => 'Restore deleted page',
1169 'undeleterevisions' => "$1 revisions archived",
1170 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history.
1171 If a new page with the same name has been created since the deletion, the restored
1172 revisions will appear in the prior history, and the current revision of the live page
1173 will not be automatically replaced.',
1174 'undeleterevision' => "Deleted revision as of $1",
1175 'undeletebtn' => 'Restore!',
1176 'undeletedarticle' => "restored \"$1\"",
1177 'undeletedtext' => "[[$1]] has been successfully restored.
1178 See [[{{ns:4}}:Deletion_log]] for a record of recent deletions and restorations.",
1179
1180 # Contributions
1181 #
1182 'contributions' => 'User contributions',
1183 'mycontris' => 'My contributions',
1184 'contribsub' => "For $1",
1185 'nocontribs' => 'No changes were found matching these criteria.',
1186 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1187 'uclinks' => "View the last $1 changes; view the last $2 days.",
1188 'uctop' => ' (top)' ,
1189 'newbies' => 'newbies',
1190
1191 # What links here
1192 #
1193 'whatlinkshere' => 'What links here',
1194 'notargettitle' => 'No target',
1195 'notargettext' => 'You have not specified a target page or user
1196 to perform this function on.',
1197 'linklistsub' => '(List of links)',
1198 'linkshere' => 'The following pages link to here:',
1199 'nolinkshere' => 'No pages link to here.',
1200 'isredirect' => 'redirect page',
1201
1202 # Block/unblock IP
1203 #
1204 'blockip' => 'Block user',
1205 'blockiptext' => "Use the form below to block write access
1206 from a specific IP address or username.
1207 This should be done only only to prevent vandalism, and in
1208 accordance with [[{{ns:4}}:Policy|policy]].
1209 Fill in a specific reason below (for example, citing particular
1210 pages that were vandalized).",
1211 'ipaddress' => 'IP Address/username',
1212 'ipbexpiry' => 'Expiry',
1213 'ipbreason' => 'Reason',
1214 'ipbsubmit' => 'Block this user',
1215 'badipaddress' => 'Invalid IP address',
1216 'noblockreason' => 'You must supply a reason for the block.',
1217 'blockipsuccesssub' => 'Block succeeded',
1218 'blockipsuccesstext' => "\"$1\" has been blocked.
1219 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1220 'unblockip' => 'Unblock user',
1221 'unblockiptext' => 'Use the form below to restore write access
1222 to a previously blocked IP address or username.',
1223 'ipusubmit' => 'Unblock this address',
1224 'ipusuccess' => "\"$1\" unblocked",
1225 'ipblocklist' => 'List of blocked IP addresses and usernames',
1226 'blocklistline' => "$1, $2 blocked $3 (expires $4)",
1227 'blocklink' => 'block',
1228 'unblocklink' => 'unblock',
1229 'contribslink' => 'contribs',
1230 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1231 'blocklogpage' => 'Block_log',
1232 'blocklogentry' => 'blocked "$1" with an expiry time of $2',
1233 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
1234 blocked IP addresses are not be listed. See the [[Special:Ipblocklist|IP block list]] for
1235 the list of currently operational bans and blocks.',
1236 'unblocklogentry' => 'unblocked "$1"',
1237 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
1238 'ipb_expiry_invalid' => 'Expiry time invalid.',
1239 'ip_range_invalid' => "Invalid IP range.\n",
1240 'proxyblocker' => 'Proxy blocker',
1241 '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.',
1242 'proxyblocksuccess' => "Done.\n",
1243
1244 # Developer tools
1245 #
1246 'lockdb' => 'Lock database',
1247 'unlockdb' => 'Unlock database',
1248 'lockdbtext' => 'Locking the database will suspend the ability of all
1249 users to edit pages, change their preferences, edit their watchlists, and
1250 other things requiring changes in the database.
1251 Please confirm that this is what you intend to do, and that you will
1252 unlock the database when your maintenance is done.',
1253 'unlockdbtext' => 'Unlocking the database will restore the ability of all
1254 users to edit pages, change their preferences, edit their watchlists, and
1255 other things requiring changes in the database.
1256 Please confirm that this is what you intend to do.',
1257 'lockconfirm' => 'Yes, I really want to lock the database.',
1258 'unlockconfirm' => 'Yes, I really want to unlock the database.',
1259 'lockbtn' => 'Lock database',
1260 'unlockbtn' => 'Unlock database',
1261 'locknoconfirm' => 'You did not check the confirmation box.',
1262 'lockdbsuccesssub' => 'Database lock succeeded',
1263 'unlockdbsuccesssub' => 'Database lock removed',
1264 'lockdbsuccesstext' => 'The database has been locked.
1265 <br />Remember to remove the lock after your maintenance is complete.',
1266 'unlockdbsuccesstext' => 'The database has been unlocked.',
1267
1268 # SQL query
1269 #
1270 'asksql' => 'SQL query',
1271 'asksqltext' => "Use the form below to make a direct query of the
1272 database.
1273 Use single quotes ('like this') to delimit string literals.
1274 This can often add considerable load to the server, so please use
1275 this function sparingly.",
1276 'sqlislogged' => 'Please note that all queries are logged.',
1277 'sqlquery' => 'Enter query',
1278 'querybtn' => 'Submit query',
1279 'selectonly' => 'Only read-only queries are allowed.',
1280 'querysuccessful' => 'Query successful',
1281
1282 # Make sysop
1283 'makesysoptitle' => 'Make a user into a sysop',
1284 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
1285 Type the name of the user in the box and press the button to make the user an administrator',
1286 'makesysopname' => 'Name of the user:',
1287 'makesysopsubmit' => 'Make this user into a sysop',
1288 'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
1289 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1290 'setbureaucratflag' => 'Set bureaucrat flag',
1291 'bureaucratlog' => 'Bureaucrat_log',
1292 'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"",
1293 'rights' => 'Rights:',
1294 'set_user_rights' => 'Set user rights',
1295 'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
1296 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1297 'makesysop' => 'Make a user into a sysop',
1298
1299 # Validation
1300 'val_clear_old' => 'Clear my other validation data for $1',
1301 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
1302 'val_form_note' => '<b>Hint:</b> Merging your data means that for the article
1303 revision you select, all options where you have specified <i>no opinion</i>
1304 will be set to the value and comment of the most recent revision for which you
1305 have expressed an opinion. For example, if you want to change a single option
1306 for a newer revision, but also keep your other settings for this article in
1307 this revision, just select which option you intend to <i>change</i>, and
1308 merging will fill in the other options with your previous settings.',
1309 'val_noop' => 'No opinion',
1310 'val_percent' => '<b>$1%</b><br>($2 of $3 points<br>by $4 users)',
1311 'val_percent_single' => '<b>$1%</b><br>($2 of $3 points<br>by one user)',
1312 'val_total' => 'Total',
1313 'val_version' => 'Version',
1314 'val_tab' => 'Validate',
1315 'val_this_is_current_version' => 'this is the latest version',
1316 'val_version_of' => "Version of $1" ,
1317 'val_table_header' => "<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>\n",
1318 'val_stat_link_text' => 'Validation statistics for this article',
1319 'val_view_version' => 'View this version',
1320 'val_validate_version' => 'Validate this version',
1321 'val_user_validations' => 'This user has validated $1 pages.',
1322 'val_no_anon_validation' => 'You have to be logged in to validate an article.',
1323 'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in the article namespace.',
1324 'val_validated' => 'Validation done.',
1325 'val_article_lists' => 'List of validated articles',
1326 'val_page_validation_statistics' => 'Page validation statistics for $1',
1327
1328 # Move page
1329 #
1330 'movepage' => 'Move page',
1331 'movepagetext' => 'Using the form below will rename a page, moving all
1332 of its history to the new name.
1333 The old title will become a redirect page to the new title.
1334 Links to the old page title will not be changed; be sure to
1335 [[Special:Maintenance|check]] for double or broken redirects.
1336 You are responsible for making sure that links continue to
1337 point where they are supposed to go.
1338
1339 Note that the page will \'\'\'not\'\'\' be moved if there is already
1340 a page at the new title, unless it is empty or a redirect and has no
1341 past edit history. This means that you can rename a page back to where
1342 it was just renamed from if you make a mistake, and you cannot overwrite
1343 an existing page.
1344
1345 <b>WARNING!</b>
1346 This can be a drastic and unexpected change for a popular page;
1347 please be sure you understand the consequences of this before
1348 proceeding.',
1349 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\'
1350 *You are moving the page across namespaces,
1351 *A non-empty talk page already exists under the new name, or
1352 *You uncheck the box below.
1353
1354 In those cases, you will have to move or merge the page manually if desired.',
1355 'movearticle' => 'Move page',
1356 'movenologin' => 'Not logged in',
1357 'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1358 to move a page.",
1359 'newtitle' => 'To new title',
1360 'movepagebtn' => 'Move page',
1361 'pagemovedsub' => 'Move succeeded',
1362 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1363 'articleexists' => 'A page of that name already exists, or the
1364 name you have chosen is not valid.
1365 Please choose another name.',
1366 'talkexists' => 'The page itself was moved successfully, but the
1367 talk page could not be moved because one already exists at the new
1368 title. Please merge them manually.',
1369 'movedto' => 'moved to',
1370 'movetalk' => 'Move "talk" page as well, if applicable.',
1371 'talkpagemoved' => 'The corresponding talk page was also moved.',
1372 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.',
1373 '1movedto2' => "$1 moved to $2",
1374 '1movedto2_redir' => '$1 moved to $2 over redirect',
1375
1376 # Export
1377
1378 'export' => 'Export pages',
1379 'exporttext' => 'You can export the text and editing history of a particular page or
1380 set of pages wrapped in some XML. In the future, this may then be imported into another
1381 wiki running MediaWiki software, although there is no support for this feature in the
1382 current version.
1383
1384 To export article pages, enter the titles in the text box below, one title per line, and
1385 select whether you want the current version as well as all old versions, with the page
1386 history lines, or just the current version with the info about the last edit.
1387
1388 In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
1389 article [[Train]].
1390 ',
1391 'exportcuronly' => 'Include only the current revision, not the full history',
1392
1393 # Namespace 8 related
1394
1395 'allmessages' => 'All system messages',
1396 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
1397
1398 # Thumbnails
1399
1400 'thumbnail-more' => 'Enlarge',
1401 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
1402
1403 # Special:Import
1404 'import' => 'Import pages',
1405 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
1406 'importfailed' => "Import failed: $1",
1407 'importnotext' => 'Empty or no text',
1408 'importsuccess' => 'Import succeeded!',
1409 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
1410
1411 # Keyboard access keys for power users
1412 'accesskey-search' => 'f',
1413 'accesskey-minoredit' => 'i',
1414 'accesskey-save' => 's',
1415 'accesskey-preview' => 'p',
1416 'accesskey-compareselectedversions' => 'v',
1417
1418 # tooltip help for some actions, most are in Monobook.js
1419 'tooltip-search' => 'Search this wiki [alt-f]',
1420 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
1421 'tooltip-save' => 'Save your changes [alt-s]',
1422 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
1423 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
1424
1425 # stylesheets
1426
1427 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
1428 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
1429
1430 # Metadata
1431 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',
1432 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.',
1433 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.',
1434
1435 # Attribution
1436
1437 'anonymous' => "Anonymous user(s) of $wgSitename",
1438 'siteuser' => "$wgSitename user $1",
1439 'lastmodifiedby' => "This page was last modified $1 by $2.",
1440 'and' => 'and',
1441 'othercontribs' => "Based on work by $1.",
1442 'others' => 'others',
1443 'siteusers' => "$wgSitename user(s) $1",
1444 'creditspage' => 'Page credits',
1445 'nocredits' => 'There is no credits info available for this page.',
1446
1447 # Spam protection
1448
1449 'spamprotectiontitle' => 'Spam protection filter',
1450 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.',
1451 'spamprotectionmatch' => 'The following text is what triggered our spam filter: $1',
1452 'subcategorycount' => "There are $1 subcategories to this category.",
1453 'subcategorycount1' => "There is $1 subcategorie to this category.",
1454 'categoryarticlecount' => "There are $1 articles in this category.",
1455 'categoryarticlecount1' => "There is $1 article in this category.",
1456 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
1457
1458 # Info page
1459 "infosubtitle" => "Information for page",
1460 "numedits" => "Number of edits (article): $1",
1461 "numtalkedits" => "Number of edits (discussion page): $1",
1462 "numwatchers" => "Number of watchers: $1",
1463 "numauthors" => "Number of distinct authors (article): $1",
1464 "numtalkauthors" => "Number of distinct authors (discussion page): $1",
1465
1466 # Math options
1467 'mw_math_png' => 'Always render PNG',
1468 'mw_math_simple' => 'HTML if very simple or else PNG',
1469 'mw_math_html' => 'HTML if possible or else PNG',
1470 'mw_math_source' => 'Leave it as TeX (for text browsers)',
1471 'mw_math_modern' => 'Recommended for modern browsers',
1472 'mw_math_mathml' => 'MathML if possible (experimental)',
1473
1474 # Patrolling
1475 'markaspatrolleddiff' => "Mark as patrolled",
1476 'markaspatrolledlink' => "<div class='patrollink'>[$1]</div>",
1477 'markaspatrolledtext' => "Mark this article as patrolled",
1478 'markedaspatrolled' => "Marked as patrolled",
1479 'markedaspatrolledtext' => "The selected revision has been marked as patrolled.",
1480 'rcpatroldisabled' => "Recent Changes Patrol disabled",
1481 'rcpatroldisabledtext' => "The Recent Changes Patrol feature is currently disabled.",
1482
1483 # Monobook.js: tooltips and access keys for monobook
1484 'Monobook.js' => '/* tooltips and access keys */
1485 ta = new Object();
1486 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
1487 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\');
1488 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\');
1489 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\');
1490 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\');
1491 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\');
1492 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\');
1493 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1494 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1495 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\');
1496 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\');
1497 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\');
1498 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\');
1499 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\');
1500 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\');
1501 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\');
1502 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\');
1503 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\');
1504 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\');
1505 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\');
1506 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\');
1507 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\');
1508 ta[\'search\'] = new Array(\'f\',\'Search this wiki\');
1509 ta[\'p-logo\'] = new Array(\'\',\'Main Page\');
1510 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\');
1511 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\');
1512 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
1513 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\');
1514 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
1515 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
1516 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
1517 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
1518 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linking to this page\');
1519 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
1520 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
1521 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
1522 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\');
1523 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\');
1524 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\');
1525 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\');
1526 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\');
1527 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\');
1528 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\');
1529 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\');
1530 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\');
1531 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
1532 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
1533 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
1534 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
1535 ',
1536
1537 # image deletion
1538 'deletedrevision' => 'Deleted old revision $1.',
1539
1540 # browsing diffs
1541 'previousdiff' => '&larr; Go to previous diff',
1542 'nextdiff' => 'Go to next diff &rarr;',
1543
1544 'imagemaxsize' => 'Limit images on image description pages to: ',
1545 'showbigimage' => 'Download high resolution version ($1x$2, $3 KB)',
1546
1547 'newimages' => 'New images gallery',
1548
1549
1550 );
1551
1552 #--------------------------------------------------------------------------
1553 # Internationalisation code
1554 #--------------------------------------------------------------------------
1555
1556 class Language {
1557 function Language(){
1558 # Copies any missing values in the specified arrays from En to the current language
1559 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
1560 $name = get_class( $this );
1561 if( strpos( $name, 'language' ) == 0){
1562 $lang = ucfirst( substr( $name, 8 ) );
1563 foreach( $fillin as $arrname ){
1564 $langver = "{$arrname}{$lang}";
1565 $enver = "{$arrname}En";
1566 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] ))
1567 continue;
1568 foreach($GLOBALS[$enver] as $spage => $text){
1569 if( ! isset( $GLOBALS[$langver][$spage] ) )
1570 $GLOBALS[$langver][$spage] = $text;
1571 }
1572 }
1573 }
1574 }
1575
1576 function getDefaultUserOptions () {
1577 global $wgDefaultUserOptionsEn ;
1578 return $wgDefaultUserOptionsEn ;
1579 }
1580
1581 function getBookstoreList () {
1582 global $wgBookstoreListEn ;
1583 return $wgBookstoreListEn ;
1584 }
1585
1586 function getNamespaces() {
1587 global $wgNamespaceNamesEn;
1588 return $wgNamespaceNamesEn;
1589 }
1590
1591 function getNsText( $index ) {
1592 global $wgNamespaceNamesEn;
1593 return $wgNamespaceNamesEn[$index];
1594 }
1595
1596 function getNsIndex( $text ) {
1597 global $wgNamespaceNamesEn;
1598
1599 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1600 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1601 }
1602 return false;
1603 }
1604
1605 function specialPage( $name ) {
1606 return $this->getNsText( Namespace::getSpecial() ) . ':' . $name;
1607 }
1608
1609 function getQuickbarSettings() {
1610 global $wgQuickbarSettingsEn;
1611 return $wgQuickbarSettingsEn;
1612 }
1613
1614 function getSkinNames() {
1615 global $wgSkinNamesEn;
1616 return $wgSkinNamesEn;
1617 }
1618
1619 function getMathNames() {
1620 global $wgMathNamesEn;
1621 return $wgMathNamesEn;
1622 }
1623
1624 function getDateFormats() {
1625 global $wgDateFormatsEn;
1626 return $wgDateFormatsEn;
1627 }
1628
1629 function getValidationTypes() {
1630 global $wgValidationTypesEn;
1631 return $wgValidationTypesEn;
1632 }
1633
1634 function getUserToggles() {
1635 global $wgUserTogglesEn;
1636 return $wgUserTogglesEn;
1637 }
1638
1639 function getUserToggle( $tog ) {
1640 $togs =& $this->getUserToggles();
1641 return wfMsg("tog-".$tog);
1642 }
1643
1644 function getLanguageNames() {
1645 global $wgLanguageNamesEn;
1646 return $wgLanguageNamesEn;
1647 }
1648
1649 function getLanguageName( $code ) {
1650 global $wgLanguageNamesEn;
1651 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1652 return "";
1653 }
1654 return $wgLanguageNamesEn[$code];
1655 }
1656
1657 function getMonthName( $key )
1658 {
1659 global $wgMonthNamesEn;
1660 return wfMsg($wgMonthNamesEn[$key-1]);
1661 }
1662
1663 /* by default we just return base form */
1664 function getMonthNameGen( $key )
1665 {
1666 return $this->getMonthName( $key );
1667 }
1668
1669 function getMonthAbbreviation( $key )
1670 {
1671 global $wgMonthAbbreviationsEn;
1672 return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
1673 }
1674
1675 function getWeekdayName( $key )
1676 {
1677 global $wgWeekdayNamesEn;
1678 return wfMsg($wgWeekdayNamesEn[$key-1]);
1679 }
1680
1681 function userAdjust( $ts )
1682 {
1683 global $wgUser, $wgLocalTZoffset;
1684
1685 $tz = $wgUser->getOption( 'timecorrection' );
1686 if ( $tz === '' ) {
1687 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1688 $minDiff = 0;
1689 } elseif ( strpos( $tz, ':' ) !== false ) {
1690 $tzArray = explode( ':', $tz );
1691 $hrDiff = intval($tzArray[0]);
1692 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
1693 } else {
1694 $hrDiff = intval( $tz );
1695 }
1696 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1697
1698 $t = mktime( (
1699 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours
1700 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes
1701 (int)substr( $ts, 12, 2 ), # Seconds
1702 (int)substr( $ts, 4, 2 ), # Month
1703 (int)substr( $ts, 6, 2 ), # Day
1704 (int)substr( $ts, 0, 4 ) ); #Year
1705 return date( 'YmdHis', $t );
1706 }
1707
1708 function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT )
1709 {
1710 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1711
1712 $ts=wfTimestamp(TS_MW,$ts);
1713 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1714 if ( $wgUseDynamicDates ) {
1715 if ( $format == MW_DATE_USER_FORMAT ) {
1716 $datePreference = $wgUser->getOption( 'date' );
1717 } else {
1718 $options = $this->getDefaultUserOptions();
1719 $datePreference = $options['date'];
1720 }
1721 if ( $datePreference == 0 ) {
1722 $datePreference = $wgAmericanDates ? 1 : 2;
1723 }
1724 } else {
1725 $datePreference = $wgAmericanDates ? 1 : 2;
1726 }
1727
1728 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1729 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
1730 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1731
1732 switch( $datePreference ) {
1733 case 1: return "$month $day, $year";
1734 case 2: return "$day $month $year";
1735 default: return "$year $month $day";
1736 }
1737 }
1738
1739 function time( $ts, $adj = false, $seconds = false )
1740 {
1741 $ts=wfTimestamp(TS_MW,$ts);
1742
1743 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
1744
1745 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
1746 if ( $seconds ) {
1747 $t .= ':' . substr( $ts, 12, 2 );
1748 }
1749 return $this->formatNum( $t );
1750 }
1751
1752 function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT )
1753 {
1754 $ts=wfTimestamp(TS_MW,$ts);
1755
1756 return $this->time( $ts, $adj ) . ', ' . $this->date( $ts, $adj, $format );
1757 }
1758
1759 function rfc1123( $ts )
1760 {
1761 return date( 'D, d M Y H:i:s T', $ts );
1762 }
1763
1764 function getValidSpecialPages()
1765 {
1766 global $wgValidSpecialPagesEn;
1767 return $wgValidSpecialPagesEn;
1768 }
1769
1770 function getSysopSpecialPages()
1771 {
1772 global $wgSysopSpecialPagesEn;
1773 return $wgSysopSpecialPagesEn;
1774 }
1775
1776 function getDeveloperSpecialPages()
1777 {
1778 global $wgDeveloperSpecialPagesEn;
1779 return $wgDeveloperSpecialPagesEn;
1780 }
1781
1782 function getMessage( $key )
1783 {
1784 global $wgAllMessagesEn;
1785 return @$wgAllMessagesEn[$key];
1786 }
1787
1788 function getAllMessages()
1789 {
1790 global $wgAllMessagesEn;
1791 return $wgAllMessagesEn;
1792 }
1793
1794 function iconv( $in, $out, $string ) {
1795 # For most languages, this is a wrapper for iconv
1796 return iconv( $in, $out, $string );
1797 }
1798
1799 function ucfirst( $string ) {
1800 # For most languages, this is a wrapper for ucfirst()
1801 return ucfirst( $string );
1802 }
1803
1804 function lcfirst( $s ) {
1805 return strtolower( $s{0} ). substr( $s, 1 );
1806 }
1807
1808 function checkTitleEncoding( $s ) {
1809 global $wgInputEncoding;
1810
1811 # Check for UTF-8 URLs; Internet Explorer produces these if you
1812 # type non-ASCII chars in the URL bar or follow unescaped links.
1813 $ishigh = preg_match( '/[\x80-\xff]/', $s);
1814 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
1815 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
1816
1817 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
1818 return @iconv( 'UTF-8', $wgInputEncoding, $s );
1819
1820 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf )
1821 return utf8_encode( $s );
1822
1823 # Other languages can safely leave this function, or replace
1824 # it with one to detect and convert another legacy encoding.
1825 return $s;
1826 }
1827
1828 function stripForSearch( $in ) {
1829 # Some languages have special punctuation to strip out
1830 # or characters which need to be converted for MySQL's
1831 # indexing to grok it correctly. Make such changes here.
1832 return strtolower( $in );
1833 }
1834
1835 function firstChar( $s ) {
1836 # Get the first character of a string. In ASCII, return
1837 # first byte of the string. UTF8 and others have to
1838 # overload this.
1839 return $s[0];
1840 }
1841
1842 function setAltEncoding() {
1843 # Some languages may have an alternate char encoding option
1844 # (Esperanto X-coding, Japanese furigana conversion, etc)
1845 # If 'altencoding' is checked in user prefs, this gives a
1846 # chance to swap out the default encoding settings.
1847 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1848 }
1849
1850 function recodeForEdit( $s ) {
1851 # For some languages we'll want to explicitly specify
1852 # which characters make it into the edit box raw
1853 # or are converted in some way or another.
1854 # Note that if wgOutputEncoding is different from
1855 # wgInputEncoding, this text will be further converted
1856 # to wgOutputEncoding.
1857 global $wgInputEncoding, $wgEditEncoding;
1858 if( $wgEditEncoding == '' or
1859 $wgEditEncoding == $wgInputEncoding ) {
1860 return $s;
1861 } else {
1862 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
1863 }
1864 }
1865
1866 function recodeInput( $s ) {
1867 # Take the previous into account.
1868 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
1869 if($wgEditEncoding != "") {
1870 $enc = $wgEditEncoding;
1871 } else {
1872 $enc = $wgOutputEncoding;
1873 }
1874 if( $enc == $wgInputEncoding ) {
1875 return $s;
1876 } else {
1877 return $this->iconv( $enc, $wgInputEncoding, $s );
1878 }
1879 }
1880
1881 # For right-to-left language support
1882 function isRTL() { return false; }
1883
1884 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
1885 function linkPrefixExtension() { return false; }
1886
1887
1888 function &getMagicWords()
1889 {
1890 global $wgMagicWordsEn;
1891 return $wgMagicWordsEn;
1892 }
1893
1894 # Fill a MagicWord object with data from here
1895 function getMagic( &$mw )
1896 {
1897 $raw =& $this->getMagicWords();
1898 if( !isset( $raw[$mw->mId] ) ) {
1899 # Fall back to English if local list is incomplete
1900 $raw =& Language::getMagicWords();
1901 }
1902 $rawEntry = $raw[$mw->mId];
1903 $mw->mCaseSensitive = $rawEntry[0];
1904 $mw->mSynonyms = array_slice( $rawEntry, 1 );
1905 }
1906
1907 # Italic is unsuitable for some languages
1908 function emphasize( $text )
1909 {
1910 return '<em>'.$text.'</em>';
1911 }
1912
1913
1914 # Normally we use the plain ASCII digits. Some languages such as Arabic will
1915 # want to output numbers using script-appropriate characters: override this
1916 # function with a translator. See LanguageAr.php for an example.
1917 function formatNum( $number ) {
1918 return $number;
1919 }
1920
1921 function listToText( $l ) {
1922 $s = '';
1923 $m = count($l) - 1;
1924 for ($i = $m; $i >= 0; $i--) {
1925 if ($i == $m) {
1926 $s = $l[$i];
1927 } else if ($i == $m - 1) {
1928 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s;
1929 } else {
1930 $s = $l[$i] . ', ' . $s;
1931 }
1932 }
1933 return $s;
1934 }
1935
1936 # Crop a string from the beginning or end to a certain number of bytes.
1937 # (Bytes are used because our storage has limited byte lengths for some
1938 # columns in the database.) Multibyte charsets will need to make sure that
1939 # only whole characters are included!
1940 #
1941 # $length does not include the optional ellipsis.
1942 # If $length is negative, snip from the beginning
1943 function truncate( $string, $length, $ellipsis = '' ) {
1944 if( $length == 0 ) {
1945 return $ellipsis;
1946 }
1947 if ( strlen( $string ) <= abs( $length ) ) {
1948 return $string;
1949 }
1950 if( $length > 0 ) {
1951 $string = substr( $string, 0, $length );
1952 return $string . $ellipsis;
1953 } else {
1954 $string = substr( $string, $length );
1955 return $ellipsis . $string;
1956 }
1957 }
1958
1959 # Grammatical transformations, needed for inflected languages
1960 # Invoked by putting {{grammar:case|word}} in a message
1961 function convertGrammar( $word, $case ) {
1962 return $word;
1963 }
1964
1965
1966 # convert text to different variants of a language. the automatic
1967 # conversion is done in autoConvert(). here we parse the text
1968 # marked with -{}-, which specifies special conversions of the
1969 # text that can not be accomplished in autoConvert()
1970 #
1971 # syntax of the markup:
1972 # -{code1:text1;code2:text2;...}- or
1973 # -{text}- in which case no conversion should take place for text
1974 function convert( $text ) {
1975
1976 if(sizeof($this->getVariants())<2)
1977 return $text;
1978
1979 // no conversion if redirecting
1980 if(substr($text,0,9) == "#REDIRECT") {
1981 return $text;
1982 }
1983
1984
1985 $plang = $this->getPreferredVariant();
1986
1987 $tarray = explode("-{", $text);
1988 $tfirst = array_shift($tarray);
1989 $text = $this->autoConvert($tfirst);
1990
1991 foreach($tarray as $txt) {
1992 $marked = explode("}-", $txt);
1993
1994 $choice = explode(";", $marked{0});
1995 if($choice{1}==NULL) {
1996 $text .= $choice{0};
1997 }
1998 else {
1999 foreach($choice as $c) {
2000 list($code, $content) = split(":", $c);
2001 $code = trim($code);
2002 $content = trim($content);
2003 if($code == $plang) {
2004 $text .= $content;
2005 break;
2006 }
2007 }
2008 }
2009 $text .= $this->autoConvert($marked{1});
2010 }
2011
2012 return $text;
2013 }
2014
2015 function autoConvert($text) {
2016 return $text;
2017 }
2018
2019 # see if we have a list of language variants for conversion.
2020 # right now mainly used in the Chinese conversion
2021 function getVariants() {
2022 return array();
2023 }
2024
2025
2026 function getPreferredVariant() {
2027 global $wgUser;
2028
2029 // if user logged in, get in from user's preference
2030 if($wgUser->getID()!=0)
2031 return $wgUser->getOption('variant');
2032
2033 // if we have multiple variants for this langauge,
2034 // pick the first one as default
2035 $v=$this->getVariants() ;
2036 if(!empty($v))
2037 return $v{0};
2038
2039 // otherwise there should really be just one variant,
2040 // get it from the class name
2041 $lang = strtolower(substr(get_class($this), 8));
2042 return $lang;
2043 }
2044 }
2045
2046 # This should fail gracefully if there's not a localization available
2047 @include_once( 'Language' . str_replace( '-', '_', ucfirst( $wgLanguageCode ) ) . '.php' );
2048
2049 }
2050 ?>