* Add createpage and createtalk permission keys, allowing a quick
switch to disable page creation for anonymous users.
* (bug 4167) Fix regression caused by patch for bug 153
+* (bug 1850) Additional fixes so existing local and remote images
+ get a blue link even if there's no local description page
=== Caveats ===
} elseif( $ns == NS_SPECIAL ) {
$s .= $prefix . $sk->makeKnownLinkObj( $nt, $text, '', $trail );
continue;
+ } elseif( $ns == NS_IMAGE ) {
+ $img = Image::newFromTitle( $nt );
+ if( $img->exists() ) {
+ // 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.
+ $s .= $prefix . $sk->makeKnownLinkObj( $nt, $text, '', $trail );
+ continue;
+ }
}
$s .= $this->makeLinkHolder( $nt, $text, '', $trail, $prefix );
}