dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
005c5ad
)
Set a HTTP 301 header in redirect.php
author
Sam Reed
<reedy@users.mediawiki.org>
Sat, 3 Sep 2011 22:50:44 +0000
(22:50 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Sat, 3 Sep 2011 22:50:44 +0000
(22:50 +0000)
Upstream wikia change
redirect.php
patch
|
blob
|
history
diff --git
a/redirect.php
b/redirect.php
index
c0a1602
..
eb15c6b
100644
(file)
--- a/
redirect.php
+++ b/
redirect.php
@@
-18,4
+18,4
@@
$page = $wgRequest->getVal( 'wpDropdown' );
$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
-header( "Location: {$url}" );
+header( "Location: {$url}"
, true, 301
);