Commit graph

2085 commits

Author SHA1 Message Date
Prateek Saxena b24e39e9fc Run mw.html.escape on page extract and title
Add test for XSS attack

Bug: T69180
Change-Id: I213169bd9daed979e63f50cf3926f7196eb6181c
2014-12-01 11:23:14 -08:00
Prateek Saxena 9ab483ec6f settings: Add help dialog
Change-Id: I5f4cf435356748a1aceb05fcaf8c8980b8267804
2014-11-26 11:43:01 +05:30
jenkins-bot 895b6dfae0 Merge "Add rule to not show thumnail if its smaller than the card" 2014-11-23 20:07:41 +00:00
Translation updater bot ba5bbc668e Localisation updates from https://translatewiki.net.
Change-Id: Idc6febd2ef1d48cb3b4409a178ff283fcd9a4b60
2014-11-22 22:41:48 +01:00
Translation updater bot c9b7fb9e23 Localisation updates from https://translatewiki.net.
Change-Id: Ibc3f317e659b2b267653d22f97fec71d47798e49
2014-11-21 22:10:50 +01:00
Prateek Saxena 77538a1001 Reduce max height of text extract
Currently .mwe-popups-extract keeps some empty space after the last
line. This shifts a little when zooming in causing part of the text
of the next line to be visible. Reducing this to have lesser extra
empty space solves the problem.

Bug: 73551
Change-Id: I968fca23fe2de04cb3f73ba4e7d4f676fbf88536
2014-11-20 14:54:14 +05:30
Prateek Saxena 24a7d02080 article: Fix distance between image and text (landscape image & non flipped)
Change-Id: I4fb6891cd89546b6a55b6952be7e1a6df41fa0b5
2014-11-20 11:46:37 +05:30
Prateek Saxena cbebde39b9 Make ':after' triangle larger so that the border of div is covered
When zooming in the border of the div is visible over the :after
pseudo element.
 - Update top and bottom triangle mixins to include @extra argument
 - Update pseudo elements to use the new mixin and position them
   correctly according the extra size

Bug: 73550
Change-Id: I05b9c74a675c69e407c4c78771504f447da754c5
2014-11-19 11:12:12 +05:30
Prateek Saxena 45172f1f7b Increase z-index of hovercards from 5 to 110
Hovercards is currently at 5 z-index which causes
it to be rendered behind the compact personal bar.
Changing this also effects the border triangles and
masked SVGs, thus incrementing them too.

Bug: 72882
Change-Id: Ib3c889c748a9c919754d8281e68fd0664db7c408
2014-11-12 14:39:47 +05:30
Prateek Saxena 0a7d7573fa Add rule to not show thumnail if its smaller than the card
Added two conditions based on portrait and landscape sizes.

Bug: 73009
Change-Id: I022267430b540be48952f0cfc8dc0cf962cd13d5
2014-11-11 10:23:34 +05:30
Translation updater bot 8063da60ab Localisation updates from https://translatewiki.net.
Change-Id: I0f2d2b38e4fa116e3dfc1a90d7b3519ba2fbceab
2014-11-09 21:53:19 +01:00
jenkins-bot ae5493626f Merge "Fix bottom margin issues with portrait images" 2014-11-09 00:05:36 +00:00
Translation updater bot c3db802dd2 Localisation updates from https://translatewiki.net.
Change-Id: I4916d20d44cc440486f5e98e2355938e88395d88
2014-11-06 21:53:02 +01:00
Translation updater bot c3878e18d3 Localisation updates from https://translatewiki.net.
Change-Id: Ife5951f2ff657a3b6cda51ce91327746a2b45015
2014-11-05 21:46:42 +01:00
Translation updater bot 7b5fbab160 Localisation updates from https://translatewiki.net.
Change-Id: I458766513a68ca2d68390d7a47369fea656c2e59
2014-10-27 20:16:38 +01:00
Translation updater bot ecb6577412 Localisation updates from https://translatewiki.net.
Change-Id: I3818653955c35dc286c3a1f4b63614cebbe805f3
2014-10-26 21:10:57 +01:00
Translation updater bot aaab648f8a Localisation updates from https://translatewiki.net.
Change-Id: I940203c3571da209da24b208057fbcf0ee2b4555
2014-10-25 22:48:18 +02:00
Translation updater bot ffdf4108d8 Localisation updates from https://translatewiki.net.
Change-Id: Ia4970fa80381650537a249b105ca68f0c839acc7
2014-10-23 23:26:28 +02:00
Translation updater bot 1c07c35e98 Localisation updates from https://translatewiki.net.
Change-Id: I9f77a3c40b6ae082126921ec66fb65e7fbaf4bab
2014-10-21 23:02:01 +02:00
Translation updater bot 8e7eae2210 Localisation updates from https://translatewiki.net.
Change-Id: If1277823fd51f81b81ac17587f9d85d249379054
2014-10-19 22:08:57 +02:00
Translation updater bot fba491df4b Localisation updates from https://translatewiki.net.
Change-Id: I106c6f4e51acafd827ef7fa8a19033ee49460684
2014-10-13 21:54:23 +02:00
Kunal Mehta 6195dc7353 Clean up registration of modules
Let EventLogging register the schema.Popups module, just pass it
the information via a hook.

Also move the ResourceLoaderRegisterModules hook into the hooks
file instead of a global closure.

Change-Id: I74a1db0e6ca38ca3a341a99fcaa6009c8dc18b6d
2014-10-11 11:19:12 -07:00
Translation updater bot 2d223c1739 Localisation updates from https://translatewiki.net.
Change-Id: I6a4bb54f4cef77787e1bad5b6bf92303999ec47b
2014-10-10 22:00:48 +02:00
Prateek Saxena a9bc4e4ba8 Fix bottom margin issues with portrait images
This was happening due to:
 * Stale CSS selector
 * Incorrect margin values

Also added missing triangle pokey for a particular
orientation of the hovercard.

Bug: 71872
Change-Id: Ic4986f9cee2a92b29548ef21f9bec3f2c2117e98
2014-10-09 15:40:12 +05:30
Translation updater bot f91dfadc22 Localisation updates from https://translatewiki.net.
Change-Id: Ibe47c4949eb60517db024cfedb6d04669457cf34
2014-09-29 23:32:23 +02:00
Translation updater bot 54d27100f8 Localisation updates from https://translatewiki.net.
Change-Id: Ic452299a2348caa25d6e222c503fb9b3fb188c9b
2014-09-27 20:30:53 +02:00
Translation updater bot e028afc4c3 Localisation updates from https://translatewiki.net.
Change-Id: I2b226a34c25d1e72d8d3a1308d1dc5950b136428
2014-09-25 23:07:04 +02:00
Translation updater bot 7d66c12c15 Localisation updates from https://translatewiki.net.
Change-Id: Ib904168571d2ab2f263e15b87ccc6c660dc6b8a6
2014-09-22 21:47:46 +02:00
jenkins-bot eccb7bf037 Merge "render.article: Correctly space extract for landscape images with smaller heights" 2014-09-22 16:17:20 +00:00
jenkins-bot 7c1e6398ad Merge "article: Fix settings' icon alignment" 2014-09-22 16:07:45 +00:00
Translation updater bot 6eab67af06 Localisation updates from https://translatewiki.net.
Change-Id: I7d4632e048a699662cf9ddce7cd204eaddc615e3
2014-09-21 21:58:53 +02:00
jenkins-bot b15db27c1d Merge "renderer: Actually use eventLogging" 2014-09-11 10:03:40 +00:00
jenkins-bot b90936ca87 Merge "Simplify if statement logic" 2014-09-11 01:34:54 +00:00
Jackmcbarn 60a07564a7 Simplify if statement logic
"(A and B) or ~A" is the same as "~A or B", so use the latter.

Change-Id: Ic2eb3eed31b311070f895e05523df433dea11579
2014-09-10 21:28:55 -04:00
Prateek Saxena 0630ff518c renderer: Actually use eventLogging
This was accidentally removed during the refactor
and went unnoticed for quite some time.

Change-Id: I850126461b503419d1e219398f3d61747fbccb23
2014-09-09 10:31:51 +05:30
Translation updater bot 80009dd3f6 Localisation updates from https://translatewiki.net.
Change-Id: I04f8ee676a18c24d0c090960d7f50944ae7185c8
2014-09-08 21:36:24 +02:00
Translation updater bot ed01359078 Localisation updates from https://translatewiki.net.
Change-Id: I172338151d1b76c53fc5a2b876b4a1c7e444b435
2014-09-07 22:00:48 +02:00
Translation updater bot f0d47da3d9 Localisation updates from https://translatewiki.net.
Change-Id: I717798803a4f64b63d2f8a4de54902aae7b32c3c
2014-09-05 22:48:43 +02:00
Translation updater bot 5dacd11155 Localisation updates from https://translatewiki.net.
Change-Id: I2f8dc365551e6c95cf4e175af1736d3a553040fb
2014-09-03 22:22:47 +02:00
Translation updater bot ffe7330605 Localisation updates from https://translatewiki.net.
Change-Id: I3ed1ad2e01fbe70dd08e7f5e216848de690bc50e
2014-09-02 22:16:38 +02:00
Prateek Saxena 91da0e7536 article: Fix settings' icon alignment
Bug: 70147
Change-Id: I26c41395557420aea6c995a59aada0079f1a896c
2014-09-02 11:18:06 +05:30
Translation updater bot 733192e71c Localisation updates from https://translatewiki.net.
Change-Id: I8f78af95a87ea33a6561722056fbea8a19ef6535
2014-09-01 22:36:45 +02:00
Translation updater bot aec1b3e6d5 Localisation updates from https://translatewiki.net.
Change-Id: I2aa334967bfddf3993d4288bd50596846536f0cd
2014-08-31 21:57:37 +02:00
Translation updater bot eae81cd015 Localisation updates from https://translatewiki.net.
Change-Id: I63aae479b22bbe5cb80a1419d37eddd743f16219
2014-08-30 22:40:58 +02:00
Translation updater bot b85cafbf42 Localisation updates from https://translatewiki.net.
Change-Id: Ic0d664ca4d3a84c53688105c88b1cec35074834c
2014-08-29 21:21:08 +02:00
Translation updater bot 66b2229050 Localisation updates from https://translatewiki.net.
Change-Id: I55c0c757d2a0732fa81c73fc6efb03d497941e4d
2014-08-28 22:30:40 +02:00
Translation updater bot 6ac18b819f Localisation updates from https://translatewiki.net.
Change-Id: I4eca056b08178cb9ffda0a626691a748d234fdd7
2014-08-27 21:26:09 +02:00
Translation updater bot 521339ee16 Localisation updates from https://translatewiki.net.
Change-Id: I07f7644589a7c38c0ec469e8e171a254b3cbb8ba
2014-08-26 21:50:58 +02:00
jenkins-bot f835d52857 Merge "Force mw.popups.supportsSVG to false on InternetExplorer" 2014-08-26 17:52:55 +00:00
Prateek Saxena 7918944356 Force mw.popups.supportsSVG to false on InternetExplorer
Change-Id: I1d59167f3c2e166e32ef2f46fa4a527dd3a3410f
2014-08-26 13:56:22 +05:30