Reproduce:
- Edit Linker.php > at the end of MakeExternalLink() set $text = $wgTitle;
- Edit a category and add an external URL > save it > Link reads "API"
Works as expected when Javascript is disabled.
I checked my scipts, but it's none of mine.
Can anyone reproduce it?
Tested with MW 1.25.2 in latest Chrome.