summaryrefslogtreecommitdiff
path: root/redirect.php
diff options
context:
space:
mode:
Diffstat (limited to 'redirect.php')
-rw-r--r--redirect.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/redirect.php b/redirect.php
index 4718600d..ad3400ef 100644
--- a/redirect.php
+++ b/redirect.php
@@ -1,5 +1,4 @@
<?php
-define( 'MW_NO_SETUP', 1 );
require_once( './includes/WebStart.php' );
global $wgArticlePath;
@@ -11,4 +10,4 @@ $page = $wgRequest->getVal( 'wpDropdown' );
$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
header( "Location: {$url}" );
-?>
+