RCFilters: Respect subpage in RCLinked
authorMoriel Schottlender <moriel@gmail.com>
Tue, 21 Nov 2017 23:59:44 +0000 (15:59 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Wed, 22 Nov 2017 18:02:25 +0000 (10:02 -0800)
commit28132fb14afe23b27942150a2fb8b265ece40451
treeb4e5084a93e33e054fd9ffc08d1d2788bebe020f
parent09ba8f4cbef8606e95b407cf370b270e5153b2b5
RCFilters: Respect subpage in RCLinked

Make sure that when we redirect a URL when there's a saved query,
we retain the information about a subpage.

Then, normalize the URL to always use &target=xxx so that the
system knows to correct the value if the user uses the form that
is, for the moment, outside the regular RCFilters interface.

Bug: T181100
Change-Id: I75cfb2b56a4da6357e6117b3f34f3178bfb2c90c
includes/specials/SpecialRecentchangeslinked.php
resources/src/mediawiki.rcfilters/mw.rcfilters.UriProcessor.js