dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Add redirect=no only to redirects on redirect pages"
[lhc/web/wiklou.git]
/
includes
/
page
/
Article.php
diff --git
a/includes/page/Article.php
b/includes/page/Article.php
index
b561407
..
d57d3fd
100644
(file)
--- a/
includes/page/Article.php
+++ b/
includes/page/Article.php
@@
-1574,7
+1574,7
@@
class Article implements Page {
[],
// Automatically append redirect=no to each link, since most of them are
// redirect pages themselves.
-
[ 'redirect' => 'no'
],
+
$title->isRedirect() ? [ 'redirect' => 'no' ] : [
],
( $forceKnown ? [ 'known', 'noclasses' ] : [] )
) . '</li>';
}