Commit graph

3 commits

Author SHA1 Message Date
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 adc257707a Fix warning "Invalid argument supplied for foreach()"
Gadget::loadStructuredList() can return false, when no gadgets are
defined, which results in the php warning.

Bug: 58700
Change-Id: Iab767c3a122931a3fac2fcd2af61a8408ed99b5a
2014-06-07 14:57:14 +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 ApiQueryGadgetCategories.php (Browse further)