http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56477
Revision: 56477 Author: brion Date: 2009-09-17 01:09:45 +0000 (Thu, 17 Sep 2009) Log Message: ----------- array() -> '' for string return Modified Paths: -------------- branches/wmf-deployment/includes/Linker.php Modified: branches/wmf-deployment/includes/Linker.php =================================================================== --- branches/wmf-deployment/includes/Linker.php 2009-09-17 01:07:10 UTC (rev 56476) +++ branches/wmf-deployment/includes/Linker.php 2009-09-17 01:09:45 UTC (rev 56477) @@ -1964,7 +1964,7 @@ public function tooltip( $name, $options = null ) { global $wgEnableTooltipsAndAccesskeys; if ($wgEnableTooltipsAndAccesskeys) - return array(); + return ''; # FIXME: If Sanitizer::expandAttributes() treated "false" as "output # no attribute" instead of "output '' as value for attribute", this # would be two lines. _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs