dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
d24b74c
)
Merge "Revert r47388 / 8d9243cf3: Use Title::getLocalURL() for rel=canonical links"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 24 Jun 2015 16:05:11 +0000
(16:05 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 24 Jun 2015 16:05:11 +0000
(16:05 +0000)
includes/page/Article.php
patch
|
blob
|
history
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
450251a
..
053753e
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-1000,7
+1000,7
@@
class Article implements Page {
$outputPage->addModules( 'mediawiki.action.view.redirect' );
// Add a <link rel="canonical"> tag
- $outputPage->setCanonicalUrl( $this->getTitle()->get
Lo
calURL() );
+ $outputPage->setCanonicalUrl( $this->getTitle()->get
Canoni
calURL() );
// Tell the output object that the user arrived at this article through a redirect
$outputPage->setRedirectedFrom( $this->mRedirectedFrom );