Commit graph

1270 commits

Author SHA1 Message Date
Luqgreg 359f2c4b9b Restore missing error handling test for XmlParser 2018-09-30 14:31:35 +02:00
Luqgreg a5f5619b4d Add an option to use divs instead of headings in PI output 2018-09-22 15:31:32 +02:00
Luqgreg 9ba2e5e971 Fix error throwing in ApiPortableInfobox 2018-09-08 10:09:03 +02:00
Luqgreg 66fa206d8f Add i18n to API modules 2018-09-03 19:32:10 +02:00
Luqgreg 09e57e2d34 Remove sanitizers 2018-09-03 17:59:15 +02:00
Luqgreg 37f23f529f Add sources suggestions for TemplateData (#13) 2018-09-01 15:38:25 +02:00
Luqgreg 0a6b0f9c70 Separate sources extractor and add it to ext.templateDataGenerator.data 2018-09-01 15:36:05 +02:00
Luqgreg adeb58b43c Minor stylesheet fixes 2018-08-28 15:27:22 +02:00
Luqgreg 98d379c464 Override extracting paramters in ext.templateData.data resource module 2018-08-28 14:39:01 +02:00
Luqgreg df30141d1f Add cache to MediaWikiParserService 2018-08-27 14:23:23 +02:00
Luqgreg 2c2f00fe0b Remove margins from PI error message 2018-08-27 09:27:55 +02:00
Luqgreg 52d5d28c82 Set type of NodeMedia aliases to 'media' 2018-08-26 16:08:31 +02:00
Luqgreg 83d1c981c5 Add support for more color formats (#12) 2018-08-26 13:00:00 +02:00
Luqgreg 638c9ef08b MW 1.27 compatibilty fixes 2018-08-26 12:13:26 +02:00
Luqgreg f031e35c82 Remove unused getVersion method from Api controllers 2018-08-24 14:30:30 +02:00
Luqgreg 877bc2469c Fix unit tests 2018-08-22 16:22:30 +02:00
Luqgreg 08a885a49d Move extending image data to NodeMedia 2018-08-22 16:20:49 +02:00
Luqgreg b1830e129c Add inheritance check to NodeFactory 2018-08-22 10:04:07 +02:00
Luqgreg 443440d432 Add browser compatibility fixes and add mixins to the stylesheet 2018-08-20 17:38:38 +02:00
Luqgreg 5053750f84 Require MW >= 1.29 2018-08-19 13:35:46 +02:00
Luqgreg 8a93653f0b Force RemexHtml as Tidy driver and add an option to disable tidying 2018-08-18 18:40:36 +02:00
Luqgreg e51204ff8b Fix deleting cache and add type hinting to hooks 2018-08-18 18:12:16 +02:00
Luqgreg 49c6d8a5b5 Fix "0" as node value 2018-08-16 16:19:59 +02:00
Luqgreg 767a1cc147 Use MWTidy in MediaWikiParserService 2018-08-16 15:59:49 +02:00
Luqgreg 8762225606 Code refactoring 2018-08-16 11:25:53 +02:00
Luqgreg 3fa896d3bc Combine resource modules and load them only if needed 2018-08-15 17:10:55 +02:00
Luqgreg 32e70ed86a Cache compiled handlebars templates 2018-08-15 16:31:42 +02:00
Luqgreg ec915c6fc4 Remove adding new pages to S:AI cache 2018-08-15 15:20:56 +02:00
Luqgreg 3744074ebb Update README and extension.json 2018-08-13 17:28:23 +02:00
Luqgreg c9d1bd4f10 Increase code coverage 2018-08-13 16:31:50 +02:00
Luqgreg 626710caf9 Add audio support; NodeImage -> NodeMedia (#11) 2018-08-13 12:15:22 +02:00
Luqgreg 3007c92c62 Fix unit tests 2018-08-12 17:50:16 +02:00
Luqgreg 296c523935 Change .pi-image to .pi-media 2018-08-12 15:56:54 +02:00
Luqgreg 73da0358bf Add audio support 2018-08-12 13:31:01 +02:00
Luqgreg a338403f01 Add NodeMedia aliases 2018-08-12 12:00:05 +02:00
Luqgreg 44038371e7 Rename NodeImage to NodeMedia 2018-08-12 11:45:29 +02:00
Luqgreg 13ccd9df75 Fix clone command in README and bump version to 0.2.1 2018-08-11 18:21:57 +02:00
Luqgreg 4f30ae6b34 Load PI stylesheet without visible FOUC 2018-08-11 17:35:12 +02:00
Luqgreg c84d332c17 Markers are handled by parser, no need to do it twice 2018-08-11 16:49:39 +02:00
Luqgreg b40872aa56 Use MEDIATYPE_VIDEO MW constant instead of custom one 2018-08-11 09:39:21 +02:00
Luqgreg d7aa40293a Strip markers should contain hex digits 2018-08-11 08:02:40 +02:00
Luqgreg 0d7d296292 Add styling fixes specific to the Timeless skin 2018-08-10 16:30:36 +02:00
Luqgreg a8563d659c Fix DataBag ref 2018-08-09 13:52:56 +02:00
Luqgreg 3a3fd95ec8 Major code cleanup (#10) and bumping version to 0.2 🎉 2018-08-09 12:36:52 +02:00
Luqgreg d55e718d69 Add inline styles to horizontal group header
Backport of my fix proposed on Wikia/app repo: https://github.com/Wikia/app/pull/15746
2018-08-09 11:41:31 +02:00
Luqgreg ad17140243 Fix unit tests 2018-08-08 11:42:22 +02:00
Luqgreg 7fe3a39d1d Mustache -> Handlebars 2018-08-08 11:31:33 +02:00
Luqgreg 6d52d0e683 Minor fixes 2018-08-08 10:29:34 +02:00
Luqgreg 8ccae693d5 Bring back and fix PortableInfoboxDataBag 2018-08-07 16:06:52 +02:00
Luqgreg 52197e5c22 Add single video support 2018-08-07 14:13:14 +02:00