(bug 40660) Don't mangle   in on-wiki JS.
authorCatrope <roan.kattouw@gmail.com>
Tue, 2 Oct 2012 03:21:31 +0000 (20:21 -0700)
committerTimo Tijhof <ttijhof@wikimedia.org>
Sat, 6 Oct 2012 09:07:50 +0000 (11:07 +0200)
commit736db146cc110fa0d49d10390de226249740e16a
treef35b7f907ab4d0de80f89a7dd5fc35c3797ca5c2
parent992c38b9f1cb280e0de0a42ef5f258658a9e8346
(bug 40660) Don't mangle &nbsp; in on-wiki JS.

Fixed by no longer using MessageCache::get() in
ResourceLoaderWikiModule. The only reason I see for using it is to make
default values for .js pages in the MediaWiki: namespace work (by
specifying them in an .i18n.php file), but that's evil and no one was
doing that other than putting in descriptive comments like
/* Site scripts go here */. That, and the previous implementation of
MediaWiki namespace JS that RL replaced did it, so I kept it at the
time, assuming it must have been needed for some reason.

Change-Id: Ica7f35fefcc200f0b3daf1d06d98a0b8ea878f3a
RELEASE-NOTES-1.20
includes/resourceloader/ResourceLoaderWikiModule.php