Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -464,22 +464,24 @@ |
465 | 465 | |
466 | 466 | $prevLink = wfMsgExt( 'prevn', array( 'escape', 'parsemag' ), $limitText ); |
467 | 467 | if( $first != '' ) { |
468 | | - $query['until'] = $first; |
| 468 | + $prevQuery = $query; |
| 469 | + $prevQuery['until'] = $first; |
469 | 470 | $prevLink = $sk->link( |
470 | 471 | $title, |
471 | 472 | $prevLink, |
472 | 473 | array(), |
473 | | - $query |
| 474 | + $prevQuery |
474 | 475 | ); |
475 | 476 | } |
476 | 477 | $nextLink = wfMsgExt( 'nextn', array( 'escape', 'parsemag' ), $limitText ); |
477 | 478 | if( $last != '' ) { |
478 | | - $query['from'] = $last; |
| 479 | + $lastQuery = $query; |
| 480 | + $lastQuery['from'] = $last; |
479 | 481 | $nextLink = $sk->link( |
480 | 482 | $title, |
481 | 483 | $nextLink, |
482 | 484 | array(), |
483 | | - $query |
| 485 | + $lastQuery |
484 | 486 | ); |
485 | 487 | } |
486 | 488 | |