Commit graph

112 commits

Author SHA1 Message Date
Translation updater bot d2da655471 Localisation updates from https://translatewiki.net.
Change-Id: I3ee072a2c67f1b957309070a627a598216e022e1
2017-11-08 22:37:37 +01:00
Translation updater bot 697efd7542 Localisation updates from https://translatewiki.net.
Change-Id: If1029566315f5198e04bf6952287dcd4470c2df3
2017-11-03 22:38:38 +01:00
Michael Holloway a9af75cbc4 Hygiene: Remove legacy 'original' property from 'thumbnail' output
Original image info is now a first-class output property, and the
'original' property of the 'thumbnail' object has been deprecated since
December 2016 (with an API warning provided since then when original image
info is requested).  It should be safe to remove at this point.

(N.B. The 'original' property was an undocumented piprop before the format
update, and the legacy output likely sees little if any usage.)

Bug: T152163
Change-Id: I73b476f9e50c14f705a30e20bc836b8db371f5f0
2017-10-30 17:48:04 -04:00
Translation updater bot b4109faac9 Localisation updates from https://translatewiki.net.
Change-Id: I1f52d6f23c188208dfdb9b85b3a6ba1e21d453c5
2017-09-22 23:05:49 +02:00
Translation updater bot 42f2320088 Localisation updates from https://translatewiki.net.
Change-Id: I561670b7c218ec7130f6fcc79e0c3d4578b327cc
2017-09-19 23:02:57 +02:00
Translation updater bot eb40ed4912 Localisation updates from https://translatewiki.net.
Change-Id: If83d4a6c14d0cff8fd6e32dc836b0b4271c20f33
2017-08-17 09:01:20 +02:00
Translation updater bot 806184240f Localisation updates from https://translatewiki.net.
Change-Id: Ied0ef9319595a74fa5e0918f89c542a84a8c1d1b
2017-07-26 22:44:02 +02:00
Translation updater bot 13d152621e Localisation updates from https://translatewiki.net.
Change-Id: Idb9cca637bf518f25a839b903d321a5b20668e89
2017-07-24 23:07:28 +02:00
Translation updater bot 178bec5217 Localisation updates from https://translatewiki.net.
Change-Id: I43ddb49ae7a89c329d3fdec9cd5414770b7a4194
2017-07-20 22:53:47 +02:00
Translation updater bot d881c8848a Localisation updates from https://translatewiki.net.
Change-Id: I83d4fe3164c57b8170d264e1df2ae2a29119a595
2017-06-28 23:00:49 +02:00
Translation updater bot b323d91aa4 Localisation updates from https://translatewiki.net.
Change-Id: If9bd6c014b3c4cc24a663b5ae45e212be2615040
2017-06-20 22:54:17 +02:00
Translation updater bot 413e346b1d Localisation updates from https://translatewiki.net.
Change-Id: I2485557c0cbe435c0f7f97fb186e03ea08d199aa
2017-06-17 22:37:08 +02:00
Translation updater bot 494944efc9 Localisation updates from https://translatewiki.net.
Change-Id: Ib5be2acccb1f3c4991ca425badba4cdfcc8bce8b
2017-06-15 23:08:36 +02:00
Brad Jorsch 889c17408e API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: Ib19e10fd7519e13500493b8082c67684cead1832
2017-06-09 11:59:25 -04:00
Translation updater bot 9175a42945 Localisation updates from https://translatewiki.net.
Change-Id: If798580c2dee0b159b1c6960cd9a4bb6547cf2b6
2017-04-17 22:39:12 +02:00
Translation updater bot b360c0305c Localisation updates from https://translatewiki.net.
Change-Id: If44887e4774d0d3db27fab120b64e0c18a110746
2017-04-06 23:52:05 +02:00
Translation updater bot 796c84ff7f Localisation updates from https://translatewiki.net.
Change-Id: I22a74b007cd0594020ca4acbf91ab3c6fb104558
2017-03-29 22:39:04 +02:00
Translation updater bot 4e145ec7d0 Localisation updates from https://translatewiki.net.
Change-Id: If34d63db85a970134272e6888b5cdb6308b3b956
2017-03-08 22:36:51 +01:00
Translation updater bot 98630d8f67 Localisation updates from https://translatewiki.net.
Change-Id: I8985991f7a39eb4035d6601730370d6301731cd9
2017-03-03 22:39:29 +01:00
Translation updater bot 8334aab55b Localisation updates from https://translatewiki.net.
Change-Id: Ib43b01cffd470c8af735e0b3b7d8ccea0a291c32
2017-02-15 22:35:48 +01:00
Translation updater bot 7ca697ddbe Localisation updates from https://translatewiki.net.
Change-Id: I24abd8978329315809c509872c211c0847ad6a6a
2017-02-14 22:44:03 +01:00
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