Commit graph

1332 commits

Author SHA1 Message Date
Universal Omega 1ae720077e
Replace deprecated wgParser (#1) 2021-06-03 17:38:46 -06:00
Universal Omega f104d7bac0
Fix $text returning null within internalParse 2021-06-03 14:45:57 -06:00
Universal Omega 580a5d9070
Modify zh-hant translation 2021-06-03 14:43:57 -06:00
Universal Omega 490cea5f47
Fix fatal 2021-06-02 11:55:12 -06:00
Universal Omega dd9390e109
Require 1.32+ 2021-06-02 11:03:26 -06:00
Universal Omega 22a0f6a047
1.32+ 2021-06-02 11:02:07 -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 f713ac03aa
Merge pull request #38 from lakejason0/patch-1
Update zh-hans.json
2021-03-29 12:39:13 +02:00
lakejason0 92809f6985
Update zh-hans.json
Update Simplified Chinese text
2021-03-28 09:03:21 +08: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
lkucharczyk b82ea2d518
Merge pull request #24 from WinstonSung/languageconverter-1
IW-3179 | Fix LanguageConverter in infobox code
2020-08-20 12:15:31 +02:00
lkucharczyk 18525781ce
Merge pull request #30 from paladox/patch-1
PortableInfoboxImagesHelper: Return empty array instead of false in PortableInfoboxImagesHelper
2020-06-07 12:43:33 +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
lkucharczyk a5fd349880
Merge pull request #29 from rail01/patch-1
Fix critical bug with LightnCandy
2020-05-18 11:09:31 +02:00
Rail 92416ca73a
Update usage of LightnCandy
I don't know what I am doing
2020-05-18 09:06:54 +00:00
Winston Sung 04d82586f5
Delete crowdin.yml 2020-04-06 03:34:57 +08:00
Winston Sung ffb0b2bdda
Update zh-hant.json
Modifying zh-hant translations
2020-03-31 01:56:29 +08:00
Winston Sung cdceaabf51 Update Crowdin configuration file 2020-03-31 01:43:13 +08:00
Winston Sung 794e7e0f53 Update Crowdin configuration file 2020-03-31 00:59:53 +08:00
Winston Sung a40125d692
Update PortableInfoboxParserTagController.php
Convert text to language variant
2020-03-10 12:29:22 +08:00
Winston Sung 32422c35d0
Update PortableInfoboxParserTagController.php
Convert text to language variant
2020-03-10 01:01:33 +08:00
lkucharczyk 101f20971e
Merge pull request #23 from paladox/patch-1
Avoid usage of `ObjectCache::getMainWANInstance()`
2019-12-18 22:47:56 +01: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 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