r9150 - Code Review

From MediaWiki.org

Jump to: navigation, search
Repository:MediaWiki
Revision:r9149 | r9150 (on ViewVC) | r9151 >
Date:14:38, 23 May 2005
Author:avar
Status:new
Tags:
Comment:* Added a new navbar message that holds the navigation toolbar
* Changed msg:sitesupport from "-" to "Donations" (it can be disabled in
msg:navbar now)
Modified paths:

Diff [purge]

Index: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php	(revision 9149)
+++ trunk/phase3/languages/Language.php	(revision 9150)
@@ -250,6 +250,18 @@
 global $wgRightsText;
 
 /* private */ $wgAllMessagesEn = array(
+
+# The navigation toolbar, int: is used here to make sure that the appropriate
+# messages are automatically pulled from the user-selected language file.
+'navbar' =>
+'* [[{{int:mainpage}}]]
+* [[{{int:portal-url}}|{{int:portal}}]]
+* [[{{int:currentevents-url}}|{{int:currentevents}}]]
+* [[{{int:recentchanges-url}}|{{int:recentchanges}}]]
+* [[{{int:randompage-url}}|{{int:randompage}}]]
+* [[{{int:helppage}}|{{int:help}}]]
+* [[{{int:sitesupport-url}}|{{int:sitesupport}}]]',
+
 # User preference toggles
 'tog-underline' => 'Underline links',
 'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
@@ -340,7 +352,7 @@
 'wikititlesuffix' => '{{SITENAME}}',
 'bugreports'	=> 'Bug reports',
 'bugreportspage' => 'Project:Bug_reports',
-'sitesupport'   => '-', # To enable, something like 'Donations', 
+'sitesupport'   => 'Donations',
 'sitesupport-url' => 'Project:Site support',
 'faq'			=> 'FAQ',
 'faqpage'		=> 'Project:FAQ',
Views
Toolbox