stable

Clone or download

Read-only

request #14022 Upgrade clean unused to clean unused mediawiki db for non template project

Add a new option "go force" on mediawiki clean unused script to clean unused mediawiki database for each no template projects. It's possible to add a limit to limit the number of clean. To test it, you can run /usr/share/tuleap/plugins/mediawiki/bin/clean-unused-db.php go force This command should deleted not used of no template project media wiki databases. Change-Id: I45118e6b2460979254ad2128f6cc8028b2f28725

Modified Files

Name
M plugins/mediawiki/bin/clean-unused-db.php +34 −10 Go to diff View file
M plugins/mediawiki/include/Maintenance/CleanUnused.php +45 −14 Go to diff View file
M plugins/mediawiki/include/Maintenance/CleanUnusedDao.php +9 −4 Go to diff View file
M plugins/mediawiki/include/mediawikiPlugin.php +2 −1 Go to diff View file
A plugins/mediawiki/phpunit/CleanUnusedTest.php +319 −0 Go to diff View file