| Revision 1484,
383 bytes
checked in by Xiping.Wang, 2 years ago
(diff) |
|
[trunk]add mediaiwki 1.16.0beta2 , other directories and files
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * Script that redirects to the article passed in the "wpDropdown" parameter. |
|---|
| 5 | * This is used by the nostalgia skin for the special pages drop-down |
|---|
| 6 | * |
|---|
| 7 | * @file |
|---|
| 8 | */ |
|---|
| 9 | |
|---|
| 10 | require_once( './includes/WebStart.php' ); |
|---|
| 11 | global $wgArticlePath; |
|---|
| 12 | |
|---|
| 13 | $page = $wgRequest->getVal( 'wpDropdown' ); |
|---|
| 14 | |
|---|
| 15 | $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); |
|---|
| 16 | |
|---|
| 17 | header( "Location: {$url}" ); |
|---|
Note: See
TracBrowser
for help on using the repository browser.