mediawiki-extensions-Popups/tests/node-qunit
Thiemo Kreuz fe7c107f8b Reference gateway accepts .mw-reference-text and .reference-text
While reviewing the code of the reference endpoint I found it encodes
two CSS class names, "mw-reference-text" and "reference-text". So far
our scraping gateway only implemented one.

https://phabricator.wikimedia.org/diffusion/GMOA/repository/master/

This patch also extracts a piece of code to a named function. This makes
it much easier to read, I feel.

Bug: T214908
Change-Id: I9d1bb1f4c21eb9d57a6b763ca1f756e6cf7049e0
2019-02-20 11:38:51 +01:00
..
changeListeners build: Update eslint-config-wikimedia to 0.10.0 2019-01-31 11:05:33 +01:00
gateway Reference gateway accepts .mw-reference-text and .reference-text 2019-02-20 11:38:51 +01:00
instrumentation Hygiene: add assertion messages 2018-05-08 15:55:23 -05:00
integrations Hygiene: replace QUnit assert.equal with strictEqual() 2018-06-18 19:48:16 +00:00
preview Minor fix-ups to type hints in JavaScript code 2019-02-14 11:15:01 +01:00
reducers Fix bug in ABANDON_END test 2018-12-08 11:17:34 +05:30
ui Add all reference type icons and messages 2019-02-20 09:32:11 +01:00
.eslintrc.json build: Update linters 2018-09-11 10:26:35 -07:00
actions.test.js Minor fix-ups to type hints in JavaScript code 2019-02-14 11:15:01 +01:00
bracketedPixelRatio.test.js build: Update linters 2018-09-11 10:26:35 -07:00
changeListener.test.js build: Update linters 2018-09-11 10:26:35 -07:00
container.test.js build: Update linters 2018-09-11 10:26:35 -07:00
counts.test.js Hygiene: replace QUnit assert.equal with strictEqual() 2018-06-18 19:48:16 +00:00
experiments.test.js build: Update eslint-config-wikimedia to 0.10.0 2019-01-31 11:05:33 +01:00
formatter.test.js build: Update linters 2018-09-11 10:26:35 -07:00
getPageviewTracker.test.js Truncate source_url to max 1000 characters 2018-06-28 14:30:42 -07:00
integration.test.js Minor fix-ups to type hints in JavaScript code 2019-02-14 11:15:01 +01:00
isEnabled.test.js Hygiene: replace QUnit assert.equal with strictEqual() 2018-06-18 19:48:16 +00:00
previewBehavior.test.js Hygiene: replace jQuery.noop dependency 2018-12-19 15:52:31 +00:00
run.js Switch from babel-preset-env to @babel/preset-env 2018-12-11 13:09:45 +05:30
stubs.js Replace rare {!…} and {?…} JSDoc syntax 2019-01-24 21:00:45 +01:00
title.test.js Teach the title parser to always accept self-links 2019-02-17 15:05:14 +01:00
userSettings.test.js build: Update linters 2018-09-11 10:26:35 -07:00
wait.test.js build: Update linters 2018-09-11 10:26:35 -07:00