tweak some comments (schema blah blah)
[lhc/web/wiklou.git] / includes / SpecialMycontributions.php
index b958fdc..7d83d6d 100644 (file)
@@ -9,6 +9,7 @@
 function wfSpecialMycontributions() {
        global $wgUser, $wgOut;
        $t = Title::makeTitle( NS_SPECIAL, 'Contributions' );
-       $wgOut->redirect ( $t->getFullURL().'&target='.$wgUser->getName() );
+       $url = $t->getFullURL( 'target=' . urlencode( $wgUser->getName() ) );
+       $wgOut->redirect( $url );
 }
 ?>
\ No newline at end of file