MediaWiki should have a way to canonicalize URLs. Squid should redirect to point to the canonical URL.
Version: 1.18.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=48402
MediaWiki should have a way to canonicalize URLs. Squid should redirect to point to the canonical URL.
Version: 1.18.x
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=48402
bug 25882?
I planned to write this into my page output branch. After scanning code I found it fit more into that project because whether you want a canonical url or not is very dependent on Article/PageView/SpecialPage processing since you don't want it on diff pages, oldids, etc...
This has since been solved. The OutputPage::setCanonicalUrl() method exists for this.
And per T27882, it is also used by default on all page views.