Commit graph

382 commits

Author SHA1 Message Date
Prateek Saxena ca8b7f8658 Remove preventDefault from settings.open
Bug: 69579
Change-Id: I6e457542060d147c35ccb2dfeade5b90f20bd2ca
2014-08-25 18:02:46 +05:30
Prateek Saxena 13f3f1cf67 settings: Fix strings, copy and capitalization
Addresses the issues pointed out in:
https://gerrit.wikimedia.org/r/#/c/140086/16/i18n/en.json

Discussion:
https://trello.com/c/NYQ0nMeE/101-hovercards-phase-3

Bug: 68812
Change-Id: I7b4f6d2be08a1ee20b19aec95d99a73fd4bf9d29
2014-08-25 14:26:59 +05:30
Prtksxna 46bcb6d4d2 Merge "Mark that it requires JavaScript in beta feature" 2014-08-25 00:07:05 +00:00
Translation updater bot b655ce4a86 Localisation updates from https://translatewiki.net.
Change-Id: I70ee3f8731f246370259defe5c9e6d367994cef0
2014-08-23 21:58:49 +02:00
Prateek Saxena fe487868d1 core: Ignore '.oo-ui-buttonedElement-button' links
Bug: 65442
Change-Id: I418508fad97e81127084150221e10ccec418167a
2014-08-21 13:07:24 +00:00
Matthew Flaschen e3f4215cc2 Mark that it requires JavaScript in beta feature
Bug: 69825
Change-Id: I0aad1dc6ccfce787c48922f6af253967de394b7b
2014-08-20 20:46:59 -04:00
jenkins-bot 9d0a792e8f Merge "article: Fix settings icon" 2014-08-20 14:12:47 +00:00
jenkins-bot 7533c5c09a Merge "disablenavpop: Use winow onload instead of dom ready" 2014-08-20 14:12:18 +00:00
jenkins-bot 4436415d7c Merge "settings: Fix margins" 2014-08-20 14:10:34 +00:00
jenkins-bot 79cf8eb23a Merge "settings: Fix alignment issues" 2014-08-20 14:10:19 +00:00
Prateek Saxena 8f4e12d4b1 disablenavpop: Use winow onload instead of dom ready
This code has not been working because processAllPopups does
not execute. Test the change with:
https://en.wikipedia.org/wiki/User:Prtksxna/common.js

Bug: 62952
Change-Id: I3c8b5590b89693743c85c006fc0ee0a50e8b8342
2014-08-20 19:36:23 +05:30
Prateek Saxena e66ec613db article: Fix settings icon
1. Change color from #777 to #AAA
2. Add PNG fallback using `background-image-svg`

Bug: 69022
Change-Id: I0bbfe2aaa0c6e6ed1300bafa1352dd54037929b9
2014-08-19 22:22:21 +05:30
Prateek Saxena 10e9192719 settings: Fix margins
Change-Id: I3ad652b05d990377c6a01a0abb8091f1ff2443c7
2014-08-19 20:36:08 +05:30
Prateek Saxena d9322cfe9e settings: Fix alignment issues
Change-Id: Iacc1e934822f58fbc848b426783d02b5f9c9477e
2014-08-18 17:54:47 +05:30
Translation updater bot cfea3236e8 Localisation updates from https://translatewiki.net.
Change-Id: I2d57779601a706c896e82cf336fed4ad7975a200
2014-08-17 23:08:09 +02:00
Translation updater bot e86d476a51 Localisation updates from https://translatewiki.net.
Change-Id: Id6a7545611b43a64bb9675f42fa9ca61ee5d8135
2014-08-14 23:39:11 +02:00
Prtksxna 4cba605476 Merge "Don't render popup on "javascript:..." links." 2014-08-13 11:08:46 +00:00
Translation updater bot 51979476dd Localisation updates from https://translatewiki.net.
Change-Id: Ia1d2aa86d721dd5b0c6dee9f94ac49cb4f7be791
2014-08-12 21:38:46 +02:00
jenkins-bot 26cd77cfdc Merge "Replace hardcoded path with wgExtensionAssetsPath" 2014-08-12 13:36:36 +00:00
Prateek Saxena d77d6005c1 Replace hardcoded path with wgExtensionAssetsPath
Change-Id: I3cf15bc4f9c9f1273b896d0e256f5821f15222fb
2014-08-12 18:08:31 +05:30
Prateek Saxena 26962431c3 Stop showing the NavigationPopups options if it isn't available
This got committed by accident in I374805eed0bc9f262b29474093f0357c56b42c83

Change-Id: Ic2dba3bd3b488aea97d7f3be3a56cf9f44912355
2014-08-12 16:10:57 +05:30
Translation updater bot 7370f63296 Localisation updates from https://translatewiki.net.
Change-Id: Iaf2070de9edbfa2222646c3247e31a5e9bec519a
2014-08-11 23:08:22 +02:00
Translation updater bot 4fdc74fe3a Localisation updates from https://translatewiki.net.
Change-Id: Ic5ba476af6d0d1ad399480a5c50e6af5f5f85aa1
2014-08-09 20:00:13 +02:00
S Page 0f724cc45f Don't render popup on "javascript:..." links.
Also some doc.

Bug: 68417
Change-Id: Ib8b53f131f05477adfa12c8284f624d5c70d995f
2014-08-06 13:54:24 +01:00
jenkins-bot bfc6e6500e Merge "Make <br> warning not trigger" 2014-08-06 10:44:49 +00:00
Translation updater bot 5664032997 Localisation updates from https://translatewiki.net.
Change-Id: I73dbf11ab4dfafe3e3215f2a14b2f2f3bceaf144
2014-08-05 21:57:59 +02:00
Translation updater bot 6a5ea61fd1 Localisation updates from https://translatewiki.net.
Change-Id: Id89b84812fd6516a188dc705cfe633deb5f63c6e
2014-08-04 21:56:23 +02:00
lokal-profil 44f5456527 Make <br> warning not trigger
Change <br> to <br /> to not trigger warning in translatewiki.net

Changes:
* popups-settings-option-read-quickly-description"

Change-Id: If988bf5060cfa6a6ccdd99ee02d6924e4b53ef2c
2014-08-04 14:39:39 +02:00
Translation updater bot 2a1ab594d3 Localisation updates from https://translatewiki.net.
Change-Id: I6e69e10b46565e859db87a7bda12c86496055079
2014-08-03 22:10:56 +02:00
Translation updater bot 139708e1f8 Localisation updates from https://translatewiki.net.
Change-Id: Iae66471f5d1776b06b915c04310779e98a99100a
2014-08-02 22:23:44 +02:00
Translation updater bot b8f1ce5f40 Localisation updates from https://translatewiki.net.
Change-Id: I15e736814796f6796863d84cc4ba74ebd86cc5a7
2014-08-01 21:33:51 +02:00
Translation updater bot fdf7c84ef5 Localisation updates from https://translatewiki.net.
Change-Id: Ie5d088f49e5c105f226b17d80f9a224abaab70f1
2014-07-31 22:16:58 +02:00
Translation updater bot cd11e127b2 Localisation updates from https://translatewiki.net.
Change-Id: Ibf7e795e74841b77ff498e158bb5820ba630f48a
2014-07-30 21:58:51 +02:00
Translation updater bot afb1f88a48 Localisation updates from https://translatewiki.net.
Change-Id: I865c006a8d74ec0767fbb6d0b066f7b38340e123
2014-07-29 21:56:24 +02:00
Prateek Saxena dd98179a15 Add settings
Save Hovercards enabled state in localStorage (jStorage)

Change-Id: I374805eed0bc9f262b29474093f0357c56b42c83
2014-07-28 13:38:03 +05:30
Translation updater bot 5a5f265286 Localisation updates from https://translatewiki.net.
Change-Id: I9bf85e0b32f96fc01ad2060f5c53beb7ebf1b634
2014-07-26 21:48:54 +02:00
Prateek Saxena e746ce668a core: Ignore '.external' links
Bug: 65929
Change-Id: Idba21c597d9d76333aa92ac40d2d0f813b02e971
2014-07-15 16:00:19 +00:00
Bartosz Dziewoński 36eaf4cec9 Use 'auto' instead of 'initial' in CSS
'initial' is not supported by all browsers (including all versions of
Internet Explorer and Opera 12 [1]), which causes visual glitches [2].

As the initial value for 'left' is 'auto' [3], this should cause no
visual changes in the browsers that supported the previous version.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/initial
[2] http://i.imgur.com/0Ze8lon.png
[3] http://www.w3.org/TR/CSS21/visuren.html#position-props

Change-Id: I8d661436f1106ca92b8b492c3fb76ac6976d80fa
2014-07-11 21:23:27 +02:00
Derk-Jan Hartman e9a56a3b85 Some small cleanup
Bunch attr actions, add to DOM as the last action, rm superfluous lines
and use strict.

Change-Id: I3e0870b108e978d7fd4093a6e7201fb6260f2e88
2014-07-09 12:03:10 +00:00
Derk-Jan Hartman 5025f2beee Handle links with empty or no title attributes
The script depends on a title being present in title attribute. So
skip links without title attributes (which were getting empty
attributes due to the implementation of removeTooltips) and bail on
trying to open a preview for links without a title.

Bug: 67728
Change-Id: I4cc744bea10af34741681f11e03d77b3d53e3a3b
2014-07-09 11:51:15 +00:00
Translation updater bot d60a70867c Localisation updates from https://translatewiki.net.
Change-Id: I9652afa2f5716004fdc988eb6a4542f87edb0dfa
2014-06-27 20:23:44 +00:00
Prtksxna e6adbef707 Merge "rename variable, and parentheses not brackets" 2014-06-25 00:50:51 +00:00
Prtksxna 8a680a2433 Merge "Raise popup show/hide delay to 500ms/300ms, respectively" 2014-06-25 00:46:15 +00:00
S Page 4c86e94e49 rename variable, and parentheses not brackets
removeBracketsFromText doesn't count it tracks nesting level, and
brackets are [] not ().  Minor detail.

Change-Id: I8f42b1ccae5233d7b6062bb311eced6ef3085d4a
2014-06-24 01:23:05 -07:00
jenkins-bot 49c0c2f669 Merge "render.article: Remove brackets using code instead of RegExp" 2014-06-24 08:12:55 +00:00
jenkins-bot 2cb63c5226 Merge "render.article.getProcessesHtml: Add tests" 2014-06-24 08:02:28 +00:00
Prtksxna b65954645f Merge "Check for empty response" 2014-06-23 01:51:15 +00:00
Derk-Jan Hartman e3de26ebfe Re-use result instead of querying the DOM for selector multiple times
It's a complicated query, we should not repeat it when not necessary.

Change-Id: I71d47de088afa7dab0a6eaed214c61db699fcd0c
2014-06-23 06:47:38 +05:30
Bartosz Dziewoński 3041d358ed Raise popup show/hide delay to 500ms/300ms, respectively
Per discussion on the bug, the current values of 150ms/100ms cause a
lot of unintended actions.

Bug: 64234
Change-Id: I6fe2d89ad97630ec5c7f47d3e3b9b71d7cfc5d3f
2014-06-20 16:48:00 +02:00
Fomafix 58be4ea1de Check for empty response
In combination with other gadgets the error
TypeError: re.query is undefined
can occur because the request contains titles:'' and the response is [].

Change-Id: I46d02e7c48a55cd9af20fd7ef729b4d26f69a8c0
2014-06-18 20:57:19 +00:00