Commit graph

1222 commits

Author SHA1 Message Date
Translation updater bot b5cc20a954 Localisation updates from https://translatewiki.net.
Change-Id: I7671409baefc92eadc07ff61fb9c94077796f037
2014-03-17 21:21:04 +00:00
Prateek Saxena dc75194d9b Stop overflowing text from hitting the border
Bug: 62194
Change-Id: Id055274b6f1cd2ecdc826b2bb4f3b3fb8f89dc65
2014-03-17 08:29:25 +00:00
Prateek Saxena 710b845da1 Add border around pokey of the popup
Change-Id: Idead01aea93a685f9d061361cfd5978ad3dfda17
2014-03-17 08:28:50 +00:00
Prateek Saxena 091c2e40d8 Use mixin for creating pokeys with the border method
Change-Id: I16f79dd0fc89d986d17c61ecfcd1dca0de8243c4
2014-03-17 08:27:00 +00:00
Prateek Saxena 541f2ca470 Flip the arrow position if the popup is flipped
- Only text popups
- Portrait popups
- Landscape popups

Had to convert the landscape popup's img into an svg:image
too. 2 new SVG masks were made to take care of the flipped
states.

Change-Id: Ib30bb7f5ff9857f6a470b07db05ab50fb0ca8a5d
2014-03-17 08:25:58 +00:00
Prateek Saxena a12adc7f6b Flip the starting point of the popup if its on the right side of the screen
Change-Id: I7a3fea220d051e0d70fcbf0be3d0557ee24c5da2
2014-03-17 08:25:09 +00:00
Prateek Saxena 44028f722b Limit image size for portrait popups
Also position the image in the center (along the y axis)

Change-Id: I4980e6d6e024515710abc1912ffcf99b71297e9e
2014-03-17 08:24:41 +00:00
Yuvipanda 31c7f560c6 Merge "Use moment.js instead of timeAgo method" 2014-03-17 08:21:36 +00:00
Translation updater bot dac88206d3 Localisation updates from https://translatewiki.net.
Change-Id: Ie1c42d471606bdc9c772a043284fc246aba8e335
2014-03-15 20:10:29 +00:00
Prateek Saxena 1818c0d2e6 Use moment.js instead of timeAgo method
Bug: 61481
Change-Id: I8e08335aa091c098a9efd1eb148627b134e42940
2014-03-12 11:21:27 +05:30
Translation updater bot 8973f95163 Localisation updates from https://translatewiki.net.
Change-Id: I0a8e323857e4eaca90bde6488e7fa1242df00e48
2014-03-11 20:45:19 +00:00
Translation updater bot 42167dc535 Localisation updates from https://translatewiki.net.
Change-Id: Ic24f4e7a772eabdb0a346d9deb278be4de7baf85
2014-03-09 20:33:51 +00:00
Translation updater bot 032ab87854 Localisation updates from https://translatewiki.net.
Change-Id: I8603a2036f68a381c3025c6228195d28920df98c
2014-03-06 19:56:01 +00:00
Translation updater bot dbfd8f415e Localisation updates from https://translatewiki.net.
Change-Id: Ie34ad0ee82bc5dcf258915e78b1bbde98d2d9bc4
2014-03-04 20:45:23 +00:00
Translation updater bot 2b021ef048 Localisation updates from https://translatewiki.net.
Change-Id: I864a083afaba7d709f07cfa5b4465820e7ba8a6c
2014-03-02 20:40:38 +00:00
Prateek Saxena 1b82d9b969 Make animation mixin cleaner
Change-Id: I5103daf43112d5a412c030dd90fda67a08469885
2014-02-27 15:19:41 +05:30
Kartik Mistry 9be5be6879 Optimize SVG
Optimize popups.svg using svgo (https://github.com/svg/svgo)

Change-Id: I263824e2ee4885e40f43b7e11341a5f2f42e695d
2014-02-27 13:33:59 +05:30
Jorm c06c6cb06e Merge "Minor type changes/Fix contrast" 2014-02-27 03:07:39 +00:00
Translation updater bot ceb0f971d9 Localisation updates from https://translatewiki.net.
Change-Id: I97252133698bdbe43dae859589c5316e4636ab09
2014-02-26 22:01:35 +00:00
Prateek Saxena b6f57aebcc Minor type changes/Fix contrast
Bug: 61411
Change-Id: Ia33b94f69c3cf655a278311801f64d32841af2e7
2014-02-25 06:32:38 +05:30
Translation updater bot 1393249e59 Localisation updates from https://translatewiki.net.
Change-Id: I5c70efadd6b88717ab116d5ccde0ef3624613284
2014-02-24 21:08:29 +00:00
Prateek Saxena 240e469d9c Add Triangle/Pokey to the NavigationPopups
* Triangles using the border hack for the white part of the popups
* SVG clipPath on FF and Chrome, using SVG <image>
* Fallback to <img> on browsers with not SVG support

Change-Id: I3b1226051436652edbffe4642176c9a0e405243c
2014-02-24 21:55:09 +05:30
Yuvipanda e1d6fccc90 Merge "Make padding consistent for extract and timestamp" 2014-02-24 04:06:01 +00:00
Prateek Saxena 3744726eab Truncate text for portrait popups
Change-Id: I8b1177a538f5e2b0e79f68fe2c125189363c0545
2014-02-24 09:24:25 +05:30
Prateek Saxena 180a493cdc Make padding consistent for extract and timestamp
Change-Id: I3dc9fa9631a9ab17953195cd51eb192b0b009dca
2014-02-24 09:19:16 +05:30
Translation updater bot 5132f65138 Localisation updates from https://translatewiki.net.
Change-Id: I17aaa736b9f34f58e8676c7a661241253119e866
2014-02-23 21:43:13 +00:00
Translation updater bot b735d767af Localisation updates from https://translatewiki.net.
Change-Id: Ibd90f27a06994a79fb8eaa3bd50ddc91080cf11e
2014-02-21 22:28:42 +00:00
Prateek Saxena ecc6f4a00a Increase the space between the link and the popup
Change-Id: Ic3832bb61ac2d209fbc3d4d4204ec9d2d6106ac3
2014-02-21 15:43:15 +05:30
Prateek Saxena 8c0cc231c7 Add dependency to mediawiki.jqueryMsg
Change-Id: I26c1a3e40d1b994dfded39eeef7ad416883a289d
2014-02-21 13:41:44 +05:30
Prateek Saxena 55fbaad4bd Improve color contrast further
Bug: 61411
Change-Id: I91916ce44d6ef6f823432b089e0aef4e513292ad
2014-02-21 13:17:16 +05:30
Prateek Saxena 3ce19d484b Improve contrast of old timestamps
Bug: 61411
Change-Id: If9c3517e49ed81f7d758dfa08967a3af9125956e
2014-02-21 12:56:19 +05:30
Translation updater bot 929653feca Localisation updates from https://translatewiki.net.
Change-Id: I504c784ca8180b5a314b3bfd427f58eda5bb20e4
2014-02-19 20:09:36 +00:00
Prateek Saxena efc3c498fe Add EventLogging
Schema: https://meta.wikimedia.org/wiki/Schema:Popups

Change-Id: Id17e81794561f022e004e18cf3595c3ffd6f3fd0
2014-02-19 11:51:11 +05:30
Prateek Saxena 00bde78b00 Add redirects to message at the top of the popup
Change-Id: I051e4ed84f216e9c8682138927f6dcb6a407ee57
2014-02-18 16:46:12 +05:30
Prateek Saxena 37ddb1997f Use .text instead of .html for the extract
This is alright because we are setting `explaintext` to
`true` in the API call.

Change-Id: I04df151a31ca60f058ea226efe17841b0eb663c4
2014-02-18 16:02:15 +05:30
Prateek Saxena 54b409cee2 Limit container height for landscape popup's extract
This is the only way we can properly truncate text.
We can't do it on the basis of characters as it'll
take up different amount of space based on the script.

Change-Id: I77f8304315beb42eb2120c633d3befb5f83432f9
2014-02-18 14:10:43 +05:30
Prateek Saxena 2899d34a70 Use div with background-image for landscape
This is to prevent the layout from breaking on landspace popups

Change-Id: Ia9d051b4f060d549a4a188ca42fb70a97eed23ab
2014-02-18 13:49:42 +05:30
Prateek Saxena 21b41f78eb Move thumbnail creation to its own method
Change-Id: I1d1b2aff4d8b919bd65e0da8ff07b594f061ccd7
2014-02-18 12:31:17 +05:30
Prateek Saxena a54a0a4195 Position timestamp div from the bottom
Also, removes the the "+" CSS selector

Bug: 61138
Change-Id: Idc88363add5e4f82d3d44b204f7bf3c96fa27839
2014-02-17 15:09:32 +05:30
Prateek Saxena 8ccd27dfb4 Consistency correction
Raymond's commit - https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FPopups/ce43cccc81ad4e2874b77ae553f623efb072d663
was accidentally reverted in https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FPopups/ce59f924897fc8c57ad0b7c2d7c9fa2582549cf2

This commit reverts back to the correct version.

Change-Id: I409611e36dbb3ed52ca146d5aa6180307e843244
2014-02-17 10:05:04 +05:30
Translation updater bot 75ea4566e6 Localisation updates from https://translatewiki.net.
Change-Id: I82e957d1828eb063835e187ef704a737f9dce217
2014-02-16 20:21:18 +00:00
Translation updater bot 6c947c011c Localisation updates from https://translatewiki.net.
Change-Id: I6dc9660fba9ee514e3b66512d73726f8f320e494
2014-02-15 21:06:26 +00:00
Translation updater bot b2a7d04608 Localisation updates from https://translatewiki.net.
Change-Id: I5919bb52faa67ab98b86b7fb79566d373e19fbe8
2014-02-14 20:20:59 +00:00
Translation updater bot 0955f6ca0c Merge "Localisation updates from https://translatewiki.net." 2014-02-13 21:22:12 +00:00
Translation updater bot 3f5e6bcc18 Localisation updates from https://translatewiki.net.
Change-Id: I984b0ea89a3a29749a101ae2ea76e85e0df3dc09
2014-02-13 21:18:55 +00:00
Kunal Mehta 4e85a13c20 Set extension type to 'betafeatures'
Change-Id: If89393fa2a8cf432c6f987a94e7489049515453c
2014-02-13 13:14:06 -08:00
Prateek Saxena ce59f92489 Add time ago in words at the bottom of the popup
Change-Id: I53f77a0c802ae3b9582c51a07fc56ad56e3fd53b
2014-02-13 18:45:02 +05:30
Prateek Saxena e9ad2ef798 Change size of thumbnails in popup
Change-Id: I98ecea9d240a4400cf2277b3b393c4b024fe907f
2014-02-13 11:15:54 +05:30
Prateek Saxena cde2c2f182 Reduce font size for timestamp
Change-Id: Ic54988c0613022fe11ad0019fa9c9b83151252d1
2014-02-13 06:25:44 +05:30
Prateek Saxena 6e3b49807d Remove drop shadow
Change-Id: I21b54b86e231900f0211958cd9c99ef9787ca382
2014-02-13 06:22:58 +05:30