Niharika29 has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/351195 )
Change subject: Enable LoginNotify on testwiki
......................................................................
Enable LoginNotify on testwiki
Change-Id: I050df526976acd9f1c073c80e6dd0caf2ba29f35
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/95/351195/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 2794a57..b94d99a 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -1915,6 +1915,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 775e521..5e081b9 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -18549,6 +18549,12 @@
'foundationwiki' => true,
],
+// Enable LoginNotify on testwiki
+'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: newchange
Gerrit-Change-Id: I050df526976acd9f1c073c80e6dd0caf2ba29f35
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Niharika29 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits