r96214 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r96213
|
r96214
|
r96215
>
Date:
22:50, 3 September 2011
Author:
reedy
Status:
ok
Tags:
Comment:
Set a HTTP 301 header in redirect.php
Upstream wikia change
Modified paths:
/trunk/phase3/redirect.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/redirect.php
—
—
@@ -18,4 +18,4 @@
19
19
20
20
$url = str_replace( "$1", urlencode( $page ), $wgArticlePath );
21
21
22
-header( "Location: {$url}" );
22
+header( "Location: {$url}", true, 301 );
Status & tagging log
23:02, 3 September 2011
😂
(
talk
|
contribs
)
changed the
status
of r96214
[
removed:
new
added:
ok]