jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/351195 )
Change subject: Enable LoginNotify on testwiki
......................................................................
Enable LoginNotify on testwiki
Bug: T165007
Change-Id: I050df526976acd9f1c073c80e6dd0caf2ba29f35
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 11 insertions(+), 0 deletions(-)
Approvals:
Thcipriani: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 3968b56..8389287 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1923,6 +1923,11 @@
$wgDefaultUserOptions['uselivepreview'] = 1;
}
+if ( $wmgUseLoginNotify ) {
+ wfLoadExtension( 'LoginNotify' );
+ $wgLoginNotifyEnableOnSuccess = false;
+}
+
$wgDefaultUserOptions['thumbsize'] = $wmgThumbsizeIndex;
$wgDefaultUserOptions['showhiddencats'] = $wmgShowHiddenCats;
diff --git a/wmf-config/InitialiseSettings.php
b/wmf-config/InitialiseSettings.php
index 0827046..f96a3e6 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -18561,6 +18561,12 @@
'foundationwiki' => true,
],
+// Enable LoginNotify on testwiki (T165007)
+'wmgUseLoginNotify' => [
+ 'default' => false,
+ 'testwiki' => true,
+],
+
'wmgUseParserMigration' => [
'default' => true,
],
--
To view, visit https://gerrit.wikimedia.org/r/351195
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I050df526976acd9f1c073c80e6dd0caf2ba29f35
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Niharika29 <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: Thcipriani <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits