mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 16:23:49 +00:00
5e1dece304
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 |
||
---|---|---|
.. | ||
mmv | ||
mmv.bootstrap | ||
mmv.bootstrap.autostart | ||
mmv.head | ||
mmv.ui.download.pane | ||
mmv.ui.ondemandshareddependencies | ||
mmv.ui.reuse.shareembed | ||
mmv.ui.tipsyDialog | ||
.eslintrc.json |