Commit graph

550 commits

Author SHA1 Message Date
Nikodem Hynek ef9c31ccc0 Merge pull request #8899 from Wikia/DAT-3402
DAT-3402 move links placeholder replacement after markers are resolved
2015-10-28 10:58:52 +01:00
Inez Korczynski f901a1642e VE-2004: Silencing loadHTML warning
I carefully researched the topic and it seems that there is no way to instruct DOMDocument to accept "lower" quality HTML. Specifically in HTML <div> or <figure> (block elements) are not allowed inside <p> (which accepts only inline elements) - hence it's complaining about.

Based on comments from stackoverflow it seems that such practice (silencing it) is commong practice in this situation.
2015-10-27 20:02:58 +00:00
idradm c73cfab57b DAT-3402 move links placeholder replacement after markers are resolved 2015-10-27 14:09:42 +01:00
Inez Korczynski 2424103f76 VE-2000: Modify regex to match all markers (hexadecimal instead of decimal only) 2015-10-23 21:24:26 +00:00
Inez Korczyński ed23fc1a8e Merge pull request #8866 from Wikia/VE-1993
VE-1993: Render videos in media collection tabs
2015-10-22 16:03:31 -07:00
Paul Oslund 99dd3f4e4c VE-1993: Render videos in media collection tabs 2015-10-22 21:21:19 +00:00
Inez Korczynski d280c32dfc VE-1990: Added support for video in PIMC 2015-10-22 20:56:32 +00:00
Paul Oslund 9c32432469 Merge pull request #8844 from Wikia/VE-1985
VE-1985: Added support for video passed to tabber
2015-10-22 12:26:19 -06: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 2faedf0c23 VE-1961: Center image collection tabs 2015-10-22 17:38:39 +00:00
Paul Oslund a5e2f37cb6 VE-1961: Update tab border logic 2015-10-22 17:25:40 +00: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
Inez Korczynski b2e7b644f4 VE-1985: Added support for video passed to tabber 2015-10-21 00:48:37 +00:00
Inez Korczynski 394db2a0ba Merge branch 'PI-Media-Collections-MVP' into VE-1982 2015-10-21 00:38:23 +00:00
Inez Korczynski ec856513e8 VE-1982: Removed not needed global 2015-10-21 00:04:29 +00:00
Inez Korczynski 720900abb5 VE-1982: Added missing global 2015-10-21 00:03:06 +00:00
Paul Oslund d097426242 VE-1960: Template for mobile image collections 2015-10-20 23:09:23 +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
Paul Oslund aec55fabd4 VE-1961: Add ellipsis to long tabs 2015-10-20 19:52:33 +00:00
Paul Oslund e6c81a3ea2 VE-1961: Render image collection tabs in infobox 2015-10-20 16:40:56 +00:00
Inez Korczynski c9da5425a7 VE-1979: Added support for <gallery> tag passed to <image> 2015-10-20 01:19:49 +00:00
Inez Korczynski 6c4359a9d4 VE-1975: Added support for mobile (ArticleAsJson) and usage of XML parsing
Special handling for mobile is needed because article for mobile is delivered within ArticleAsJson which makes a lot of transformation during the parsing process (instead of for instance postprocessing).
Parsing HTML with XML parser seems to be giving better results than using just regexes and also it gives as ability to handle nested tabbers in a future in a better way.
2015-10-19 23:56:20 +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
Diana Falkowska dfe25a33df remove newline 2015-10-07 15:12:56 +02:00
Diana 00360174b5 add context to proper field 2015-10-07 09:42:38 +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
Diana ff16c2346f change order 2015-09-28 16:42:27 +00:00
Diana 2565999c3d remove inaccuracy between image data and image data mocks 2015-09-28 16:15:49 +00:00
dianafa 4536458992 move hook to render service 2015-09-28 17:46:40 +02:00
idradm c940d474d3 DAT-3199 unit test fix for changed default return value 2015-09-28 10:30:19 +02:00
idradm 13d398bced DAT-3199 purge cache after change is done 2015-09-25 17:19:48 +02:00
idradm d95c9310fc DAT-3199 remove clear state caching 2015-09-25 17:06:09 +02:00
idradm 0f333e585f DAT-3199 clear props before article edit 2015-09-25 16:53:39 +02:00
idradm a5484d77fd DAT-3199 make type hinting accept more types 2015-09-25 09:23:25 +02:00
idradm 12120f3cf1 DAT-3199 change memc key to be more distinguishable, add type hinting 2015-09-24 17:17:47 +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 357efeee9c DAT-3199 test will extend WikiaBaseTest now, fix tests global scope pollution 2015-09-24 12:41:48 +02:00
idradm bcef561785 DAT-3199 remove debug method 2015-09-23 16:00:07 +02:00
idradm a240110f44 DAT-3199 docs updated 2015-09-23 15:56:08 +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 864e644343 Merge pull request #8404 from Wikia/DAT-3204
DAT-3204 filter out subpage from infobox template list
2015-09-17 13:32:53 +02:00
idradm 47224c6eb1 DAT-3204 filter refactored for better readability 2015-09-17 11:22:12 +02:00
idradm 4539e4e683 Merge remote-tracking branch 'origin/dev' into DAT-3204 2015-09-16 12:14:36 +02:00