Use IDatabase type hints in /maintenance
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 30 Mar 2017 20:46:06 +0000 (13:46 -0700)
committerKrinkle <krinklemail@gmail.com>
Fri, 7 Apr 2017 23:37:41 +0000 (23:37 +0000)
commit21e71e0235e8f41189e4189b4fe03daede1d3cad
treeaf42a5a19b6a922a10d58778436079e0da5c6088
parent1a1c43bdff483a2c74b5fa98d6e21910a3d17a72
Use IDatabase type hints in /maintenance

Relatedly, move lockTables()/unlockTables() to IMaintainableDatabase

Change-Id: Ib53e9fa948deb2f9a70f0ce16c002613d0060bf9
20 files changed:
maintenance/Maintenance.php
maintenance/archives/upgradeLogging.php
maintenance/benchmarks/bench_delete_truncate.php
maintenance/convertUserOptions.php
maintenance/deleteOrphanedRevisions.php
maintenance/deleteRevision.php
maintenance/dumpIterator.php
maintenance/dumpTextPass.php
maintenance/fetchText.php
maintenance/namespaceDupes.php
maintenance/orphans.php
maintenance/populateContentModel.php
maintenance/populateRecentChangesSource.php
maintenance/rebuildImages.php
maintenance/rebuildtextindex.php
maintenance/refreshImageMetadata.php
maintenance/refreshLinks.php
maintenance/sql.php
maintenance/update.php
maintenance/updateCollation.php