Commit graph

301 commits

Author SHA1 Message Date
Paul Oslund d097426242 VE-1960: Template for mobile image collections 2015-10-20 23:09:23 +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
dianafa 4536458992 move hook to render service 2015-09-28 17:46:40 +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 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 bcef561785 DAT-3199 remove debug method 2015-09-23 16:00:07 +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
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 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
Rafal Leszczynski a027e8a2c9 get title from file 2015-09-09 13:23:34 +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
Nikodem f025c91d2d Merge pull request #8368 from Wikia/DAT-3102
DAT-3102 avoid double HTML escaping and do it only in mustache template
2015-09-08 15:15:16 +02: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
Rafal Leszczynski 6ecfe30e73 avoid double HTML escaping and do it only in mustache template 2015-09-08 10:32:36 +02:00
idradm 97c8de1842 DAT-3207 add mw namespaces aliases to image filename sanitizer 2015-09-08 10:25:10 +02:00
Rafal Leszczynski d9db65a08f use filepage url instead of image url for videos inside portable infobox 2015-09-07 17:38:17 +02:00
Nikodem e0739c6942 Merge pull request #8351 from Wikia/DAT-3210
DAT-3210 make caption field show the caption not the alt
2015-09-07 16:07:46 +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
Diana 625fdf9f7c make caption field show the caption not the alt 2015-09-07 11:42:47 +00: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
Rafal Leszczynski 96129feb6b add support for horizontal group in mercury 2015-09-04 17:30:54 +02:00
Rafal Leszczynski 3a1eed4a25 Revert "add support for horizontal group on mercury"
This reverts commit 720be436cab4d8a7492913f1b5efd8cd481f4fcf.
2015-09-04 17:29:59 +02:00
Rafal Leszczynski ab579bb0a8 add support for horizontal group on mercury 2015-09-04 17:26:18 +02:00
Sebastian Marzjan b699619caf DAT-3105 Fix saving invalid titles to imagelinks table in PortableInfoboxes
* Use Title::makeTitleSafe instead of Title::newFromTitle
* Add image only if title is valid
2015-08-31 13:53:06 +02:00
idradm 1dd65e803c DAT-3147 change formatting 2015-08-27 10:47:43 +02:00
idradm af0d7821a4 DAT-3147 make render service use getTemplates method 2015-08-27 10:46:38 +02:00
idradm 9b020ee4fb DAT-3147 assets entry point added 2015-08-27 10:30:25 +02:00
Diana 8e6bffbb7f P2 fix handle errors in includeonly tag 2015-08-26 14:49:56 +00:00
Diana 0006d77605 handle nowiki and pre params 2015-08-25 12:27:01 +00:00
Diana c19c4c861c add array values to Node.php 2015-08-25 11:00:04 +00:00