mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-28 01:10:04 +00:00
f2fbef6ec7
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 |
||
---|---|---|
.. | ||
changeListeners | ||
gateway | ||
preview | ||
reducers | ||
actions.test.js | ||
changeListener.test.js | ||
container.test.js | ||
counts.test.js | ||
formatter.test.js | ||
integration.test.js | ||
isEnabled.test.js | ||
previewBehavior.test.js | ||
renderer.js | ||
schema.test.js | ||
settingsDialog.test.js | ||
statsvInstrumentation.test.js | ||
stubs.js | ||
title.test.js | ||
userSettings.test.js | ||
wait.test.js |