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