Luqgreg
ab58f034c9
Remove unnecessary PortableInfoboxDataBag
2018-08-04 18:38:43 +02:00
Luqgreg
c828b877f8
Fix extracting images from gallery
2018-08-04 18:29:53 +02:00
Luqgreg
7717b0699e
Fix image collection template and extracting images from tabber
2018-08-03 14:24:42 +02:00
Luqgreg
34a11ba554
Merge branch 'master' into gallery_support
2018-08-03 13:37:55 +02:00
Luqgreg
4673bb1743
Remove render service for mobile devices
2018-08-01 18:06:09 +02:00
Luqgreg
83a21ba486
Fix getMarkers regex
2018-07-28 15:59:24 +02:00
Luqgreg
31ae3773cd
FANDOM's WikiaLogger -> MW's LoggerFactory
2018-07-24 15:56:43 +02:00
Luqgreg
45dddade9e
Comment out profiling
2018-07-24 14:13:12 +02:00
Jakub Olek
3a30c73c16
XW-4045 | Remvove a tags that href starts with javascript from nodeimage
2017-10-03 10:52:40 +02:00
idradm
e6f2637ca4
XW-2771 | make sure the data is present
2017-02-22 16:56:13 +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
Mateusz Rybarski
d53e54d83e
XW-2448: || instead of array_merge
2017-01-13 15:34:02 +01:00
Mateusz Rybarski
a28b14ac94
XW-2448: checking if infobox contains tabber or gallery using markers
2017-01-13 15:18:05 +01:00
idradm
76cdfad2ec
Merge branch 'dev' into XW-2448
2017-01-13 13:17:05 +01:00
Mateusz Rybarski
1723811417
XW-2448: cleanup
2017-01-13 08:51:14 +01:00
Mateusz Rybarski
182de59c7b
XW-2448: using foreach loops
2017-01-12 15:05:11 +01:00
Mateusz Rybarski
ce18ff7649
XW-2448: get rid of regexps while processing gallery tag in PI
2017-01-12 14:55:30 +01:00
Mateusz Rybarski
1e39fece7f
Merge branch 'dev' into XW-2569
2017-01-11 12:51:13 +01:00
Mateusz Rybarski
43d8db55ab
XW-2572: casting row-items and span to ints
2017-01-10 14:28:24 +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
98954ea5b8
reformat file
2017-01-02 10:58:45 +01:00
idradm
5a9663d46a
refactor metadata tag
2017-01-02 10:58:02 +01:00
Mateusz Rybarski
52d85ec2a1
XW-2444: reducing number of notices and warnings in tests
2016-12-29 10:16:53 +01:00
idradm
7166ca0470
XW-2415 make sure render data is an array
2016-12-19 15:17:40 +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
c599b34595
XW-2415 | simplify logic in getSourcesMetadata()
2016-12-13 17:56:33 +01:00
Igor Rogatty
7ad06f684a
XW-2415 | handle images inside groups
2016-12-09 15:56:57 +01:00
Igor Rogatty
5712de9f05
XW-2415 | save infobox metadata, not just labels
2016-12-09 14:01:49 +01:00
Igor Rogatty
3b704769ff
XW-2415 | infobox dialog in VE knows the source types
2016-12-07 19:02:00 +01:00
idradm
3e586523e4
XW-2278 fix wikitext lists after variables were replaced
2016-11-14 11:24:44 +01:00
grunny
8186618eb9
(DAT-4494) Fix galleries and tabber in PortableInfoboxes
2016-06-16 16:59:48 +00:00
idradm
9ceba1d2d0
DAT-3942 make sure isVideo param is always set, update tests
2016-04-20 10:38:44 +02:00
Lukasz Konieczny
9f7c54012b
CE-3554: Combine two lines to one
2016-04-05 09:58:19 +00:00
Lukasz Konieczny
d340841e17
CE-3554: Improve code after CR
2016-04-05 07:27:18 +00: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
Lukasz Konieczny
a773ee1a49
CE-3554: Extract labels from infobox markup and save them in page props
2016-03-31 09:58:34 +00:00
dianafa
6406fb53d5
move helper to an independent place
2016-01-12 10:50:24 +01:00
Sebastian Marzjan
2171b5c02c
Merge pull request #9366 from Wikia/DAT-3331
...
make infoboxes use params same way as mediawiki, enable 0 param
2016-01-05 17:18:33 +01:00
idradm
5f42ce9742
make infoboxes use params same way as mediawiki, enable 0 param
2016-01-04 14:34:10 +01:00
dianafa
ed73d4f525
move sanitizing to PortableInfoboxRenderService
2015-12-23 13:20:55 +01:00
dianafa
0de509246f
add caption sanitization in getImageData
2015-12-23 11:20:39 +01:00
dianafa
6e8091ec4d
move ImageFilenameSanitizer logic to FileNamespaceSanitizeHelper
2015-11-25 11:00:39 +01:00
Inez Korczyński
6b78b8a3ae
Merge pull request #8943 from Wikia/PI-Collapsible-Groups
...
Collapsible Groups for Portable Infoboxes
2015-10-30 10:46:00 -07:00
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