Last modified: 2014-09-23 23:22:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42508, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40508 - [Regression] $wgAutopromote default value gone in wmf/* branches
[Regression] $wgAutopromote default value gone in wmf/* branches
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-25 16:19 UTC by K
Modified: 2014-09-23 23:22 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description K 2012-09-25 16:19:29 UTC
At least from what I can tell, $wgAutopromote's default value changed somewhere in the 1.20 series, because upgrading to MW1.20wmf11 temporarily broke the autoconfirm system.

LocalSettings.php on our system did not set a custom value for $wgAutopromote, as the default value was sufficient for our needs. The autoconfirm issue was resolved by setting $wgAutopromote in LocalSettings.php to the default value listed in the MediaWiki documentation ( http://www.mediawiki.org/wiki/Manual:$wgAutopromote ).

This suggests to me that something happened to the default value for $wgAutoconfirm (and possibly other configuration settings).
Comment 2 Solitarius 2013-03-07 17:19:22 UTC
I've update my local copy of MediaWiki to master and $wgAutopromote haven't changed since 2007 as per comment #1.

However in wmf/*, the code in includes/DefaultSettings.php is indeed commented for $wgAutopromote:

$wgAutopromote = array(
        /* test patch -- TS
        'autoconfirmed' => array( '&',
                array( APCOND_EDITCOUNT, &$wgAutoConfirmCount ),
                array( APCOND_AGE, &$wgAutoConfirmAge ),
        ), */
);

Seem to be coming from https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=commit;h=c532e81d583d3d0439fe76eea4d105d675461b56

This might be by design on the wmf/* branches. I don't know.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links