Brian Wolff has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/384196 )
Change subject: Allow filtering newusers log on Special:Log page
......................................................................
Allow filtering newusers log on Special:Log page
Newusers log can be really spammy on some wikis. This adds it
as a filter option (Like patrol, thanks and tag logs). However
it keeps the default to be show new user logs, so the default
behaviour stays the same.
Change-Id: I54b3bfe1afc2c1e500f4630e676465cec3ad8ce3
---
M includes/DefaultSettings.php
M languages/i18n/en.json
M languages/i18n/qqq.json
3 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/96/384196/1
diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index 780976a..43288e6 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -7620,6 +7620,7 @@
$wgFilterLogTypes = [
'patrol' => true,
'tag' => true,
+ 'newusers' => false,
];
/**
diff --git a/languages/i18n/en.json b/languages/i18n/en.json
index 6bf32b2..d2f1013 100644
--- a/languages/i18n/en.json
+++ b/languages/i18n/en.json
@@ -3038,6 +3038,7 @@
"patrol-log-header": "This is a log of patrolled revisions.",
"log-show-hide-patrol": "$1 patrol log",
"log-show-hide-tag": "$1 tag log",
+ "log-show-hide-newusers": "$1 new user 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 bb40e25..ac0e891 100644
--- a/languages/i18n/qqq.json
+++ b/languages/i18n/qqq.json
@@ -3231,6 +3231,7 @@
"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}}",
+ "log-show-hide-newusers": "Used in [[Special:Log]] as a toggle to show
or hide account creations in the main log page. 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",
--
To view, visit https://gerrit.wikimedia.org/r/384196
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I54b3bfe1afc2c1e500f4630e676465cec3ad8ce3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Brian Wolff <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits