http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95073
Revision: 95073
Author: catrope
Date: 2011-08-20 10:25:38 +0000 (Sat, 20 Aug 2011)
Log Message:
-----------
Fix serious bug in r90849 that didn't show up in the tests until I restructured
the code a bit and the tests started to actually hit it: $url is undefined, use
$href
Modified Paths:
--------------
trunk/phase3/includes/Skin.php
Modified: trunk/phase3/includes/Skin.php
===================================================================
--- trunk/phase3/includes/Skin.php 2011-08-20 10:18:09 UTC (rev 95072)
+++ trunk/phase3/includes/Skin.php 2011-08-20 10:25:38 UTC (rev 95073)
@@ -1156,7 +1156,7 @@
//
Parser::getExternalLinkAttribs won't work here because of the Namespace things
global $wgNoFollowLinks,
$wgNoFollowDomainExceptions;
- if ( $wgNoFollowLinks &&
!wfMatchesDomainList( $url, $wgNoFollowDomainExceptions ) ) {
+ if ( $wgNoFollowLinks &&
!wfMatchesDomainList( $href, $wgNoFollowDomainExceptions ) ) {
$extraAttribs['rel'] =
'nofollow';
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs