Introduce Maintenance::getBatchSize()
authorMax Semenik <maxsem.wiki@gmail.com>
Sun, 5 Nov 2017 08:09:51 +0000 (01:09 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Sun, 5 Nov 2017 21:26:12 +0000 (13:26 -0800)
commitdac20d0ffab5a850563d3fb02331a927e42a2bd9
treee44d4c6a4eda45f835ddbce6cab0a1b1d6c12ae0
parent5808276de3824fc918a096edfffc7c5c14a15249
Introduce Maintenance::getBatchSize()

Just to isolate the internals. Fix most of usages in the core.

Change-Id: I8b3e9ca1f42b7c49ee57f17b88ca2fc7b404f342
44 files changed:
maintenance/Maintenance.php
maintenance/checkImages.php
maintenance/checkUsernames.php
maintenance/cleanupBlocks.php
maintenance/cleanupEmptyCategories.php
maintenance/cleanupInvalidDbKeys.php
maintenance/cleanupRemovedModules.php
maintenance/cleanupUploadStash.php
maintenance/convertUserOptions.php
maintenance/copyFileBackend.php
maintenance/copyJobQueue.php
maintenance/deleteSelfExternals.php
maintenance/dumpCategoriesAsRdf.php
maintenance/findMissingFiles.php
maintenance/findOrphanedFiles.php
maintenance/fixDefaultJsonContentPages.php
maintenance/fixUserRegistration.php
maintenance/initUserPreference.php
maintenance/invalidateUserSessions.php
maintenance/makeTestEdits.php
maintenance/manageJobs.php
maintenance/migrateComments.php
maintenance/migrateFileRepoLayout.php
maintenance/migrateUserGroup.php
maintenance/populateBacklinkNamespace.php
maintenance/populateContentModel.php
maintenance/populateFilearchiveSha1.php
maintenance/populateImageSha1.php
maintenance/populateIpChanges.php
maintenance/populateLogSearch.php
maintenance/populateLogUsertext.php
maintenance/populatePPSortKey.php
maintenance/populateParentId.php
maintenance/purgeChangedFiles.php
maintenance/purgeChangedPages.php
maintenance/purgeList.php
maintenance/purgeModuleDeps.php
maintenance/rebuildrecentchanges.php
maintenance/recountCategories.php
maintenance/refreshFileHeaders.php
maintenance/removeInvalidEmails.php
maintenance/resetUserTokens.php
maintenance/syncFileBackend.php
maintenance/wrapOldPasswords.php