Use redirect=no on redirects listed in file links.
This commit is contained in:
parent
2af5f3ac7f
commit
f47aa05e78
2 changed files with 2 additions and 1 deletions
|
|
@ -379,6 +379,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls
|
||||
* (bug 4977) Fix for possible squid purging errors when using HTTP purges
|
||||
and multiple servers
|
||||
* (bug 14572) Redirects listed on file links on image pages no longer redirect.
|
||||
|
||||
=== API changes in 1.13 ===
|
||||
|
||||
|
|
|
|||
|
|
@ -685,7 +685,7 @@ EOT
|
|||
|
||||
$sk = $wgUser->getSkin();
|
||||
foreach ( $redirects as $title ) {
|
||||
$link = $sk->makeKnownLinkObj( $title, "" );
|
||||
$link = $sk->makeKnownLinkObj( $title, "", "redirect=no" );
|
||||
$wgOut->addHTML( "<li>{$link}</li>\n" );
|
||||
}
|
||||
$wgOut->addHTML( "</ul></div>\n" );
|
||||
|
|
|
|||
Loading…
Reference in a new issue