Commit graph

811 commits

Author SHA1 Message Date
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
Translation updater bot d86d9bd65f Localisation updates from http://translatewiki.net.
Change-Id: I6e8fec7940164a9f2ea80b8da6222d09327dda05
2013-01-29 21:01:21 +00:00
Translation updater bot fd767ad18c Localisation updates from http://translatewiki.net.
Change-Id: I2369e642cd763338a5894f31718fd793da433b67
2013-01-28 21:54:28 +00:00
Translation updater bot 261af2dab0 Localisation updates from http://translatewiki.net.
Change-Id: Ic6023aa727dfeeae11ac4cb39fa3cce5fe8be2a2
2013-01-27 17:37:23 +00:00
Translation updater bot 2898ab8b0c Localisation updates from http://translatewiki.net.
Change-Id: I155cdeb48b13bf1a14cc25faf2c89c6785797313
2013-01-19 16:10:56 +00:00
Translation updater bot 63457df1cc Localisation updates from http://translatewiki.net.
Change-Id: I7f8f0f17af4167dc5a6c572b9f03c483d08ea340
2013-01-11 20:33:53 +00:00
Translation updater bot b7a6ba349e Localisation updates from http://translatewiki.net.
Change-Id: I3e20ba739981f9cc5a222eb5ed0cac4efb01e615
2013-01-06 20:10:33 +00:00
Translation updater bot 647e08333d Localisation updates from http://translatewiki.net.
Change-Id: Ia07791d795acbe42c3084f342a81f4715eda287e
2012-12-31 20:43:15 +00:00
Translation updater bot e4d28a1a5e Localisation updates from http://translatewiki.net.
Change-Id: If77e0924558866d6269f2f1366ac6bcf32c9bd36
2012-12-27 21:20:34 +00:00
Translation updater bot bfd78131f1 Localisation updates from http://translatewiki.net.
Change-Id: I8c70b8046093893591b0c61b652e63d3ea8c8f5b
2012-12-26 21:08:41 +00:00