Commit graph

2765 commits

Author SHA1 Message Date
Prateek Saxena fa66ad2184 Fix redirect for info-link
Bug: 63868
Change-Id: I12f92211caad78e867bc7bf0f605ff0391498d4d
2014-04-13 08:05:55 +05:30
Translation updater bot edd49b32ca Localisation updates from https://translatewiki.net.
Change-Id: I4450cf06c99497a28de50f1bccfe85c64d0a481b
2014-04-11 19:48:57 +00:00
Translation updater bot 8c10eb2054 Localisation updates from https://translatewiki.net.
Change-Id: Ic2cb40c999c87ca1401ac2180581fa5322c190d1
2014-04-09 19:39:51 +00:00
Translation updater bot f9f361ee3a Localisation updates from https://translatewiki.net.
Change-Id: Ie49749917680dc62fccd840ee8f43456a5ac74b7
2014-04-08 20:06:18 +00:00
Santhosh Thottingal ad7db9cc36 Misc code formatting cleanup
* Consistant whitespace after keywords
* Misc whitespace cleanup as per JS coding guidelines
  https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript
* pass mw to IIFE and use the function arguments close to function body
  ( function ( $, mw ) {
  ...
  }( jQuery, mediaWiki ) )
* Moved prefined moment to .jshintrc. Move browser:true too

Change-Id: If488974e8e5987916bc4043e4e70bb6c60472b30
2014-04-07 15:09:59 +05:30
Translation updater bot 9f0139fd83 Localisation updates from https://translatewiki.net.
Change-Id: I4c7e856a4b165f7e2197880297a51acc6118453b
2014-04-06 19:42:41 +00:00
Spage 4ef29afb88 Merge "Fix placement issue for smaller images" 2014-04-06 09:30:17 +00:00
Translation updater bot 9f2975addc Localisation updates from https://translatewiki.net.
Change-Id: I0ebb2a9d35f5df8958827c1371e752da0e8ae1b9
2014-04-05 19:44:28 +00:00
Prateek Saxena 43df8474cd Use escape key to hide popup
Bug: 62948
Change-Id: I9623cd95b5e2832d68d9409d8056ad6d50da0398
2014-04-05 18:39:48 +05:30
Translation updater bot 17c296b187 Localisation updates from https://translatewiki.net.
Change-Id: I4e0b4020ffc173017bf8cc3cdc8be3eb5331f04b
2014-04-04 20:24:41 +00:00
Juliusz Gonera 0719a75d08 Prevent popups after scrolling
Prevent popups from showing up when the mouse cursor accidentally
ends up hovering a link after scrolling.

Change-Id: I07a95d9eabdc22a045a97b07f98fb0d632a276c1
2014-04-03 14:56:06 -07:00
Prateek Saxena 27650cae19 Use aria-hidden for popups
Bug: 62948
Change-Id: I0d5428be2e5299e57232335c00b45649ba23ce9f
2014-04-03 19:14:26 +00:00
Prateek Saxena dd639d4020 Use tooltip role for Popups
Bug: 62948
Change-Id: I10f42bbd01e2a5925ee5323eb1c6968e0b1787a4
2014-04-03 19:14:06 +00:00
Prateek Saxena 511b6f251f Add white fill in triangle for hovercards with images
Bug: 62945
Change-Id: I1b3ec90a8cd482c100ee8b2abd5ee69f3890a576
2014-04-02 06:54:38 +00:00
Prateek Saxena a5b57a40e4 Remove redirects to text and heading
Bug: 63155
Change-Id: I42fb9cc1a8b26eaf6807243e4e7bdbf0b56dc35c
2014-04-02 06:54:13 +00:00
jenkins-bot 8b8f9d4a45 Merge "Show and hide Popups on focus and blur (along with mouseenter/leave)" 2014-04-02 06:49:44 +00:00
Prateek Saxena b2c5424272 Show and hide Popups on focus and blur (along with mouseenter/leave)
Bug: 62948
Change-Id: Ica9ba7099cb0430983a07251baf62861d7901b9a
2014-04-02 12:16:00 +05:30
Translation updater bot 26641ca78b Localisation updates from https://translatewiki.net.
Change-Id: If64e934f2ed9070197ec5cee4a61bbd1b892f6cf
2014-04-01 19:49:28 +00:00
Prateek Saxena 1b4a7a1f26 Fix for RTL languages
Bug: 62970
Change-Id: I7c2a2afa8fc2b52727fd7e86a7774b9d8196917c
2014-04-01 11:48:40 +05:30
Translation updater bot 79f481cbca Localisation updates from https://translatewiki.net.
Change-Id: Ia2d0cbbcea5946f039ebd86435a46a3067d7e1e5
2014-03-31 20:16:14 +00:00
Prateek Saxena abc06cb0ef Use correct spacing conventions for jshint comment
https://gerrit.wikimedia.org/r/#/c/120752/3/resources/ext.popups.core.js

Change-Id: I66d715528997c5ec1476b61a130934bc3b642dce
2014-03-31 12:03:54 +05:30
Translation updater bot ae28167446 Localisation updates from https://translatewiki.net.
Change-Id: I0d73b4e99c932c79acfa1be643e9f22ba30b5b75
2014-03-30 20:13:50 +00:00
Translation updater bot 3bc1f998fb Localisation updates from https://translatewiki.net.
Change-Id: Iea0358fd279318c60e452803b458076b93ccd482
2014-03-29 21:18:17 +00:00
Matthew Flaschen d71713aff8 Mention BetaFeatures as dependency, correct comment
Change-Id: Idf406fabc89c951e6457876f69dc7b97ff948add
2014-03-29 03:05:54 -04:00
Siebrand Mazeland 7a6fdeb327 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I6931ff83b4358bbc55af3627f069201795700fd2
2014-03-28 21:40:17 +01:00
Translation updater bot 0ecac918fe Localisation updates from https://translatewiki.net.
Change-Id: Ia8a2b6812161eb9ba9fbdd75464c39729c543920
2014-03-28 19:31:55 +00:00
Prateek Saxena 58438de5b1 Fix placement issue for smaller images
Bug: 63207
Change-Id: I378bda652579a2f42469676f110452cbc4941ab0
2014-03-28 23:58:27 +05:30
Translation updater bot abafedb99d Localisation updates from https://translatewiki.net.
Change-Id: I917b77563f27f85bba24a781bb77b007740b14b1
2014-03-27 20:31:50 +00:00
Translation updater bot 2c65b3dd50 Localisation updates from https://translatewiki.net.
Change-Id: I32d382d86f796b2eb01051dafca134f5bb0f58f2
2014-03-26 20:41:14 +00:00
Translation updater bot 0c94f81b4a Localisation updates from https://translatewiki.net.
Change-Id: Id3b231161eb17943ccb3d3246444257a53fa70f1
2014-03-25 20:52:37 +00:00
Prateek Saxena eb625b222d Add .jshintrc file and update core.js to remove errors
Bug: 62997
Change-Id: I89d46c913994bd620ae904fbd626621be4aca170
2014-03-25 14:58:53 +05:30
Translation updater bot 720fe09e2c Localisation updates from https://translatewiki.net.
Change-Id: Ie75d2ac8eb07baae266c725afbfe7a6cbd01a9d0
2014-03-24 22:22:40 +00:00
Siebrand Mazeland ae97a27717 Remove period from desc message for consistency
Change-Id: Iafbbd5bf2fbda90dbef0d40f062d3ebec59df100
2014-03-23 22:14:28 +01:00
Translation updater bot d521111a3f Localisation updates from https://translatewiki.net.
Change-Id: I631ab0df48efd841b9309130badf2ecf87898330
2014-03-23 20:30:46 +00:00
Prtksxna b7523ad882 Merge "Added an RTL beta feature icon" 2014-03-23 08:49:21 +00:00
Translation updater bot 01ef23dc1d Localisation updates from https://translatewiki.net.
Change-Id: I5f79ed1fcfab5a02e063c86c6f6e80b2505b1d06
2014-03-22 20:50:21 +00:00
Amir E. Aharoni cf0fd647dc Added an RTL beta feature icon
This is the first patch using the new format of
rtl/ltr icons, which was made possible in
I1c72aaa3f847b1b7679113f2b88cbb92adf0f936

Change-Id: Ieca7cfc5efaf1494b80d554c476a4d61958b0661
2014-03-22 01:05:08 +02:00
Translation updater bot b31529681e Localisation updates from https://translatewiki.net.
Change-Id: I12a2c64aa2b5f590fe12b7a84b8d44e8e55a95e3
2014-03-21 20:47:54 +00:00
Translation updater bot 6996ebf64f Localisation updates from https://translatewiki.net.
Change-Id: I3cfb44aada1d280d4aa5d4ce555f1f0bae6c8ac8
2014-03-20 20:30:56 +00:00
Prateek Saxena 7386f10df3 Make EventLogging a soft dependency
Based on https://gist.github.com/atdt/4652474

Bug: 61880
Change-Id: Ief5ce7eef43ffe4612541627dff2b0fc75b696ab
2014-03-20 16:47:52 +05:30
Translation updater bot 8a3426268e Localisation updates from https://translatewiki.net.
Change-Id: I001beb76356c8d243ef5f1d3e06c297637400df2
2014-03-19 20:43:48 +00:00
Prateek Saxena 89868d2e18 Renaming Popups to Hovercards in the i18n file
Bug: 62769
Change-Id: I21a31ef7d610b9214ee97187bd6b1588ba80760d
2014-03-19 07:16:40 +05:30
Translation updater bot b49b1ac3c8 Localisation updates from https://translatewiki.net.
Change-Id: I07f3314eb54da96cf32ac187d8d9d3c7341f3a1b
2014-03-18 21:01:29 +00:00
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