Author: lowzl
Description:
In Linker.php we have
$defaults['title'] = wfMsg( 'red-link-title', $target->getPrefixedText() );
which causes the tooltip text "$1 (page does not exist)" to be translated to the user's interface language. This seems reasonable enough, but unfortunately this also gets saved into the parser cache. As such, other users may see the link title translated into the wrong language. It seems that the right thing to do is to use wfMsgForContent instead of wfMsg.
To reproduce, change the interface language to, say, Interlingua, and save an edit to any (new) page with red links. The red links will have their tooltip text in Interlingua even when viewed anonymously. For some reason I have difficulty reproducing this problem on pages which already exist.
Version: unspecified
Severity: minor