Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -832,14 +832,14 @@ |
833 | 833 | return; |
834 | 834 | } |
835 | 835 | |
836 | | - $redirect = SkinTemplate::makeSpecialUrlSubpage( 'Book', 'rendering/' ); |
837 | 836 | $query = 'return_to=' . urlencode( $referrer->getPrefixedText() ) |
838 | 837 | . '&collection_id=' . urlencode( $response['collection_id'] ) |
839 | 838 | . '&writer=' . urlencode( $response['writer'] ); |
840 | 839 | if ( isset( $response['is_cached'] ) && $response['is_cached'] ) { |
841 | 840 | $query .= '&is_cached=1'; |
842 | 841 | } |
843 | | - $wgOut->redirect( wfAppendQuery( $redirect, $query ) ); |
| 842 | + $redirect = SkinTemplate::makeSpecialUrlSubpage( 'Book', 'rendering/', $query ); |
| 843 | + $wgOut->redirect( $redirect ); |
844 | 844 | } |
845 | 845 | |
846 | 846 | function forceRenderCollection() { |