mediawiki-extensions-Popups/tests/phpunit
Piotr Miazga f2fbef6ec7 Implement html/rest.js gateway which handles HTML Restbase responses
Refactor existing Restbase gateway and extract shared logic into
shared Restbase provider. Also introduced new createNullModel()
which defines an empty preview model.

Additionally improve naming in new gateways/formatter so function
names are more explicity.
 * Htmlize() became formatPlainTextExtract() as it should be used
   only with plain text extracts
 * removeEllipsis() became  removeTrailingEllipsis() as it removes
   only trailing ellipsis.
 * src/gateway/index.js defines gateways by configuration name stored
   in extension.json

Bug: T165018
Change-Id: Ibe54dddfc1080e94814d1562d41e85cb6b43bfc1
Depends-On: I4f42c61b155a37c5dd42bc40034583865abd5d7a
2017-06-13 20:19:05 +02:00
..
PopupsContextTest.php Hygiene: Rename isEnabledByUser to shouldSendModuleToUser 2017-02-10 10:07:28 -08:00
PopupsContextTestWrapper.php Move conflicting NavPopups gadget name into config var 2017-01-12 18:07:20 +01:00
PopupsGadgetsIntegrationTest.php Sanitize gadget name 2017-04-17 17:29:32 +00:00
PopupsHooksTest.php Implement html/rest.js gateway which handles HTML Restbase responses 2017-06-13 20:19:05 +02:00