Dpatrick has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/303328

Change subject: Note coverage under consumer privacy policy
......................................................................

Note coverage under consumer privacy policy

Bug: T64687
Change-Id: I33a2faec36c6b2a3ea501f2d80c11daed6a2730d
---
M frontend/specialpages/SpecialMWOAuth.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OAuth 
refs/changes/28/303328/1

diff --git a/frontend/specialpages/SpecialMWOAuth.php 
b/frontend/specialpages/SpecialMWOAuth.php
index 2fed2a9..882135a 100644
--- a/frontend/specialpages/SpecialMWOAuth.php
+++ b/frontend/specialpages/SpecialMWOAuth.php
@@ -392,7 +392,7 @@
                        $params[] = $grantsText;
                }
                $form->addHeaderText( $this->msg( $msgKey, $params 
)->parseAsBlock() );
-               $form->addHeaderText( $this->msg( 'mwoauth-form-legal' 
)->text() );
+               $form->addHeaderText( $this->msg( 'mwoauth-form-legal', array( 
$cmr->get( 'name' ) ) )->text() );
 
                $form->suppressDefaultSubmit();
                $form->addButton( 'accept',
diff --git a/i18n/en.json b/i18n/en.json
index d6a0704..e7d227e 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -220,7 +220,7 @@
        "mwoauth-form-description-onewiki": "Hi $1,\n\nIn order to complete 
your request, '''$2''' needs permission to perform the following actions on 
your behalf on ''$4'':\n\n$5",
        "mwoauth-form-description-allwikis-nogrants": "Hi $1,\n\nIn order to 
complete your request, '''$2''' needs permission to access information on all 
projects of this site on your behalf. No changes will be made with your 
account.",
        "mwoauth-form-description-onewiki-nogrants": "Hi $1,\n\nIn order to 
complete your request, '''$2''' needs permission to access information on 
''$4'' on your behalf. No changes will be made with your account.",
-       "mwoauth-form-legal": "",
+       "mwoauth-form-legal": "Granting these permissions to $1 means that some 
of your information may be sent to $1 and will be used according to their 
privacy policy.",
        "mwoauth-form-button-approve": "Allow",
        "mwoauth-form-button-cancel": "Cancel",
        "mwoauth-error": "Application Connection Error",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index fc35d71..e4b78b2 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -228,7 +228,7 @@
        "mwoauth-form-description-onewiki": "Description of a form requesting 
the user authorize an OAuth consumer to use MediaWiki on their behalf, without 
any non-hidden grants.\n\nParameters:\n* $1 - the username\n* $2 - application 
name\n* $3 - application publisher\n* $4 - wiki project name\nSee also:\n* 
{{msg-mw|Mwoauth-form-description-allwikis}}\n* 
{{msg-mw|Mwoauth-form-description-onewiki}}\n* 
{{msg-mw|Mwoauth-form-description-allwikis-nogrants}}",
        "mwoauth-form-description-allwikis-nogrants": "Description of a form 
requesting the user authorize an OAuth consumer to use MediaWiki on their 
behalf, without any non-hidden grants.\n\nParameters:\n* $1 - the username\n* 
$2 - application name\n* $3 - application publisher\nSee also:\n* 
{{msg-mw|Mwoauth-form-description-allwikis}}\n* 
{{msg-mw|Mwoauth-form-description-onewiki}}\n* 
{{msg-mw|Mwoauth-form-description-onewiki-nogrants}}",
        "mwoauth-form-description-onewiki-nogrants": "Description of a form 
requesting the user authorize an OAuth consumer to use MediaWiki on their 
behalf, without any non-hidden grants.\n\nParameters:\n* $1 - the username\n* 
$2 - application name\n* $3 - application publisher\n* $4 - wiki project 
name\nSee also:\n* {{msg-mw|Mwoauth-form-description-allwikis}}\n* 
{{msg-mw|Mwoauth-form-description-onewiki}}\n* 
{{msg-mw|Mwoauth-form-description-onewiki-nogrants}}",
-       "mwoauth-form-legal": "Message used for wiki-specific legal notes. Keep 
this blank.",
+       "mwoauth-form-legal": "Message used for consumer-specific privacy 
statement.\n\nParameters:\n* $1 - application name\n",
        "mwoauth-form-button-approve": "Button label, indicating the user wants 
to allow access.\n\nSee also:\n* 
{{msg-mw|Mwoauth-form-button-cancel}}\n{{Identical|Allow}}",
        "mwoauth-form-button-cancel": "Button label, indicating the user wants 
to cancel granting access.\n\nSee also:\n* 
{{msg-mw|Mwoauth-form-button-approve}}\n{{Identical|Cancel}}",
        "mwoauth-error": "Heading on the page, whenever an OAuth error is 
presented to a user.",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33a2faec36c6b2a3ea501f2d80c11daed6a2730d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OAuth
Gerrit-Branch: master
Gerrit-Owner: Dpatrick <dpatr...@wikimedia.org>

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

Reply via email to