https://bugzilla.wikimedia.org/show_bug.cgi?id=18883
Summary: Use a 301 status code for redirects
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Redirects
AssignedTo: [email protected]
ReportedBy: [email protected]
[14:53] <Emufarmers> Anyway, can somebody point me to a specific bug or remind
me of the reasons for why we don't use 301 redirects for redirects? The best I
was able to come up with was
[url]https://bugzilla.wikimedia.org/show_bug.cgi?id=2585#c3[/url]
[14:54] <werdna> Emufarmers: because otherwise we can't display the "redirected
from" message without fudging in a URL parameter
[14:54] <werdna> (and therefore messing up linking)
[14:54] <Emufarmers> Ah
[14:54] <Emufarmers> Is the stuff in that comment still true too?
[14:59] <werdna> looks roughly right
[15:00] <werdna> although the extra server load would be trivial once all links
were canonicalised in the browser window
[15:01] <Emufarmers> But wouldn't displaying the "redirected from" still
require going around the cache?
[15:02] <werdna> yes, or a URL parameter
[15:02] <werdna> could be done with cookies and XVO
[15:02] <Emufarmers> XVO?
[15:02] <werdna> X-Vary-Options
[15:04] <Emufarmers> Of course, breaking caching isn't necessarily that big of
a deal on the average non-WMF wiki
Not sure whether this is worth implementing, but I see people asking for it
every now and then, so I figure we should at least have a bug we can point them
at.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l