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