maintenance: Consistently use hasOption() for boolean options
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 19 Jul 2017 19:51:30 +0000 (14:51 -0500)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 19 Jul 2017 19:52:21 +0000 (14:52 -0500)
commit1e0a992f6c697344fc1d97514b6f12adebf34494
tree3819c1f573038aafb1b0b1e675fcb5b616beee64
parent0d5c1d02b158ce3b72fbe0e1840406ed9221ef52
maintenance: Consistently use hasOption() for boolean options

We already do this in many places, but there were also still plenty
of getOption(, false) calls. Change these to hasOption() for consistency.

Change-Id: I74f91a5bf5a8036496ab1f493e5862a04d27ec0f
maintenance/fixDoubleRedirects.php
maintenance/generateSitemap.php
maintenance/moveBatch.php
maintenance/nukeNS.php
maintenance/nukePage.php
maintenance/populateCategory.php
maintenance/populateInterwiki.php
maintenance/rebuildFileCache.php
maintenance/refreshLinks.php