Commit graph

201 commits

Author SHA1 Message Date
Diana 15a00b4d4e sanitize horizontal group items as well 2015-11-05 17:57:53 +00:00
Diana 91804e99c3 add test for sole image in label 2015-11-05 13:29:42 +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 79a0bf14fa DAT-3329 add more tests and clean identation 2015-11-03 16:36:52 +01:00
dianafa 569ef4ae4c add tests 2015-11-03 16:11:08 +01:00
Inez Korczynski 70d18e11ea VE-2003: Remove unncecessary empty lines 2015-10-28 17:57:00 +00:00
Inez Korczynski d46955d8ee VE-2003: Created unit tests to "collapse" attribute of PI groups 2015-10-28 17:55:03 +00:00
Inez Korczynski 2faa1bd633 VE-1994: Fix unit tests 2015-10-26 22:06:10 +00:00
Inez Korczynski 8fc355ecea VE-1982: Basic unit test coverage for backward compatibility added to <image> 2015-10-20 22:42:36 +00:00
Inez Korczynski b93c9607a2 VE-1982: Make sourceProvider content more readable and easier to understand 2015-10-20 21:30:07 +00:00
Inez Korczynski f693207998 VE-1982: Make dataProvider content more readable and easier to understand 2015-10-20 21:28:27 +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
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
Diana 2565999c3d remove inaccuracy between image data and image data mocks 2015-09-28 16:15:49 +00:00
idradm c940d474d3 DAT-3199 unit test fix for changed default return value 2015-09-28 10:30:19 +02:00
idradm 88c886bf09 DAT-3199 add tests for template parsing 2015-09-24 13:48:51 +02:00
idradm 357efeee9c DAT-3199 test will extend WikiaBaseTest now, fix tests global scope pollution 2015-09-24 12:41:48 +02:00
idradm dbef0b9915 DAT-3199 unit tests fixed 2015-09-23 15:51:41 +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
Nikodem 9767ef0d50 Merge pull request #8366 from Wikia/DAT-3194
Dat 3194 - for videos in infobox use link to file page instead of link to original image
2015-09-09 17:24:39 +02:00
Diana b29d6099a0 add comment 2015-09-09 17:04:06 +02:00
dianafa 0c8e2545a9 addd tests 2015-09-09 14:54:26 +02:00
Rafal Leszczynski a027e8a2c9 get title from file 2015-09-09 13:23:34 +02:00
Sebastian Marzjan 351d0f94e5 DAT-3200 Adding support for urlencoded image names in infoboxes 2015-09-08 14:12:23 -07:00
Nikodem 95d6bc152b Merge pull request #8370 from Wikia/DAT-3127
DAT-3127 treat 0 as valid value inside <format> tag
2015-09-08 15:07:24 +02:00
Rafal Leszczynski bb7421acb7 treat 0 as valid value inside <format> tag 2015-09-08 11:29:49 +02:00
idradm c5adee4ff7 DAT-3207 tests update 2015-09-08 10:26:48 +02:00
idradm 97c8de1842 DAT-3207 add mw namespaces aliases to image filename sanitizer 2015-09-08 10:25:10 +02:00
Rafal Leszczynski 66b286c427 fix unit tests after changing URL generation for video item 2015-09-07 18:21:17 +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 837d0ec171 update test after adding check for not rendering labels row if all labels in horizontal group are empty strings 2015-09-07 13:26:07 +02:00
idradm 2aa83e9e57 DAT-3197 wrap content tags contents in CDATA before parsing 2015-09-07 12:22:56 +02:00
Rafal Leszczynski 91b490c05a unify portable infobox item side spacing 2015-08-04 12:06:14 +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
Rafal Leszczynski 5618734513 fix tests after refactoring 2015-07-29 17:40:21 +02:00
Rafal Leszczynski a2680407f3 fix error after solving merge conflicts 2015-07-29 15:22:28 +02:00
Rafal Leszczynski 9ecc835603 Merge branch 'dev' into DAT-3003-cleanup-feature-branch 2015-07-29 15:04:51 +02:00
Rafal Leszczynski ec7369d378 remove return from doc block 2015-07-29 14:16:58 +02:00
Rafal Leszczynski c773f43c9c address CR comments 2015-07-29 13:51:55 +02:00
Rafal Leszczynski c92bce20cd finish test refactoring 2015-07-29 10:58:39 +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
marzjan f5b26aac82 Fixing File mocking 2015-07-28 12:15:27 +00: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
Rafal Leszczynski 0b44c38814 fix test after default layout change 2015-07-27 16:49:15 +02:00
Rafal Leszczynski bc22980d2a Merge branch 'dev' into DAT-3025 2015-07-27 11:39:40 +02:00
dianafa 654b8da8ce merge with dev 2015-07-22 15:28:39 +02:00
marzjan bdee8bab34 Fix the test 2015-07-22 13:24:18 +00:00
Rafal Leszczynski 07fbcc4f18 add test to image node for video 2015-07-22 13:04:41 +02:00
Rafal Leszczynski c3d81dd456 add tests for rendering video thumbnail 2015-07-22 12:11:19 +02:00