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" );
}
# 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
'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