]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - redirect.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / redirect.php
diff --git a/redirect.php b/redirect.php
deleted file mode 100644 (file)
index 699926e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-
-/**
- * Script that redirects to the article passed in the "wpDropdown" parameter.
- * This is used by the nostalgia skin for the special pages drop-down
- *
- * @file
- */
-
-require_once( './includes/WebStart.php' );
-global $wgArticlePath;
-
-$page = $wgRequest->getVal( 'wpDropdown' );
-
-$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
-
-header( "Location: {$url}" );