CosmicAlpha
55e227971d
Add searchaux to tests
2024-11-25 14:39:55 -07:00
CosmicAlpha
3aaa4fbea6
Remove the need to set $wgTidyConfig — always force no pwrap ( #116 )
...
Also fixes fatals on MediaWiki 1.42
2024-04-01 12:52:06 -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
Lens0021
f8802fde1d
Fix all failed experimental CIs ( #74 )
2022-04-14 09:54:03 -06:00
Universal Omega
44c3389d5a
Add use
statements ( #64 )
2022-03-11 13:35:51 -07:00
Universal Omega
6dcbec74c3
tests: remove needsDB()
functions ( #48 )
2021-12-18 22:55:20 -07:00
Universal Omega
4a0bac951a
Actually run QueryAllInfoboxesTest ( #43 )
2021-12-16 14:13:54 -07:00
Universal Omega
a7a41fa0f1
Add tests for ApiQueryAllInfoboxes ( #42 )
2021-12-15 16:19:47 -07:00
Universal Omega
de39a61206
Fix tests ( #41 )
2021-12-15 15:01:13 -07:00
Universal Omega
b1910b5aec
Remove BlockLevelPass hack ( #40 )
2021-12-03 12:28:38 -07:00
Universal Omega
ee190d5d29
Enable another PHPUnit test ( #17 )
2021-09-12 17:49:00 -06:00
Universal Omega
3ce6fa6bf5
Re-enable PHPUnit test ( #16 )
2021-09-12 15:28:56 -06:00
Universal Omega
ff547141a8
Undo hack on PHPUnit test ( #15 )
2021-09-12 15:14:18 -06:00
Universal Omega
335fecbf6f
Remove MediaWiki 1.30 check ( #13 )
2021-09-12 14:32:41 -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
79046437fd
Add CI ( #3 )
2021-09-09 20:52:19 -06: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
1fec9e640c
Add infobox type attribute
2018-12-23 01:04:50 +01:00
Luqgreg
30a6c6a094
Don't reparse infoboxes in templates every time in PIDataService
2018-10-19 20:06:16 +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
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
83d1c981c5
Add support for more color formats ( #12 )
2018-08-26 13:00:00 +02:00
Luqgreg
877bc2469c
Fix unit tests
2018-08-22 16:22:30 +02:00
Luqgreg
443440d432
Add browser compatibility fixes and add mixins to the stylesheet
2018-08-20 17:38:38 +02:00
Luqgreg
5053750f84
Require MW >= 1.29
2018-08-19 13:35:46 +02:00
Luqgreg
8762225606
Code refactoring
2018-08-16 11:25:53 +02:00
Luqgreg
c9d1bd4f10
Increase code coverage
2018-08-13 16:31:50 +02:00
Luqgreg
3007c92c62
Fix unit tests
2018-08-12 17:50:16 +02:00
Luqgreg
c84d332c17
Markers are handled by parser, no need to do it twice
2018-08-11 16:49:39 +02:00
Luqgreg
3a3fd95ec8
Major code cleanup ( #10 ) and bumping version to 0.2 🎉
2018-08-09 12:36:52 +02:00
Luqgreg
ad17140243
Fix unit tests
2018-08-08 11:42:22 +02:00
Luqgreg
4673bb1743
Remove render service for mobile devices
2018-08-01 18:06:09 +02:00
Luqgreg
7f933d36ba
Remove Europa theme
2018-07-25 17:32:24 +02:00
mszabo-wikia
91d594e491
Merge branch 'dev' into tests-great-again
2018-06-19 12:13:13 +02:00
Szymon Fraszczak
7e57791609
SUS-5248 Fix infobox tests
2018-06-13 13:14:18 +02:00
mszabo-wikia
75b3521f61
Make tests great again
2018-05-29 11:04:03 +02:00
Mateusz Rybarski
1b667973bc
XW-4827: fix normalizing html in PortableInfoboMobileRenderServiceTests
2018-04-06 15:48:01 +02:00
Mateusz Rybarski
eb407914a8
XF-428: fixed PortableInfoboxMobileRenderService tests
2018-03-21 10:32:25 +01:00
Mateusz Rybarski
ccb0dc56ad
XF-248: fix PortableInfoboxImagesHelperTests
2018-03-20 16:53:11 +01:00
Mateusz Rybarski
8bd65cc06d
XW-4654: fix PortableInfoboximagesHelperTests
2018-03-15 15:02:46 +01:00