SpecialNewpages: Add redirect=no only to links to redirects
authorFomafix <fomafix@googlemail.com>
Wed, 23 Sep 2015 16:34:46 +0000 (16:34 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Wed, 23 Sep 2015 16:34:46 +0000 (16:34 +0000)
commit674426de3c6d97706582b3f9915ac45dc791b173
tree4c061983a5dfa96514f98c8f1d8797e7d1e32e02
parente9a09648dceb8ed37e90a85ffd7230358878b638
SpecialNewpages: Add redirect=no only to links to redirects

Since 2748c4091 all title links have redirect=no. This is requested in T16353.
To satisfy T16353 it should be enough to add this only to links to redirects.

Appending redirect=no to all links has the disadvantage of a duplicate link.

This change adds redirect=no only to links to redirects.

Change-Id: I33da0f1eadc5dfbc46820015622ee1a55acbfe21
includes/specials/SpecialNewpages.php