Commit graph

5 commits

Author SHA1 Message Date
Ricordisamoa d072ac25a0 API: set 'legacyscripts' to whether a gadget includes non-ResourceLoader JS
Change-Id: I0b7e01b5164b564e1406c0dd05be67b0610dbe96
2015-06-27 02:53:26 +02:00
Thiemo Mättig 5b1f8a1e50 Update api module constructors
This also replaces a deprecated function and adds some code docs.

Change-Id: I22c77d370469c10cad5d504b06280e933eeeeeff
2015-06-17 20:42:20 +02:00
Brad Jorsch 48c47e1cf0 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
umherirrender 69d298509b Remove galanguage from list=gadgets
The language is unused in the api module and has no param description.

Change-Id: I08f64684415dafbd4b13dc7aab511aed6d5e3e0e
2014-06-07 07:47:40 +02:00
umherirrender 3f3deb1410 Move api files to a new api folder
Change-Id: I365ead76b11f1906c698a6058f0ef376180e1af9
2014-06-06 19:13:10 +02:00
Renamed from ApiQueryGadgets.php (Browse further)