Thiemo Mättig
9b65ac4def
Organize code in includes/maintenance directories
...
Change-Id: I3a243074049a5b8b212de5bcd1e341c36e4a13e0
2015-11-12 08:33:43 +01:00
Marius Hoch
4d81dbac99
Slightly improve type hints
...
Change-Id: I620135289b4f0ff95ed3013420194570c26b7a4f
2015-10-31 02:31:13 +01:00
Thiemo Mättig
1f1c72bb2c
Use mExtensionData instead of undeclared class property
...
Change-Id: I155e37fda412cd467da7b34c52b34661c7c20224
2015-10-26 12:09:52 +01:00
Thiemo Mättig
23cf541f1b
Add inline documentation and newlines for readability
...
Change-Id: I3a5a4ef67836cbfe0277f511f8b23030d248141c
2015-10-26 11:41:13 +01:00
Brad Jorsch
a77426a8ff
Further cleanup for core API change
...
PS25 and later changed things around a fair bit, meaning the previous update
needs some further updating. In some cases additional cleanup is also necessary
for future core API changes.
Bug: T96595
Change-Id: Iad2959862ea8a45ebddd0f076344f0f950d30c80
2015-04-20 14:41:29 -04: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
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
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
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
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
Max Semenik
4a41753bdc
FIx undefined index notice during parser tests
...
Bug: 67046
Change-Id: I66523a3ba2aa05c25e611b802ca05b172f47b745
2014-06-24 14:05:19 -07:00
Max Semenik
848c895aca
Fix fatal
...
Bug: 66799
Change-Id: Iea2d63371515d6dcb6859f1dbba577273ec78d32
2014-06-18 12:58:12 -07: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
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
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
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
Max Semenik
4cf95fce34
Fix inconsistencies discovered after deployment
...
Change-Id: Iae46ce295914fa2b27a8e0ac813849436ebdef36
2012-12-28 20:30:15 +04:00
Max Semenik
bd4ddfa90b
Throw away everything not needed per our current requirements
...
Due to vastness of rewrite, recommend whole extension review instead of
reading diffs.
Change-Id: Ia50869d68b8796be9c95d0783f3f7adb71fdc2df
2012-12-21 12:40:47 +04:00
Max Semenik
32bc6cc0d2
Rewrite to support more precise search than just for presence/absence of pics
...
Pageset 2: fix minor stuff from CR
Change-Id: I6c0fa563a791c5fec82755beb695af74edd6c040
2012-07-20 00:51:16 +04:00
Max Semenik
b769eafb04
bump limit to match the number of search results
2012-03-09 13:49:02 +04:00
Max Semenik
c1dcabeee2
Extend OpenSearchXml with image information
2012-03-08 18:01:00 +04:00
Max Semenik
2dadbf5c41
kill trailing ws
2012-03-02 20:45:07 +04:00
Max Semenik
49d0a775a5
Blacklist functionality
2012-03-02 20:42:17 +04:00
Max Semenik
239fb0f521
Code docs
2012-03-01 18:33:28 +04:00
Max Semenik
54b528a363
fixes
2012-03-01 17:29:30 +04:00
Max Semenik
63361c93c3
Scoring system
2012-03-01 16:25:57 +04:00
Max Semenik
6d258671b5
++
2012-02-29 14:50:36 +04:00