* (bug 32686) Tooltip on links to non-existing pages are now always in user's language
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 1 Jan 2012 14:01:49 +0000 (14:01 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 1 Jan 2012 14:01:49 +0000 (14:01 +0000)
commit9dbf69692cd15ceebdae95ad82b8d338c27d334d
tree339e867de0a63130d0640079794ba51dc7692c81
parentca15d4bbcbf244bcca53b80114fa6aa47a8ceb84
* (bug 32686) Tooltip on links to non-existing pages are now always in user's language

Fixed this by "abusing" of the $options parameter of Linker::link() to pass the Language object (as we did for wfMsgExt()), has the two following advantages:
* The tooltip is displayed in the requested language instead of depending on $wgLang
* The usage of the Language object is detected in the ParserOptions, thus the parser cache key will not have "*" for the language
RELEASE-NOTES-1.19
includes/Linker.php
includes/parser/LinkHolderArray.php