mediawiki.jqueryMsg: Rename .parser class to .Parser
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 6 Apr 2018 15:16:43 +0000 (16:16 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 6 Apr 2018 15:20:24 +0000 (16:20 +0100)
commit14df990822ffe16ad114308cf63038a3f44c152a
treef99bf67044d002b47befb2ed93c12c179d9b3089
parent59636d1d0c95b2fb86ad93cfc3e25176e730e133
mediawiki.jqueryMsg: Rename .parser class to .Parser

This class is marked @private, but nonetheless, there is at least
one use in MobileFrontend, so keeping a back-compat alias for now.

Also rename the HtmlEmitter utility class (also private, not used
anywhere outside this file), and fix its broken documentation by
repeating the @class and @private tags on its own constructor.
It previously had all its methods indexed by JSDuck as part of the
previous class in that file (Parser), which created doc pages
with examples that don't work.

Change-Id: I02d851d9b6eac89f1a2b85b438b982bd055bedee
resources/src/mediawiki/mediawiki.jqueryMsg.js
tests/qunit/data/generateJqueryMsgData.php
tests/qunit/suites/resources/mediawiki/mediawiki.jqueryMsg.test.js