Commit graph

2034 commits

Author SHA1 Message Date
Translation updater bot 22c50f8bd2 Localisation updates from http://translatewiki.net.
Change-Id: I6a9dae216b06286ce40802d5059c7ce4fee7fbe5
2013-10-06 18:34:46 +00:00
Translation updater bot cfe09c86d8 Localisation updates from http://translatewiki.net.
Change-Id: Id2e1895485d9988c9bfca8be6049c18cdebc242e
2013-10-01 18:59:36 +00:00
Translation updater bot 33250d4284 Localisation updates from http://translatewiki.net.
Change-Id: Ia45de01b8c9a25c6fa04c6a41d837e0003c425f5
2013-09-29 20:01:48 +00:00
jenkins-bot f9ab3ed522 Merge "Profiling" 2013-09-20 22:51:07 +00:00
jenkins-bot c8cfeae0da Merge "Move hooks to a separate file" 2013-09-20 22:50:42 +00:00
Translation updater bot f6be595124 Localisation updates from http://translatewiki.net.
Change-Id: I7e05a876c3142813e64edf839732798621892be5
2013-09-20 19:36:38 +00:00
Translation updater bot b07ef97a6e Localisation updates from http://translatewiki.net.
Change-Id: I01964eca5f49582a9f84119bc13b78e290262bd8
2013-09-17 19:45:00 +00:00
Translation updater bot 7e68b32b7a Localisation updates from http://translatewiki.net.
Change-Id: I104391c61cd4e7a28ea3c49761f4559cbdfb8a47
2013-09-12 19:32:28 +00:00
Reedy 12b2e7dd68 Invalid argument supplied for foreach() in ApiQueryGadgets.php on line 58
Gadget::loadStructuredList() can return false

Bug: 53829
Change-Id: I11f0531711cb431fa9f44c0fece527aea82f6a5a
2013-09-11 20:48:55 +01:00
Translation updater bot bb874dad32 Localisation updates from http://translatewiki.net.
Change-Id: Ia5818ca3293d8bee2280f519e538ebec40c9ab7e
2013-09-09 19:25:04 +00:00
Translation updater bot 4498c60c32 Localisation updates from http://translatewiki.net.
Change-Id: Ib591640073f8586f493c951d0dd3f646ed9b19fb
2013-09-02 19:22:04 +00:00
Max Semenik 0a1a4f4438 Profiling
Change-Id: I4988e95e953f55bc96779c4fcc7d94553d5b3b0c
2013-08-30 03:43:17 +04:00
Max Semenik 0ee165bce8 Move hooks to a separate file
Change-Id: I2cb53bd4beae247c1b983dc8c4482af682acab64
2013-08-30 03:35:07 +04:00
Translation updater bot 80bfc726a0 Localisation updates from http://translatewiki.net.
Change-Id: Ie2d2077072e4f15fc16e3e8ddfacc53f2b273df6
2013-08-24 18:48:24 +00:00
Translation updater bot a419a2a4eb Localisation updates from http://translatewiki.net.
Change-Id: Ib2d30c4fbeb7ff398488f3d937eedab7fd9c01d2
2013-08-18 19:34:43 +00:00
Translation updater bot b0b15a8043 Localisation updates from http://translatewiki.net.
Change-Id: I059f31966c7d9ee24faa99ad07050528a0cbe232
2013-08-10 19:30:25 +00:00
Translation updater bot c0ad184a57 Localisation updates from http://translatewiki.net.
Change-Id: I1974e599d76d35af2499f3d23e2deb49a6111c90
2013-07-31 19:57:38 +00:00
Translation updater bot d2945daad7 Localisation updates from http://translatewiki.net.
Change-Id: I7b0081d76cd289cd02f01c1f4731b127de5383e8
2013-07-28 19:11:19 +00:00
jenkins-bot 665f769b66 Merge "Add 'top' flag to allow Gadgets to top-load" 2013-07-25 22:05:22 +00:00
Translation updater bot 5474e639b2 Localisation updates from http://translatewiki.net.
Change-Id: Ie11e1258d98229b476d20f58140199b603d6ddfe
2013-07-25 19:28:33 +00:00
Roan Kattouw 17c820f364 Add 'top' flag to allow Gadgets to top-load
Obviously this should be used sparingly, but it's needed for some
initialization stuff like registering plugins with VisualEditor.

Change-Id: Ifeed524a53601a47b3a945ca0a324bbbead0f1f5
2013-07-23 21:02:19 -07:00
Translation updater bot 132a22da68 Localisation updates from http://translatewiki.net.
Change-Id: I482afec50bd8b42d2d4d84a6bc17d07dc29c4f62
2013-07-23 18:38:56 +00:00
Translation updater bot 32ad9d2eb3 Localisation updates from http://translatewiki.net.
Change-Id: Ic91ab9e0ff4c43e380bedb27a86c6d8680a617e7
2013-07-22 20:13:31 +00:00
Translation updater bot 1fbe15c8ca Localisation updates from http://translatewiki.net.
Change-Id: I43fb76915a23b3bd7b2f0f8c657ff13f8d9f96f8
2013-07-20 20:47:26 +00:00
Translation updater bot 3d3c0f4076 Localisation updates from http://translatewiki.net.
Change-Id: Iaa83b39050387e07484fdc9694bd2e379405aa12
2013-07-14 19:16:05 +00:00
Marius Hoch 4f65685257 Don't cache the gadget-defintion in case no gadgets were found
After some investigation I could only find a few unlike
possibilities which eventually could lead to the issues
described in the bug. In the end I decided that it would
be the easiest and probably most robust solution to simply
don't cache in case no gadgets were found, even if the
MediaWiki page exists.
This shouldn't cause any performance issues as we already
don't cache in case no gadgets could be found in all paths
of this function except after trying to parse the gadget
definition.

Bug: 37228
Change-Id: I3092bcb162d032282fbe263c7f14f4d1ce9163ab
2013-07-14 18:01:37 +02:00
Translation updater bot d7feda11b0 Localisation updates from http://translatewiki.net.
Change-Id: Idd926a51cecafb12ad363d5055e3ae49291fadb4
2013-07-12 20:14:46 +00:00
Translation updater bot ba1a5869c1 Localisation updates from http://translatewiki.net.
Change-Id: I223bc166289f5528c166bca2c6c0278c33eb9d49
2013-07-06 19:01:38 +00:00
Translation updater bot 8c4d2f2de4 Localisation updates from http://translatewiki.net.
Change-Id: I2ba9f361e682bd90a84a3a4a62e52049d45e8717
2013-07-04 20:08:25 +00:00
Translation updater bot 760fa9d50d Localisation updates from http://translatewiki.net.
Change-Id: Ie14a5b0eab851585903aceb8ec3f37de8cc8c8c4
2013-06-28 13:56:28 +00:00
Translation updater bot 08cbe2abee Localisation updates from http://translatewiki.net.
Change-Id: I338d2d818631a8fc98bc49229b4920cb8189843b
2013-06-27 19:54:53 +00:00
Translation updater bot ac74e806be Localisation updates from http://translatewiki.net.
Change-Id: I97c91b4eb38120a3d75a1215f45a45af3aa4d55f
2013-06-17 21:25:21 +00:00
Lewis Cawte fc31e94ac9 HTTPS MediaWiki.org redirects to HTTP, so changing to WWW.
Change-Id: Iffbb3751753b211221728fa890e2c82e94f0150e
2013-06-14 18:10:19 +01:00
Translation updater bot faca1b2732 Localisation updates from http://translatewiki.net.
Change-Id: I5cf64d1d06920d9bae0fea7d11e6842ca39c5b5b
2013-06-12 19:55:29 +00:00
Translation updater bot 271bb62c2f Localisation updates from http://translatewiki.net.
Change-Id: I4cfe27ffc5e301abeb0ee667b38ae8c69d1f563b
2013-06-11 20:53:54 +00:00
Translation updater bot 6f022779cb Localisation updates from http://translatewiki.net.
Change-Id: I760302cbbf932064b4c83810e723e36889474ca2
2013-06-10 07:25:20 +00:00
Translation updater bot 3d9a580588 Localisation updates from http://translatewiki.net.
Change-Id: I176a0e80be45f5580338605dcfd81b8d1e5adee0
2013-06-03 18:44:58 +00:00
Liangent 867ccb19b4 Gadget-definitions: Make comment matching non-greedy
Change-Id: I1b92e4d84d11ff7493a2ec684815d19f0937caa7
2013-05-24 09:18:09 +00:00
Translation updater bot e2dcb8f62d Localisation updates from http://translatewiki.net.
Change-Id: I7fd60526a63efe4773fc92897a02aebf33934dec
2013-05-21 05:52:40 +00:00
Translation updater bot 6fa6a963a8 Localisation updates from http://translatewiki.net.
Change-Id: If419f63dbf5c4ba5be858e7e6f91c4fa0ff4901a
2013-05-04 20:22:57 +00:00
Translation updater bot 7b168ee18c Localisation updates from http://translatewiki.net.
Change-Id: I62d21c5e54c9609f619d5ee3cb4d60e92161dd53
2013-05-02 20:47:55 +00:00
Max Semenik 192d37b19a Allow disabling of legacy gadgets (Mobile support)
The mobile environment differs from the desktop environment so various
gadgets may not work as expected. ResourceLoader deals with this for
normal modules by enforcing a 'targets' property that requires
javascript that wants to run on mobile to specify a mobile target.

This change
* Allow other extensions to disallow legacy gadgets
* Allow specifying module targets in similar way to RL, effectively
creating mobile gadgets

Bug: 44918

Change-Id: I9ee852e33412826608b6039fa01a2b0027b35e7b
2013-05-01 01:48:28 +00:00
Timo Tijhof eca021ed61 tests: Rename file to end in Test.php
Though the hook registration was working fine, the run from
Jenkins was failing.

Jenkins runs like this:

 $ php tests/phpunit/phpunit.php extensions/Gadgets

Which bypasses UnitTestsList and uses auto-discovery within the
given directory of "*.Test.php" files.

Renamed to file to match PHPUnit's internal discovery pattern
and updated the onUnitTestsList callback to use this pattern
as well.

Also updated documentation applied recent code conventions in
this area (extend MediaWikiTestCase).

Change-Id: Iaa52a5eafdebf1529dd02fb1bed89d27c298e0d3
2013-05-01 03:20:39 +02:00
Translation updater bot 3dfbd261c4 Localisation updates from http://translatewiki.net.
Change-Id: Ide1e9b4a1bb5bdc4a3053956807c55bd17ed7dcd
2013-04-28 23:56:21 +00:00
Translation updater bot b5c747eed7 Localisation updates from http://translatewiki.net.
Change-Id: I3a7d8f609da7a1332fc86bd8c1398c138654acc2
2013-04-26 22:12:31 +00:00
Translation updater bot 8bf06d770b Localisation updates from http://translatewiki.net.
Change-Id: I34e3bab7769ea94961e990550929a9c413e84279
2013-04-15 20:58:10 +00:00
Translation updater bot 64c5aefa7c Localisation updates from http://translatewiki.net.
Change-Id: Ibeab73c1554f3127ccd457c4df23e0f028d90cbe
2013-04-10 20:32:34 +00:00
Translation updater bot b8e9c93b37 Localisation updates from http://translatewiki.net.
Change-Id: I580701f48ad0b32f7d60d5d604368a5702b90d5f
2013-04-09 20:31:28 +00:00
Translation updater bot b79c73b45f Localisation updates from http://translatewiki.net.
Change-Id: Ib197d6b9b0d162fe607eef37777334b20e787e8b
2013-04-08 19:59:23 +00:00
Translation updater bot 9f49238415 Localisation updates from http://translatewiki.net.
Change-Id: If6c0e48535475f9d28663027a2b3c8a08153c7af
2013-04-04 19:59:44 +00:00