Let cleanupCaps.php clean up when $wgCapitalLinks is set to true
authorKunal Mehta <legoktm@gmail.com>
Sat, 6 Jun 2015 04:42:45 +0000 (21:42 -0700)
committerTim Starling <tstarling@wikimedia.org>
Wed, 17 Aug 2016 04:15:32 +0000 (04:15 +0000)
commiteb8c154c77847cf0eabf18b8a97831e71fb397bc
tree3b2bbb5657aee07de8ec3c7fc4dfd1f97a110b06
parentb8a41ea451aa22a5d34e882349992bddfc69f8ba
Let cleanupCaps.php clean up when $wgCapitalLinks is set to true

This enables wikis to go from having $wgCapitalLinks = false to
$wgCapitalLinks = true (default).

Also:
* Declare $namespace member variable
* Fix regression introduced in ac53e45035e where non-dry run page move
was always considered a failure.
* Use MWNamespace::isCapitalized() instead of $wgCapitalLinks

Change-Id: I49caf8c1b49df1519d40b50d4aa26ea721db065d
maintenance/cleanupCaps.php