Commit graph

157 commits

Author SHA1 Message Date
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
Weronika Rudnicka 89ba74b37e XW-2234 | displaying better quality images for retina for infoboxes image collections 2016-11-03 15:04:37 +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
Igor Rogatty 27e695e569 XW-1225 | remove $wgEnableSeoFriendlyImagesForMobile and clean up 2016-05-18 14:44:36 +02:00
Igor Rogatty 111a15dce4 XW-1300 | use portable-infobox-hero-image component 2016-04-07 15:08:24 +02:00
Igor Rogatty c48a6a1635 XW-1300 | add article-media-placeholder class 2016-04-06 15:33:56 +02:00
Igor Rogatty 455e4b5e75 XW-1300 | support for image collections 2016-04-05 17:42:21 +02:00
Igor Rogatty 17a045e1aa XW-1300 | add tests for Mercury experimental markup 2016-04-04 15:50:36 +02:00
Igor Rogatty 4c150d9885 XW-1300 | support for WikiaMobile 2016-04-01 17:33:29 +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 25dd444a80 DAT-4018 add test for europa theme enabled 2016-03-29 12:57:07 +02:00
Rafal Leszczynski 677b272351 add pi-europa class to infobox if europa is enabled 2016-03-29 12:12:11 +02: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 2fd287add0 DAT-3934 enable 100% width for collection images 2016-03-16 10:12:24 +01:00
idradm a1e34471c2 DAT-3934 set image width to 100% 2016-03-16 10:09:54 +01:00
Rafal Leszczynski e355f58e04 DAT-3855, fix tests 2016-03-09 15:51:51 +01:00
Rafal Leszczynski 7939aad2aa DAT-3855, add new class labelless hirizontal group to make it easier for users to overwrite styles 2016-03-09 15:31:59 +01:00
Bogna Knychała 4cc019aecb Merge pull request #9597 from Wikia/XW-41
XW-41 | Use new format of Ember component placeholder for single images
2016-02-15 19:06:44 +01:00
idradm d4953f7680 Merge branch 'dev' into infobox-builder-feature-branch
# Conflicts:
#	extensions/wikia/AdminDashboard/AdminDashboardLogic.class.php
#	extensions/wikia/AssetsManager/config.php
#	extensions/wikia/EditPageLayout/templates/EditPageLayout_EditPage.php
2016-02-09 11:46:56 +01:00
Tomasz Napieralski 2e5f90f543 hide changes after flag 2016-02-08 15:57:57 +01:00
Tomasz Napieralski 1b2a5bb417 use SEO friendly images for mobile in infoboxes 2016-02-05 18:02:02 +01:00
dianafa a6aeaec4ac Merge branch 'dev' into DAT-3372 2015-12-22 13:08:51 +01:00
dianafa 1b1de67f22 fix data-image-key param 2015-12-22 13:06:50 +01:00
Inez Korczynski 3647cb2f37 VE-1965: Caption comes from Parser as a safe HTML so there is no need and it shouldn't be escaped 2015-12-09 00:47:05 +00:00
Diana 49feb54689 change method name to sanitizeInfoboxFields and refactor 2015-11-05 13:21:20 +00:00
Diana 7e9836085a adjust hero image template 2015-11-03 16:31:31 +00:00
Inez Korczynski 3d05ec1758 VE-1994: Add appropriately pi-collapse and pi-collapse-[open|closed] CSS classes to PI groups wrappers 2015-10-26 21:59:34 +00:00
Paul Oslund 99dd3f4e4c VE-1993: Render videos in media collection tabs 2015-10-22 21:21:19 +00:00
Inez Korczyński 9733548c0d Merge pull request #8840 from Wikia/VE-1961
VE 1961: Render image collection tabs in infobox
2015-10-22 11:23:43 -07:00
Paul Oslund f84b29a461 VE-1961: Display caption as tab title if available 2015-10-21 20:29:39 +00:00
Paul Oslund f9055fe97c VE-1961: Handle multiple image collections in infobox 2015-10-21 02:55:23 +00:00
Paul Oslund 6eba90ee7e VE-1961: Launch gallery when clicking image in collection 2015-10-21 02:26:34 +00:00
Paul Oslund d097426242 VE-1960: Template for mobile image collections 2015-10-20 23:09:23 +00:00
Paul Oslund e6c81a3ea2 VE-1961: Render image collection tabs in infobox 2015-10-20 16:40:56 +00:00
Inez Korczynski a692e008b3 VE-1975: Modified NodeImage to return array of images instead of one image
Added support for <tabber>
Hero image still works correct
2015-10-16 01:15:52 +00:00
Rafal Leszczynski 35fd8d87a4 Merge branch 'DAT-3153' into infobox-builder-feature-branch 2015-09-11 12:48:37 +02:00
Rafal Leszczynski 280a9aa50b skip rendering labels if all labels in horizontal group are empty strings 2015-09-07 13:17:03 +02:00
Rafal Leszczynski 12bed81340 add comments to templates - linked with templates in mercury repo 2015-09-01 13:05:13 +02:00
Rafal Leszczynski 335085c92a fix escaped html in horizontal group headers 2015-08-07 16:43:50 +02:00
Rafal Leszczynski dd9bbe6b50 do not render caption in horisontal group if header is not set 2015-08-06 16:15:06 +02:00
Rafal Leszczynski 91b490c05a unify portable infobox item side spacing 2015-08-04 12:06:14 +02:00
Sebastian Marzjan 874daa8b30 Merge pull request #7975 from Wikia/3003-border-color-class
add additional class name for easy access to overwrite border color i…
2015-07-31 14:57:12 +02:00
Rafal Leszczynski 61ffd930f1 add additional class name for easy access to overwrite border color in custom theming 2015-07-31 14:54:10 +02:00
Kamil Koterba 9d1de3fc97 DAT-3074 Fixing typo in css selector 2015-07-31 13:04:59 +02:00
Rafal Leszczynski 63078cc1d8 add missing new lines and fix indentation in templates + apply pi acronym to custom theme clasclass name 2015-07-30 11:23:50 +02:00
Rafal Leszczynski 5618734513 fix tests after refactoring 2015-07-29 17:40:21 +02:00
Rafal Leszczynski f59fd6b69f refactor and simplify portable infobox templates and desctip styling 2015-07-29 17:17:20 +02:00
Rafal Leszczynski 07aca42051 Merge branch 'DAT-3003-cleanup-feature-branch' into DAT-3004-simplify-infobox-classes 2015-07-29 15:32:52 +02:00
Rafal Leszczynski 9ecc835603 Merge branch 'dev' into DAT-3003-cleanup-feature-branch 2015-07-29 15:04:51 +02:00
Rafal Leszczynski 45f5afb212 simplify class names for portable infobox elements 2015-07-29 13:07:58 +02:00
Rafal Leszczynski c92bce20cd finish test refactoring 2015-07-29 10:58:39 +02:00
Rafal Leszczynski a32bb6831c change the template and styling for horizontal groups 2015-07-28 11:46:41 +02:00
Rafal Leszczynski bc22980d2a Merge branch 'dev' into DAT-3025 2015-07-27 11:39:40 +02:00
Rafal Leszczynski c3d81dd456 add tests for rendering video thumbnail 2015-07-22 12:11:19 +02:00
Rafal Leszczynski f57ab7c737 modify image template for video support 2015-07-21 16:30:05 +02:00
dianafa 2e0e607b73 merge with dev 2015-07-16 13:06:17 +02:00
Diana 238a28a071 mock methods 2015-07-09 13:50:12 +00:00
dianafa af231a3226 refactor 2015-07-08 18:31:56 +02:00
dianafa e2aeb56cff add width and height attrs 2015-07-07 16:28:53 +02:00
dianafa bf790b3322 Merge branch 'dev' into DAT-2909 2015-07-06 18:46:02 +02:00
Sebastian Marzjan 86bfcc7592 Cherry-picking 9eb06cc 2015-07-03 12:16:18 +02:00
idradm e065533850 Merge remote-tracking branch 'origin/dev' into DAT-2909
# Conflicts:
#	extensions/wikia/GameGuides/assets/GameGuidesAssets.json
#	extensions/wikia/PortableInfobox/services/PortableInfoboxRenderService.class.php
2015-07-03 10:51:32 +02:00
idradm edda7bebbd DAT-2940 rename css selectors 2015-07-02 10:22:37 +02:00
idradm 26269c9150 DAT-2940 rename footer tag to navigation 2015-07-01 16:19:31 +02:00
Rafal Leszczynski 08bf993708 add infobox hero mobile template 2015-07-01 15:17:43 +02:00
idradm 3e8a665242 Merge remote-tracking branch 'origin/dev' into DAT-2839
# Conflicts:
#	extensions/wikia/PortableInfobox/PortableInfobox.setup.php
#	extensions/wikia/PortableInfobox/controllers/PortableInfoboxParserTagController.class.php
#	extensions/wikia/PortableInfobox/services/Parser/XmlParser.php
#	extensions/wikia/PortableInfobox/styles/PortableInfobox.scss
2015-06-19 14:43:40 +02:00
Rafal Leszczynski f569991469 Merge pull request #7488 from Wikia/DAT-2857
DAT-2857 Horizontal group
2015-06-12 15:23:44 +02:00
Diana ef4488bd4a add horizontal group styling 2015-06-10 17:13:45 +00:00
dianafa 76b4b3fbb7 change theme to layout 2015-06-10 17:24:49 +02:00
Rafal Leszczynski 18ca190c0d style infobox markup errors 2015-06-10 17:16:46 +02:00
dianafa 6e8518637c working class assigment 2015-06-09 13:37:03 +02:00
Diana a38d25d0e3 styling 2015-06-03 15:12:43 +00:00
Diana 7342ffbeb0 add tests and functionality 2015-06-03 13:48:44 +00:00
jacek a9c01baed5 hide debug content for articles 2015-06-02 13:09:25 +02:00
jacek e2025721fd translations 2015-06-01 14:11:07 +02:00
jacek 44cbb9cc95 initial commit 2015-05-29 16:37:35 +02:00
grunny d8349fbc0c (MAIN-4620) Sanitize custom theme class in PortableInfobox
Sanitize the custom theme class users can provide in Portable Infoboxes.
Sanitizer::escapeClass only allows valid characters in a class name
through.
2015-05-25 23:48:22 +00:00
Adam Robak 746a010e2c DAT-2811 make theme class appear only when set, theme class will be prefixed instead of suffixed 2015-05-25 23:34:51 +00:00
Rafal Leszczynski 0ad49267af styling image captions inside infobox 2015-05-25 23:34:49 +00:00
Adam Robak 644b5e22e2 DAT-2812 add custom theming 2015-05-25 23:32:27 +00:00
Rafal Leszczynski 9aeef8670e add caption to image template 2015-05-25 23:32:25 +00:00
grunny 9567ba1a5d (MAIN-4620) Sanitize custom theme class in PortableInfobox
Sanitize the custom theme class users can provide in Portable Infoboxes.
Sanitizer::escapeClass only allows valid characters in a class name
through.
2015-05-26 02:01:00 +10:00
Rafal Leszczynski af79107afd Merge branch 'dev' into DAT-2812 2015-05-22 16:32:02 +02:00
Rafal Leszczynski 8c0edf4b16 Merge pull request #7253 from Wikia/DAT-2811
DAT-2812 add custom theming
2015-05-22 12:31:31 +02:00
Rafal Leszczynski abb9f4499a prevent image upsampling in infobox 2015-05-21 12:07:40 +02:00
Adam Robak ccd32f1b76 DAT-2811 make theme class appear only when set, theme class will be prefixed instead of suffixed 2015-05-20 13:56:24 +02:00
Rafal Leszczynski 4cc5ea1446 styling image captions inside infobox 2015-05-19 17:31:09 +02:00
Adam Robak 77679f2b9f DAT-2812 add custom theming 2015-05-19 17:20:15 +02:00
Rafal Leszczynski 6e7b050b37 add caption to image template 2015-05-19 16:59:41 +02:00
Rafal Leszczynski 7331f2640f add mobile image template 2015-05-12 13:32:42 +02:00
Rafal Leszczynski 95c9027f02 fix image template 2015-05-11 17:56:11 +02:00
jacek 3780dafc8c mod template 2015-05-11 17:12:02 +02:00
jacek 0de4edcd04 remove check 2015-05-11 16:19:36 +02:00
Rafal Leszczynski e41f6af21e remove unneeded new line 2015-05-07 17:15:47 +02:00
Adam Robak 8a080d1a15 Merge branch 'portable_infobox_mvp' into DAT-2738
Conflicts:
	extensions/wikia/PortableInfobox/controllers/PortableInfoboxParserTagController.class.php
2015-05-07 14:58:52 +02:00
Rafal Leszczynski f6a05dbfdf modify image templete to use new image data 2015-05-06 16:03:07 +02:00
Rafal Leszczynski 3109e908b9 Merge branch 'portable_infobox_mvp' into DAT-2746 2015-05-06 15:10:08 +02:00
Adam Robak afda182794 DAT-2738 introduce aside tag into parser and infobox extension 2015-05-06 14:49:46 +02:00