Commit graph

21 commits

Author SHA1 Message Date
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