Commit graph

735 commits

Author SHA1 Message Date
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
Translation updater bot a45e27bff8 Merge "Localisation updates from http://translatewiki.net." 2013-10-15 19:41:18 +00:00
Translation updater bot 4727a19750 Localisation updates from http://translatewiki.net.
Change-Id: I3cfc0b4627eddca314e82eceb8aeb3798170d559
2013-10-15 19:29:09 +00:00
Translation updater bot 4d2b6dc961 Localisation updates from http://translatewiki.net.
Change-Id: I472faa6881b3f9c50765abf377ca432fe68be5df
2013-10-14 09:30:18 +00:00
Translation updater bot 5d661ec5e5 Localisation updates from http://translatewiki.net.
Change-Id: I7104847446ed233da97ce0753cf781211e1f8025
2013-09-09 19:27:13 +00:00
Translation updater bot db127ee909 Localisation updates from http://translatewiki.net.
Change-Id: I4573b9983f6a215687405792d97c8a83bc693b22
2013-08-18 19:38:16 +00:00
Translation updater bot 5ac505e1fa Localisation updates from http://translatewiki.net.
Change-Id: I6004907b98b9e6925bcce0ba878936c9b429b9fb
2013-07-11 19:13:41 +00:00
kaldari cb9f88263f PageImages on File namespace should be the file itself
When requesting the image info for a File namespace page we should
just use the file itself rather than searching for a page_image.

Bug: 50252
Change-Id: Ide250d489a1ceedd7e896a3b44471752f0971fb1
2013-07-09 11:52:15 -07:00
Translation updater bot 6f9579c939 Localisation updates from http://translatewiki.net.
Change-Id: I8b313c463dc14c90feff4048dfbed8a4e555030d
2013-06-03 18:55:06 +00:00
Translation updater bot cc29ed82e7 Localisation updates from http://translatewiki.net.
Change-Id: Iceab68f30c16eb4a0cf0b52dbae41579acedd41a
2013-06-03 11:52:17 +00:00
Translation updater bot 1cecb199b3 Localisation updates from http://translatewiki.net.
Change-Id: I671b277990058e8cf4a1dfd3402a3f9d1b7da2c1
2013-02-28 20:47:02 +00:00
Translation updater bot e9bb3c4cfd Localisation updates from http://translatewiki.net.
Change-Id: I2bed2afcc6d50aa625178e5bf84d72f600ea9746
2013-02-17 20:48:17 +00:00
Translation updater bot 3bd7add548 Localisation updates from http://translatewiki.net.
Change-Id: I8fb309130711705cd8dc736a4eeaff4f18b43c16
2013-02-16 23:19:48 +00:00
Translation updater bot c1ac88758b Localisation updates from http://translatewiki.net.
Change-Id: I73dbd629b0139aeff30f34f8faf8ce305f10a8a4
2013-02-15 20:36:11 +00:00
Translation updater bot 7d5ef36e5d Localisation updates from http://translatewiki.net.
Change-Id: Icab4b05ccee27d94299164b7a635dbc3e76d0654
2013-02-04 22:20:59 +00:00
Translation updater bot f99e5e97e0 Localisation updates from http://translatewiki.net.
Change-Id: I46bb4e39bbaf6ffb032a066ebdcc97030c4ba8a1
2013-02-01 22:16:34 +00:00
Translation updater bot 6c71caa902 Localisation updates from http://translatewiki.net.
Change-Id: I884de2053cfca15eb1e9deb37fb4b43cb3e6a6f5
2013-01-24 21:00:43 +00:00
Max Semenik 8dfd9998f6 initImageData.php perf tweaks
* Only process non-redirects
* Wait for slaves after every page

Change-Id: Ic948cc946f1949f70e54f70cd39b938bfb2863a6
2013-01-18 04:30:26 +04:00
Translation updater bot 2eeb0de8d1 Localisation updates from http://translatewiki.net.
Change-Id: Ia434fb6d0262a44284718a03ada2936b73019ff2
2012-12-31 20:54:52 +00:00
Max Semenik ac9253d29a Merge "Fix inconsistencies discovered after deployment" 2012-12-28 16:42:03 +00:00
Max Semenik 4cf95fce34 Fix inconsistencies discovered after deployment
Change-Id: Iae46ce295914fa2b27a8e0ac813849436ebdef36
2012-12-28 20:30:15 +04:00
Translation updater bot 2a27dc9376 Localisation updates from http://translatewiki.net.
Change-Id: Ica969106c13dc2a5db1e94aea3afe7582e425c4e
2012-12-27 21:24:53 +00:00
raymond 32cf6dca61 Fix typo in MediaWiki blacklist message key
Add empty message to i18n file. This way it is shown on Special:AllMessages

Change-Id: If72cd32953c3787398068a9c8a82a386b6f41f02
2012-12-26 22:26:51 +01: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 b98389fdc2 Merge "Aaaaaa!" 2012-12-14 23:04:50 +00:00
Max Semenik e8fee50fcf Aaaaaa!
Change-Id: I7fb5bbbe07760d189d9cf80f65604b113af3989a
2012-12-15 03:03:57 +04:00
Translation updater bot 02779c6a46 Localisation updates from http://translatewiki.net.
Change-Id: I06d4e22fa978c355145b2e9966ea1d1c9619a060
2012-12-12 21:15:04 +00:00
Translation updater bot c422e687e6 Localisation updates from http://translatewiki.net.
Change-Id: I94f4456f9766c2a4b102fc8dda6fcd3328953663
2012-11-19 20:18:43 +00:00
Translation updater bot 7f08970726 Localisation updates from http://translatewiki.net.
Change-Id: Ib1f295a8a2c653c94c617ce53a5d209b9248bb34
2012-11-02 20:13:52 +00:00