Commit graph

363 commits

Author SHA1 Message Date
Translation updater bot d7aff1a229 Localisation updates from https://translatewiki.net.
Change-Id: I05aa6bad74c71fb853b40647f63edd4ea1b76ccd
2014-11-05 21:46:12 +01:00
Brad Jorsch a9e4c40fe5 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
Translation updater bot 3aa849fb8c Localisation updates from https://translatewiki.net.
Change-Id: Id2a7c2e9b42eb1e74e251be202df9e8f70f3c1ba
2014-10-24 22:21:23 +02:00
Max Semenik a5819adbc8 Tweak scoring rules
Adjust them towards larger images, now minimum width not downscored into
oblivion is bumped from 100 to 120 which is the minimum thumb size in
preferences. And the upper limit for maximum score is up from 300 to
400, since the maximum in prefs has grown recently.

Ping vaguely related bug: 72276

Change-Id: Ia81310964d5446833cca11aef1ce9a82f44da991
2014-10-20 15:01:32 -07:00
Max Semenik 69948bc4ac Add page images to mobile watchlist A-Z view
Needed for I2a92e6bfd76fd41c5efef6988a95dad2d7fae6e1

Change-Id: I6d1d5844fae4a414e9c359a7c12cfe73f62640e3
2014-09-19 11:41:48 -07:00
addshore 3240c37efe Remove use of deprecated getPossibleErrors (since 1.24)
Change-Id: I03385d1f239163c60f820cd9936ee384b37b9031
2014-08-29 12:12:47 +01:00
Translation updater bot 0779d0f96a Localisation updates from https://translatewiki.net.
Change-Id: I8b43b79483077d74de6e522829e43cc50d82f513
2014-08-28 22:30:24 +02:00
Translation updater bot dc341802bf Localisation updates from https://translatewiki.net.
Change-Id: I86bbf838d18de362bbbae14dd1e925c0d8d403ed
2014-08-20 22:29:51 +02:00
Translation updater bot 22e36c563e Localisation updates from https://translatewiki.net.
Change-Id: Ie222365ab4d7c336a35e0dc3f30e5f60e5153f23
2014-07-21 21:41:18 +02:00
jenkins-bot 0a321ca81c Merge "Introduce gallery mode" 2014-07-14 20:20:03 +00:00
Translation updater bot 4c73f00657 Localisation updates from https://translatewiki.net.
Change-Id: I577f01e1bcf794667feb0d1b1cb6fb602c29fed5
2014-07-05 19:56:55 +00:00
Max Semenik b8c6fd9325 Introduce gallery mode
In it, the extension will accept images from galleries as candidates for
page images.

Core dependency: I3136d648ef2c1841767db0ab33855cd168e3de3e

Bug: 66510
Change-Id: I64e997d58e4a1b66a8a351d85a3e7df1a77354e9
2014-07-03 17:36:34 -07:00
Translation updater bot c9d108ff01 Localisation updates from https://translatewiki.net.
Change-Id: I4f59c4054b6bc8077e75b7c26d54e0ce4da1e16e
2014-07-03 19:19:35 +00:00
Translation updater bot 3cc2015ee9 Localisation updates from https://translatewiki.net.
Change-Id: I6a9ea97cc97094546bdd5f641786c056dcff0704
2014-06-25 20:41:36 +00:00
Max Semenik 4a41753bdc FIx undefined index notice during parser tests
Bug: 67046
Change-Id: I66523a3ba2aa05c25e611b802ca05b172f47b745
2014-06-24 14:05:19 -07:00
Translation updater bot 9bb5abbe58 Localisation updates from https://translatewiki.net.
Change-Id: I596140edec8850cf76dac09db1baff01a4906fe7
2014-06-20 19:49:58 +00:00
Max Semenik 848c895aca Fix fatal
Bug: 66799
Change-Id: Iea2d63371515d6dcb6859f1dbba577273ec78d32
2014-06-18 12:58:12 -07:00
Max Semenik 195615137e Make sure that thumbnail size is not overreported
Bug: 64661
Change-Id: Iece32c7875dc2e66f0f221649e7dc9c860451c07
2014-06-12 15:18:44 -07:00
Translation updater bot 8af8f1844c Localisation updates from https://translatewiki.net.
Change-Id: I3297d399957b31ee16a001925b7b36179f121b1b
2014-06-06 21:47:24 +00:00
Translation updater bot 71bc23a8b7 Localisation updates from https://translatewiki.net.
Change-Id: I8ecd4c3f473a4af5d5b5b545296f2b28ac72d4c2
2014-06-03 19:51:37 +00:00
Translation updater bot 879abf716d Localisation updates from https://translatewiki.net.
Change-Id: I45d933c4c128ae7b2d7ca86339babab7a30cf857
2014-05-27 20:28:03 +00:00
Translation updater bot 6b2a127c1e Localisation updates from https://translatewiki.net.
Change-Id: I96070831bb9b70efba3a0d0b8571c4519e65923d
2014-05-20 19:03:36 +00:00
Translation updater bot a10fdfe42a Localisation updates from https://translatewiki.net.
Change-Id: I4dadbc811d422e288cb9155257769403f6024acc
2014-05-19 19:46:23 +00:00
Translation updater bot e0c8740f59 Localisation updates from https://translatewiki.net.
Change-Id: I6a872cfce6d0f4ea43c0ee8beb9615c45d22b9a8
2014-05-18 20:07:57 +00:00
Translation updater bot 4e794cbf58 Localisation updates from https://translatewiki.net.
Change-Id: Ic09f9fcbc6938339325cdc0d442b452fa540c32d
2014-05-17 19:56:32 +00:00
Translation updater bot 2bb8b93ffe Localisation updates from https://translatewiki.net.
Change-Id: I0c1ccad54ab299fe454eaafd55d7ccfe72afae60
2014-05-09 22:21:41 +00:00
Translation updater bot 4381b29b73 Localisation updates from https://translatewiki.net.
Change-Id: I89e4442d478180211595d55c7b74b9b5a4b8b48f
2014-05-07 20:00:45 +00:00
Translation updater bot d6e96881d9 Localisation updates from https://translatewiki.net.
Change-Id: I5da0c13b0374b6958170bf4092371805b93032e1
2014-05-06 19:52:50 +00:00
wctaiwan 587bf22f51 Display page image on action=info
Show the page image as one item under "Basic information" on action=info.

Bug: 64178
Change-Id: Id561c817fdda057c9dd8beae275c3b978b4dd20a
2014-05-05 14:16:39 -07:00
kaldari 566ce74936 More accurate calculation of image width for thumbnails
Now uses the actual default values rather than '250'.

Change-Id: I20f3583bc3863fbe81589df391d015c4cfae3cb6
2014-05-01 16:48:23 -07:00
jenkins-bot 2e7b38b498 Merge "Calculate width properly if image is bounded by height only" 2014-05-01 23:44:23 +00:00
Translation updater bot 76b8d4a34d Update i18n shim
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.

Change-Id: Iaf04c91913d5f0442fd381a57ac9c8c2d4cc6f2c
2014-04-22 13:35:11 +00:00
Max Semenik 6a5423cb43 Calculate width properly if image is bounded by height only
Bug: 63185
Change-Id: Ie74dcba495cac7cfe53065d2cd3b559c14fc0ca4
2014-04-17 17:28:40 -07:00
Translation updater bot 9ce1ec2b14 Localisation updates from https://translatewiki.net.
Change-Id: I344eedb976f2a88ad129c6f20f568099a4e62aed
2014-04-16 15:45:44 +00:00
Translation updater bot 21b630d10b Localisation updates from https://translatewiki.net.
Change-Id: I07f1ba641f6aafc5d67eec8b636d306a9897b55d
2014-04-06 19:42:11 +00:00
Translation updater bot 29c78f07e1 Localisation updates from https://translatewiki.net.
Change-Id: Ie294c47093359f03fe4e977aaf5256a370cd5178
2014-04-01 19:49:00 +00:00
jenkins-bot b34f8fb129 Merge "Make results cacheable" 2014-03-31 22:17:14 +00:00
Max Semenik 863affef3d Make results cacheable
Change-Id: I836c15221c043be2c73a4c77b572a0fc52f01b82
2014-04-01 02:15:47 +04:00
Translation updater bot fa76f3ee7a Localisation updates from https://translatewiki.net.
Change-Id: I4810c29d1776003e51639aa0bc4e982ca340d4d8
2014-03-31 20:15:52 +00:00
Siebrand Mazeland bddcacf7fb Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I5b344b529252da5c24e261d3cef3acafdbc14bf0
2014-03-28 12:12:22 +01:00
Translation updater bot 94ff37f4b2 Localisation updates from https://translatewiki.net.
Change-Id: I98f112a34254f010cedf9ac59573c217407f8d80
2014-02-21 22:28:08 +00:00
jenkins-bot fb9ac03a6a Merge "Add COPYING" 2014-02-20 15:38:03 +00:00
Max Semenik acbc27fa45 Add COPYING
Bug: 61580
Change-Id: I459b424ebfe77231c9805b7dbde7d8b5936a22d7
2014-02-20 19:33:08 +04:00
YuviPanda 2386f224c3 Minor typo fix
Change-Id: Ic3b674c3f9fe030457a230debea72cbcd36078b8
2014-02-20 14:01:24 +05:30
Max Semenik 34437e87da Take ratio into account when considering images
An image might be of a sufficient width but still wildly unsuitable
like https://en.wikipedia.org/wiki/File:Status_iucn3.1_EN.svg

Change-Id: Ib34d8b5cc0b15407ce8cf0caae4df1c63247619b
2014-02-12 22:07:36 +04:00
Translation updater bot c0739e0c4d Localisation updates from https://translatewiki.net.
Change-Id: Ib6dbab72da6ac3086db8eb1da404d4d3dd94480d
2014-01-21 19:52:50 +00:00
Max Semenik c2a6ce8cdf Fix parameter description to match the actual behavior
Change-Id: I4329fa7232953d3eed3e6da5bfbada64eca49572
2013-12-10 18:12:36 +04:00
Translation updater bot fe1a3c8f40 Localisation updates from https://translatewiki.net.
Change-Id: I24ec0169bf5e1739f65e531877b41e6e076fb6d9
2013-12-07 01:46:13 +00:00
Max Semenik dab7ed3ca3 Fix OpenSearchXml integration
Change-Id: I9f8dad09945e69bf45ec785a6383c2449551fbac
2013-11-07 22:55:02 +04:00
Max Semenik 486a8e68e6 Add a function to return a single page image
Change-Id: I3e891ee65476eb72b5ffd65d9af3ac1f080d849e
2013-11-06 00:18:14 +04:00