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
array()
);
- $query = array( 'redirect' => 'no' );
+ $query = $title->isRedirect() ? array( 'redirect' => 'no' ) : array();
// Linker::linkKnown() uses 'known' and 'noclasses' options.
// This breaks the colouration for stubs.