mediawiki.template: Refactor inaccurate documentation
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 22 Dec 2015 01:41:09 +0000 (17:41 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 22 Dec 2015 02:01:39 +0000 (18:01 -0800)
commitd3c6442fc2eaf80d87ec89df761ba9b6ead936ff
treebf2cc5b6724b618c02e4096a67a0210ac2b99b1e
parente144319440e41f4ccd214efd36b25865a91d5ab6
mediawiki.template: Refactor inaccurate documentation

* Fix various incorrect type hints. Various functions were documented
  as returning functions when really they return objects with a render()
  method (aka "Compiled template").
* Improve documentation on what compilers and template interfaces are.

Change-Id: Ib66ddd727858331b61684d2add7b6bc3abd020f1
resources/src/mediawiki/mediawiki.template.js