Gerrit Patch Uploader has uploaded a new change for review. https://gerrit.wikimedia.org/r/292108
Change subject: SpecialUnusedtemplates: Avoid redirect=no for links to non-redirects ...................................................................... SpecialUnusedtemplates: Avoid redirect=no for links to non-redirects Change-Id: Ie8cfada5eec68b7066b986d0b99dfa6ce873f2af --- M includes/specials/SpecialUnusedtemplates.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/08/292108/1 diff --git a/includes/specials/SpecialUnusedtemplates.php b/includes/specials/SpecialUnusedtemplates.php index b0a2579..6a48e87 100644 --- a/includes/specials/SpecialUnusedtemplates.php +++ b/includes/specials/SpecialUnusedtemplates.php @@ -76,7 +76,7 @@ $title, null, [], - [ 'redirect' => 'no' ] + $title->isRedirect() : [ 'redirect' => 'no' ] : [] ); $wlhLink = Linker::linkKnown( SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedText() ), -- To view, visit https://gerrit.wikimedia.org/r/292108 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie8cfada5eec68b7066b986d0b99dfa6ce873f2af Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Gerrit Patch Uploader <gerritpatchuploa...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits