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