X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=redirect.php;h=699926ec30c39d332d401d150b7a211f6ee44230;hb=543ed490e4bfe0092b6c9840a7e2a180b083eacb;hp=f84d88217081a37ea591839b38e37054db98c591;hpb=6a87ccc06a40a5c0b127567340f205854e0a56f9;p=lhc%2Fweb%2Fwiklou.git diff --git a/redirect.php b/redirect.php index f84d882170..699926ec30 100644 --- a/redirect.php +++ b/redirect.php @@ -1,18 +1,17 @@ getVal( "wpDropdown" ); +$page = $wgRequest->getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); header( "Location: {$url}" ); -?>