Commit graph

1207 commits

Author SHA1 Message Date
paladox a01847f0bf
Update PortableInfoboxDataService.php 2019-12-18 18:01:28 +00:00
paladox 031187069b
Update PortableInfoboxTemplateEngine.php 2019-12-18 18:00:51 +00:00
paladox bced4181bd
Update PortableInfobox.hooks.php 2019-12-18 18:00:05 +00:00
paladox d0697bd473
Avoid usage of ObjectCache::getMainWANInstance()
ObjectCache::getMainWANInstance() has been removed under mediawiki 1.34+.
2019-12-18 17:59:23 +00:00
lkucharczyk 895bb62afe
Merge pull request #21 from paladox/patch-1
Use $title->getDBkey() instead of just $title in addImage
2019-09-03 22:21:45 +02:00
paladox 6de48189ba
Use $title->getDBkey() instead of just $title in addImage
This fixes:

ErrorException from line 756 of /srv/mediawiki/w/includes/parser/ParserOutput.php: PHP Warning: Illegal offset type
2019-09-01 12:02:06 +01:00
lkucharczyk d26b1ef05b
Merge pull request #20 from paladox/patch-1
Fix addImage to use null instead of false for $file check
2019-07-21 23:53:01 +02:00
paladox ee34c497a3
Fix addImage to use null instead of false for $file check 2019-07-20 17:12:47 +01: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 7381098993 Add CSS for <panel> 2019-03-24 22:36:04 +01:00
lkucharczyk ea9b102aaf Port JS for <panel> 2019-02-26 19:51:42 +01:00
lkucharczyk 0d751a130f Capture thumbnails, when tabber is passed to NodeMedia 2019-02-25 00:06:20 +01:00
lkucharczyk 48a68ce450 Render <panel> and <section> tags 2019-02-24 23:05:18 +01:00
lkucharczyk 001d8e3401 Port NodePanel & NodeSection classes 2019-02-24 23:03:04 +01:00
lkucharczyk 15f3b9e777 Port new data and infobox attributes (#16) 2019-02-03 17:53:34 +01:00
lkucharczyk c11b8f6b68 Add unit tests 2019-02-03 17:49:06 +01:00
lkucharczyk 4968e853c3 Add missing item-name for image collections 2019-02-02 23:56:16 +01:00
lkucharczyk e84e5c1e6c Add support for name attribute 2019-02-02 23:34:48 +01:00
Luqgreg f6573fe955 Fixes for Popups, TextExtracts and PageImages extensions (#17) 2019-01-07 20:02:28 +01:00
lkucharczyk 09d92caa9e
Merge pull request #18 from paladox/patch-1
Fix it.json json syntax
2018-12-30 11:37:01 +01:00
paladox 45675d3662
Fix it.json json syntax 2018-12-30 01:05:47 +00:00
Luqgreg cfedf6f017 Fix missing error messages 2018-12-29 21:26:47 +01:00
Luqgreg 7f1646b587 Fix unit tests 2018-12-28 01:00:33 +01:00
Luqgreg ad504e4c07 Add data-source attributes to html output 2018-12-27 02:01:19 +01:00
Luqgreg 3dcb820a08 Pass PI images to PageImages extension if available (Popups and og:image) 2018-12-26 23:36:08 +01:00
lkucharczyk f558c16a3d
Add noexcerpt class to infobox wrapper #17 2018-12-25 19:01:56 +01:00
Luqgreg 1fec9e640c Add infobox type attribute 2018-12-23 01:04:50 +01:00
Luqgreg bd34f7b550 Update README and bump version to 0.3 🎉 2018-10-19 22:19:38 +02:00
Luqgreg 3c95bc47c2 Remove unused AllInfoboxes config and unnecessary aliases 2018-10-19 21:27:32 +02:00
Luqgreg e761fff655 Use existing infoboxes pageprop instead of reparsing 2018-10-19 21:11:28 +02:00
Luqgreg 30a6c6a094 Don't reparse infoboxes in templates every time in PIDataService 2018-10-19 20:06:16 +02:00
Luqgreg 2c2553a253 Stage DB writes in ApiQueryPortableInfobox 2018-10-19 19:39:48 +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 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