Commit graph

6 commits

Author SHA1 Message Date
Reedy
6c1f642959 maintenance: Make use of BatchRowIterator::setCaller
Bug: T261014
Change-Id: I20858c486e79753a1aa62fa8cbf22afc4f59dba3
2020-09-05 12:55:11 +00:00
Reedy
c7eb28aac9 Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment
Change-Id: I50c7c93f1534e966224f98a835ca01f93eb9416d
2020-05-21 01:06:05 +00:00
Aaron Schulz
98a4fa1b37 Cleanup various calls to IDatabase::upsert()
Change-Id: Ic82154f6f62014f892a64e39b4fb6aed202f32eb
2020-02-27 15:27:29 -08:00
Umherirrender
ad776c7d5f Use ::class to resolve class names in maintenance scripts
This helps to find renamed or misspelled classes earlier.
Phan will check the class names

Change-Id: I1d4567f47f93eb1436cb98558388e48d35258666
2018-01-23 17:40:16 +00:00
Max Semenik
dac20d0ffa Introduce Maintenance::getBatchSize()
Just to isolate the internals. Fix most of usages in the core.

Change-Id: I8b3e9ca1f42b7c49ee57f17b88ca2fc7b404f342
2017-11-05 13:26:12 -08:00
Stephane Bisson
3db26d8d8b Maintenance: init a user preference based on another preference
For the ERI beta feature, we want the feature to be
enabled by default for the users who have the ORES
beta feature enabled at the time of the release.

Bug: T159007
Change-Id: Ibf0f9095c7a611a513711badf00f937ac8dc1b63
2017-03-03 11:02:58 -05:00