Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/93160
Change subject: Unbreak 'watchcreations' option default value
......................................................................
Unbreak 'watchcreations' option default value
Accidentally broken it in I79e1a275, sorry!
Change-Id: I841330ea06aaaf4701e0d59b45d7fd4505088949
---
M wmf-config/CommonSettings.php
1 file changed, 7 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/60/93160/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index e96d9d3..2569ed2 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -828,10 +828,6 @@
# Cluster-dependent files for job queue and job queue aggregator
require( getRealmSpecificFilename( "$wmfConfigDir/jobqueue.php" ) );
-if( $wgDBname != 'commonswiki' ) {
- $wgDefaultUserOptions['watchcreations'] = 1;
-}
-
if ( $wgDBname == 'nostalgiawiki' ) {
# Link back to current version from the archive funhouse
if ( ( isset( $_REQUEST['title'] ) && ( $title = $_REQUEST['title'] ) )
@@ -1780,8 +1776,13 @@
$wgDefaultUserOptions['thumbsize'] = $wmgThumbsizeIndex;
$wgDefaultUserOptions['showhiddencats'] = $wmgShowHiddenCats;
-// WMF is not hardcore enough to enable these. See bug 36316 about it.
-$wgDefaultUserOptions['watchcreations'] = 0;
+if( $wgDBname == 'commonswiki' ) {
+ $wgDefaultUserOptions['watchcreations'] = 0;
+} else {
+ $wgDefaultUserOptions['watchcreations'] = 1;
+}
+
+// WMF is not hardcore enough to enable this. See bug 36316 about it.
$wgDefaultUserOptions['watchdefault'] = 0;
if ( $wgDBname == 'strategywiki' ) {
--
To view, visit https://gerrit.wikimedia.org/r/93160
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I841330ea06aaaf4701e0d59b45d7fd4505088949
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits