Pass along tagFilter to ContribsPager, it already expects it
authorMatthias Mullie <git@mullie.eu>
Mon, 17 Jun 2013 20:23:35 +0000 (22:23 +0200)
committerAlex Monk <krenair@gmail.com>
Tue, 18 Jun 2013 14:34:43 +0000 (14:34 +0000)
commita46f9755a5dcc27383b4ef0758102ab6d7cbe59f
tree28f601832f414ca35cefaf9b8834dbccaa0779d7
parent82383beecffac38b51746802e7eedd4a78a215c4
Pass along tagFilter to ContribsPager, it already expects it

ContribsPager already has this below line:

    $this->tagFilter = isset( $options['tagfilter'] ) ? $options['tagfilter'] : false;

The reason the code already works fine is because, in ChangeTags.php, there's this fallback:

    if ( $filter_tag === false ) {
     $filter_tag = $wgRequest->getVal( 'tagfilter' );
    }

Which essentially boils down to the same result as passing along tagfilter, which in
SpecialContributions is read from $wgRequest, passed to ContribsPager, and (well, currently
not) passed to ChangeTags

Change-Id: I12c0336ae31c5524e41fa0087afe2ba104dc7d37
includes/specials/SpecialContributions.php