MarkTraceur has uploaded a new change for review.
https://gerrit.wikimedia.org/r/203996
Change subject: Use skin-wise privacy link method
......................................................................
Use skin-wise privacy link method
Bug: T59457
Change-Id: I1f0c94319eaa06b8815e64aaed43f338023eaa92
---
M frontend/specialpages/SpecialMWOAuth.php
M i18n/en.json
2 files changed, 1 insertion(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OAuth
refs/changes/96/203996/1
diff --git a/frontend/specialpages/SpecialMWOAuth.php
b/frontend/specialpages/SpecialMWOAuth.php
index 9f4a933..a0611d1 100644
--- a/frontend/specialpages/SpecialMWOAuth.php
+++ b/frontend/specialpages/SpecialMWOAuth.php
@@ -362,8 +362,7 @@
wfMessage( 'mwoauth-form-button-approve' )->text(),
null,
array( 'class' => 'mw-mwoauth-authorize-button
mw-ui-button mw-ui-constructive' ) );
- $privacyMessage = MWOAuthUtils::getSiteMessage(
'mwoauth-form-privacypolicy-link' );
- $form->addFooterText( wfMessage( $privacyMessage )->parse() );
+ $form->addFooterText( $this->getSkin()->privacyLink() );
$this->getOutput()->addHtml(
'<div id="mw-mwoauth-authorize-dialog"
class="mw-ui-container">' );
diff --git a/i18n/en.json b/i18n/en.json
index da808a5..cb61ba4 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -207,7 +207,6 @@
"mwoauth-form-description-allwikis-nogrants": "Hi $1,\n\n'''$2''' would
like to have basic access on your behalf on all projects of this site.",
"mwoauth-form-description-onewiki-nogrants": "Hi $1,\n\n'''$2''' would
like to have basic access on your behalf on ''$4''.",
"mwoauth-form-legal": "",
- "mwoauth-form-privacypolicy-link": "[[{{ns:Project}}:Privacy
policy|Privacy Policy]]",
"mwoauth-form-button-approve": "Allow",
"mwoauth-form-button-cancel": "Cancel",
"mwoauth-error": "Application Connection Error",
--
To view, visit https://gerrit.wikimedia.org/r/203996
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f0c94319eaa06b8815e64aaed43f338023eaa92
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/OAuth
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits