[MediaWiki-commits] [Gerrit] Add possibility to filter for log_action in all core logs - change (mediawiki/core)
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"
[MediaWiki-commits] [Gerrit] Add possibility to filter for log_action in all core logs - change (mediawiki/core)
MGChecker has uploaded a new change for review. https://gerrit.wikimedia.org/r/281637 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(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/37/281637/1 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