jenkins-bot has submitted this change and it was merged.

Change subject: Add possibility to filter for log_action in all core logs
......................................................................


Add possibility to filter for log_action in all core logs

Adds possibility to filter all core logs with multiple log_actions, Log actions
newusers and create for the newusers log are treated as one, because newusers
is the predecessor of create and they describe the same actions.

Bug: T16334
Bug: T109267
Change-Id: I04a0ef1a6b4ea90c517a11045b6bd73c26b96863
---
M includes/DefaultSettings.php
M languages/i18n/en.json
M languages/i18n/qqq.json
3 files changed, 94 insertions(+), 0 deletions(-)

Approvals:
  Florianschmidtwelzow: Looks good to me, approved
  Luke081515: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index 65032ad..8fa7c55 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -7240,11 +7240,35 @@
                'reblock' => [ 'reblock' ],
                'unblock' => [ 'unblock' ],
        ],
+       'contentmodel' => [
+               'change' => [ 'change' ],
+               'new' => [ 'new' ],
+       ],
        'delete' => [
                'delete' => [ 'delete' ],
                'restore' => [ 'restore' ],
                'event' => [ 'event' ],
                'revision' => [ 'revision' ],
+       ],
+       'import' => [
+               'interwiki' => [ 'interwiki' ],
+               'upload' => [ 'upload' ],
+       ],
+       'managetags' => [
+               'create' => [ 'create' ],
+               'delete' => [ 'delete' ],
+               'activate' => [ 'activate' ],
+               'deactivate' => [ 'deactivate' ],
+       ],
+       'move' => [
+               'move' => [ 'move' ],
+               'move_redir' => [ 'move_redir' ],
+       ],
+       'newusers' => [
+               'create' => [ 'create', 'newusers' ],
+               'create2' => ['create2' ],
+               'autocreate' => [ 'autocreate' ],
+               'byemail' => [ 'byemail' ],
        ],
        'patrol' => [
                'patrol' => [ 'patrol' ],
@@ -7254,6 +7278,18 @@
                'protect' => [ 'protect' ],
                'modify' => [ 'modify' ],
                'unprotect' => [ 'unprotect' ],
+               'move_prot' => ['move_prot'],
+       ],
+       'rights' => [
+               'rights' => [ 'rights' ],
+               'autopromote' => [ 'autopromote' ],
+       ],
+       'suppress' => [
+               'event' => [ 'event' ],
+               'revision' => [ 'revision' ],
+               'delete' => [ 'delete' ],
+               'block' => [ 'block' ],
+               'reblock' => [ 'reblock' ],
        ],
        'upload' => [
                'upload' => [ 'upload' ],
diff --git a/languages/i18n/en.json b/languages/i18n/en.json
index fe307d4..f5900a58 100644
--- a/languages/i18n/en.json
+++ b/languages/i18n/en.json
@@ -4025,23 +4025,52 @@
        "sessionprovider-nocookies": "Cookies may be disabled. Ensure you have 
cookies enabled and start again.",
        "randomrootpage": "Random root page",
        "log-action-filter-block": "Type of block:",
+       "log-action-filter-contentmodel": "Type of contentmodel modification:",
        "log-action-filter-delete": "Type of deletion:",
+       "log-action-filter-import": "Type of import:",
+       "log-action-filter-managetags": "Type of tag management action:",
+       "log-action-filter-move": "Type of move:",
+       "log-action-filter-newusers": "Type of account creation:",
        "log-action-filter-patrol": "Type of patrol:",
        "log-action-filter-protect": "Type of protection:",
+       "log-action-filter-rights": "Type of right change",
+       "log-action-filter-suppress": "Type of suppression",
        "log-action-filter-upload": "Type of upload:",
        "log-action-filter-all": "All",
        "log-action-filter-block-block": "Block",
        "log-action-filter-block-reblock": "Block modification",
        "log-action-filter-block-unblock": "Unblock",
+       "log-action-filter-contentmodel-change": "Change of Contentmodel",
+       "log-action-filter-contentmodel-new": "Creation of page with 
non-standard Contentmodel",
        "log-action-filter-delete-delete": "Page deletion",
        "log-action-filter-delete-restore": "Page undeletion",
        "log-action-filter-delete-event": "Log deletion",
        "log-action-filter-delete-revision": "Revision deletion",
+       "log-action-filter-import-interwiki": "Transwiki import",
+       "log-action-filter-import-upload": "Import by XML upload",
+       "log-action-filter-managetags-create": "Tag creation",
+       "log-action-filter-managetags-delete": "Tag deletion",
+       "log-action-filter-managetags-activate": "Tag activation",
+       "log-action-filter-managetags-deactivate": "Tag deactivation",
+       "log-action-filter-move-move": "Move without overwriting of redirects",
+       "log-action-filter-move-move_redir": "Move with overwriting of 
redirects",
+       "log-action-filter-newusers-create": "Creation by anonymous user",
+       "log-action-filter-newusers-create2": "Creation by registered user",
+       "log-action-filter-newusers-autocreate": "Automatic creation",
+       "log-action-filter-newusers-byemail": "Creation with password sent by 
e-mail",
        "log-action-filter-patrol-patrol": "Manual patrol",
        "log-action-filter-patrol-autopatrol": "Automatic patrol",
        "log-action-filter-protect-protect": "Protection",
        "log-action-filter-protect-modify": "Protection modification",
        "log-action-filter-protect-unprotect": "Unprotection",
+       "log-action-filter-protect-move_prot": "Moved protection",
+       "log-action-filter-rights-rights": "Manual change",
+       "log-action-filter-rights-autopromote": "Automatic change",
+       "log-action-filter-suppress-event": "Log suppression",
+       "log-action-filter-suppress-revision": "Revision suppression",
+       "log-action-filter-suppress-delete": "Page suppression",
+       "log-action-filter-suppress-block": "User supppression by block",
+       "log-action-filter-suppress-reblock": "User suppression by reblock",
        "log-action-filter-upload-upload": "New upload",
        "log-action-filter-upload-overwrite": "Reupload"
 }
diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json
index 2ee34bd..9e1d894 100644
--- a/languages/i18n/qqq.json
+++ b/languages/i18n/qqq.json
@@ -4201,23 +4201,52 @@
        "sessionprovider-nocookies": "Used to inform the user that sessions may 
be missing due to lack of cookies.",
        "randomrootpage": "{{doc-special|RandomRootPage}}",
        "log-action-filter-block": "Which type of action to filter for in this 
log",
+       "log-action-filter-contentmodel": "Which type of action to filter for 
in this log",
        "log-action-filter-delete": "Which type of action to filter for in this 
log",
+       "log-action-filter-import": "Which type of action to filter for in this 
log",
+       "log-action-filter-managetags": "Which type of action to filter for in 
this log",
+       "log-action-filter-move": "Which type of action to filter for in this 
log",
+       "log-action-filter-newusers": "Which type of action to filter for in 
this log",
        "log-action-filter-patrol": "Which type of action to filter for in this 
log",
        "log-action-filter-protect": "Which type of action to filter for in 
this log",
+       "log-action-filter-rights": "Which type of action to filter for in this 
log",
+       "log-action-filter-suppress": "Which type of action to filter for in 
this log",
        "log-action-filter-upload": "Which type of action to filter for in this 
log",
        "log-action-filter-all": "All types of action are 
allowed\n{{Identical|All}}",
        "log-action-filter-block-block": "Action to filter for in this 
log\n{{Identical|Block}}",
        "log-action-filter-block-reblock": "Action to filter for in this log",
        "log-action-filter-block-unblock": "Action to filter for in this 
log\n{{Identical|Unblock}}",
+       "log-action-filter-contentmodel-change": "Action to filter for in this 
log",
+       "log-action-filter-contentmodel-new": "Action to filter for in this 
log",
        "log-action-filter-delete-delete": "Action to filter for in this log",
        "log-action-filter-delete-restore": "Action to filter for in this log",
        "log-action-filter-delete-event": "Action to filter for in this log",
        "log-action-filter-delete-revision": "Action to filter for in this log",
+       "log-action-filter-import-interwiki": "Action to filter for in this 
log",
+       "log-action-filter-import-upload": "Action to filter for in this log",
+       "log-action-filter-managetags-create": "Action to filter for in this 
log",
+       "log-action-filter-managetags-delete": "Action to filter for in this 
log",
+       "log-action-filter-managetags-activate": "Action to filter for in this 
log",
+       "log-action-filter-managetags-deactivate": "Action to filter for in 
this log",
+       "log-action-filter-move-move": "Action to filter for in this log",
+       "log-action-filter-move-move_redir": "Action to filter for in this log",
+       "log-action-filter-newusers-create": "Action to filter for in this log",
+       "log-action-filter-newusers-create2": "Action to filter for in this 
log",
+       "log-action-filter-newusers-autocreate": "Action to filter for in this 
log",
+       "log-action-filter-newusers-byemail": "Action to filter for in this 
log",
        "log-action-filter-patrol-patrol": "Action to filter for in this log",
        "log-action-filter-patrol-autopatrol": "Action to filter for in this 
log",
        "log-action-filter-protect-protect": "Action to filter for in this log",
        "log-action-filter-protect-modify": "Action to filter for in this log",
        "log-action-filter-protect-unprotect": "Action to filter for in this 
log",
+       "log-action-filter-protect-move_prot": "Action to filter for in this 
log",
+       "log-action-filter-rights-rights": "Action to filter for in this log",
+       "log-action-filter-rights-autopromote": "Action to filter for in this 
log",
+       "log-action-filter-suppress-event": "Action to filter for in this log",
+       "log-action-filter-suppress-revision": "Action to filter for in this 
log",
+       "log-action-filter-suppress-delete": "Action to filter for in this log",
+       "log-action-filter-suppress-block": "Action to filter for in this log",
+       "log-action-filter-suppress-reblock": "Action to filter for in this 
log",
        "log-action-filter-upload-upload": "Action to filter for in this log",
        "log-action-filter-upload-overwrite": "Action to filter for in this log"
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/281637
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I04a0ef1a6b4ea90c517a11045b6bd73c26b96863
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MGChecker <hgasu...@gmail.com>
Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com>
Gerrit-Reviewer: Luke081515 <luke081...@web.de>
Gerrit-Reviewer: Raimond Spekking <raimond.spekk...@gmail.com>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: Umherirrender <umherirrender_de...@web.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to