Commit graph

63 commits

Author SHA1 Message Date
Universal Omega 359ba27cf3
Fix DBUnexpectedError exception (#34) 2021-10-13 13:58:43 -06:00
Universal Omega 2f18d849b2
Cleanup 2021-09-12 18:47:35 -06:00
Universal Omega afb186ddb7
Enable PHPCS on all PHP and MW version tests and add more Phan tests (#14) 2021-09-12 15:07:34 -06:00
Universal Omega 0ec019afa5
Tidy: Don't pwrap (#12) 2021-09-12 11:43:20 -06:00
Universal Omega 42778958ab
Add PHPUnit tests (#7) 2021-09-11 17:07:07 -06:00
Universal Omega a62b055cfe
Better CI tests (#6) 2021-09-11 12:55:27 -06:00
Universal Omega 385453a5a1
Add return value 2021-09-09 22:03:06 -06:00
Universal Omega f5fd1d170e
Add return value 2021-09-09 22:02:19 -06:00
Universal Omega 64124410b5
Add return value 2021-09-09 22:01:31 -06:00
Universal Omega 79046437fd
Add CI (#3) 2021-09-09 20:52:19 -06:00
Universal Omega 2f714757bb
Remove usage of Revision class
This could be replaced with `RevisionRecord::FOR_PUBLIC` but `FOR_PUBLIC` is the default, so not setting this at all maintains more forward and backward compatibility.
2021-09-09 16:18:42 -06:00
Universal Omega 7a32675410
Fix "Call to a member function getMaxPPNodeCount() on null" 2021-09-09 15:22:32 -06:00
Universal Omega f104d7bac0
Fix $text returning null within internalParse 2021-06-03 14:45:57 -06:00
Universal Omega 490cea5f47
Fix fatal 2021-06-02 11:55:12 -06:00
Universal Omega 6a31cce3a5
Replace removed wgContLang 2021-06-02 10:52:59 -06:00
Universal Omega e02ed1ed13
support MediaWikiServices::getInstance()->getTidy() on MW 1.36+ 2021-05-27 20:55:53 -06:00
Universal Omega 98b0038c92
use MediaWikiServices::getInstance()->getParser() 2021-05-27 20:54:53 -06:00
lkucharczyk 8d2d9d6594 Fix #35 and panel rendering 2020-09-29 18:56:06 +02:00
lkucharczyk 05e55672a6 Fix missing LightnCandy in MW 1.34 2020-09-27 13:51:59 +02:00
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 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 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
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 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 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
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 30a6c6a094 Don't reparse infoboxes in templates every time in PIDataService 2018-10-19 20:06:16 +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 09e57e2d34 Remove sanitizers 2018-09-03 17:59:15 +02:00
Luqgreg df30141d1f Add cache to MediaWikiParserService 2018-08-27 14:23:23 +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