Commit graph

105 commits

Author SHA1 Message Date
idradm f517fa43cc XW-2444 reformat files 2016-12-29 14:17:48 +01:00
idradm 98f4b8d2ff XW-2444 render helper refactored 2016-12-29 11:58:27 +01:00
idradm 581715eb46 XW-2444 renders refactoring 2016-12-29 11:28:26 +01:00
Mateusz Rybarski 81a6a74f30 XW-2444: fallback to default color instead of displaying error when wrong color is provided 2016-12-29 09:46:05 +01:00
Mateusz Rybarski bf5ef7ae26 cr remarks 2016-12-28 16:41:36 +01:00
Mateusz Rybarski 129d8bb49a cr remarks 2016-12-28 16:39:53 +01:00
Mateusz Rybarski e4b28b1691 XW-2444: adding # to color if not provided, formatting 2016-12-28 16:30:24 +01:00
Mateusz Rybarski 3ad591cec6 Merge branch 'pi-render-service-refactor' into XW-2444 2016-12-28 11:29:36 +01:00
Mateusz Rybarski 9f96ab9f45 XW-2444: unittests for color validation 2016-12-28 10:12:21 +01:00
Mateusz Rybarski 9e89577acf XW-2444: extracting validation from ParserTagController 2016-12-28 09:27:25 +01:00
idradm 39d9302a93 refactor template engine logic to separate class 2016-12-27 15:58:01 +01:00
idradm 36b582a164 refactor render service to skin based services 2016-12-27 15:09:55 +01:00
Mateusz Rybarski 1ec85d8594 XW-2444: validating hex color, support for accent-color-text params 2016-12-27 13:50:53 +01:00
Mateusz Rybarski be71d1b0f4 XW-2444: accent-color param without validation 2016-12-27 12:10:11 +01:00
Damian Jozwiak 4acf41caef XW-2307 | Whitelist videos in Portable Infoboxes 2016-11-22 13:02:56 +01:00
Weronika Rudnicka 8d055fb35c XW-2307 | fixed whitespaces, using getMediaType method 2016-11-21 23:15:51 +01:00
Weronika Rudnicka 33210522f2 XW-2307 | in infobox only image files are displayed 2016-11-21 15:13:13 +01:00
Weronika Rudnicka ee7404ef6b XW-2234 | added srcset to infobox image, to display better quality images for retina 2016-11-03 14:27:43 +01:00
Warkot 908327db5d XW-1478 | don't render hero image in first infobox on Mercury 2016-05-30 18:35:11 +02:00
Igor Rogatty 27e695e569 XW-1225 | remove $wgEnableSeoFriendlyImagesForMobile and clean up 2016-05-18 14:44:36 +02:00
Igor Rogatty 498aa90f26 Merge branches 'XW-1300' and 'dev' of https://github.com/Wikia/app into XW-1300 2016-04-06 12:30:54 +02:00
Igor Rogatty 455e4b5e75 XW-1300 | support for image collections 2016-04-05 17:42:21 +02:00
Igor Rogatty 3bc774edaa XW-1300 | use global properly 2016-04-04 17:09:08 +02:00
Igor Rogatty 17a045e1aa XW-1300 | add tests for Mercury experimental markup 2016-04-04 15:50:36 +02:00
Igor Rogatty 55c6cf6c11 XW-1300 | use isMercury helper method 2016-04-04 13:13:52 +02:00
idradm dc868173b3 DAT-4041 fix regex to much only empty infobox tags 2016-04-01 16:54:04 +02:00
idradm c15314dd7b DAT-4041 empty portable infobox will be supported 2016-04-01 16:43:41 +02:00
Igor Rogatty 52f6c9b389 XW-1300 | remove accidental var_dump 2016-04-01 12:29:36 +02:00
Igor Rogatty 07cdefb0f5 XW-1300 | use mercury-component-attrs name and fix unit tests 2016-04-01 12:06:10 +02:00
Igor Rogatty d5587fbc25 XW-1300 | use new media components in portable infoboxes 2016-03-31 18:08:57 +02:00
idradm 508635c08f DAT-4018 make europa theme solely var dependent 2016-03-29 12:31:03 +02:00
idradm 8dd35e8146 DAT-3934 remove comment 2016-03-17 12:13:17 +01:00
idradm cbc0a10a78 DAT-3934 add tests for custom width 2016-03-17 12:12:36 +01:00
idradm af041c9196 DAT-3934 provide a way to decide on image size while infobox rendering 2016-03-17 10:37:18 +01:00
idradm a1e34471c2 DAT-3934 set image width to 100% 2016-03-16 10:09:54 +01:00
idradm 60d87fc123 DAT-3934 make image bigger and adjusted by css 2016-03-16 09:50:01 +01:00
Rafal Leszczynski 604e9da6df DAT-3937, remove special case for europa thumbnail width 2016-03-14 10:36:08 +01:00
Rafal Leszczynski 5c75f627a2 DAT-3937, set different image width for europa theme only 2016-03-14 08:57:58 +01:00
Rafal Leszczynski 7a12be6310 DAT-3855, round image display dimensions 2016-03-09 10:45:31 +01:00
Rafal Leszczynski 6e8866bf03 DAT-3855, add comment about changing image thumbnail width 2016-03-09 10:23:55 +01:00
Rafal Leszczynski 971a012f8c DAT-3855, increase default image thumbnail width to match europa default infobox width 2016-03-08 15:27:46 +01:00
Mateusz Rybarski 5637f4d6ed fetching infobox markup, checking if there is only one infobox 2016-02-16 13:37:48 +01:00
Sebastian Marzjan c5d17f315e DAT-3624 Rename 'Infobo' to 'Infobox' 2016-02-03 12:06:44 +01:00
dianafa 8afcb73d10 move sanitizers to a separate folder 2015-12-23 15:54:03 +01:00
dianafa ed73d4f525 move sanitizing to PortableInfoboxRenderService 2015-12-23 13:20:55 +01:00
dianafa 0de509246f add caption sanitization in getImageData 2015-12-23 11:20:39 +01:00
Rafal Leszczynski 432341a974 DAT-3576, fix edge case with broken aspect ratio for tall thin images if portable infobox custom image width is set 2015-12-11 16:05:10 -08:00
Sebastian Marzjan f1896da8ab Add tests 2015-12-11 10:01:23 -08:00
dianafa f8312c6484 add getImageSizesToDisplay description 2015-12-11 12:06:44 +01:00
dianafa 33af8b75e9 rename getAdjustedImageSize to getImageSizesForThumbnailer 2015-12-11 12:02:00 +01:00