Commit graph

91 commits

Author SHA1 Message Date
Translation updater bot 1a5bd00330 Localisation updates from https://translatewiki.net.
Change-Id: I4022e79402392aa06593a05092e26f8b599414a5
2017-01-20 09:35:27 +01:00
Translation updater bot e53154dae0 Localisation updates from https://translatewiki.net.
Change-Id: I59d71e7df7ff4a37219a53b66fab3b4661b36a6f
2017-01-18 22:18:56 +01:00
Michael Holloway a8c7cbc870 API: Surface dimensions when requesting original image info
It's useful for API consumers to have the dimensions of the original
image so that they know the bounds within which they can safely rewrite
the thumb URL (bearing in mind the prerendered widths[1], in the case of
WMF wiki consumers).

This change adds an 'original' property to the page object, containing
the original image source URL along with its width and height, when
original image info is requested.

A warning is added when original image info is requested, noting the
format change and warning the consumer that the original image URL will
no longer be provided within the 'thumbnail' property in a future release.

[1] https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L17535

Bug: T152163
Change-Id: I9d937f73a974dfb099b93552405531464b8ad3ae
2017-01-17 15:07:28 -05:00
Translation updater bot 25567fa7df Localisation updates from https://translatewiki.net.
Change-Id: I2847b1b4b66e9a97356d2e84df3a62c7d90ac59d
2016-12-22 22:56:36 +01:00
Translation updater bot 208e36a11f Localisation updates from https://translatewiki.net.
Change-Id: Ia8243102d57f23b6d7105e464410c36afe7f589c
2016-12-14 22:25:46 +01:00
Translation updater bot a466721058 Localisation updates from https://translatewiki.net.
Change-Id: I396f709196bdfc4ed19658e5595207307cbdca50
2016-11-28 22:30:55 +01:00
Translation updater bot 96624ac2e9 Localisation updates from https://translatewiki.net.
Change-Id: I4e9a0442c4106c6902fcfff676d49c944e3f3452
2016-11-27 22:31:20 +01:00
Translation updater bot 87571d46f1 Localisation updates from https://translatewiki.net.
Change-Id: I845d2bca9f8cd63265025f123ae295aabee0756b
2016-11-25 22:52:51 +01:00
Translation updater bot 9a038c19a3 Localisation updates from https://translatewiki.net.
Change-Id: I40a2f46cd64520d3729f85937148efad055c194a
2016-11-24 22:21:34 +01:00
Translation updater bot 22dc62a3ca Localisation updates from https://translatewiki.net.
Change-Id: I384eeb7a7be5416e97027caa9292e8c339afc934
2016-11-23 22:39:16 +01:00
Translation updater bot f146b84dae Localisation updates from https://translatewiki.net.
Change-Id: Ia8799a3d72c43c6cee367fe1f0bfbd16d58ea80d
2016-11-22 23:26:25 +01:00
Baha 382c70f981 Allow querying non-free images too
The API accepts a new query parameter `license`, whose
value can either be `free` or `any`. `free` is the default value.

When the value of `licence` is:
  * `free`, then only the best image whose copyright allows
    reusing it will be returned;
  * `any`, then the best image, regardless of its copyright
    status, will be returned.

Bug: T131105
Change-Id: I83ac5266e382d2d121aff3f7d28711787251c03b
2016-11-21 17:29:25 -05:00
Translation updater bot 009be59a30 Localisation updates from https://translatewiki.net.
Change-Id: Id5b4cfda9bd479e2ec51b36e4b6554e971bb5881
2016-11-15 22:58:14 +01:00
Translation updater bot eef1d08d98 Localisation updates from https://translatewiki.net.
Change-Id: I7f26a75c6881f15cce5bb9b6eda9be6591fb6b75
2016-09-20 22:40:14 +02:00
Translation updater bot 48bbbd1497 Localisation updates from https://translatewiki.net.
Change-Id: Ic798f2003eda92206eed5fb85b9d85bd08c15391
2016-08-08 22:34:40 +02:00
Translation updater bot 59fcfc3bee Localisation updates from https://translatewiki.net.
Change-Id: Id7e66681bcd69f36e97999dae931d938c57e1122
2016-08-05 22:33:48 +02:00
Translation updater bot 8faba0d003 Localisation updates from https://translatewiki.net.
Change-Id: I49971695d25b0b95c5f3364f38588d520f78e8aa
2016-04-12 22:55:40 +02:00
Translation updater bot 068f58843d Localisation updates from https://translatewiki.net.
Change-Id: I00112b162b94c56278e96896d510d0df41215aa2
2016-03-06 22:15:19 +01:00
Translation updater bot 8e9c6fbade Localisation updates from https://translatewiki.net.
Change-Id: I596741985b213b92be14b423744cc55a283046d9
2016-02-19 22:10:02 +01:00
Translation updater bot 1bf982fde1 Localisation updates from https://translatewiki.net.
Change-Id: I67072f1e8a99c44320d7506a8bb7640c5c178f56
2016-02-03 23:08:00 +01:00
Translation updater bot 091012621b Localisation updates from https://translatewiki.net.
Change-Id: I806bb6c0b77019a4c9934c1d15209bc4e80fe37c
2016-01-18 21:36:58 +01:00
Translation updater bot cb184e1349 Localisation updates from https://translatewiki.net.
Change-Id: I50619e480ee1849f46a79f359154233d320d906d
2016-01-17 22:33:41 +01:00
Translation updater bot de2e4e6101 Localisation updates from https://translatewiki.net.
Change-Id: Ie5f3d5034564aea6f609f4f56b70deceb5d314bb
2015-12-22 22:11:20 +01:00
Translation updater bot 77dd2bb0f7 Localisation updates from https://translatewiki.net.
Change-Id: I2f89c63dbb83d38fa2e79b164d9c0d31077e79a9
2015-11-13 21:34:24 +01:00
Translation updater bot 3f68a93660 Localisation updates from https://translatewiki.net.
Change-Id: I8cd6f4c5f2a7df3d5e82923baf0791963b73137a
2015-11-08 22:12:09 +01:00
Translation updater bot abb498deeb Localisation updates from https://translatewiki.net.
Change-Id: Idd7c0d27efa9c935956183c24b5a20b849332698
2015-10-27 21:33:11 +01:00
Translation updater bot 00a663a893 Localisation updates from https://translatewiki.net.
Change-Id: I7aef32dd951c52468f64d9be0aa9e55d3b0343c1
2015-10-22 22:02:39 +02:00
Translation updater bot 7851ed8159 Localisation updates from https://translatewiki.net.
Change-Id: I2d02cb4e837400472a1d18252ab6b12e47b08447
2015-10-15 09:48:48 +02:00
Translation updater bot 4ac82d2836 Localisation updates from https://translatewiki.net.
Change-Id: I152f5aa28e847cccabf0062acf1e9723b7ac89a8
2015-10-13 22:12:24 +02:00
Translation updater bot e3488dd60b Localisation updates from https://translatewiki.net.
Change-Id: Ic594e7579032de698ff21b75a9e12f7eb9b073af
2015-10-12 21:05:25 +02:00
Translation updater bot 6c79e9833d Localisation updates from https://translatewiki.net.
Change-Id: I5b6a78f3d8bd320305a3c16f9aedc562063aef0e
2015-10-10 22:43:14 +02:00
Translation updater bot 4bf28a73d0 Localisation updates from https://translatewiki.net.
Change-Id: Ia30dc6ca5329d641dbd18c7fb56d187a3e253e8f
2015-10-09 22:32:51 +02:00
S Page cc9d7b143f Add example to ApiQueryPageImages via getExamplesMessages
Bug: T89035
Change-Id: Ia3410a35d7bfb1c234f2356b272c56a94cb11efb
2015-10-08 18:01:21 -07:00
Translation updater bot d99db98331 Localisation updates from https://translatewiki.net.
Change-Id: I671cd831985dc34b77051d616984b496a3219961
2015-08-14 22:11:29 +02:00
Translation updater bot a5a4e0c1cd Localisation updates from https://translatewiki.net.
Change-Id: Idb6318e82262e7468594b97e32e6168bbdd974fc
2015-07-24 21:08:38 +02:00
Translation updater bot 0f86040dab Localisation updates from https://translatewiki.net.
Change-Id: Id0f8883452642257275a43fea40fffe1f80ca218
2015-07-05 22:01:24 +02:00
Translation updater bot 65b424b533 Localisation updates from https://translatewiki.net.
Change-Id: I99794917ef047c0d29a3a67c120076be7971eacc
2015-06-13 22:30:55 +02:00
Translation updater bot 7e38ce1bf3 Localisation updates from https://translatewiki.net.
Change-Id: I48f4f9b38631e9f23bc2ef809754ec1af73261c5
2015-06-09 22:48:42 +02:00
Translation updater bot ce854c22e5 Localisation updates from https://translatewiki.net.
Change-Id: Ia06da66fa67003be080f6234864ea8bc3971f415
2015-06-08 21:58:11 +02:00
Translation updater bot 8f7971cce4 Localisation updates from https://translatewiki.net.
Change-Id: Ifbecc5f593abf3a57e7a4476c23a95e4caed514a
2015-06-06 22:21:03 +02:00
Translation updater bot 4866faa243 Localisation updates from https://translatewiki.net.
Change-Id: Ibfd964b3dd4b65d076d4aac2ef28ddd15fb305a3
2015-05-27 22:28:26 +02:00
Translation updater bot 72c7599b35 Localisation updates from https://translatewiki.net.
Change-Id: I7fdb9becded00402f0fde8dbc940b7c772f85b4d
2015-05-21 22:58:58 +02:00
Translation updater bot d1901a9bea Localisation updates from https://translatewiki.net.
Change-Id: Iff08d54f7706e9b18803a3e670dc83c1bcf112d6
2015-05-20 22:16:06 +02:00
Translation updater bot cdb7972f65 Localisation updates from https://translatewiki.net.
Change-Id: I3b28e79b056266025bc964e64a9a3762920ed439
2015-05-19 22:31:00 +02:00
Translation updater bot 7a0fe936db Localisation updates from https://translatewiki.net.
Change-Id: I9b7cf7a0868f4bd8cab7ea6f33e570b7813db96c
2015-04-29 22:34:28 +02:00
Translation updater bot 0b245f8c54 Localisation updates from https://translatewiki.net.
Change-Id: I23f7990b534eb27ef832808209b2f9a09777ba66
2015-04-23 23:37:20 +02:00
Translation updater bot e362ccaed0 Localisation updates from https://translatewiki.net.
Change-Id: I947fe7867f5859cb05748b485f825962c3e04ab7
2015-04-20 22:16:47 +02:00
Translation updater bot 32005dd1a9 Localisation updates from https://translatewiki.net.
Change-Id: Id8b11e2063e396502060de3d378f0dc35a9f645e
2015-04-12 21:55:32 +02:00
Translation updater bot 3d118dbf62 Localisation updates from https://translatewiki.net.
Change-Id: I97ab36a4502427803ced61ed72889e867e2139f0
2015-04-06 21:47:33 +02:00
Translation updater bot ffac86d01e Localisation updates from https://translatewiki.net.
Change-Id: I4f38f4e0fd6cc7fb0f0c0584e126c4be422fca38
2015-03-30 21:48:53 +02:00