Inez Korczynski
720900abb5
VE-1982: Added missing global
2015-10-21 00:03:06 +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
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
dianafa
4536458992
move hook to render service
2015-09-28 17:46:40 +02:00
Rafal Leszczynski
a027e8a2c9
get title from file
2015-09-09 13:23:34 +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
Diana
625fdf9f7c
make caption field show the caption not the alt
2015-09-07 11:42:47 +00: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
Rafal Leszczynski
ba0a923fd9
add video functionality to image tag
2015-07-21 16:29:14 +02:00
Sebastian Marzjan
17e82774c9
Address code review remarks
2015-06-19 15:50:25 +02:00
Sebastian Marzjan
1c0b69edee
DAT-2895 Fetch gallery data if available for image tag in new infoboxes
2015-06-19 15:36:16 +02:00
idradm
197c040d8e
DAT-2875 removed isempty and source from render data fields, more tests added, formatting clean up
2015-06-12 15:43:37 +02:00
idradm
d766b3a003
DAT-2875 source variables name for image node fix, get source for group nodes refactored
2015-06-11 11:48:32 +02:00
idradm
ea4aa94511
DAT-2875 nodes refactor
2015-06-11 11:34:28 +02:00
idradm
2ad9f22551
nodes refactoring, nodes factory introduced
2015-06-10 11:28:33 +02:00
idradm
9c55ef194b
DAT-2861 images with whitespace in names will be linked correctly now
2015-06-03 16:53:31 +02:00
Adam Robak
be69f7146e
DAT-2861 add images to parser output on resolving, use same parser instance for all parsing
2015-06-01 15:37:56 +02:00
Diana
47994ffdb3
merge with dev
2015-05-26 10:57:00 +00:00
Diana
2085bc69a7
Revert "merge with dev"
...
This reverts commit b369971b4cc0d219803eb94382f02f154ac430a6.
2015-05-26 10:53:38 +00:00
Diana
01ccae3e79
merge with dev
2015-05-26 10:51:41 +00:00
Diana
8e1834c810
unify the file creation method
2015-05-25 11:02:35 +00:00
Diana
72c1fd06ab
refactoring
2015-05-22 16:25:21 +00:00
dianafa
4525aea3e5
suppord old img provider
2015-05-22 17:27:20 +02:00
Rafal Leszczynski
eeb8fd6b87
remove html escaping of data values
2015-05-20 13:56:19 +02:00
Rafal Leszczynski
09edb75302
change logic for getting name and key values to match with default mobile image rendering logic
2015-05-19 17:00:28 +02:00
jacek
6405c1050a
add caption to the parser
2015-05-19 09:56:57 +02:00
Rafal Leszczynski
6b9d0ab239
fix indentation
2015-05-11 17:28:43 +02:00
Rafal Leszczynski
95107e7244
Merge branch 'portable_infobox_mvp' into DAT-2770
2015-05-11 17:24:19 +02:00
Rafal Leszczynski
e7fdcbc778
fix issues with image name being passed to template
2015-05-11 17:07:07 +02:00
jacek
f32f24689a
add hook to node image
2015-05-11 14:36:23 +02:00
Rafal Leszczynski
8c25f370db
move image name sanitizing to getData method
2015-05-11 13:56:18 +02:00
marzjan
a12689378d
DAT-2760 Support images in diffent formats
...
* replace variables in image tag
* remove obsolete test
2015-05-08 15:59:00 +00:00
Adam Robak
21b2c0fb9b
fix missing url
2015-05-07 15:09:24 +02:00
Adam Robak
d14e824151
Merge branch 'portable_infobox_mvp' into DAT-2745
...
Conflicts:
extensions/wikia/PortableInfobox/services/Parser/Nodes/NodeImage.php
2015-05-07 14:54:23 +02:00
Adam Robak
242bada43d
external parser approach changed, tests fixed, refactoring
2015-05-07 14:37:13 +02:00
Rafal Leszczynski
440b1e934b
overwrite isEmpty method for image node to check for url instead of value
2015-05-06 16:11:04 +02:00
Rafal Leszczynski
e1e25d77bb
change naming in image data model
2015-05-06 16:02:28 +02:00
Rafal Leszczynski
3109e908b9
Merge branch 'portable_infobox_mvp' into DAT-2746
2015-05-06 15:10:08 +02:00
Rafal Leszczynski
b1f2cabf03
add image name to image data model
2015-05-05 12:37:47 +02:00
marzjan
fe390a9f53
DAT-2760 Implement cases for backwards compatibility of infobox markup (image tag)
2015-05-05 07:32:16 +00:00
marzjan
6914257db9
DAT-2760 Initial commit; Streamline files; Add first test
2015-05-04 14:43:53 +00:00
Sebastian Marzjan
d8eb7391d3
Portable Infoboxes - initial release behind WF flag
2015-04-28 09:00:26 +02:00