Commit graph

23 commits

Author SHA1 Message Date
paladox 7601979bfe
PortableInfoboxImagesHelper: Return empty array instead of false in extendImageData
Because we use array_merge, the value returned has to be an array, not a boolean.

error message:

```ErrorException from line 166 of /srv/mediawiki/w/extensions/PortableInfobox/includes/services/Parser/Nodes/NodeMedia.php: PHP Warning: array_merge(): Expected parameter 2 to be an array, bool given```
2020-06-07 04:58:22 +01:00
Rail 92416ca73a
Update usage of LightnCandy
I don't know what I am doing
2020-05-18 09:06:54 +00:00
paladox 031187069b
Update PortableInfoboxTemplateEngine.php 2019-12-18 18:00:51 +00:00
lkucharczyk bd6c2ad47a Port <panel> and <section> tags 2019-04-15 00:21:02 +02:00
lkucharczyk c0272cbbf2 Add an option to disable renderer caching 2019-03-24 23:14:59 +01:00
lkucharczyk 48a68ce450 Render <panel> and <section> tags 2019-02-24 23:05:18 +01:00
lkucharczyk e84e5c1e6c Add support for name attribute 2019-02-02 23:34:48 +01:00
Luqgreg 1fec9e640c Add infobox type attribute 2018-12-23 01:04:50 +01:00
Luqgreg e761fff655 Use existing infoboxes pageprop instead of reparsing 2018-10-19 21:11:28 +02:00
Luqgreg d4b869cda5 AllInfoboxes and PIDataService improvements 2018-10-11 20:26:59 +02:00
Luqgreg 2317398cc2 Remove HtmlHelper 2018-10-07 16:44:55 +02:00
Luqgreg f00a40c3b8 Code refactoring 2018-10-02 09:55:32 +02:00
Luqgreg 9b216ff849 FileNamespaceSanitizeHelper cleanup 2018-10-02 09:35:02 +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 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 08a885a49d Move extending image data to NodeMedia 2018-08-22 16:20:49 +02:00
Luqgreg 8762225606 Code refactoring 2018-08-16 11:25:53 +02:00
Luqgreg 32e70ed86a Cache compiled handlebars templates 2018-08-15 16:31:42 +02:00
Luqgreg c9d1bd4f10 Increase code coverage 2018-08-13 16:31:50 +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 3a3fd95ec8 Major code cleanup (#10) and bumping version to 0.2 🎉 2018-08-09 12:36:52 +02:00