stable

Clone or download

Read-only

Allow to purge un-used mediawiki

Sometimes people activate mediawiki service but doesn't quite use it Allow admin to identify all the projects that have mediawiki service activated but without content. By default only warn the admin about those project so they can check with project admin if it's legit or not. With force, those will be gone. Clean the code: - as we use exceptions, no need to check return value of update() - actually purge all the things that should be purged Part of story #10640 use only one database for all mediawiki instances Change-Id: I711fce3dee8630f1b82f59cb7ada6e90a4e39adb

Modified Files

Name
M plugins/mediawiki/include/Maintenance/CleanUnused.php +30 −4 Go to diff View file
M plugins/mediawiki/include/Maintenance/CleanUnusedDao.php +55 −25 Go to diff View file