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