From d85cba415ea2ef2abc549178fc7691081f92c74b Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Mon, 16 Jul 2018 10:00:25 +0530 Subject: [PATCH] LogEventsList: Remove unused messages MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit …and update documentation for $wgFilterLogTypes. Follows-up on Iba3c6aa5ac40dcdee0792c2d045b238b02d76521. Bug: T199657 Change-Id: I46c5836e4131423f930d59a1c5e7937339478c33 --- includes/DefaultSettings.php | 4 ++-- languages/i18n/en.json | 2 -- languages/i18n/qqq.json | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 9f9d8ba08f..7375b58ccc 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -7703,8 +7703,8 @@ $wgLogRestrictions = [ * hidden by default unless the link is clicked. Import logs will be shown by * default, and hidden when the link is clicked. * - * A message of the form log-show-hide-[type] should be added, and will be used - * for the link text. + * A message of the form logeventslist-[type]-log should be added, and will be + * used for the link text. */ $wgFilterLogTypes = [ 'patrol' => true, diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 8d5bc7200c..0114a69622 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -3107,8 +3107,6 @@ "markedaspatrollederrornotify": "Marking as patrolled failed.", "patrol-log-page": "Patrol log", "patrol-log-header": "This is a log of patrolled revisions.", - "log-show-hide-patrol": "$1 patrol log", - "log-show-hide-tag": "$1 tag log", "confirm-markpatrolled-button": "OK", "confirm-markpatrolled-top": "Mark revision $3 of $2 as patrolled?", "deletedrevision": "Deleted old revision $1", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index cc1614e7aa..6004aa1f3e 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -3307,8 +3307,6 @@ "markedaspatrollederrornotify": "Notification shown after the user has failed to mark a change as patrolled.\n\nSee also:\n* {{msg-mw|Markedaspatrollednotify}} - notification on success", "patrol-log-page": "{{doc-logpage}}", "patrol-log-header": "Text that appears above the log entries on the [[Special:log|patrol log]].", - "log-show-hide-patrol": "Used in [[Special:Log]]. Parameters:\n* $1 - link text; one of {{msg-mw|Show}} or {{msg-mw|Hide}}\n{{Related|Log-show-hide}}", - "log-show-hide-tag": "Used in [[Special:Log]]. Parameters:\n* $1 - link text; one of {{msg-mw|Show}} or {{msg-mw|Hide}}\n{{Related|Log-show-hide}}", "confirm-markpatrolled-button": "Used as Submit button text.\n{{Identical|OK}}", "confirm-markpatrolled-top": "Confirmation message on interstitial form.\n\nParameters:\n* $1 - Target page title\n* $2 - Link to target page with page title as label\n* $3 - Link to recent change diff with revision ID as label", "deletedrevision": "Used as log comment. Parameters:\n* $1 - archive name of old image", -- 2.20.1