Merge "RCFilters: Change tooltip messages for view buttons"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 30 Jun 2017 22:20:15 +0000 (22:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 30 Jun 2017 22:20:16 +0000 (22:20 +0000)
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuHeaderWidget.js
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterTagMultiselectWidget.js

index 966439b..606203b 100644 (file)
        "rcfilters-tag-prefix-namespace-inverted": "<strong>:not</strong> $1",
        "rcfilters-tag-prefix-tags": "#$1",
        "rcfilters-view-tags": "Tagged edits",
+       "rcfilters-view-namespaces-tooltip": "Filter results by namespace",
+       "rcfilters-view-tags-tooltip": "Filter results using edit tags",
+       "rcfilters-view-return-to-default-tooltip": "Return to main filter menu",
        "rcnotefrom": "Below {{PLURAL:$5|is the change|are the changes}} since <strong>$3, $4</strong> (up to <strong>$1</strong> shown).",
        "rclistfromreset": "Reset date selection",
        "rclistfrom": "Show new changes starting from $2, $3",
index d03da1f..d4f5285 100644 (file)
        "rcfilters-tag-prefix-namespace-inverted": "Prefix for the namespace inverted tags in [[Special:RecentChanges]]. Namespace tags use a colon (:) as prefix. Please keep this format.\n\nParameters:\n* $1 - Filter name.",
        "rcfilters-tag-prefix-tags": "Prefix for the edit tags in [[Special:RecentChanges]]. Edit tags use a hash (#) as prefix. Please keep this format.\n\nParameters:\n* $1 - Tag display name.",
        "rcfilters-view-tags": "Title for the tags view in [[Special:RecentChanges]]\n{{Identical|Tag}}",
+       "rcfilters-view-namespaces-tooltip": "Tooltip for the button that loads the namespace view in [[Special:RecentChanges]]",
+       "rcfilters-view-tags-tooltip": "Tooltip for the button that loads the tags view in [[Special:RecentChanges]]",
+       "rcfilters-view-return-to-default-tooltip": "Tooltip for the button that returns to the default filter view in [[Special:RecentChanges]]",
        "rcnotefrom": "This message is displayed at [[Special:RecentChanges]] when viewing recentchanges from some specific time.\n\nThe corresponding message is {{msg-mw|Rclistfrom}}.\n\nParameters:\n* $1 - the maximum number of changes that are displayed\n* $2 - (Optional) a date and time\n* $3 - a date\n* $4 - a time\n* $5 - Number of changes are displayed, for use with PLURAL",
        "rclistfromreset": "Used on [[Special:RecentChanges]] to reset a selection of a certain date range.",
        "rclistfrom": "Used on [[Special:RecentChanges]]. Parameters:\n* $1 - (Currently not use) date and time. The date and the time adds to the rclistfrom description.\n* $2 - time. The time adds to the rclistfrom link description (with split of date and time).\n* $3 - date. The date adds to the rclistfrom link description (with split of date and time).\n\nThe corresponding message is {{msg-mw|Rcnotefrom}}.",
index 90d6a42..12f482f 100644 (file)
@@ -1856,6 +1856,9 @@ return [
                        'rcfilters-tag-prefix-namespace-inverted',
                        'rcfilters-tag-prefix-tags',
                        'rcfilters-view-tags',
+                       'rcfilters-view-namespaces-tooltip',
+                       'rcfilters-view-tags-tooltip',
+                       'rcfilters-view-return-to-default-tooltip',
                        'blanknamespace',
                        'namespaces',
                        'invert',
index 0138884..d0ad8d5 100644 (file)
@@ -29,7 +29,7 @@
                this.backButton = new OO.ui.ButtonWidget( {
                        icon: 'previous',
                        framed: false,
-                       title: mw.msg( 'rcfilters-filterlist-title' ),
+                       title: mw.msg( 'rcfilters-view-return-to-default-tooltip' ),
                        classes: [ 'mw-rcfilters-ui-filterMenuHeaderWidget-backButton' ]
                } );
                this.backButton.toggle( this.model.getCurrentView() !== 'default' );
index 9671f5e..4bee31e 100644 (file)
                                        new OO.ui.ButtonOptionWidget( {
                                                data: 'namespaces',
                                                icon: 'article',
-                                               title: mw.msg( 'namespaces' )
+                                               title: mw.msg( 'rcfilters-view-namespaces-tooltip' )
                                        } ),
                                        new OO.ui.ButtonOptionWidget( {
                                                data: 'tags',
                                                icon: 'tag',
-                                               title: mw.msg( 'rcfilters-view-tags' )
+                                               title: mw.msg( 'rcfilters-view-tags-tooltip' )
                                        } )
                                ]
                        } );