Commit graph

2420 commits

Author SHA1 Message Date
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
Translation updater bot 4e1fbe6d95 Localisation updates from http://translatewiki.net.
Change-Id: Idd25ddc78dc1f0d45bcde24e96934619f215b726
2013-03-31 18:49:26 +00:00
Translation updater bot 1173d78f09 Localisation updates from http://translatewiki.net.
Change-Id: Ic9ec20678f14dda28cf4fcf95e0b7d863ed88a95
2013-03-29 20:38:09 +00:00
Translation updater bot 9c657b0882 Localisation updates from http://translatewiki.net.
Change-Id: I7979e714620efb49f455bb057b834104ded4be80
2013-03-26 21:10:14 +00:00
Translation updater bot 7fece16c5d Localisation updates from http://translatewiki.net.
Change-Id: I3537ae07b2c79b70cee044eb2445e05699bb5be1
2013-03-25 19:54:46 +00:00
Translation updater bot c63d88b178 Localisation updates from http://translatewiki.net.
Change-Id: I9cd2750e2f6b7e561eb48ab493c07efa5ee5773f
2013-03-22 20:06:30 +00:00
Translation updater bot a0aaa9edeb Localisation updates from http://translatewiki.net.
Change-Id: I93263042809a8939468c25078eeb8185b324a99e
2013-03-06 21:52:07 +00:00
Translation updater bot 12fd919458 Localisation updates from http://translatewiki.net.
Change-Id: I7198a5ebd7e15f5cc59ea7d678ec89ee725e9915
2013-03-01 21:22:05 +00:00
Translation updater bot 46048df378 Localisation updates from http://translatewiki.net.
Change-Id: I8cf923f7e4cdf5ba8c564a1f141a9417c848ec8a
2013-02-28 20:41:32 +00:00
Translation updater bot 199a36dd05 Localisation updates from http://translatewiki.net.
Change-Id: I593510dcfbcfde08615aa2a440797bb21be16b19
2013-02-23 20:35:49 +00:00
Translation updater bot b011bc8552 Localisation updates from http://translatewiki.net.
Change-Id: I58ca1e0567e1fcbb3776e4a889155e4601ea6bdc
2013-02-17 20:39:00 +00:00
Translation updater bot bbf70cbbd2 Localisation updates from http://translatewiki.net.
Change-Id: I992012d24c79a6c0ced23eaae08470593bccca04
2013-02-10 21:34:48 +00:00
Translation updater bot b6cf6fcdc9 Localisation updates from http://translatewiki.net.
Change-Id: I69efb9f2b953627130cf741b814377008a6e747b
2013-02-08 21:32:23 +00:00
Translation updater bot 1c082150e1 Localisation updates from http://translatewiki.net.
Change-Id: Ia4cf212454a122f87a98897382903e7a35478dc4
2013-02-07 20:38:22 +00:00
Translation updater bot 01313a2553 Localisation updates from http://translatewiki.net.
Change-Id: I34309f416746ca2bd19e0f2c4028e403383a1615
2013-01-30 20:48:31 +00:00