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
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
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
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
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
f6573fe955
Fixes for Popups, TextExtracts and PageImages extensions ( #17 )
2019-01-07 20:02:28 +01: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
Luqgreg
1fec9e640c
Add infobox type attribute
2018-12-23 01:04:50 +01: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
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
0a6b0f9c70
Separate sources extractor and add it to ext.templateDataGenerator.data
2018-09-01 15:36:05 +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
Luqgreg
f031e35c82
Remove unused getVersion method from Api controllers
2018-08-24 14:30: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
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
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
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
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
7fe3a39d1d
Mustache -> Handlebars
2018-08-08 11:31:33 +02:00
Luqgreg
2eb4f15922
WikiaFileHelper and NodeImage cleanup
2018-08-04 19:12:35 +02:00
Luqgreg
ae417ecf02
Merge Engine and MustacheEngine
2018-07-31 13:23:40 +02:00
Luqgreg
0ef9f38706
Add single image support
2018-07-28 11:59:42 +02:00
Luqgreg
e8bafae8dd
Add missing WikiaFileHelper
...
Source: https://github.com/Wikia/app/blob/dev/includes/wikia/services/WikiaFileHelper.class.php
2018-07-28 08:58:02 +02:00
Luqgreg
98d9e4d555
Nirvana cleanup
2018-07-28 08:04:18 +02:00
Luqgreg
03a79fce09
Add missing HtmlHelper and FileNamespaceSanitizerHelper
...
Source: https://github.com/Wikia/app/tree/dev/includes/wikia/helpers
2018-07-27 14:27:56 +02:00
Luqgreg
3b52aa89e0
Bring back parseData in MustacheService
2018-07-25 14:33:10 +02:00
Luqgreg
6aba51ebcb
Comment out profiling
2018-07-25 12:23:04 +02:00
Luqgreg
ee35be8157
jbboehr/php-mustache -> required by MW zordius/lightncandy
2018-07-25 12:03:36 +02:00
Luqgreg
953712438d
Add missing MustacheService dependency
...
Source: https://github.com/Wikia/app/blob/dev/includes/wikia/services/MustacheService.class.php
2018-07-25 10:25:36 +02:00
Luqgreg
4c50220045
Add missing MustacheEngine dependency
...
Source: https://github.com/Wikia/app/blob/dev/includes/wikia/template/MustacheEngine.class.php
2018-07-25 08:41:20 +02:00
Luqgreg
45dddade9e
Comment out profiling
2018-07-24 14:13:12 +02:00
Luqgreg
70279d5404
Add missing Nirvana dependency
...
Source: https://github.com/Wikia/app/tree/dev/includes/wikia/nirvana
2018-07-24 13:50:17 +02:00