Localisation: Gave each special page its own message
authorPranavK <pranavmk98@gmail.com>
Fri, 11 Dec 2015 12:12:03 +0000 (17:42 +0530)
committerPranavK <pranavmk98@gmail.com>
Fri, 11 Dec 2015 12:12:03 +0000 (17:42 +0530)
Bug: T45502
Change-Id: I6d41c2174a67bc9b231b6fc6209677fb84692cc5

includes/specials/SpecialActiveusers.php
includes/specials/SpecialListusers.php
includes/specials/SpecialPrefixindex.php
includes/specials/SpecialProtectedpages.php
includes/specials/SpecialProtectedtitles.php
includes/specials/SpecialWatchlist.php
includes/specials/SpecialWhatlinkshere.php
languages/i18n/en.json
languages/i18n/qqq.json

index e51b6c0..70c7a8b 100644 (file)
@@ -240,7 +240,7 @@ class ActiveUsersPager extends UsersPager {
 
                # Submit button and form bottom
                $out .= Xml::submitButton(
-                       $this->msg( 'allpagessubmit' )->text(),
+                       $this->msg( 'activeusers-submit' )->text(),
                        array( 'tabindex' => 4 )
                ) . "\n";
                $out .= Xml::closeElement( 'fieldset' );
@@ -318,3 +318,5 @@ class SpecialActiveUsers extends SpecialPage {
                return 'users';
        }
 }
+
+
index 274a95a..d43a263 100644 (file)
@@ -322,7 +322,7 @@ class UsersPager extends AlphabeticPager {
 
                # Submit button and form bottom
                $out .= Html::hidden( 'limit', $this->mLimit );
-               $out .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text() );
+               $out .= Xml::submitButton( $this->msg( 'listusers-submit' )->text() );
                Hooks::run( 'SpecialListusersHeader', array( $this, &$out ) );
                $out .= Xml::closeElement( 'fieldset' ) .
                        Xml::closeElement( 'form' );
index 2f65d69..6de394b 100644 (file)
@@ -138,7 +138,7 @@ class SpecialPrefixindex extends SpecialAllPages {
                                'stripprefix',
                                $this->stripPrefix
                        ) . ' ' .
-                       Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) .
+                       Xml::submitButton( $this->msg( 'prefixindex-submit' )->text() ) .
                        "</td>
                        </tr>";
                $out .= Xml::closeElement( 'table' );
index 0119781..7a82cd8 100644 (file)
@@ -109,7 +109,7 @@ class SpecialProtectedpages extends SpecialPage {
                        $this->getRedirectCheck( $noRedirect ) . "\n" .
                        "<br />\n" .
                        $this->getSizeLimit( $sizetype, $size ) . "\n" .
-                       Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) . "\n" .
+                       Xml::submitButton( $this->msg( 'protectedpages-submit' )->text() ) . "\n" .
                        Xml::closeElement( 'fieldset' ) .
                        Xml::closeElement( 'form' );
        }
index 85ce78f..2c79fec 100644 (file)
@@ -126,7 +126,7 @@ class SpecialProtectedtitles extends SpecialPage {
                        Html::hidden( 'title', $special ) . "&#160;\n" .
                        $this->getNamespaceMenu( $namespace ) . "&#160;\n" .
                        $this->getLevelMenu( $level ) . "&#160;\n" .
-                       "&#160;" . Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) . "\n" .
+                       "&#160;" . Xml::submitButton( $this->msg( 'protectedtitles-submit' )->text() ) . "\n" .
                        "</fieldset></form>";
        }
 
index b5e614d..e22a8e6 100644 (file)
@@ -502,7 +502,7 @@ class SpecialWatchlist extends ChangesListSpecialPage {
                        $opts['associated'],
                        array( 'title' => $this->msg( 'tooltip-namespace_association' )->text() )
                ) . "</span>\n";
-               $form .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text() ) . "\n";
+               $form .= Xml::submitButton( $this->msg( 'watchlist-submit' )->text() ) . "\n";
                foreach ( $hiddenFields as $key => $value ) {
                        $form .= Html::hidden( $key, $value ) . "\n";
                }
index 0e5ffce..25f01ee 100644 (file)
@@ -496,7 +496,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                $f .= ' ';
 
                # Submit
-               $f .= Xml::submitButton( $this->msg( 'allpagessubmit' )->text() );
+               $f .= Xml::submitButton( $this->msg( 'whatlinkshere-submit' )->text() );
 
                # Close
                $f .= Xml::closeElement( 'fieldset' ) . Xml::closeElement( 'form' ) . "\n";
index 70a2b80..75d577d 100644 (file)
        "recentchanges-legend-bot": "{{int:recentchanges-label-bot}}",
        "recentchanges-legend-unpatrolled": "{{int:recentchanges-label-unpatrolled}}",
        "recentchanges-legend-plusminus": "(<em>±123</em>)",
+       "recentchanges-submit": "Show",
        "rcnotefrom": "Below {{PLURAL:$5|is the change|are the changes}} since <strong>$3, $4</strong> (up to <strong>$1</strong> shown).",
        "rclistfrom": "Show new changes starting from $2, $3",
        "rcshowhideminor": "$1 minor edits",
        "prefixindex": "All pages with prefix",
        "prefixindex-namespace": "All pages with prefix ($1 namespace)",
        "prefixindex-summary": "",
+       "prefixindex-submit": "Show",
        "prefixindex-strip": "Strip prefix in list",
        "shortpages": "Short pages",
        "shortpages-summary": "",
        "protectedpages-performer": "Protecting user",
        "protectedpages-params": "Protection parameters",
        "protectedpages-reason": "Reason",
+       "protectedpages-submit": "Display pages",
        "protectedpages-unknown-timestamp": "Unknown",
        "protectedpages-unknown-performer": "Unknown user",
        "protectedpages-unknown-reason": "—",
        "protectedtitles": "Protected titles",
        "protectedtitles-summary": "This page lists titles that are currently protected from creation. For a list of existing pages that are protected, see [[{{#special:ProtectedPages}}|{{int:protectedpages}}]].",
        "protectedtitlesempty": "No titles are currently protected with these parameters.",
+       "protectedtitles-submit": "Display titles",
        "listusers": "User list",
        "listusers-summary": "",
        "listusers-editsonly": "Show only users with edits",
        "activeusers-hidebots": "Hide bots",
        "activeusers-hidesysops": "Hide administrators",
        "activeusers-noresult": "No users found.",
+       "activeusers-submit": "Display active users",
        "listgrouprights": "User group rights",
        "listgrouprights-summary": "The following is a list of user groups defined on this wiki, with their associated access rights.\nThere may be [[{{MediaWiki:Listgrouprights-helppage}}|additional information]] about individual rights.",
        "listgrouprights-key": "Legend:\n* <span class=\"listgrouprights-granted\">Granted right</span>\n* <span class=\"listgrouprights-revoked\">Revoked right</span>",
        "wlshowlast": "Show last $1 hours $2 days",
        "watchlistall2": "all",
        "watchlist-hide": "Hide",
+       "watchlist-submit": "Show",
        "wlshowtime": "Period of time to display:",
        "wlshowhideminor": "minor edits",
        "wlshowhidebots": "bots",
        "whatlinkshere-hidelinks": "$1 links",
        "whatlinkshere-hideimages": "$1 file links",
        "whatlinkshere-filters": "Filters",
+       "whatlinkshere-submit": "Go",
        "autoblockid": "Autoblock #$1",
        "block": "Block user",
        "unblock": "Unblock user",
        "mw-widgets-titleinput-description-redirect": "redirect to $1",
        "api-error-blacklisted": "Please choose a different, descriptive title."
 }
+
+
index fc72a4b..73b3522 100644 (file)
        "recentchanges-legend-bot": "Used as legend on [[Special:RecentChanges]] and [[Special:Watchlist]].\n\nRefers to {{msg-mw|Recentchanges-label-bot}}.",
        "recentchanges-legend-unpatrolled": "Used as legend on [[Special:RecentChanges]] and [[Special:Watchlist]].\n\nRefers to {{msg-mw|Recentchanges-label-unpatrolled}}.",
        "recentchanges-legend-plusminus": "{{optional}}\nA plus/minus sign with a number for the legend.",
+       "recentchanges-submit": "Label for submit button 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",
        "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}}.",
        "rcshowhideminor": "Option text in [[Special:RecentChanges]]. Parameters:\n* $1 - the \"show/hide\" command, with the text taken from either {{msg-mw|rcshowhideminor-show}} or {{msg-mw|rcshowhideminor-hide}}\n{{Identical|Minor edit}}",
        "mostrevisions-summary": "{{notranslate}}\nThe summary displayed at the top of [[Special:Mostrevisions]]. [[mw:Manual:Interface/Special pages summary|mw manual]].",
        "prefixindex": "{{doc-special|PrefixIndex}}\nWhen the user limits the list to a certain namespace, {{msg-mw|allinnamespace}} is used instead.",
        "prefixindex-namespace": "The page title of [[Special:PrefixIndex]] limited to a specific namespace. Similar to {{msg-mw|allinnamespace}}. $1 is the name of the namespace",
+       "prefixindex-submit": "Label on submit button in [[Special:PrefixIndex]]",
        "prefixindex-summary": "{{notranslate}}\n\nThe summary displayed at the top of [[Special:Prefixindex]]. [[mw:Manual:Interface/Special pages summary|MediaWiki manual]].",
        "prefixindex-strip": "Label for a checkbox. If the checkbox is checked, the prefix searched will be removed from the title displayed in the list. Used in [[Special:PrefixIndex]].\n\nSee the following search results:\n* [{{canonicalurl:Special:PrefixIndex|prefix=Doc&namespace=10}} Special:PrefixIndex?prefix=Doc&namespace=10] (prefix NOT stripped)\n* [{{canonicalurl:Special:PrefixIndex|prefix=Doc&namespace=10&stripprefix=1}} Special:PrefixIndex?prefix=Doc&namespace=10&stripprefix=1] (prefix stripped)",
        "shortpages": "{{doc-special|ShortPages}}",
        "protectedpages-performer": "This is a column header in the table on the page [[Special:ProtectedPages]].",
        "protectedpages-params": "This is a column header in the table on the page [[Special:ProtectedPages]].\n\nProtection parameters are:\n* {{msg-mw|Restriction-level-autoconfirmed}}\n* {{msg-mw|Restriction-level-sysop}}",
        "protectedpages-reason": "This is a column header in the table on the page [[Special:ProtectedPages]].\n{{Identical|Reason}}",
+       "protectedpages-submit": "Label on search button in [[Special:ProtectedPages]]",
        "protectedpages-unknown-timestamp": "This is shown, when the date and time is unknown for a protection on the page [[Special:ProtectedPages]].\n{{Identical|Unknown}}",
        "protectedpages-unknown-performer": "This is shown, when the protecting user is unknown for a protection on the page [[Special:ProtectedPages]].",
        "protectedpages-unknown-reason": "{{ignored}}Comment used for extremely old protection log events (before there was a reason field).",
        "protectedtitles": "{{doc-special|ProtectedTitles}}",
        "protectedtitles-summary": "Summary of [[Special:ProtectedTitles]].\n\nSee also:\n* {{msg-mw|Protectedpages-summary}}",
        "protectedtitlesempty": "Used on [[Special:ProtectedTitles]]. This text appears if the list of protected titles is empty. See the [[mw:Project:Protected_titles|help page on MediaWiki]] for more information.",
+       "protectedtitles-submit": "Label on submit button in [[Special:ProtectedTitles]]",
        "listusers": "{{doc-special|ListUsers}}",
        "listusers-summary": "{{notranslate}}\nThe summary displayed at the top of [[Special:Listusers]]. [[mw:Manual:Interface/Special pages summary|mw manual]].",
        "listusers-editsonly": "Option in [[Special:ListUsers]].",
        "activeusers-hidebots": "Used as label for checkbox in the form on [[Special:ActiveUsers]].\n\nSee also:\n* {{msg-mw|activeusers|legend for the form}}\n* {{msg-mw|activeusers-from|label for input box}}\n* {{msg-mw|activeusers-hidesysops|label for checkbox}}",
        "activeusers-hidesysops": "Used as label for checkbox in the form on [[Special:ActiveUsers]].\n\nSee also:\n* {{msg-mw|activeusers|legend for the form}}\n* {{msg-mw|activeusers-from|label for input box}}\n* {{msg-mw|activeusers-hidebots|label for checkbox}}",
        "activeusers-noresult": "identical with {{msg-mw|listusers-noresult}}",
+       "activeusers-submit": "Used as label for button in the form on [[Special:ActiveUsers]]",
        "listgrouprights": "The name of the special page [[Special:ListGroupRights]].",
        "listgrouprights-summary": "The description used on [[Special:ListGroupRights]].\n\nRefers to {{msg-mw|Listgrouprights-helppage}}.",
        "listgrouprights-key": "Footer note for the [[Special:ListGroupRights]] page",
        "wlshowlast": "Appears on [[Special:Watchlist]]. Parameters:\n* $1 - a choice of different numbers of hours (\"1 | 2 | 6 | 12\")\n* $2 - a choice of different numbers of days (\"1 | 3 | 7\" and the maximum number of days available)\nClicking on your choice changes the list of changes you see (without changing the default in my preferences).",
        "watchlistall2": "Appears on [[Special:Watchlist]], after {{msg-mw|wlshowtime}}, as the option to display all available data regardless of age.\n{{Identical|All}}",
        "watchlist-hide": "Appears on [[Special:Watchlist]]. It is the first word on a new line with checkboxes to hide/unhide options\n{{Identical|Hide}}",
+       "watchlist-submit": "Label on the submit button in [[Special:Watchlist]]",
        "wlshowtime": "Appears on [[Special:Watchlist]]. Label of a drop-down list used to specify the period of time to display in the watchlist. This period can be {{msg-mw|days}}, {{msg-mw|hours}}, or {{msg-mw|watchlistall2}}.",
        "wlshowhideminor": "Option text in [[Special:Watchlist]]. Cf. {{msg-mw|rcshowhideminor}}.\n{{Identical|Minor edit}}",
        "wlshowhidebots": "Option text in [[Special:Watchlist]]. Cf. {{msg-mw|rcshowhidebots}}.\n{{Identical|Bot}}",
        "whatlinkshere-hidelinks": "Filter option in [[Special:WhatLinksHere]]. Parameters:\n* $1 is the {{msg-mw|hide}} or {{msg-mw|show}}\n{{Identical|Link}}",
        "whatlinkshere-hideimages": "Filter option in [[Special:WhatLinksHere]]. Parameters:\n* $1 - the {{msg-mw|Hide}} or {{msg-mw|Show}}\n\nSee also:\n*{{msg-mw|Isimage}}\n*{{msg-mw|Media tip}}",
        "whatlinkshere-filters": "{{Identical|Filter}}",
+       "whatlinkshere-submit": "Label for submit button in [[Special:WhatLinksHere]]",
        "autoblockid": "Used as name of autoblock, instead of autoblocked IPs. Parameters:\n* $1 - autoblock ID",
        "block": "{{doc-special|Block}}\n{{Identical|Block user}}",
        "unblock": "{{doc-special|Unblock}}",
        "mw-widgets-titleinput-description-redirect": "Description label for a redirect in the title input widget.",
        "api-error-blacklisted": "Used as error message.\n\nFollowed by the link {{msg-mw|Mwe-upwiz-feedback-blacklist-info-prompt}}."
 }
+
+