Fixed the caching of redirects in Squid
authorTim Starling <tstarling@wikimedia.org>
Wed, 17 Oct 2012 00:00:07 +0000 (11:00 +1100)
committerTim Starling <tstarling@wikimedia.org>
Wed, 17 Oct 2012 00:00:07 +0000 (11:00 +1100)
commit6cb1fe1fe49039f88ed901f2677668ea7ba6771a
tree1d8362c36c5dab95e967be13bb3b2f888dd56fc7
parent347c4755e2553f698a10de4adaccee7ea168af52
Fixed the caching of redirects in Squid

Was accidentally broken in Ie38ae198, where the request URL was compared
against the final target title, not the title of the redirect. Also
tested squid purges of redirects, since that code presumably hasn't been
tested for a while, and committed my very advanced testing framework.

Change-Id: Ib2ffe8e109bcc4859e22df5470bddfdb09e67afa
includes/Wiki.php
includes/cache/SquidUpdate.php