Commit graph

140 commits

Author SHA1 Message Date
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
dianafa cc54d4478d move logic to other place & add tests 2015-12-11 11:56:41 +01:00
Rafal Leszczynski 02a2c62332 DAT-3576, allow for overwrite thumbnail physical dimensions in portable infobox via wikifactory variable 2015-12-10 16:41:07 -08:00
adamkarminski 7ba8f0e658 CE-3014 Remove the deprecated PortableInfoboxClassification class 2015-12-03 10:42:21 +01:00
dianafa 6e8091ec4d move ImageFilenameSanitizer logic to FileNamespaceSanitizeHelper 2015-11-25 11:00:39 +01:00
dianafa 23bb4be49d check file prefix by contentLang 2015-11-24 23:35:23 +01:00
Diana 15a00b4d4e sanitize horizontal group items as well 2015-11-05 17:57:53 +00:00
Diana 49feb54689 change method name to sanitizeInfoboxFields and refactor 2015-11-05 13:21:20 +00:00
dianafa 649895d4cf change variable names and add missing PHPdocs 2015-11-03 17:19:29 +01:00
dianafa 2214b5c81f add logging each striping to Kibana 2015-11-03 16:58:25 +01:00
dianafa 3f2d287e8a do not strip links 2015-11-03 16:12:44 +01:00
dianafa 2a0c5ef3d0 sanitize labels as well 2015-11-03 14:45:27 +01: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
Nikodem 97623fe9a5 Merge pull request #8614 from Wikia/DAT-3294
DAT-3294 add infobox-hero-image context handling
2015-09-30 12:45:48 +02:00
dianafa 33414c3dbb change hook name and move context to PIRenderService 2015-09-30 10:10:31 +02:00
dianafa 4536458992 move hook to render service 2015-09-28 17:46:40 +02:00
idradm 094cd426ae DAT-3199 switch to WikiaDataAccess 2015-09-24 16:25:27 +02:00
idradm 88c886bf09 DAT-3199 add tests for template parsing 2015-09-24 13:48:51 +02:00
idradm dbef0b9915 DAT-3199 unit tests fixed 2015-09-23 15:51:41 +02:00
idradm 859a0ee81b DAT-3199 use page_props directly instead of through parserOutput, add memcache layer for infoboxes data provider service, introduce hook on backlinks purge 2015-09-22 17:48:38 +02:00
Nikodem ce6aa2431f Merge pull request #8398 from Wikia/DAT-3073
DAT-3073 set max height for infobox images on desktop
2015-09-10 11:42:33 +02:00
Diana 222a3c00a8 typo 2015-09-09 16:00:59 +02:00
Diana 4a01b3ed1d fix IDE formatting 2015-09-09 16:00:19 +02:00
dianafa 0c8e2545a9 addd tests 2015-09-09 14:54:26 +02:00
Diana 273b53fafd remmove newline 2015-09-09 13:49:16 +02:00
dianafa e10ab9b7ee change height only for desktop images 2015-09-09 10:16:00 +02:00
dianafa 34bd1c729e restore formatting 2015-09-09 10:01:24 +02:00
Sebastian Marzjan 351d0f94e5 DAT-3200 Adding support for urlencoded image names in infoboxes 2015-09-08 14:12:23 -07:00
dianafa b896faa147 add max height to infobox images 2015-09-08 16:29:41 +02:00
idradm 97c8de1842 DAT-3207 add mw namespaces aliases to image filename sanitizer 2015-09-08 10:25:10 +02:00
Nikodem 5d68ec75c8 Merge pull request #8348 from Wikia/DAT-3197
DAT-3197 wrap content tags contents in CDATA before parsing
2015-09-07 14:47:33 +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
idradm 2aa83e9e57 DAT-3197 wrap content tags contents in CDATA before parsing 2015-09-07 12:22:56 +02:00
MariuszCz 0a4c3cad17 Update PortableInfoboxClassification.php
CE-2367 change description
2015-08-18 11:09:26 +02:00
Mariusz Czeszejko 0945d21630 CE-2367 replace method isTitleWithNonportableInfobox 2015-08-13 12:35:42 +00:00
Rafal Leszczynski a2680407f3 fix error after solving merge conflicts 2015-07-29 15:22:28 +02:00
Rafal Leszczynski c773f43c9c address CR comments 2015-07-29 13:51:55 +02:00
Rafal Leszczynski 22371f6bf3 change render service helper fron singleton to instantiable class and refactor tests 2015-07-28 16:13:36 +02:00
Rafal Leszczynski 1324073ccb move helper methods from render service to separate class and refactor tests in progress 2015-07-28 13:51:30 +02:00
Sebastian Marzjan 17e82774c9 Address code review remarks 2015-06-19 15:50:25 +02:00
Sebastian Marzjan 1c0b69edee DAT-2895 Fetch gallery data if available for image tag in new infoboxes 2015-06-19 15:36:16 +02:00
Sebastian Marzjan ad12549cb8 DAT-2895 Address CR remarks; Simplify trim call and returning of value 2015-06-19 15:35:35 +02:00
Sebastian Marzjan df3966be4e DAT-2895 Support gallery as image source in new infoboxes 2015-06-19 15:35:35 +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
idradm 87e83502b8 DAT-2875 check for empty nodes updated 2015-06-16 13:45:27 +02:00
Rafal Leszczynski 96ced03f8a add unit tests for params validator 2015-06-11 12:54:10 +02:00
Rafal Leszczynski d50b2be923 change naming convention 2015-06-11 11:47:22 +02:00
Rafal Leszczynski 1008c875d6 change exception name 2015-06-11 11:39:36 +02:00
Rafal Leszczynski 9480964132 validate infobox tag attributes 2015-06-10 14:51:07 +02:00
marzjan 9d37137680 DAT-2824 Use better child node checking 2015-05-19 14:15:06 +00:00
Sebastian Marzjan 1576d2160c Rename to a more appropriate name 2015-05-19 15:31:56 +02:00
marzjan 025bd86a12 DAT-2824 Fix warnings when node has no child nodes 2015-05-19 12:35:50 +00:00
Sebastian Marzjan 69b9abc0af DAT-2785 and DAT-2784 - Handle InnerXML properly
Remove obsolete test
2015-05-13 13:52:31 +02:00
jacek a65ff09246 tests 2015-05-07 14:36:30 +02:00
marzjan fe390a9f53 DAT-2760 Implement cases for backwards compatibility of infobox markup (image tag) 2015-05-05 07:32:16 +00:00
marzjan 6914257db9 DAT-2760 Initial commit; Streamline files; Add first test 2015-05-04 14:43:53 +00:00