http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90670
Revision: 90670
Author: hashar
Date: 2011-06-23 20:00:05 +0000 (Thu, 23 Jun 2011)
Log Message:
-----------
Add tooltips to the Special:Recentchanges checkboxes
follow up r83110
Modified Paths:
--------------
trunk/phase3/includes/specials/SpecialRecentchanges.php
trunk/phase3/languages/messages/MessagesEn.php
trunk/phase3/languages/messages/MessagesQqq.php
Modified: trunk/phase3/includes/specials/SpecialRecentchanges.php
===================================================================
--- trunk/phase3/includes/specials/SpecialRecentchanges.php 2011-06-23
19:57:52 UTC (rev 90669)
+++ trunk/phase3/includes/specials/SpecialRecentchanges.php 2011-06-23
20:00:05 UTC (rev 90670)
@@ -639,10 +639,15 @@
protected function namespaceFilterForm( FormOptions $opts ) {
$nsSelect = Xml::namespaceSelector( $opts['namespace'], '' );
$nsLabel = Xml::label( wfMsg( 'namespace' ), 'namespace' );
- $invert = Xml::checkLabel( wfMsg( 'invert' ), 'invert',
'nsinvert', $opts['invert'] );
+ $invert = Xml::checkLabel(
+ wfMsg( 'invert' ), 'invert', 'nsinvert',
+ $opts['invert'],
+ array( 'title' => wfMsg( 'invert_tip' ) )
+ );
$associated = Xml::checkLabel(
wfMsg( 'namespace_association' ), 'associated',
'nsassociated',
- $opts['associated']
+ $opts['associated'],
+ array( 'title' => wfMsg( 'namespace_association_tip' ) )
);
return array( $nsLabel, "$nsSelect $invert $associated" );
}
Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php 2011-06-23 19:57:52 UTC
(rev 90669)
+++ trunk/phase3/languages/messages/MessagesEn.php 2011-06-23 20:00:05 UTC
(rev 90670)
@@ -2963,7 +2963,9 @@
# Namespace form on various pages
'namespace' => 'Namespace:',
'invert' => 'Invert selection',
+'invert_tip' => 'Check this box to also filter out the current
namespace selection',
'namespace_association' => 'Associated namespace',
+'namespace_association_tip' => 'Check this box to also include the talk or
subject namespace associated to your selection',
'blanknamespace' => '(Main)',
# Contributions
Modified: trunk/phase3/languages/messages/MessagesQqq.php
===================================================================
--- trunk/phase3/languages/messages/MessagesQqq.php 2011-06-23 19:57:52 UTC
(rev 90669)
+++ trunk/phase3/languages/messages/MessagesQqq.php 2011-06-23 20:00:05 UTC
(rev 90670)
@@ -2605,7 +2605,9 @@
'invert' => 'Displayed in
[[Special:RecentChanges|RecentChanges]],
[[Special:RecentChangesLinked|RecentChangesLinked]] and
[[Special:Watchlist|Watchlist]]
{{Identical|Invert selection}}',
+'invert_tip' => 'Used in [[Special:Recentchanges]] as a tooltip for the invert
checkbox. See also the \'invert\' message.',
'namespace_association' => 'Used in [[Special:Recentchanges]] with a checkbox
which selects the associated namespace to be added to the selected namespace,
so that both are searched (or excluded depending on another checkbox
selection). The association is between a namespace and its talk namespace.',
+'namespace_association_tip' => 'Used in [[Special:Recentchanges]] as a tooltip
for the associated namespace checkbox. See also namespace_association message.',
'blanknamespace' => 'Name for main namespace (blank namespace) in
drop-down menus at [[Special:RecentChanges]] and other special pages.',
# Contributions
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs