From: Timo Tijhof Date: Thu, 24 Mar 2016 21:49:48 +0000 (+0000) Subject: page: Remove outdated comment in getRedirectHeaderHtml() X-Git-Tag: 1.31.0-rc.0~7430 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=ff1c3e68d9e5268817d91bf82040235b90a87ecc;p=lhc%2Fweb%2Fwiklou.git page: Remove outdated comment in getRedirectHeaderHtml() Follows-up c24a0a15b. Change-Id: Ie4e7d5bb1dc34130d54fa0a61cd03f97fd1f9145 --- diff --git a/includes/page/Article.php b/includes/page/Article.php index c4ccadecda..459e9f020e 100644 --- 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' ] : [] ) ) . '';