Commit graph

525 commits

Author SHA1 Message Date
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
idradm cf77f89c63 DAT-3204 blacklist some of the subpages 2015-09-16 12:14:21 +02:00
dianafa a92b88a672 DAT-3223 sort and add labels to template titles 2015-09-10 16:29:46 +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
Nikodem a3b3cce449 Merge pull request #8383 from Wikia/DAT-3192
DAT-3192 Invalidate memcache on allinfoboxes query update
2015-09-09 16:48:01 +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
idradm 57620dd90b DAT-3204 filter out subpage from infobox template list 2015-09-09 15:28:22 +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
Sebastian Marzjan ce6f4e7646 DAT-3192 Invalidate memcache on allinfoboxes query update 2015-09-08 12:05:06 -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
Nikodem 0df0f91e4d Merge pull request #8367 from Wikia/DAT-3207
DAT-3207 add mw namespaces aliases to image filename sanitizer
2015-09-08 11:28:31 +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 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