maintenance: Rewrite parts of the purgeChangedPages script
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>
Wed, 27 Mar 2019 10:43:28 +0000 (11:43 +0100)
committerBryanDavis <bdavis@wikimedia.org>
Tue, 2 Apr 2019 04:35:20 +0000 (04:35 +0000)
commit01d6c5325c3dc9e48991c953c10a1a34d6373686
treedba2b710b054670a9b3e6c6ea37e0b4dd428b7ee
parentf012b1d4a22190648ecd76061c94ce0c0a7519c6
maintenance: Rewrite parts of the purgeChangedPages script

My motivation to touch this code was a few count() I found confusing.
I ended rearranging it a lot to improve readability and clarity.

Change-Id: I9a0ea0812d4cc0c6e8ed6134e462dfdf325fd5d9
maintenance/purgeChangedPages.php