summaryrefslogtreecommitdiff
path: root/redirect.php
diff options
context:
space:
mode:
Diffstat (limited to 'redirect.php')
-rw-r--r--redirect.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/redirect.php b/redirect.php
index ad3400ef..626c30d3 100644
--- a/redirect.php
+++ b/redirect.php
@@ -2,12 +2,8 @@
require_once( './includes/WebStart.php' );
global $wgArticlePath;
-require_once( 'includes/WebRequest.php' );
-$wgRequest = new WebRequest();
-
$page = $wgRequest->getVal( 'wpDropdown' );
$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
header( "Location: {$url}" );
-