From 871d947ca43c5876d4be2bf02ebb86a9c59ad98d Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Tue, 30 Apr 2019 13:41:50 -0700 Subject: [PATCH] i18n: Rename 11 messages for case-compliance Can't yet enforce due to the API. * allmessagesnotsupportedDB * rcfilters-filtergroup-userExpLevel * rcfilters-filtergroup-lastRevision * number_of_watching_users_RCview * apihelp-query+allfileusages-example-B * apihelp-query+allimages-example-B * apihelp-query+alllinks-example-B * apihelp-query+allpages-example-B * apihelp-query+allredirects-example-B * apihelp-query+alltransclusions-example-B * apihelp-query+allusers-example-Y * apiwarn-wgDebugAPI Change-Id: I95961dfeb43e9cfadc867a48866af6335022572a --- includes/api/ApiMain.php | 2 +- includes/api/ApiQueryAllImages.php | 2 +- includes/api/ApiQueryAllLinks.php | 2 +- includes/api/ApiQueryAllPages.php | 2 +- includes/api/ApiQueryAllUsers.php | 2 +- includes/api/i18n/en.json | 16 ++++++++-------- includes/api/i18n/qqq.json | 16 ++++++++-------- includes/changes/ChangesList.php | 2 +- includes/specialpage/ChangesListSpecialPage.php | 4 ++-- includes/specials/SpecialAllMessages.php | 2 +- languages/i18n/en.json | 8 ++++---- languages/i18n/qqq.json | 8 ++++---- .../includes/changes/OldChangesListTest.php | 2 +- 13 files changed, 34 insertions(+), 34 deletions(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 588e31ac31..1a7175a3e0 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -1838,7 +1838,7 @@ class ApiMain extends ApiBase { */ protected function printResult( $httpCode = 0 ) { if ( $this->getConfig()->get( 'DebugAPI' ) !== false ) { - $this->addWarning( 'apiwarn-wgDebugAPI' ); + $this->addWarning( 'apiwarn-wgdebugapi' ); } $printer = $this->mPrinter; diff --git a/includes/api/ApiQueryAllImages.php b/includes/api/ApiQueryAllImages.php index acd11fd28c..40cd149181 100644 --- a/includes/api/ApiQueryAllImages.php +++ b/includes/api/ApiQueryAllImages.php @@ -406,7 +406,7 @@ class ApiQueryAllImages extends ApiQueryGeneratorBase { protected function getExamplesMessages() { return [ 'action=query&list=allimages&aifrom=B' - => 'apihelp-query+allimages-example-B', + => 'apihelp-query+allimages-example-b', 'action=query&list=allimages&aiprop=user|timestamp|url&' . 'aisort=timestamp&aidir=older' => 'apihelp-query+allimages-example-recent', diff --git a/includes/api/ApiQueryAllLinks.php b/includes/api/ApiQueryAllLinks.php index fc23caa4d5..1fc5ece35d 100644 --- a/includes/api/ApiQueryAllLinks.php +++ b/includes/api/ApiQueryAllLinks.php @@ -291,7 +291,7 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { return [ "action=query&list={$name}&{$p}from=B&{$p}prop=ids|title" - => "apihelp-$path-example-B", + => "apihelp-$path-example-b", "action=query&list={$name}&{$p}unique=&{$p}from=B" => "apihelp-$path-example-unique", "action=query&generator={$name}&g{$p}unique=&g{$p}from=B" diff --git a/includes/api/ApiQueryAllPages.php b/includes/api/ApiQueryAllPages.php index 08f3ea3f36..ba830ae964 100644 --- a/includes/api/ApiQueryAllPages.php +++ b/includes/api/ApiQueryAllPages.php @@ -342,7 +342,7 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { protected function getExamplesMessages() { return [ 'action=query&list=allpages&apfrom=B' - => 'apihelp-query+allpages-example-B', + => 'apihelp-query+allpages-example-b', 'action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info' => 'apihelp-query+allpages-example-generator', 'action=query&generator=allpages&gaplimit=2&' . diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 161cfb44d0..59e92e1538 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -393,7 +393,7 @@ class ApiQueryAllUsers extends ApiQueryBase { protected function getExamplesMessages() { return [ 'action=query&list=allusers&aufrom=Y' - => 'apihelp-query+allusers-example-Y', + => 'apihelp-query+allusers-example-y', ]; } diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index aded1f9cba..380627de91 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -486,7 +486,7 @@ "apihelp-query+allfileusages-paramvalue-prop-title": "Adds the title of the file.", "apihelp-query+allfileusages-param-limit": "How many total items to return.", "apihelp-query+allfileusages-param-dir": "The direction in which to list.", - "apihelp-query+allfileusages-example-B": "List file titles, including missing ones, with page IDs they are from, starting at B.", + "apihelp-query+allfileusages-example-b": "List file titles, including missing ones, with page IDs they are from, starting at B.", "apihelp-query+allfileusages-example-unique": "List unique file titles.", "apihelp-query+allfileusages-example-unique-generator": "Gets all file titles, marking the missing ones.", "apihelp-query+allfileusages-example-generator": "Gets pages containing the files.", @@ -507,7 +507,7 @@ "apihelp-query+allimages-param-filterbots": "How to filter files uploaded by bots. Can only be used with $1sort=timestamp. Cannot be used together with $1user.", "apihelp-query+allimages-param-mime": "What MIME types to search for, e.g. image/jpeg.", "apihelp-query+allimages-param-limit": "How many images in total to return.", - "apihelp-query+allimages-example-B": "Show a list of files starting at the letter B.", + "apihelp-query+allimages-example-b": "Show a list of files starting at the letter B.", "apihelp-query+allimages-example-recent": "Show a list of recently uploaded files, similar to [[Special:NewFiles]].", "apihelp-query+allimages-example-mimetypes": "Show a list of files with MIME type image/png or image/gif", "apihelp-query+allimages-example-generator": "Show info about 4 files starting at the letter T.", @@ -523,7 +523,7 @@ "apihelp-query+alllinks-param-namespace": "The namespace to enumerate.", "apihelp-query+alllinks-param-limit": "How many total items to return.", "apihelp-query+alllinks-param-dir": "The direction in which to list.", - "apihelp-query+alllinks-example-B": "List linked titles, including missing ones, with page IDs they are from, starting at B.", + "apihelp-query+alllinks-example-b": "List linked titles, including missing ones, with page IDs they are from, starting at B.", "apihelp-query+alllinks-example-unique": "List unique linked titles.", "apihelp-query+alllinks-example-unique-generator": "Gets all linked titles, marking the missing ones.", "apihelp-query+alllinks-example-generator": "Gets pages containing the links.", @@ -560,7 +560,7 @@ "apihelp-query+allpages-param-dir": "The direction in which to list.", "apihelp-query+allpages-param-filterlanglinks": "Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.", "apihelp-query+allpages-param-prexpiry": "Which protection expiry to filter the page on:\n;indefinite:Get only pages with indefinite protection expiry.\n;definite:Get only pages with a definite (specific) protection expiry.\n;all:Get pages with any protections expiry.", - "apihelp-query+allpages-example-B": "Show a list of pages starting at the letter B.", + "apihelp-query+allpages-example-b": "Show a list of pages starting at the letter B.", "apihelp-query+allpages-example-generator": "Show info about 4 pages starting at the letter T.", "apihelp-query+allpages-example-generator-revisions": "Show content of first 2 non-redirect pages beginning at Re.", @@ -577,7 +577,7 @@ "apihelp-query+allredirects-param-namespace": "The namespace to enumerate.", "apihelp-query+allredirects-param-limit": "How many total items to return.", "apihelp-query+allredirects-param-dir": "The direction in which to list.", - "apihelp-query+allredirects-example-B": "List target pages, including missing ones, with page IDs they are from, starting at B.", + "apihelp-query+allredirects-example-b": "List target pages, including missing ones, with page IDs they are from, starting at B.", "apihelp-query+allredirects-example-unique": "List unique target pages.", "apihelp-query+allredirects-example-unique-generator": "Gets all target pages, marking the missing ones.", "apihelp-query+allredirects-example-generator": "Gets pages containing the redirects.", @@ -610,7 +610,7 @@ "apihelp-query+alltransclusions-param-namespace": "The namespace to enumerate.", "apihelp-query+alltransclusions-param-limit": "How many total items to return.", "apihelp-query+alltransclusions-param-dir": "The direction in which to list.", - "apihelp-query+alltransclusions-example-B": "List transcluded titles, including missing ones, with page IDs they are from, starting at B.", + "apihelp-query+alltransclusions-example-b": "List transcluded titles, including missing ones, with page IDs they are from, starting at B.", "apihelp-query+alltransclusions-example-unique": "List unique transcluded titles.", "apihelp-query+alltransclusions-example-unique-generator": "Gets all transcluded titles, marking the missing ones.", "apihelp-query+alltransclusions-example-generator": "Gets pages containing the transclusions.", @@ -635,7 +635,7 @@ "apihelp-query+allusers-param-witheditsonly": "Only list users who have made edits.", "apihelp-query+allusers-param-activeusers": "Only list users active in the last $1 {{PLURAL:$1|day|days}}.", "apihelp-query+allusers-param-attachedwiki": "With $1prop=centralids, also indicate whether the user is attached with the wiki identified by this ID.", - "apihelp-query+allusers-example-Y": "List users starting at Y.", + "apihelp-query+allusers-example-y": "List users starting at Y.", "apihelp-query+authmanagerinfo-summary": "Retrieve information about the current authentication status.", "apihelp-query+authmanagerinfo-param-securitysensitiveoperation": "Test whether the user's current authentication status is sufficient for the specified security-sensitive operation.", @@ -1920,7 +1920,7 @@ "apiwarn-validationfailed-cannotset": "cannot be set by this module.", "apiwarn-validationfailed-keytoolong": "key too long (no more than $1 bytes allowed).", "apiwarn-validationfailed": "Validation error for $1: $2", - "apiwarn-wgDebugAPI": "Security Warning: $wgDebugAPI is enabled.", + "apiwarn-wgdebugapi": "Security Warning: $wgDebugAPI is enabled.", "api-feed-error-title": "Error ($1)", "api-usage-docref": "See $1 for API usage.", diff --git a/includes/api/i18n/qqq.json b/includes/api/i18n/qqq.json index 06ac6a732f..d1dcfe9b8e 100644 --- a/includes/api/i18n/qqq.json +++ b/includes/api/i18n/qqq.json @@ -459,7 +459,7 @@ "apihelp-query+allfileusages-paramvalue-prop-title": "{{doc-apihelp-paramvalue|query+allfileusages|prop|title}}", "apihelp-query+allfileusages-param-limit": "{{doc-apihelp-param|query+allfileusages|limit}}", "apihelp-query+allfileusages-param-dir": "{{doc-apihelp-param|query+allfileusages|dir}}", - "apihelp-query+allfileusages-example-B": "{{doc-apihelp-example|query+allfileusages}}", + "apihelp-query+allfileusages-example-b": "{{doc-apihelp-example|query+allfileusages}}", "apihelp-query+allfileusages-example-unique": "{{doc-apihelp-example|query+allfileusages}}", "apihelp-query+allfileusages-example-unique-generator": "{{doc-apihelp-example|query+allfileusages}}", "apihelp-query+allfileusages-example-generator": "{{doc-apihelp-example|query+allfileusages}}", @@ -479,7 +479,7 @@ "apihelp-query+allimages-param-filterbots": "{{doc-apihelp-param|query+allimages|filterbots}}", "apihelp-query+allimages-param-mime": "{{doc-apihelp-param|query+allimages|mime}}", "apihelp-query+allimages-param-limit": "{{doc-apihelp-param|query+allimages|limit}}", - "apihelp-query+allimages-example-B": "{{doc-apihelp-example|query+allimages}}", + "apihelp-query+allimages-example-b": "{{doc-apihelp-example|query+allimages}}", "apihelp-query+allimages-example-recent": "{{doc-apihelp-example|query+allimages}}", "apihelp-query+allimages-example-mimetypes": "{{doc-apihelp-example|query+allimages}}", "apihelp-query+allimages-example-generator": "{{doc-apihelp-example|query+allimages}}", @@ -494,7 +494,7 @@ "apihelp-query+alllinks-param-namespace": "{{doc-apihelp-param|query+alllinks|namespace}}", "apihelp-query+alllinks-param-limit": "{{doc-apihelp-param|query+alllinks|limit}}", "apihelp-query+alllinks-param-dir": "{{doc-apihelp-param|query+alllinks|dir}}", - "apihelp-query+alllinks-example-B": "{{doc-apihelp-example|query+alllinks}}", + "apihelp-query+alllinks-example-b": "{{doc-apihelp-example|query+alllinks}}", "apihelp-query+alllinks-example-unique": "{{doc-apihelp-example|query+alllinks}}", "apihelp-query+alllinks-example-unique-generator": "{{doc-apihelp-example|query+alllinks}}", "apihelp-query+alllinks-example-generator": "{{doc-apihelp-example|query+alllinks}}", @@ -529,7 +529,7 @@ "apihelp-query+allpages-param-dir": "{{doc-apihelp-param|query+allpages|dir}}", "apihelp-query+allpages-param-filterlanglinks": "{{doc-apihelp-param|query+allpages|filterlanglinks}}", "apihelp-query+allpages-param-prexpiry": "{{doc-apihelp-param|query+allpages|prexpiry}}", - "apihelp-query+allpages-example-B": "{{doc-apihelp-example|query+allpages}}", + "apihelp-query+allpages-example-b": "{{doc-apihelp-example|query+allpages}}", "apihelp-query+allpages-example-generator": "{{doc-apihelp-example|query+allpages}}", "apihelp-query+allpages-example-generator-revisions": "{{doc-apihelp-example|query+allpages}}", "apihelp-query+allredirects-summary": "{{doc-apihelp-summary|query+allredirects}}", @@ -545,7 +545,7 @@ "apihelp-query+allredirects-param-namespace": "{{doc-apihelp-param|query+allredirects|namespace}}", "apihelp-query+allredirects-param-limit": "{{doc-apihelp-param|query+allredirects|limit}}", "apihelp-query+allredirects-param-dir": "{{doc-apihelp-param|query+allredirects|dir}}", - "apihelp-query+allredirects-example-B": "{{doc-apihelp-example|query+allredirects}}", + "apihelp-query+allredirects-example-b": "{{doc-apihelp-example|query+allredirects}}", "apihelp-query+allredirects-example-unique": "{{doc-apihelp-example|query+allredirects}}", "apihelp-query+allredirects-example-unique-generator": "{{doc-apihelp-example|query+allredirects}}", "apihelp-query+allredirects-example-generator": "{{doc-apihelp-example|query+allredirects}}", @@ -575,7 +575,7 @@ "apihelp-query+alltransclusions-param-namespace": "{{doc-apihelp-param|query+alltransclusions|namespace}}", "apihelp-query+alltransclusions-param-limit": "{{doc-apihelp-param|query+alltransclusions|limit}}", "apihelp-query+alltransclusions-param-dir": "{{doc-apihelp-param|query+alltransclusions|dir}}", - "apihelp-query+alltransclusions-example-B": "{{doc-apihelp-example|query+alltransclusions}}", + "apihelp-query+alltransclusions-example-b": "{{doc-apihelp-example|query+alltransclusions}}", "apihelp-query+alltransclusions-example-unique": "{{doc-apihelp-example|query+alltransclusions}}", "apihelp-query+alltransclusions-example-unique-generator": "{{doc-apihelp-example|query+alltransclusions}}", "apihelp-query+alltransclusions-example-generator": "{{doc-apihelp-example|query+alltransclusions}}", @@ -599,7 +599,7 @@ "apihelp-query+allusers-param-witheditsonly": "{{doc-apihelp-param|query+allusers|witheditsonly}}", "apihelp-query+allusers-param-activeusers": "{{doc-apihelp-param|query+allusers|activeusers|params=* $1 - Value of [[mw:Manual:$wgActiveUserDays]]|paramstart=2}}", "apihelp-query+allusers-param-attachedwiki": "{{doc-apihelp-param|query+allusers|attachedwiki}}", - "apihelp-query+allusers-example-Y": "{{doc-apihelp-example|query+allusers}}", + "apihelp-query+allusers-example-y": "{{doc-apihelp-example|query+allusers}}", "apihelp-query+authmanagerinfo-summary": "{{doc-apihelp-summary|query+authmanagerinfo}}", "apihelp-query+authmanagerinfo-param-securitysensitiveoperation": "{{doc-apihelp-param|query+authmanagerinfo|securitysensitiveoperation}}", "apihelp-query+authmanagerinfo-param-requestsfor": "{{doc-apihelp-param|query+authmanagerinfo|requestsfor}}", @@ -1808,7 +1808,7 @@ "apiwarn-validationfailed-cannotset": "{{doc-apierror}}\n\nUsed with {{msg-mw|apiwarn-validationfailed}}.", "apiwarn-validationfailed-keytoolong": "{{doc-apierror}}\n\nUsed with {{msg-mw|apiwarn-validationfailed}}.\n\nParameters:\n* $1 - Maximum allowed key length in bytes.", "apiwarn-validationfailed": "{{doc-apierror}}\n\nParameters:\n* $1 - User preference name.\n* $2 - Failure message, such as {{msg-mw|apiwarn-validationfailed-badpref}}. Probably already ends with punctuation", - "apiwarn-wgDebugAPI": "{{doc-apierror}}", + "apiwarn-wgdebugapi": "{{doc-apierror}}", "api-feed-error-title": "Used as a feed item title when an error occurs in action=feedwatchlist.\n\nParameters:\n* $1 - API error code\n{{Identical|Error}}", "api-usage-docref": "\n\nParameters:\n* $1 - URL of the API auto-generated documentation.", "api-usage-mailinglist-ref": "{{doc-apierror}} Also used in the error response.", diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php index 6f6887bfa3..37a49bee08 100644 --- a/includes/changes/ChangesList.php +++ b/includes/changes/ChangesList.php @@ -640,7 +640,7 @@ class ChangesList extends ContextSource { return $this->watchMsgCache->getWithSetCallback( "watching-users-msg:$count", function () use ( $count ) { - return $this->msg( 'number_of_watching_users_RCview' ) + return $this->msg( 'number-of-watching-users-for-recent-changes' ) ->numParams( $count )->escaped(); } ); diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index 2470b41419..a9debb3b89 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -159,7 +159,7 @@ abstract class ChangesListSpecialPage extends SpecialPage { [ 'name' => 'userExpLevel', - 'title' => 'rcfilters-filtergroup-userExpLevel', + 'title' => 'rcfilters-filtergroup-user-experience-level', 'class' => ChangesListStringOptionsFilterGroup::class, 'isFullCoverage' => true, 'filters' => [ @@ -354,7 +354,7 @@ abstract class ChangesListSpecialPage extends SpecialPage { [ 'name' => 'lastRevision', - 'title' => 'rcfilters-filtergroup-lastRevision', + 'title' => 'rcfilters-filtergroup-lastrevision', 'class' => ChangesListBooleanFilterGroup::class, 'priority' => -7, 'filters' => [ diff --git a/includes/specials/SpecialAllMessages.php b/includes/specials/SpecialAllMessages.php index 878440db39..511b2e83a7 100644 --- a/includes/specials/SpecialAllMessages.php +++ b/includes/specials/SpecialAllMessages.php @@ -43,7 +43,7 @@ class SpecialAllMessages extends SpecialPage { $this->setHeaders(); if ( !$this->getConfig()->get( 'UseDatabaseMessages' ) ) { - $out->addWikiMsg( 'allmessagesnotsupportedDB' ); + $out->addWikiMsg( 'allmessages-not-supported-database' ); return; } diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 1aa5c4b5f2..aca512b36c 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1490,7 +1490,7 @@ "rcfilters-filter-editsbyself-description": "Your own contributions.", "rcfilters-filter-editsbyother-label": "Changes by others", "rcfilters-filter-editsbyother-description": "All changes except your own.", - "rcfilters-filtergroup-userExpLevel": "User registration and experience", + "rcfilters-filtergroup-user-experience-level": "User registration and experience", "rcfilters-filter-user-experience-level-registered-label": "Registered", "rcfilters-filter-user-experience-level-registered-description": "Logged-in editors.", "rcfilters-filter-user-experience-level-unregistered-label": "Unregistered", @@ -1542,7 +1542,7 @@ "rcfilters-hideminor-conflicts-typeofchange-global": "The \"Minor edits\" filter conflicts with one or more Type of change filters, because certain types of change cannot be designated as \"minor\". The conflicting filters are marked in the Active filters area, above.", "rcfilters-hideminor-conflicts-typeofchange": "Certain types of change cannot be designated as \"minor\", so this filter conflicts with the following Type of Change filters: $1", "rcfilters-typeofchange-conflicts-hideminor": "This Type of change filter conflicts with the \"Minor edits\" filter. Certain types of change cannot be designated as \"minor\".", - "rcfilters-filtergroup-lastRevision": "Latest revisions", + "rcfilters-filtergroup-lastrevision": "Latest revisions", "rcfilters-filter-lastrevision-label": "Latest revision", "rcfilters-filter-lastrevision-description": "Only the most recent change to a page.", "rcfilters-filter-previousrevision-label": "Not the latest revision", @@ -1606,7 +1606,7 @@ "newpageletter": "N", "boteditletter": "b", "unpatrolledletter": "!", - "number_of_watching_users_RCview": "[$1]", + "number-of-watching-users-for-recent-changes": "[$1]", "rc-change-size": "$1", "rc-change-size-new": "$1 {{PLURAL:$1|byte|bytes}} after change", "newsectionsummary": "/* $1 */ new section", @@ -2857,7 +2857,7 @@ "allmessagesdefault": "Default message text", "allmessagescurrent": "Current message text", "allmessagestext": "This is a list of system messages available in the MediaWiki namespace.\nPlease visit [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation MediaWiki Localisation] and [https://translatewiki.net translatewiki.net] if you wish to contribute to the generic MediaWiki localisation.", - "allmessagesnotsupportedDB": "This page cannot be used because $wgUseDatabaseMessages has been disabled.", + "allmessages-not-supported-database": "This page cannot be used because $wgUseDatabaseMessages has been disabled.", "allmessages-filter-legend": "Filter", "allmessages-filter": "Filter by customization state:", "allmessages-filter-unmodified": "Unmodified", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 6f8e022439..71073083f9 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -1697,7 +1697,7 @@ "rcfilters-filter-editsbyself-description": "Description for the filter for showing edits made by the current user.", "rcfilters-filter-editsbyother-label": "Label for the filter for showing edits made by anyone other than the current user.", "rcfilters-filter-editsbyother-description": "Description for the filter for showing edits made by anyone other than the current user.", - "rcfilters-filtergroup-userExpLevel": "Title for the filter group for user experience levels.", + "rcfilters-filtergroup-user-experience-level": "Title for the filter group for user experience levels.", "rcfilters-filter-user-experience-level-registered-label": "Label for the filter for showing edits made by logged-in editors.", "rcfilters-filter-user-experience-level-registered-description": "Description for the filter for showing edits made by logged-in editors.", "rcfilters-filter-user-experience-level-unregistered-label": "Label for the filter for showing edits made by anonymous editors.", @@ -1749,7 +1749,7 @@ "rcfilters-hideminor-conflicts-typeofchange-global": "The \"Minor edits\" filter is conflicting with one or more Type of Change filters, because certain types of change cannot be designated as \"minor.\" The conflicting filters are marked in the Active Filters area, above.\n\n\"Type of Change\" is {{msg-mw|Rcfilters-filtergroup-changetype}}.", "rcfilters-hideminor-conflicts-typeofchange": "Tooltip shown when hovering over the Minor edits tag, when a Type of Change filter is also selected.\n\n\"Minor edits\" is {{msg-mw|rcfilters-filter-minor-label}}.\n\n\"Type of change\" is {{msg-mw|rcfilters-filtergroup-changetype}}.\n\nThis indicates that no results will be shown. Parameters:\n* $1 - Comma-separated string of selected Type of Change filters, e.g. \"Category, Logged Actions\"\n* $2 - Count of selected User Experience Level filters, for PLURAL", "rcfilters-typeofchange-conflicts-hideminor": "Tooltip shown when hovering over a Type of change filter tag, when the Minor edits filter is also selected.\n\n\"Minor edits\" is {{msg-mw|rcfilters-filter-minor-label}}.\n\n\"Type of change\" is {{msg-mw|rcfilters-filtergroup-changetype}}.\n\nThis indicates that no results will be shown.", - "rcfilters-filtergroup-lastRevision": "Title for the filter group for last revision", + "rcfilters-filtergroup-lastrevision": "Title for the filter group for last revision", "rcfilters-filter-lastrevision-label": "Title for the filter for showing changes on last revision of a page.", "rcfilters-filter-lastrevision-description": "Description for the filter for showing changes on last revision of a page.", "rcfilters-filter-previousrevision-label": "Title for the filter for showing changes on previous revisions of a page.", @@ -1813,7 +1813,7 @@ "newpageletter": "Very short form of \"'''new page'''\". Used in [[Special:RecentChanges]], [[Special:Watchlist]] and [[Special:Contributions]].\n\n{{Rc single letters}}", "boteditletter": "Abbreviation of \"'''bot'''\". Appears in [[Special:RecentChanges]] and [[Special:Watchlist]].\n\n{{Rc single letters}}", "unpatrolledletter": "{{optional}}\n\nUsed in {{msg-mw|Recentchanges-label-legend}}, meaning \"unpatrolled\".\n\n{{Rc single letters}}", - "number_of_watching_users_RCview": "{{notranslate}}\nParameters:\n* $1 - number of users who are watching", + "number-of-watching-users-for-recent-changes": "{{notranslate}}\nParameters:\n* $1 - number of users who are watching", "rc-change-size": "{{optional}}\nDoes not work under $wgMiserMode ([[mwr:48986|r48986]]).\n\nParameters:\n* $1 - size of diff", "rc-change-size-new": "Tooltip when hovering a change list diff size. Parameters:\n* $1 - the resulting new size (in bytes)", "newsectionsummary": "Default summary when adding a new section to a page. Parameters:\n* $1 - section title", @@ -3064,7 +3064,7 @@ "allmessagesdefault": "The header for the lower row of each column in the table of [[Special:AllMessages]].", "allmessagescurrent": "The header for the upper row of each column in the table of [[Special:AllMessages]].", "allmessagestext": "Summary displayed at the top of [[Special:AllMessages]].", - "allmessagesnotsupportedDB": "This message is displayed on [[Special:AllMessages]] on wikis were the configuration variable $wgUseDatabaseMessages is disabled. It means that the MediaWiki namespace is not used.", + "allmessages-not-supported-database": "This message is displayed on [[Special:AllMessages]] on wikis were the configuration variable $wgUseDatabaseMessages is disabled. It means that the MediaWiki namespace is not used.", "allmessages-filter-legend": "Used in [[Special:AllMessages]].\n\n{{Identical|Filter}}", "allmessages-filter": "Option used in [[Special:AllMessages]].", "allmessages-filter-unmodified": "Used in [[Special:AllMessages]].", diff --git a/tests/phpunit/includes/changes/OldChangesListTest.php b/tests/phpunit/includes/changes/OldChangesListTest.php index 91dc731224..f4048b4f0a 100644 --- a/tests/phpunit/includes/changes/OldChangesListTest.php +++ b/tests/phpunit/includes/changes/OldChangesListTest.php @@ -143,7 +143,7 @@ class OldChangesListTest extends MediaWikiLangTestCase { $recentChange->numberofWatchingusers = 100; $line = $oldChangesList->recentChangesLine( $recentChange, false, 1 ); - $this->assertRegExp( "/(number_of_watching_users_RCview: 100)/", $line ); + $this->assertRegExp( "/(number-of-watching-users-for-recent-changes: 100)/", $line ); } public function testRecentChangesLine_watchlistCssClass() { -- 2.20.1