Index: includes/Parser.php
===================================================================
--- includes/Parser.php	(revision 15807)
+++ includes/Parser.php	(working copy)
@@ -1629,6 +1629,7 @@
 					// Force a blue link if the file exists; may be a remote
 					// upload on the shared repository, and we want to see its
 					// auto-generated page.
+					$this->mOutput->addLink( $nt, $nt->getArticleID() );
 					$s .= $this->makeKnownLinkHolder( $nt, $text, '', $trail, $prefix );
 					continue;
 				}
