API: Normalize input URL in ApiQueryExtLinksUsage
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 26 Mar 2016 22:14:43 +0000 (18:14 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Sat, 26 Mar 2016 22:14:43 +0000 (18:14 -0400)
commita2f2cf8cf12fc927da8d7b7c4a11d132edc13499
treed7388226210dcb3295854aa958a005dca9238cd6
parente2427d34877e19bd1ee1672c3a697c0d08c4a2fe
API: Normalize input URL in ApiQueryExtLinksUsage

This matches the behavior of Special:LinkSearch, and makes it more
likely to give sensible results for non-normalized input.

Bug: T130912
Change-Id: I2f60dd48fdfc24108110a24ad41b297ece7f33df
includes/api/ApiQueryExtLinksUsage.php