Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | self::limitExceeded(); |
103 | 103 | return; |
104 | 104 | } else { |
105 | | - $wgOut->redirect( $title->getFullURL() ); |
| 105 | + $wgOut->redirect( $wgRequest->getVal( 'return_to', $title->getFullURL() ) ); |
106 | 106 | } |
107 | 107 | $wgUser->invalidateCache(); |
108 | 108 | return; |