Index: trunk/phase3/includes/Linker.php |
— | — | @@ -290,8 +290,7 @@ |
291 | 291 | if ( $target->getPrefixedText() == '' ) { |
292 | 292 | # A link like [[#Foo]]. This used to mean an empty title |
293 | 293 | # attribute, but that's silly. Just don't output a title. |
294 | | - } elseif ( $known && |
295 | | - Language::lc($linkText) !== Language::lc($target->getPrefixedText() ) ) { |
| 294 | + } elseif ( $known && strtolower($linkText) !== strtolower($target->getPrefixedText() ) ) { |
296 | 295 | $defaults['title'] = $target->getPrefixedText(); |
297 | 296 | } elseif ( !$known ) { |
298 | 297 | $defaults['title'] = wfMsg( 'red-link-title', $target->getPrefixedText() ); |