Matěj Suchánek has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/387021 )
Change subject: Add missing messages for existing vars decriptions
......................................................................
Add missing messages for existing vars decriptions
Change-Id: Ifd418c0efbcf7c21b4013d6b8a7454950d15def6
---
M i18n/en.json
M i18n/qqq.json
M includes/AbuseFilter.class.php
3 files changed, 32 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter
refs/changes/21/387021/1
diff --git a/i18n/en.json b/i18n/en.json
index df36d71..2f3e607 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -275,6 +275,10 @@
"abusefilter-edit-builder-vars-user-emailconfirm": "Time email address
was confirmed",
"abusefilter-edit-builder-vars-recent-contributors": "Last ten users to
contribute to the page",
"abusefilter-edit-builder-vars-first-contributor": "First user to
contribute to the page",
+ "abusefilter-edit-builder-vars-movedfrom-recent-contributors": "Last
ten users to contribute to move source page",
+ "abusefilter-edit-builder-vars-movedfrom-first-contributor": "First
user to contribute to move source page",
+ "abusefilter-edit-builder-vars-movedto-recent-contributors": "Last ten
users to contribute to move destination page",
+ "abusefilter-edit-builder-vars-movedto-first-contributor": "First user
to contribute to move destination page",
"abusefilter-edit-builder-vars-all-links": "All external links in the
new text",
"abusefilter-edit-builder-vars-added-links": "All external links added
in the edit",
"abusefilter-edit-builder-vars-removed-links": "All external links
removed in the edit",
@@ -289,6 +293,14 @@
"abusefilter-edit-builder-vars-restrictions-move": "Move protection
level of the page",
"abusefilter-edit-builder-vars-restrictions-create": "Create protection
of the page",
"abusefilter-edit-builder-vars-restrictions-upload": "Upload protection
of the file",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-edit": "Edit
protection level of move source page",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-move": "Move
protection level of move source page",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-create": "Create
protection of move source page",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-upload": "Upload
protection of move source file",
+ "abusefilter-edit-builder-vars-movedto-restrictions-edit": "Edit
protection level of move destination page",
+ "abusefilter-edit-builder-vars-movedto-restrictions-move": "Move
protection level of move destination page",
+ "abusefilter-edit-builder-vars-movedto-restrictions-create": "Create
protection of move destination page",
+ "abusefilter-edit-builder-vars-movedto-restrictions-upload": "Upload
protection of move destination file",
"abusefilter-edit-builder-vars-old-text-stripped": "Old page text,
stripped of any markup",
"abusefilter-edit-builder-vars-old-links": "Links in the page, before
the edit",
"abusefilter-edit-builder-vars-old-html": "Old page wikitext, parsed
into HTML",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 38f17c2..aebca13 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -320,6 +320,14 @@
"abusefilter-edit-builder-vars-restrictions-move": "This variable
contains the level of protection required to move the page. (\"Move\" here is
not a verb, but an adjective, like \"Move-related protection level\"). Abuse
filter syntax option in a dropdown from the group
{{msg-mw|abusefilter-edit-builder-group-vars}}.\n\nSee also
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-edit}},
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-create}},
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-upload}}.",
"abusefilter-edit-builder-vars-restrictions-create": "This variable
contains the level of protection required to create the page. (\"Create\" here
is not a verb, but an adjective, like \"Create-related protection level\").
Abuse filter syntax option in a dropdown from the group
{{msg-mw|abusefilter-edit-builder-group-vars}}.\n\nSee also
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-edit}},
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-move}},
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-upload}}.",
"abusefilter-edit-builder-vars-restrictions-upload": "This variable
contains the level of protection required to upload a file. (\"Upload\" here is
not a verb, but an adjective, like \"Upload-related protection level\"). Abuse
filter syntax option in a dropdown from the group
{{msg-mw|abusefilter-edit-builder-group-vars}}.\n\nSee also
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-edit}},
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-move}},
{{msg-mw|Abusefilter-edit-builder-vars-restrictions-create}}.",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-edit": "",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-move": "",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-create": "",
+ "abusefilter-edit-builder-vars-movedfrom-restrictions-upload": "",
+ "abusefilter-edit-builder-vars-movedto-restrictions-edit": "",
+ "abusefilter-edit-builder-vars-movedto-restrictions-move": "",
+ "abusefilter-edit-builder-vars-movedto-restrictions-create": "",
+ "abusefilter-edit-builder-vars-movedto-restrictions-upload": "",
"abusefilter-edit-builder-vars-old-text-stripped": "Abuse filter syntax
option in a dropdown from the group
{{msg-mw|abusefilter-edit-builder-group-vars}}.",
"abusefilter-edit-builder-vars-old-links": "Abuse filter syntax option
in a dropdown from the group {{msg-mw|abusefilter-edit-builder-group-vars}}.",
"abusefilter-edit-builder-vars-old-html": "Abuse filter syntax option
in a dropdown from the group {{msg-mw|abusefilter-edit-builder-group-vars}}.",
diff --git a/includes/AbuseFilter.class.php b/includes/AbuseFilter.class.php
index b227642..9d8a32e 100644
--- a/includes/AbuseFilter.class.php
+++ b/includes/AbuseFilter.class.php
@@ -135,6 +135,18 @@
'article_restrictions_upload' => 'restrictions-upload',
'article_recent_contributors' => 'recent-contributors',
'article_first_contributor' => 'first-contributor',
+ 'moved_from_restrictions_edit' =>
'movedfrom-restrictions-edit',
+ 'moved_from_restrictions_move' =>
'movedfrom-restrictions-move',
+ 'moved_from_restrictions_create' =>
'movedfrom-restrictions-create',
+ 'moved_from_restrictions_upload' =>
'movedfrom-restrictions-upload',
+ 'moved_from_recent_contributors' =>
'movedfrom-recent-contributors',
+ 'moved_from_first_contributor' =>
'movedfrom-first-contributor',
+ 'moved_to_restrictions_edit' =>
'movedto-restrictions-edit',
+ 'moved_to_restrictions_move' =>
'movedto-restrictions-move',
+ 'moved_to_restrictions_create' =>
'movedto-restrictions-create',
+ 'moved_to_restrictions_upload' =>
'movedto-restrictions-upload',
+ 'moved_to_recent_contributors' =>
'movedto-recent-contributors',
+ 'moved_to_first_contributor' =>
'movedto-first-contributor',
// 'old_text' => 'old-text-stripped', # Disabled,
performance
// 'old_html' => 'old-html', # Disabled, performance
'old_links' => 'old-links',
--
To view, visit https://gerrit.wikimedia.org/r/387021
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifd418c0efbcf7c21b4013d6b8a7454950d15def6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits