Commit graph

584 commits

Author SHA1 Message Date
Translation updater bot 9cd5e86022 Localisation updates from https://translatewiki.net.
Change-Id: I31fd27dc8cb537a21119f9321600f78f6a82ddc7
2015-03-05 22:26:12 +01:00
Translation updater bot 70471cdb8f Localisation updates from https://translatewiki.net.
Change-Id: Ia1fec9062bee38c6e0534ee743471000999fd05f
2015-02-24 22:02:39 +01:00
jenkins-bot 61a27b045b Merge "Update ApiResult handling for mediawiki/core change I7b37295e" 2015-02-23 21:52:03 +00:00
Max Semenik eb4d48a1dc Kill profiling
Change-Id: I0de8e2e06f9bf6790dd9b8f9364e70ace1b7ac0a
2015-01-20 15:37:08 -08:00
Translation updater bot 9dce3e6d24 Localisation updates from https://translatewiki.net.
Change-Id: I00844447d07c13a137f7061823c549fd3724040c
2015-01-20 21:59:48 +01:00
jenkins-bot 11589cd9ca Merge "MWException -> Exception" 2015-01-10 06:53:17 +00:00
Ori Livneh 792d96b926 MWException -> Exception
Change-Id: If1022d60f2e6408de40e2f67f20710335892a281
2015-01-09 18:57:28 -08:00
Ori Livneh 972c0348cf MWException -> Exception
Change-Id: I897f33a014618467f7dbf0a11cd1bb4c7aee7520
2015-01-09 17:57:41 -08:00
Brad Jorsch 6a45ab8adb Update ApiResult handling for mediawiki/core change I7b37295e
Change I7b37295e for mediawiki/core deprecates several methods, and more
importantly changes the format of the data returned from
ApiResult::getData(). This change should handle these differences in a
backwards-compatible manner.

Change-Id: I7b37295e8862b188d1f3b0cd07f66ac34629678e
2015-01-08 12:30:00 -05:00
Translation updater bot cae33ccb16 Localisation updates from https://translatewiki.net.
Change-Id: Ida10cb99044c569af6210dbf594db9dfb85c46f7
2015-01-06 22:27:31 +01:00
Ricordisamoa 734532b939 Use defined() instead of constant()
To check for the existance of ApiBase::PARAM_HELP_MSG
while preventing warnings from being issued:
http://php.net/manual/en/function.constant.php#refsect1-function.constant-errors
https://www.mediawiki.org/wiki/Thread:Extension_talk:PageImages/Can%27t_find_constant_API_base

Same as Iceaf4e424cd929df7b3df46544844a4b0001f4d7.

Change-Id: I2c83ed1c508ac837536dd0d21d4938296ad6ba03
2014-12-25 04:15:52 +01:00
Translation updater bot 82bffb61e0 Localisation updates from https://translatewiki.net.
Change-Id: Ief664ba96910a0e0498a72fd89dc1bcfb3de7441
2014-12-20 22:26:04 +01:00
Translation updater bot ec97f28c83 Localisation updates from https://translatewiki.net.
Change-Id: Ib7d73b5e1295fd687ae1f1c1f509968d68d5f543
2014-12-18 23:21:50 +01:00
Translation updater bot 3d175d2c3e Localisation updates from https://translatewiki.net.
Change-Id: Ib6a6d57fa209ae89bc7e2b75ed040f5249a2c5af
2014-12-13 22:34:24 +01:00
Translation updater bot c26f58b5cc Localisation updates from https://translatewiki.net.
Change-Id: Ia74c3d17274fc136e202c978256762caaea37fd1
2014-12-08 23:23:20 +01:00
Translation updater bot 2b6ce15218 Localisation updates from https://translatewiki.net.
Change-Id: I30336d4b12f6c360468164ab26b8c3efb5d85825
2014-12-06 22:27:12 +01:00
jenkins-bot c7f5f5e8f8 Merge "Use new ApiOpenSearchSuggest hook" 2014-11-27 05:14:25 +00:00
Translation updater bot 4cce02835e Localisation updates from https://translatewiki.net.
Change-Id: Ibb2618f53225942519d71e39cb3f9136c79e4361
2014-11-16 22:51:40 +01:00
Translation updater bot 18f423bb22 Localisation updates from https://translatewiki.net.
Change-Id: Ic409f84bfadee744e014ecde2cf52ffc2a16060c
2014-11-09 21:53:12 +01:00
Translation updater bot 119854316c Localisation updates from https://translatewiki.net.
Change-Id: Id583c5d2b0fcac878c8983fbe3abf0ab6d44442c
2014-11-08 22:19:18 +01:00
Brad Jorsch bccf0c0862 Use new ApiOpenSearchSuggest hook
With Ie0ab9090, the OpenSearchXml extension is merged into core. The new
hook works identically to OpenSearchXml's hook.

The $wgPageImagesExpandOpenSearchXml variable should probably be
renamed, but I'm leaving that for a different patch.

Change-Id: I16024aa22578585873cddba1daa4ca0dc05645e1
2014-11-05 17:21:06 -05:00
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