Commit graph

30 commits

Author SHA1 Message Date
MJ 1c52d83867
Add wgPortableInfoboxUseFileDescriptionPage (#122)
Fixes #111

Co-authored-by: BlankEclair <blankeclair@waifu.club>
2024-05-07 11:26:46 -06:00
alex4401 eb55d89e77
Output any image candidate markers generated by PageImages (#105)
* Output any image candidate markers generated by PageImages

wikimedia/mediawiki-extensions-PageImages#768464d changed how lead images are identified within PageImages, and since then an HTML comment in the form of `MW-PAGEIMAGES-CANDIDATE-$ID` is output by`doParserModifyImageHTML`, where the ID is an index in the extension output data's list of image metadata. These comments should find a way into the ParserOutput as the extension looks for those comments in a chosen document fragment when identifying qualifying candidates out of all images gathered through `onParserModifyImageHTML`.

This change does not affect compatibility with older PageImages (only the "new" hook's being called already).

* Default htmlAfter to null and update tests to expect it

Follow-up to my previous PageImages commit.
2023-07-24 11:13:33 -06:00
CosmicAlpha e5ca418763
Add support for PHP 8.0 and PHP 8.1 (#93) 2023-01-13 14:08:52 -07:00
Universal Omega 44c3389d5a
Add use statements (#64) 2022-03-11 13:35:51 -07:00
Universal Omega 2f18d849b2
Cleanup 2021-09-12 18:47:35 -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 6a31cce3a5
Replace removed wgContLang 2021-06-02 10:52:59 -06:00
lkucharczyk bd6c2ad47a Port <panel> and <section> tags 2019-04-15 00:21:02 +02:00
lkucharczyk 0d751a130f Capture thumbnails, when tabber is passed to NodeMedia 2019-02-25 00:06:20 +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 e84e5c1e6c Add support for name attribute 2019-02-02 23:34:48 +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 2317398cc2 Remove HtmlHelper 2018-10-07 16:44:55 +02:00
Luqgreg f00a40c3b8 Code refactoring 2018-10-02 09:55:32 +02:00
Luqgreg 09e57e2d34 Remove sanitizers 2018-09-03 17:59:15 +02:00
Luqgreg 52d5d28c82 Set type of NodeMedia aliases to 'media' 2018-08-26 16:08:31 +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 49c6d8a5b5 Fix "0" as node value 2018-08-16 16:19:59 +02:00
Luqgreg 8762225606 Code refactoring 2018-08-16 11:25:53 +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 b40872aa56 Use MEDIATYPE_VIDEO MW constant instead of custom one 2018-08-11 09:39:21 +02:00
Luqgreg 3a3fd95ec8 Major code cleanup (#10) and bumping version to 0.2 🎉 2018-08-09 12:36:52 +02:00