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