resourceloader: Add purgeModuleDeps.php maintenance script
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 24 Feb 2017 22:56:31 +0000 (14:56 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 1 Mar 2017 19:27:34 +0000 (11:27 -0800)
commitbb33522e2675858de39907060f8cee3e54fa4b49
treed8e28a7ae2eb55c46e8d2eba2c374886a62d5383
parent768654ac814dcbd2e5d8ed63a4553079c4d0d406
resourceloader: Add purgeModuleDeps.php maintenance script

Based on cleanupRemovedModules.php. Update both to use safer batching,
based on known selection instead of recursing until the table is empty
(which may end up deleting new rows from live traffic).

Bug: T158105
Change-Id: I05f650a0cfa8ca647f143a40e1087338adbef6da
autoload.php
maintenance/cleanupRemovedModules.php
maintenance/purgeModuleDeps.php [new file with mode: 0644]