mediawiki-extensions-Multim.../resources
Timo Tijhof 5e1dece304 tests: Make mmv.ui.metadataPanel.js pass with non-English locale
My browser is configured with en-GB as its locale. This meant that
when qqx was passed down, it fell back to my browser's default locale
and thus made the tests fail, as the expected data was set against
lang=en.

Ironically, MMV actually prefers the en-GB date format, and outside
tests even replaces 'en' with 'en-GB' when formatting dates in the
user interface. It was only in the tests that it asserted the 'en'
format that would otherwise never be used by MMV.

Ironically, the reason my locale is affecting the test is because
we switched from hardcoded lang=en to hardcoded lang=qqx which is
meant to disable any influence from localisation. However, when
passed to browser-native Intl API, qqx is not valid and thus
caused us to not have a hardcoded 'en' but a completely variable
UI language based on the developer's browser settings.

Bug: T250045
Change-Id: I94ad25cc7060ac5e9db41c6b6767aa9fd687a0db
2022-05-13 21:49:51 +01:00
..
mmv tests: Make mmv.ui.metadataPanel.js pass with non-English locale 2022-05-13 21:49:51 +01:00
mmv.bootstrap Separate processing for Parsoid thumbs 2022-03-04 18:36:26 -05:00
mmv.bootstrap.autostart Remove SVG checks 2019-05-18 17:46:20 +02:00
mmv.head eslint: Update eslint-config-wikimedia to 0.16.2 2020-06-26 12:14:27 +01:00
mmv.ui.download.pane build: Replace 'grunt-svgmin' with npm based 'svgo' & re-crush SVGs 2021-04-12 13:01:59 -07:00
mmv.ui.ondemandshareddependencies eslint: Update eslint-config-wikimedia to 0.16.2 2020-06-26 12:14:27 +01:00
mmv.ui.reuse.shareembed build: Replace 'grunt-svgmin' with npm based 'svgo' & re-crush SVGs 2021-04-12 13:01:59 -07:00
mmv.ui.tipsyDialog Amend Base10 color from #222 to #202122 2020-04-20 13:50:10 -07:00
.eslintrc.json eslint: Lint Gruntile.js using server rules 2022-02-07 16:38:38 +00:00