mediawiki-extensions-Gadgets/tests/phpunit
Siddharth VP 18204a4b0d Fix parsing logic when comments or hidden characters are present
0c61a5a468 subtly affected the
gadget definition parsing, causing issues with definitions containing
HTML comments or certain kinds of whitespace characters. They would get
saved to the pages array with a trailing whitespace but
Gadget::getScripts() would only return pages strictly ending in `.js`.

Trimming the title before in MediaWikiGadgetsDefinitionRepo fixes the
issue.

Bug: T354385
Change-Id: Iacee432756006060217981a534434fd455285793
2024-01-06 11:09:29 +05:30
..
integration Fix parsing logic when comments or hidden characters are present 2024-01-06 11:09:29 +05:30
unit Specify all source pages in a single array in JSON definitions 2023-12-16 14:31:09 +05:30
GadgetTestTrait.php Further expand test coverage 2023-12-09 09:29:15 +05:30