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