r3006 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r3005‎ | r3006 | r3007 >
Date:13:59, 7 April 2004
Author:gabrielwicke
Status:old
Tags:
Comment:
portal added, moved comments, '' instead of '-' to disable nav items
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -65,12 +65,6 @@
6666 # Language-specific text
6767 #--------------------------------------------------------------------------
6868
69 -# NOTE: To turn off "Current Events" in the sidebar,
70 -# set "currentevents" => "-"
71 -
72 -# NOTE: To turn off "Disclaimers" in the title links,
73 -# set "disclaimers" => "-"
74 -
7569 # The names of the namespaces can be set here, but the numbers
7670 # are magical, so don't change or move them! The Namespace class
7771 # encapsulates some of the magic-ness.
@@ -489,6 +483,16 @@
490484 # hyphen (-). If you need more characters, you may be able to change
491485 # the regex in MagicWord::initRegex
492486
 487+# NOTE: To turn off "Current Events" in the sidebar,
 488+# set "currentevents" => ""
 489+
 490+# NOTE: To turn off "Disclaimers" in the title links,
 491+# set "disclaimers" => ""
 492+
 493+# NOTE: To turn off "Community portal" in the title links,
 494+# set "portal" => ""
 495+
 496+
493497 /* private */ $wgAllMessagesEn = array(
494498
495499 # Bits of text used by many pages:
@@ -502,6 +506,7 @@
503507 "linktrail" => "/^([a-z]+)(.*)\$/sD",
504508 "mainpage" => "Main Page",
505509 "mainpagetext" => "Wiki software successfully installed.",
 510+'portal' => 'Community portal',
506511 "about" => "About",
507512 "aboutwikipedia" => "About {{SITENAME}}",
508513 "aboutpage" => "{{ns:4}}:About",
@@ -1508,6 +1513,7 @@
15091514 'accesskey-login' => 'l',
15101515 'accesskey-search' => 's',
15111516 'accesskey-mainpage' => '',
 1517+'accesskey-portal' => '',
15121518 'accesskey-randompage' => 'x',
15131519 'accesskey-currentevents' => '',
15141520 'accesskey-sitesupport' => '',
@@ -1539,6 +1545,7 @@
15401546 'tooltip-logout' => 'The start button',
15411547 'tooltip-search' => 'Search this wiki',
15421548 'tooltip-mainpage' => 'Visit the Main Page',
 1549+'tooltip-portal' => 'About the project, what you can do, where to find things',
15431550 'tooltip-randompage' => 'Load a random page [alt-x]',
15441551 'tooltip-currentevents' => 'Find background information on current events',
15451552 'tooltip-sitesupport' => 'Support {{SITENAME}}',

Status & tagging log