mediawiki-extensions-Popups/tests
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
..
browser Tag previews acceptance tests with @integration 2016-12-13 14:47:32 +00:00
node-qunit Implement html/rest.js gateway which handles HTML Restbase responses 2017-06-13 20:19:05 +02:00
phpunit Implement html/rest.js gateway which handles HTML Restbase responses 2017-06-13 20:19:05 +02:00
.jscsrc.js Update linting and enable command line QUnit 2016-11-08 13:56:17 -05:00