Revert r47388 / 8d9243cf3: Use Title::getLocalURL() for rel=canonical links
authorOri Livneh <ori@wikimedia.org>
Wed, 24 Jun 2015 03:21:16 +0000 (20:21 -0700)
committerOri Livneh <ori@wikimedia.org>
Wed, 24 Jun 2015 05:17:01 +0000 (22:17 -0700)
commit6c3b7aa75fc700e85418761b499d73ec6acce256
treed5338faecad986bcf91315897785f5841b559e29
parente4c41d5126d074633b2f3de027f4ca4e7b915f77
Revert r47388 / 8d9243cf3: Use Title::getLocalURL() for rel=canonical links

Using relative links for <link rel=canonical> is a missed chance to signal the
preferred hostname and protocol for accessing our sites, which invites Google
(and other search engines) to guess, or to treat the request URL's hostname as
canonical. Compared to that, the number of bytes saved by using a relative link
is insubstantial.

Change-Id: I483b4425c1c14211e67bbb6e7ae077b7faa4ee25
includes/page/Article.php