Commit graph

2018 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
Translation updater bot 108014ad6d Localisation updates from https://translatewiki.net.
Change-Id: I3fc7051c5394ef288e91eb28ec45916f13a3fec3
2014-10-27 20:11:30 +01:00
Translation updater bot cc17dcacbc Localisation updates from https://translatewiki.net.
Change-Id: I29e9778669ae22add5cc5535dc88cfee64e68c0c
2014-10-19 22:06:08 +02:00
Kunal Mehta 61f04bab01 Fix $wgGadgetsCaching = false;
Bug: 71988
Change-Id: Ib1012b4d0b0eeabb62812f35b61882bbf9733f3d
2014-10-12 17:26:13 -07:00
Translation updater bot c8111ea28b Localisation updates from https://translatewiki.net.
Change-Id: I22e4dd7f0062f8ca70bb788f5f63ff7ef97d46c0
2014-10-12 22:16:17 +02:00
Translation updater bot 89e5a0fd81 Localisation updates from https://translatewiki.net.
Change-Id: Ia6910634a11d7e21efd7926637da18f5ea71bffa
2014-10-01 22:05:55 +02:00
Translation updater bot b84ad9e771 Localisation updates from https://translatewiki.net.
Change-Id: Ifb816776a2df3a6576decea34a7bad0b1109724f
2014-09-23 22:01:35 +02:00
Translation updater bot d72c6cdc3e Localisation updates from https://translatewiki.net.
Change-Id: I00c8d56387556b66328c4f72169348058056c294
2014-09-16 19:43:50 +02:00
Translation updater bot a97657eee6 Localisation updates from https://translatewiki.net.
Change-Id: Ifec5d9acbea09817c20e914defdb74f22065cfac
2014-09-08 21:35:05 +02:00
jenkins-bot aa84226d0e Merge "Ability to disable gadget caching" 2014-09-07 22:37:21 +00:00
Max Semenik 1e5c7917a7 Ability to disable gadget caching
Change-Id: Ic1653ae896ac0fd7c0165ecee76f807feea6edcf
2014-09-05 15:47:08 -07:00
Max Semenik 3abd0ebf4f Don't save gadget class versions, cache key is already versioned
Change-Id: I00c200c237f35d6e3934ce432271bd4fa968b175
2014-09-05 14:30:41 -07:00
Translation updater bot 37e67b7deb Localisation updates from https://translatewiki.net.
Change-Id: I26ddc1a4cf07b8a2974969bb47b512adf6ef8186
2014-09-04 22:07:07 +02:00
Kunal Mehta b7b52a9029 Check Gadget name is a valid ResourceLoader module name
When loading the Gadget list, check against ResourceLoader::isValidModuleName
to avoid MWExceptions being thrown.

This will lower the max length of a gadget name from 248 bytes to
244 since ResourceLoader requires <= 255 bytes, and we add a
"ext.gadget." prefix in front of the name.

Bug: 19410
Change-Id: Ib74c0866bb333885c747d318418e2c8685ae339c
2014-09-02 17:27:39 +00:00
Translation updater bot df30627787 Localisation updates from https://translatewiki.net.
Change-Id: Iefa23e1d109407c669cf58b9485415c421a49397
2014-08-23 21:54:36 +02:00
Translation updater bot 408d306c24 Localisation updates from https://translatewiki.net.
Change-Id: I163c0f65c23e23ce2ce4b921c590d46baa092dcc
2014-08-17 23:04:23 +02:00
Translation updater bot f35788d549 Localisation updates from https://translatewiki.net.
Change-Id: Ic1d74885e46624389b8c48dad22c80bc9fd0714f
2014-08-14 23:37:08 +02:00
Translation updater bot c948e2b655 Localisation updates from https://translatewiki.net.
Change-Id: Ib236e23c23feba2ff5fa83c64514e253da77b06c
2014-08-12 21:36:07 +02:00
Translation updater bot 03b005b7f2 Localisation updates from https://translatewiki.net.
Change-Id: I3c95052064d68e626b04d3dfa1796218db2412ad
2014-08-11 22:54:04 +02:00
helderwiki c0e952120e Add space before closing parenthesis
Change-Id: Iea95227e70f87e54efb20dfac70ae7147e3186d2
2014-08-08 17:07:26 -03:00
Translation updater bot c98e5ff2b0 Localisation updates from https://translatewiki.net.
Change-Id: Ic610ea384d264309e46eafe3e024e2110672a33e
2014-07-30 21:57:50 +02:00
Translation updater bot 28dd462c3f Localisation updates from https://translatewiki.net.
Change-Id: I58130582be231be2f4b3aeac5462a17e7a458148
2014-07-09 20:33:27 +00:00
Translation updater bot 1de5a7204b Localisation updates from https://translatewiki.net.
Change-Id: I05a3964cd3bcbaf676dd10d1454286b30d260a77
2014-07-05 19:55:46 +00:00
Translation updater bot 9f52033b4a Localisation updates from https://translatewiki.net.
Change-Id: Ib72e667408d4fda0b7740efea582d11e2b00e7ef
2014-06-27 20:20:34 +00:00
Max Semenik c2be054951 Improve tests
* Reduce globals usage thanks to core improvements
* Use new assertion that wasn't available before

Change-Id: I9b7fb065ea9e235e6c5e7ea5116ccacac91f8846
2014-06-26 17:34:27 -07:00
Translation updater bot f251892b42 Localisation updates from https://translatewiki.net.
Change-Id: Ic0b201f044132948e671188e6d9d4ea8e663c7a6
2014-06-22 19:28:57 +00:00
Translation updater bot 5c030fa63d Localisation updates from https://translatewiki.net.
Change-Id: Ifd9d25cbb85d9d7acd0f5082ac93fc3afec3b5c2
2014-06-20 19:47:52 +00: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 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
Translation updater bot d4ac8da0eb Localisation updates from https://translatewiki.net.
Change-Id: I65504275490ef2c1d070d600d3461c2179abdf4a
2014-06-05 20:45:42 +00:00
Translation updater bot 7de0930cb6 Localisation updates from https://translatewiki.net.
Change-Id: Ib600caa3ea5f40c06e1d833cadbbec6ff4084273
2014-05-31 19:00:39 +00:00
Translation updater bot 90b1e0ca5a Localisation updates from https://translatewiki.net.
Change-Id: Iae275f6c7bdcbb9373435774a2868b3f17d7cd32
2014-05-22 19:54:46 +00:00
Translation updater bot 1a2b174147 Localisation updates from https://translatewiki.net.
Change-Id: I25756ae97eb923d9f0d6129a3ea8d876f17c77b0
2014-05-19 19:45:21 +00:00
Translation updater bot 1abdcd0dff Localisation updates from https://translatewiki.net.
Change-Id: Icd3730eee2f6133437bfbe09efe3ccca5acfdaf1
2014-05-14 19:34:22 +00:00
Translation updater bot 8dbaa9bffa Localisation updates from https://translatewiki.net.
Change-Id: Ic2246bd313d2c2f3a49d0a65b6be16a6b82389c5
2014-05-01 20:18:52 +00:00
Translation updater bot 86d1f10664 Update i18n shim
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: Ic74bdc85da7ff338942f0bc9234b0f706ba64074
2014-04-22 13:23:44 +00:00
Translation updater bot de2fd1b54c Localisation updates from https://translatewiki.net.
Change-Id: Ibe618f7713c9d4ecefdb20c255515263c7e1ac92
2014-04-21 20:22:59 +00:00
Translation updater bot 223ac5489a Localisation updates from https://translatewiki.net.
Change-Id: I35f7a5795b727a289368b56486df875119d192cf
2014-04-16 15:36:05 +00:00
Translation updater bot 949564ff6c Localisation updates from https://translatewiki.net.
Change-Id: Id6a9e907301866e175d2ea7cdc9eb7182a608607
2014-04-08 20:04:35 +00:00
Translation updater bot ed04845e79 Localisation updates from https://translatewiki.net.
Change-Id: Ib5f9a090b686f7791f3a4185366d1fd567dd4a09
2014-04-04 20:22:19 +00:00
Translation updater bot f5dc85ea93 Localisation updates from https://translatewiki.net.
Change-Id: Ifc26fe8b53e5a0f1c39c607c75b213c76552e99a
2014-04-01 19:45:02 +00:00
Translation updater bot 95c91cea3f Localisation updates from https://translatewiki.net.
Change-Id: Iab0c17f90f8f3d7580ab363ef77e356877c5726c
2014-03-31 20:14:24 +00:00
Translation updater bot 161d33cfbb Localisation updates from https://translatewiki.net.
Change-Id: Icb9169e06411d846851609b698abe7fa300a4d3f
2014-03-30 20:11:39 +00:00
Translation updater bot a9321c67a3 Localisation updates from https://translatewiki.net.
Change-Id: I3f9eb33d02120b339537974828cc807e1933fb06
2014-03-29 21:15:15 +00:00
Translation updater bot 8083549c44 Localisation updates from https://translatewiki.net.
Change-Id: I1b03468ab0ec7adfd6a4b5097f3ef90001ca3954
2014-03-28 19:27:21 +00:00
Translation updater bot 3d47804a13 Localisation updates from https://translatewiki.net.
Change-Id: I19e9a78bd2c9556bc385fa6490cb990cea5eff59
2014-03-27 20:30:26 +00:00
Siebrand Mazeland 5d28ca240d Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I1cc79cf4bade15ba469f5c407604416b85b74731
2014-03-27 10:02:52 +01:00
Translation updater bot 27b2858267 Localisation updates from https://translatewiki.net.
Change-Id: Ia2fbbaa48dd64d20bc6af6c17f0af177749aefc2
2014-03-20 20:29:49 +00:00
Translation updater bot 2807a4012c Localisation updates from https://translatewiki.net.
Change-Id: I9a963406a06d09c5a9a8df0f61ae5beae49807b6
2014-03-15 20:07:40 +00:00