* Fix excessive memory usage when parsing pages with lots of links
* $wgSpamRegex now matches the edit summary and page move descriptions in
addition to body text.
-* The "image" tab on the Monobook skin now appears blue for images available
- from a shared repository
+* Navigation links to images available from a shared repository (like Commons)
+ from their local talk pages no longer appear as redlinks
=== API changes in 1.14 ===
return '';
}
+ $linkOptions = array();
+
if( $wgTitle->isTalkPage() ) {
$link = $wgTitle->getSubjectPage();
switch( $link->getNamespace() ) {
break;
case NS_IMAGE:
$text = wfMsg( 'imagepage' );
+ # Make link known if image exists, even if the desc. page doesn't.
+ if( wfFindFile( $link ) )
+ $linkOptions[] = 'known';
break;
case NS_MEDIAWIKI:
$text = wfMsg( 'mediawikipage' );
$text = wfMsg( 'talkpage' );
}
- $s = $this->makeLinkObj( $link, $text );
+ $s = $this->link( $link, $text, array(), array(), $linkOptions );
return $s;
}