maintenance: Add --dry-run option to deleteDefaultMessages.php
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 18 Jul 2017 19:59:24 +0000 (14:59 -0500)
committerKrinkle <krinklemail@gmail.com>
Tue, 18 Jul 2017 21:18:28 +0000 (21:18 +0000)
commit820446e2513c6e1306cef0eae806efd4941dbbb3
tree9e23a5588889c0613680f1d2c4d72bc8ad2822ac
parentd7bc76523800bf3debc573178ff4cb0abe3f59da
maintenance: Add --dry-run option to deleteDefaultMessages.php

For back-compat, keep the default as-is, because it is also
used as a post-update script by the installer.

But for convenience and safe manual use, do add a dry-run option.
(Ideally this would be a --delete option and dry-run by default.)

Change-Id: I3ca70f15f50b66f9d19fa705cef9a4aae2dd4e5c
maintenance/deleteDefaultMessages.php