Commit graph

147 commits

Author SHA1 Message Date
idradm 20d6a46421 DAT-3707 create infobox builder extension 2016-02-12 11:38:47 +01:00
idradm 6e60746d0f DAT-3707 refactor save 2016-02-12 10:53:22 +01:00
idradm 41ef2d5266 DAT-3707 refactor save 2016-02-12 10:52:46 +01:00
idradm 5bbad66ec0 DAT-3707 remove unused entry point code 2016-02-12 10:05:16 +01:00
idradm 45aaaa5ecd make infobox builder viewport bigger 2016-02-11 10:34:09 +01:00
idradm 490ae75d53 DAT-3735 load builder only 2016-02-10 16:20:36 +01:00
idradm dbbfabceda change mercury route 2016-02-09 12:20:20 +01:00
idradm d4953f7680 Merge branch 'dev' into infobox-builder-feature-branch
# Conflicts:
#	extensions/wikia/AdminDashboard/AdminDashboardLogic.class.php
#	extensions/wikia/AssetsManager/config.php
#	extensions/wikia/EditPageLayout/templates/EditPageLayout_EditPage.php
2016-02-09 11:46:56 +01:00
Nikodem Hynek 37f07b8f11 Merge pull request #9659 from Wikia/DAT-3624
DAT-3624 Fix for broken references in infobox image captions
2016-02-05 15:25:10 +01:00
idradm b9af596dbc DAT-3622 always pass array to custom frame on api call 2016-02-04 16:52:51 +01:00
Sebastian Marzjan c5d17f315e DAT-3624 Rename 'Infobo' to 'Infobox' 2016-02-03 12:06:44 +01:00
Sebastian Marzjan dc561a4157 DAT-3614 Always pass an *ARRAY* of params to the infobox NodeFactory 2016-01-08 07:44:30 +01:00
idradm 5f42ce9742 make infoboxes use params same way as mediawiki, enable 0 param 2016-01-04 14:34:10 +01:00
Inez Korczynski 7d1f542f6c MAIN-5838: Check if $arguments is an array before handling it in array way ;) 2015-11-14 00:05:41 +00:00
Inez Korczynski 8a2ddb554b VE-2041: Added comment regarding commented out code 2015-11-12 21:23:38 +00:00
Inez Korczynski 025b4e387b VE-2041: Fix infobox API to actually return proper response.
This is still work in progress - weighing pros and cons of two different approaches to this problem.
2015-11-12 02:16:01 +00:00
dianafa e658aed5ca Merge branch 'dev' into infobox-builder-feature-branch 2015-10-05 18:39:29 +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
dianafa a92b88a672 DAT-3223 sort and add labels to template titles 2015-09-10 16:29:46 +02:00
Diana de2bc994b1 fix typo in action=edit 2015-09-09 16:57:30 +02:00
idradm ff1f403dae DAT-3153 use of more reliable methods for url spliting and joining 2015-09-07 15:00:00 +02:00
idradm 0212e1c147 DAT-3153 consistent quotes usage introduced 2015-09-07 12:49:46 +02:00
idradm d23f10c538 DAT-3153 fix misspell 2015-09-07 12:46:00 +02:00
idradm bfef593cc0 DAT-3153 map defaultValue to default, publish will work only in template namespace 2015-09-04 12:54:07 +02:00
Rafal Leszczynski c469601cb0 render i18n messages as text 2015-09-03 16:00:53 +02:00
Rafal Leszczynski a493d003b4 add check if title exist 2015-09-03 15:58:35 +02:00
Rafal Leszczynski 0284eedca6 add function description 2015-09-02 13:06:31 +02:00
Rafal Leszczynski be7681943c refactor infobox builder entry point on new template page 2015-09-02 13:04:50 +02:00
Rafal Leszczynski 638be69305 create portable infobox builder special page 2015-09-01 17:12:13 +02:00
Rafal Leszczynski 232d4abb3f remove templates from API response to infobox builder in mercury 2015-09-01 13:32:15 +02:00
idradm 69ee848c1b DAT-3153 infobox builder publish added 2015-08-31 17:42:38 +02:00
idradm b49bb7c1da DAT-3154 call to action on template edit added 2015-08-27 14:50:02 +02:00
idradm bc69cfa7f3 DAT-3154 add infoboxbuilder entrypoint in template edit page 2015-08-27 13:41:33 +02:00
idradm 9b020ee4fb DAT-3147 assets entry point added 2015-08-27 10:30:25 +02:00
Nikodem f5d6a7a8a2 Merge pull request #8163 from Wikia/DAT-3114
Dat 3114 create all infoboxes api and query page
2015-08-20 18:09:10 +02:00
dianafa e8d7e0674f add 2015-08-20 16:45:46 +02:00
idradm e89a0c793d DAT-3114 add consts, make var names more meaningful 2015-08-20 16:22:01 +02:00
idradm 15a04ac566 DAT-3114 add query page for all infoboxes 2015-08-20 15:14:23 +02:00
idradm 4e94b28c50 DAT-3114 add mw api for acquiring all infoboxes list 2015-08-20 14:06:01 +02:00
Diana bede962a5f move logic to DataService 2015-08-19 20:00:27 +00:00
Diana 18547a87ad replace str_replace with preg_match_all 2015-08-19 14:08:04 +00:00
Diana d57a606d40 extract to getParsedInfoboxes function 2015-08-19 13:26:36 +00:00
Diana 2e43142b1b handle includeonly tag 2015-08-19 09:56:07 +00:00
Diana b09f7e22cb hacky but works 2015-08-18 18:38:06 +00:00
dianafa 16fc9a892f fetch params from includeonly as well 2015-08-18 13:29:51 +02:00
Rafal Leszczynski 63078cc1d8 add missing new lines and fix indentation in templates + apply pi acronym to custom theme clasclass name 2015-07-30 11:23:50 +02:00
Rafal Leszczynski f59fd6b69f refactor and simplify portable infobox templates and desctip styling 2015-07-29 17:17:20 +02:00
Rafal Leszczynski a0d3be546d make tabular default and stacked optional layout 2015-07-27 16:31:00 +02:00
idradm 5b0f91af9c DAT-2962 ensure service is always on, move const to file always loaded 2015-07-02 09:54:06 +02:00
idradm 3e8a665242 Merge remote-tracking branch 'origin/dev' into DAT-2839
# Conflicts:
#	extensions/wikia/PortableInfobox/PortableInfobox.setup.php
#	extensions/wikia/PortableInfobox/controllers/PortableInfoboxParserTagController.class.php
#	extensions/wikia/PortableInfobox/services/Parser/XmlParser.php
#	extensions/wikia/PortableInfobox/styles/PortableInfobox.scss
2015-06-19 14:43:40 +02:00
idradm 87e83502b8 DAT-2875 check for empty nodes updated 2015-06-16 13:45:27 +02:00
idradm c73ff55883 DAT-2875 remove generator functionality 2015-06-16 11:00:39 +02:00
idradm cae634dfb1 Merge remote-tracking branch 'origin/dev' into DAT-2875-refactor
# Conflicts:
#	extensions/wikia/PortableInfobox/controllers/PortableInfoboxParserTagController.class.php
#	extensions/wikia/PortableInfobox/services/Parser/Nodes/NodeGroup.php
#	extensions/wikia/PortableInfobox/tests/ParserNodesTest.php
2015-06-15 14:57:57 +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
Rafal Leszczynski eb3c40a8dc Merge pull request #7430 from Wikia/infobox-tabular-layout
DAT-2856 Infobox tabular layout
2015-06-12 12:51:15 +02:00
idradm c86e795f48 DAT-2875 infobox api change, action query prop for infobox introduced 2015-06-11 18:08:51 +02:00
Rafal Leszczynski 462a8fbc07 fix @throws exception name in function description 2015-06-11 11:48:37 +02:00
Rafal Leszczynski d50b2be923 change naming convention 2015-06-11 11:47:22 +02:00
Rafal Leszczynski 1008c875d6 change exception name 2015-06-11 11:39:36 +02:00
idradm ea4aa94511 DAT-2875 nodes refactor 2015-06-11 11:34:28 +02:00
idradm 1abbaab514 DAT-2875 nodes refactoring, xmlParser will be used only for parsing 2015-06-10 17:19:40 +02:00
Rafal Leszczynski 9480964132 validate infobox tag attributes 2015-06-10 14:51:07 +02:00
Rafal Leszczynski a421a3ed21 Merge branch 'dev' into DAT-2839 2015-06-10 11:42:15 +02:00
idradm 2ad9f22551 nodes refactoring, nodes factory introduced 2015-06-10 11:28:33 +02:00
Adam Robak 40c2fc00b8 Merge pull request #7374 from Wikia/DAT-2861
DAT-2861 add images to parser output on resolving, use same parser in…
2015-06-09 11:48:09 +02:00
dianafa acff223c0e refactor tests and css selectors 2015-06-09 11:40:32 +02:00
Diana c3dcfb9d66 refactor tests 2015-06-08 15:25:48 +00:00
Diana 99914ace85 newlines 2015-06-08 10:22:20 +00:00
dianafa 7d5d42e9f4 merge with dev 2015-06-08 12:11:03 +02:00
Diana 7342ffbeb0 add tests and functionality 2015-06-03 13:48:44 +00:00
jacek a8e11a41bd messages and CR remark 2015-06-03 14:37:12 +02:00
jacek a9c01baed5 hide debug content for articles 2015-06-02 13:09:25 +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
Adam Robak 369209b5f7 DAT-2845 ensure params are correctly acquired 2015-06-01 10:59:20 +02:00
jacek 44cbb9cc95 initial commit 2015-05-29 16:37:35 +02:00
Adam Robak 7978ed0b96 DAT-2845 add infobox parser api 2015-05-29 15:05:08 +02:00
grunny d8349fbc0c (MAIN-4620) Sanitize custom theme class in PortableInfobox
Sanitize the custom theme class users can provide in Portable Infoboxes.
Sanitizer::escapeClass only allows valid characters in a class name
through.
2015-05-25 23:48:22 +00:00
Adam Robak e5ca491c07 DAT-2811 make sure there are no whitespaces in class name 2015-05-25 23:48:17 +00:00
Adam Robak 746a010e2c DAT-2811 make theme class appear only when set, theme class will be prefixed instead of suffixed 2015-05-25 23:34:51 +00:00
Adam Robak 644b5e22e2 DAT-2812 add custom theming 2015-05-25 23:32:27 +00:00
grunny 9567ba1a5d (MAIN-4620) Sanitize custom theme class in PortableInfobox
Sanitize the custom theme class users can provide in Portable Infoboxes.
Sanitizer::escapeClass only allows valid characters in a class name
through.
2015-05-26 02:01:00 +10:00
Adam Robak 19e353e881 DAT-2811 make sure there are no whitespaces in class name 2015-05-22 12:18:54 +02:00
Adam Robak ccd32f1b76 DAT-2811 make theme class appear only when set, theme class will be prefixed instead of suffixed 2015-05-20 13:56:24 +02:00
Adam Robak 77679f2b9f DAT-2812 add custom theming 2015-05-19 17:20:15 +02:00
jacek bb3814d318 encode output for use inside JSON format 2015-05-12 12:29:26 +02:00
Jacek Jursza 748518f8a1 Merge pull request #7157 from Wikia/portable_infoboxes_xml_parse_error
xml markup parse error handling
2015-05-08 14:33:06 +02:00
jacek fe75d4fd69 throw error 2015-05-08 14:04:18 +02:00
jacek a563c0144f xml markup parse error handling 2015-05-08 13:51:31 +02:00
Adam Robak 721f474381 marker number name changed 2015-05-08 11:57:08 +02:00
Adam Robak df4d460202 render infobox as marker 2015-05-08 11:48:23 +02:00
Adam Robak 8a080d1a15 Merge branch 'portable_infobox_mvp' into DAT-2738
Conflicts:
	extensions/wikia/PortableInfobox/controllers/PortableInfoboxParserTagController.class.php
2015-05-07 14:58:52 +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 b1e0d76a5d change markertype to general 2015-05-07 10:51:03 +02:00
Adam Robak afda182794 DAT-2738 introduce aside tag into parser and infobox extension 2015-05-06 14:49:46 +02:00
jacek 179387bfda error handling 2015-05-06 14:32:36 +02:00
jacek 3b6da2a69a error handling 2015-05-06 13:16:55 +02:00
Sebastian Marzjan d8eb7391d3 Portable Infoboxes - initial release behind WF flag 2015-04-28 09:00:26 +02:00