dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6f40a0
)
page: Remove outdated comment in getRedirectHeaderHtml()
author
Timo Tijhof
<krinklemail@gmail.com>
Thu, 24 Mar 2016 21:49:48 +0000
(21:49 +0000)
committer
Krinkle
<krinklemail@gmail.com>
Sat, 2 Apr 2016 07:19:38 +0000
(07:19 +0000)
Follows-up
c24a0a15b
.
Change-Id: Ie4e7d5bb1dc34130d54fa0a61cd03f97fd1f9145
includes/page/Article.php
patch
|
blob
|
history
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
c4ccade
..
459e9f0
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-1572,8
+1572,7
@@
class Article implements Page {
$title,
htmlspecialchars( $title->getFullText() ),
[],
- // Automatically append redirect=no to each link, since most of them are
- // redirect pages themselves.
+ // Make sure wiki page redirects are not followed
$title->isRedirect() ? [ 'redirect' => 'no' ] : [],
( $forceKnown ? [ 'known', 'noclasses' ] : [] )
) . '</li>';