Added accesskey and tooltip for the "Go" button, and tooltip for the "Search" button.
authorRotem Liss <rotem@users.mediawiki.org>
Sat, 13 Oct 2007 10:21:59 +0000 (10:21 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Sat, 13 Oct 2007 10:21:59 +0000 (10:21 +0000)
RELEASE-NOTES
languages/messages/MessagesEn.php
languages/messages/MessagesHe.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc
skins/MonoBook.php

index 52deb4b..88205e1 100644 (file)
@@ -37,6 +37,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   of the strict() authentication behavior.
 * (bug 7872) Deleted revisions can now be viewed as diffs showing changes
   against the previous revision, whether currently deleted or live.
+* Added accesskey and tooltip for the "Go" button, and tooltip for the "Search"
+  button.
 
 
 === Bug fixes in 1.12 ===
index c13c450..4dd3ae2 100644 (file)
@@ -2271,6 +2271,8 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]]
 'accesskey-ca-watch'                => 'w', # don't translate or duplicate this message to other languages
 'accesskey-ca-unwatch'              => 'w', # don't translate or duplicate this message to other languages
 'accesskey-search'                  => 'f', # don't translate or duplicate this message to other languages
+'accesskey-search-go'               => 'g', # don't translate or duplicate this message to other languages
+'accesskey-search-fulltext'         => '', # don't translate or duplicate this message to other languages
 'accesskey-p-logo'                  => '', # don't translate or duplicate this message to other languages
 'accesskey-n-mainpage'              => 'z', # don't translate or duplicate this message to other languages
 'accesskey-n-portal'                => '', # don't translate or duplicate this message to other languages
@@ -2330,6 +2332,8 @@ All transwiki import actions are logged at the [[Special:Log/import|import log]]
 'tooltip-ca-watch'                => 'Add this page to your watchlist',
 'tooltip-ca-unwatch'              => 'Remove this page from your watchlist',
 '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-n-mainpage'              => 'Visit the Main Page',
 'tooltip-n-portal'                => 'About the project, what you can do, where to find things',
index d2312f9..7d8d4cd 100644 (file)
@@ -1909,6 +1909,8 @@ $1
 'tooltip-ca-watch'                => 'הוסיפו דף זה לרשימת המעקב',
 'tooltip-ca-unwatch'              => 'הסירו דף זה מרשימת המעקב',
 'tooltip-search'                  => 'חיפוש ב{{grammar:תחילית|{{SITENAME}}}}',
+'tooltip-search-go'               => 'עברו לדף בשם הזה בדיוק, אם הוא קיים',
+'tooltip-search-fulltext'         => 'חפשו טקסט זה בדפים',
 'tooltip-p-logo'                  => 'עמוד ראשי',
 'tooltip-n-mainpage'              => 'בקרו בעמוד הראשי',
 'tooltip-n-portal'                => 'אודות המיזם, איך תוכלו לעזור, איפה למצוא דברים',
index 1df2931..8b1cd20 100644 (file)
@@ -30,6 +30,8 @@ $wgIgnoredMessages = array(
        'accesskey-ca-watch',
        'accesskey-ca-unwatch',
        'accesskey-search',
+       'accesskey-search-go',
+       'accesskey-search-fulltext',
        'accesskey-p-logo',
        'accesskey-n-mainpage',
        'accesskey-n-portal',
index 8f2e905..6cc4b12 100644 (file)
@@ -1535,6 +1535,8 @@ $wgMessageStructure = array(
                'accesskey-ca-watch',
                'accesskey-ca-unwatch',
                'accesskey-search',
+               'accesskey-search-go',
+               'accesskey-search-fulltext',
                'accesskey-p-logo',
                'accesskey-n-mainpage',
                'accesskey-n-portal',
@@ -1594,6 +1596,8 @@ $wgMessageStructure = array(
                'tooltip-ca-watch',
                'tooltip-ca-unwatch',
                'tooltip-search',
+               'tooltip-search-go',
+               'tooltip-search-fulltext',
                'tooltip-p-logo',
                'tooltip-n-mainpage',
                'tooltip-n-portal',
index 398d3f7..d0148a7 100644 (file)
@@ -169,8 +169,8 @@ class MonoBookTemplate extends QuickTemplate {
                                <input id="searchInput" name="search" type="text"<?php echo $skin->tooltipAndAccesskey('search');
                                        if( isset( $this->data['search'] ) ) {
                                                ?> value="<?php $this->text('search') ?>"<?php } ?> />
-                               <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>" />&nbsp;
-                               <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>" />
+                               <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $skin->tooltipAndAccesskey( 'search-go' ); ?> />&nbsp;
+                               <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $skin->tooltipAndAccesskey( 'search-fulltext' ); ?> />
                        </div></form>
                </div>
        </div>