Index: trunk/phase3/includes/specials/SpecialWhatlinkshere.php |
— | — | @@ -334,18 +334,18 @@ |
335 | 335 | |
336 | 336 | if ( 0 != $prevId ) { |
337 | 337 | $overrides = array( 'from' => $this->opts->getValue( 'back' ) ); |
338 | | - $prev = $this->makeSelfLink( $prev, array_merge( $overrides, $changed ) ); |
| 338 | + $prev = $this->makeSelfLink( $prev, array_merge( $changed, $overrides ) ); |
339 | 339 | } |
340 | 340 | if ( 0 != $nextId ) { |
341 | 341 | $overrides = array( 'from' => $nextId, 'back' => $prevId ); |
342 | | - $next = $this->makeSelfLink( $next, array_merge( $overrides, $changed ) ); |
| 342 | + $next = $this->makeSelfLink( $next, array_merge( $changed, $overrides ) ); |
343 | 343 | } |
344 | 344 | |
345 | 345 | $limitLinks = array(); |
346 | 346 | foreach ( $this->limits as $limit ) { |
347 | 347 | $prettyLimit = $wgLang->formatNum( $limit ); |
348 | 348 | $overrides = array( 'limit' => $limit ); |
349 | | - $limitLinks[] = $this->makeSelfLink( $prettyLimit, array_merge( $overrides, $changed ) ); |
| 349 | + $limitLinks[] = $this->makeSelfLink( $prettyLimit, array_merge( $changed, $overrides ) ); |
350 | 350 | } |
351 | 351 | |
352 | 352 | $nums = $wgLang->pipeList( $limitLinks ); |
— | — | @@ -412,7 +412,7 @@ |
413 | 413 | $chosen = $this->opts->getValue( $type ); |
414 | 414 | $msg = wfMsgHtml( "whatlinkshere-{$type}", $chosen ? $show : $hide ); |
415 | 415 | $overrides = array( $type => !$chosen ); |
416 | | - $links[] = $this->makeSelfLink( $msg, array_merge( $overrides, $changed ) ); |
| 416 | + $links[] = $this->makeSelfLink( $msg, array_merge( $changed, $overrides ) ); |
417 | 417 | } |
418 | 418 | return Xml::fieldset( wfMsg( 'whatlinkshere-filters' ), $wgLang->pipeList( $links ) ); |
419 | 419 | } |