Commit graph

373 commits

Author SHA1 Message Date
Mateusz Rybarski f1edb9aaf4 XW-4654: support simplifyRendering query param to avoid icache issues 2018-03-15 12:08:54 +01:00
Mateusz Rybarski 9f9dc7ae79 XW-4654: data-attrs for galleries in PI 2018-03-02 16:47:26 +01:00
Karol Tatała 7b4e0e6fef Fix PI unit tests 2018-02-19 09:52:20 +01:00
Karol Tatała d543be1f62 XW-4529 | fix unit tests 2018-02-16 16:05:51 +01:00
Karol Tatała 85a6d306a7 XW-4529 | fix width in test 2018-02-14 14:19:18 +01:00
Karol Tatała 6429642ad7 XW-4529 | fix test
XW-4529 | fix test

XW-4529 | fix test

XW-4529 | fix test
2018-02-14 14:06:01 +01:00
Mateusz Rybarski d974ba80a0 XW-4331: fix unit test 2018-01-04 10:25:54 +01:00
Mateusz Rybarski 92a08034e8 XW-4331: fix unittests 2017-12-29 12:19:33 +01:00
Mateusz Rybarski 4844ba13e1 XW-4331: update play icon for videos in a lot more places 2017-12-22 11:55:57 +01:00
TK-999 57a122d066 Make Hooks::run work with old tests and namespaces 2017-07-12 14:54:32 +02:00
TK-999 de4f46d488 s/wfRunHooks/Hooks::run/g 2017-07-12 12:21:06 +00:00
TK-999 64b9991014 MAIN-9881: Fix risky tests 2017-03-15 19:44:02 +01:00
TK-999 d53e4236e9 Replace all usages of setExpectedException with annotations or expectException 2017-02-28 11:21:12 +01:00
idradm bd2a9cd159 XW-2656 | make sure gallery captions are escaped as well 2017-02-24 16:57:29 +01:00
Mateusz Rybarski b9260e8fb8 XW-2727: unittests for filtering images in PortableInfoboxRenderService 2017-02-03 17:05:52 +01:00
idradm 47adca6ea1 Restore "Merge pull request #12220 from Wikia/XW-2448"
This reverts commit 50d81602c84b9474e070d6c1a8e2995cd9b8d91b.

# Conflicts:
#	extensions/wikia/PortableInfobox/services/PortableInfoboxRenderService.class.php
2017-01-25 12:18:20 +01:00
macbre 66c995a659 Revert "Merge pull request #12220 from Wikia/XW-2448"
It causes https://wikia-inc.atlassian.net/browse/SUS-1483

Notice: Array to string conversion in /usr/wikia/source/app/includes/parser/StripState.php on line 98

"Array" string is displayed on blog posts listing.

This reverts commit 37d1519605836c8144ea36c9951577e65ce71d9e, reversing
changes made to 0eb38a5cb2fced6e7f3dd1853150ab950d7dffe8.

Conflicts:
	extensions/wikia/PortableInfobox/services/PortableInfoboxRenderService.class.php
2017-01-17 12:31:06 +01:00
idradm d9158f0925 XW-2473 remove no longer valid comments, add missing params to input value 2017-01-13 16:23:21 +01:00
idradm 3c1d61dbcb Merge branch 'dev' into XW-2473 2017-01-13 16:18:53 +01:00
idradm 35ddb454af XW-2569 fix tests, close html tag correctly 2017-01-13 16:17:01 +01:00
idradm 76cdfad2ec Merge branch 'dev' into XW-2448 2017-01-13 13:17:05 +01:00
Mateusz Rybarski 359006fc46 XW-2448: unittests 2017-01-13 09:37:27 +01:00
idradm 9f0b77f69e XW-2473 fix tests after class changes 2017-01-13 09:30:53 +01:00
idradm 66f131e2ba XW-2473 move file width method to image helper 2017-01-13 09:25:46 +01:00
idradm 07944c1ab3 XW-2569 fix message 2017-01-12 14:15:48 +01:00
idradm 577d693383 XW-2569 add test for labels rendering 2017-01-12 14:14:58 +01:00
idradm 507d7cf754 XW-2569 restructure smart groups 2017-01-12 14:11:46 +01:00
Karol Tatala c9ea033e29 XW-2569 | fix tests for calc 2017-01-11 16:55:32 +01:00
idradm bedf1188b4 XW-2569 increase items width calculation precision 2017-01-11 15:58:23 +01:00
Adam Robak ddb8f5141e Merge pull request #12206 from Wikia/XW-2586
XW-2586 | styling PI flex (smart) groups
2017-01-11 15:06:38 +01:00
Karol Tatala e59608b9e1 XW-2586 | changes after code review 2017-01-11 14:19:25 +01:00
Karol Tatala a84fe119a5 XW-2586 | fixing tests after styling PI smart groups 2017-01-11 13:40:50 +01:00
Mateusz Rybarski 1e39fece7f Merge branch 'dev' into XW-2569 2017-01-11 12:51:13 +01:00
idradm 486742534d XW-2569 unit tests for new functionality added, fixes for existing ones 2017-01-11 10:00:21 +01:00
Mateusz Rybarski 9ac5d0b17f XW-2572: span and layout attributes for data tag 2017-01-10 13:59:46 +01:00
Mateusz Rybarski 8a081b273e XW-2572: row-items attribute for group node 2017-01-10 13:05:22 +01:00
idradm 8b1289b291 Merge branch 'dev' into XW-2415
# Conflicts:
#	extensions/VisualEditor/wikia/VisualEditor.i18n.php
#	extensions/wikia/PortableInfobox/PortableInfobox.setup.php
#	extensions/wikia/PortableInfobox/tests/PortableInfoboxParserTagControllerTest.php
#	extensions/wikia/PortableInfobox/tests/PortableInfoboxRenderServiceTest.php
2017-01-05 12:37:59 +01:00
idradm 525912ae6c add test for nested image elements 2017-01-02 14:31:45 +01:00
idradm 145b66ea71 Merge branch 'dev' into XW-2443
# Conflicts:
#	extensions/wikia/PortableInfobox/controllers/PortableInfoboxParserTagController.class.php
#	extensions/wikia/PortableInfobox/tests/PortableInfoboxParserTagControllerTest.php
2016-12-30 12:06:00 +01:00
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 7a2db71cdf XW-2444: resolving notices and warnings in PortableInfoboxMobileRenderServiceTest 2016-12-29 10:51:31 +01:00
Mateusz Rybarski cf900e715c XW-2444: resolving notices and warnings in PortableInfoboxMobileRenderServiceTest 2016-12-29 10:46:13 +01:00
Mateusz Rybarski 52d85ec2a1 XW-2444: reducing number of notices and warnings in tests 2016-12-29 10:16:53 +01:00
Mateusz Rybarski e7944bb574 XW-2444: file rename 2016-12-29 09:52:38 +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 e4b28b1691 XW-2444: adding # to color if not provided, formatting 2016-12-28 16:30:24 +01:00
Mateusz Rybarski 11b917d0f7 XW-2444: minor cr remarks 2016-12-28 15:51:33 +01:00
Mateusz Rybarski 2498b0111a XW-2444: cr remarks 2016-12-28 15:14:54 +01:00
Mateusz Rybarski 2eaae9de06 XW-2444: unittests for ParserTagController 2016-12-28 14:56:04 +01:00
Mateusz Rybarski c5c1a2c071 XW-2444: adding tests 2016-12-28 13:36:57 +01:00
idradm a5eff3e363 reformat files 2016-12-28 13:09:26 +01:00
Igor Rogatty 05ae87b310 XW-2415 | use the original libxml settings 2016-12-28 12:28:47 +01:00
Mateusz Rybarski 0db0229550 XW-2444: fixing tests 2016-12-28 12:10:57 +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
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 3a3894a1a3 XW-2444: fixing unittests for render service, cleanup 2016-12-27 14:35:48 +01:00
idradm ac52e392bc XW-2443 remove unnecessary assignment 2016-12-27 10:01:49 +01:00
idradm 8ce60507f0 XW-2443 refactor unit tests, add more cases 2016-12-27 10:00:26 +01:00
idradm 116427f924 XW-2443 use both static and variable based themes 2016-12-27 09:25:44 +01:00
Igor Rogatty f4e8e30306 XW-2415 | test getMetadata 2016-12-14 17:32:10 +01:00
Igor Rogatty 4705117c83 XW-2415 | test getSourcesMetadata method and fix an issue that was found 2016-12-14 15:46:17 +01:00
Igor Rogatty 7889cb59e4 XW-2415 | fix multiple warnings in tests 2016-12-14 15:20:10 +01:00
Igor Rogatty 380c2900b9 XW-2415 | fix unit tests 2016-12-14 13:54:53 +01:00
Weronika Rudnicka c9363473b2 XW-2307 | mocking getMediaType method in custom width logic test 2016-11-21 23:17:32 +01:00
Damian Jozwiak d4a9943eaf XW-2234 | Fix testRenderInfobox unit test 2016-11-03 15:40:21 +01:00
Damian Jozwiak 6e1a075cad XW-2234 | Fix testCustomWidthLogic unit test 2016-11-03 15:32:16 +01:00
macbre a444abc707 Revert "PortableInfoboxRenderServiceTest: temporarily skip testRenderInfobox"
This reverts commit 63ba16643458ce39f61050acc4259156cfb35305.
2016-06-27 12:19:13 +02:00
macbre 4f5e9462dc PortableInfoboxRenderServiceTest: temporarily skip testRenderInfobox 2016-06-24 10:23:45 +02:00
grunny e191fbd396 Fix unit tests 2016-06-17 03:52:32 +10:00
Igor Rogatty 27e695e569 XW-1225 | remove $wgEnableSeoFriendlyImagesForMobile and clean up 2016-05-18 14:44:36 +02:00
Igor Rogatty 3ef5a8e72b XW-1429 | remove whitespace after original marker and put a single space after new marker position 2016-05-09 15:14:02 +02:00
Igor Rogatty bc7f3efb35 XW-1429 | add unit tests for moveFirstMarkerToTop method 2016-05-09 14:50:37 +02:00
idradm 9ceba1d2d0 DAT-3942 make sure isVideo param is always set, update tests 2016-04-20 10:38:44 +02:00
Bogna Knychala 1dc864dd5a Merge remote-tracking branch 'origin/dev' into XW-1300 2016-04-08 13:13:17 +02:00
Igor Rogatty 81ca93b542 XW-1300 | use portable-infobox-hero-image component in tests 2016-04-07 15:14:26 +02:00
Igor Rogatty 7a2b770707 XW-1300 | add article-media-placeholder class to tests 2016-04-06 15:40:25 +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
Lukasz Konieczny 06fad58042 CE-3554: Support more sources 2016-04-01 12:54:43 +00:00
Lukasz Konieczny 4f11b96e48 CE-3554: Changes after CR 2016-04-01 11:07:30 +00:00
Igor Rogatty 07cdefb0f5 XW-1300 | use mercury-component-attrs name and fix unit tests 2016-04-01 12:06:10 +02:00
Lukasz Konieczny 88030ff0d2 CE-3554: Add unit tests for extracting labels 2016-03-31 10:00:03 +00:00
idradm 25dd444a80 DAT-4018 add test for europa theme enabled 2016-03-29 12:57:07 +02: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
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 e355f58e04 DAT-3855, fix tests 2016-03-09 15:51:51 +01:00
Rafal Leszczynski 7a12be6310 DAT-3855, round image display dimensions 2016-03-09 10:45:31 +01:00
Rafal Leszczynski fbceb63dcc DAT-3855, fix broken test after thumbnail size change 2016-03-08 16:06:54 +01:00
marzjan a874af74af Update @covers annotation for PortableInfobox tests 2016-02-25 15:51:47 +00:00
idradm 20d6a46421 DAT-3707 create infobox builder extension 2016-02-12 11:38:47 +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
Sebastian Marzjan c5d17f315e DAT-3624 Rename 'Infobo' to 'Infobox' 2016-02-03 12:06:44 +01:00
Sebastian Marzjan 168bf09348 DAT-3621 Unified tests for hero image and regular caption
* Disable sanitization on Oasis
* Handle previously unsupported case of nested tag ( <b><a></a></b> )
* Unify test formatting
* Change list handling (yes, I am not proud of that)
2016-01-12 09:21:21 +01:00
Sebastian Marzjan 531fc700e6 Provide explicitly encoded XML to loadHTML (libxml issues ;-) ) 2016-01-08 08:24:09 +01:00