From e2cd504a0dea12c84c07e896f4237c3e130d9745 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 27 Jan 2009 23:09:07 +0000 Subject: [PATCH] (bug 17184) Duplicate "z" accesskey in MonoBook Also (necessarily) changed accesskey-p-logo and tooltip-p-logo so that they actually work -- previously they were just silently ignored in favor of duplicating {accesskey,tooltip}-n-mainpage. --- RELEASE-NOTES | 1 + languages/messages/MessagesEn.php | 6 +++--- skins/MonoBook.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 81a1eef50b..6279fc8a6d 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -103,6 +103,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Parser tests no longer fail when $wgExternalLinkTarget is set in LocalSettings * (bug 15391) catch DBQueryErrors on external storage insertion. This avoids error messages on save were the edit in fact is saved. +* (bug 17184) Remove duplicate "z" accesskey in MonoBook == API changes in 1.15 == * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index e4102a41d4..491c28ade4 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -2878,8 +2878,8 @@ A temporary folder is missing.', 'accesskey-search' => 'f', # do not translate or duplicate this message to other languages 'accesskey-search-go' => '', # do not translate or duplicate this message to other languages 'accesskey-search-fulltext' => '', # do not translate or duplicate this message to other languages -'accesskey-p-logo' => '', # do not translate or duplicate this message to other languages -'accesskey-n-mainpage' => 'z', # do not translate or duplicate this message to other languages +'accesskey-p-logo' => 'z', # do not translate or duplicate this message to other languages +'accesskey-n-mainpage' => '', # do not translate or duplicate this message to other languages 'accesskey-n-portal' => '', # do not translate or duplicate this message to other languages 'accesskey-n-currentevents' => '', # do not translate or duplicate this message to other languages 'accesskey-n-recentchanges' => 'r', # do not translate or duplicate this message to other languages @@ -2941,7 +2941,7 @@ You can view its source.', 'tooltip-search' => 'Search {{SITENAME}}', 'tooltip-search-go' => 'Go to a page with this exact name if exists', 'tooltip-search-fulltext' => 'Search the pages for this text', -'tooltip-p-logo' => 'Main Page', +'tooltip-p-logo' => 'Visit the Main Page', 'tooltip-n-mainpage' => 'Visit the Main Page', 'tooltip-n-portal' => 'About the project, what you can do, where to find things', 'tooltip-n-currentevents' => 'Find background information on current events', diff --git a/skins/MonoBook.php b/skins/MonoBook.php index f891996453..710d145633 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -178,7 +178,7 @@ class MonoBookTemplate extends QuickTemplate {