Commit graph

2625 commits

Author SHA1 Message Date
Translation updater bot b435f0f8c0 Localisation updates from https://translatewiki.net.
Change-Id: I12e22eb2f4760e734cd72a79ced710b29d0d8e16
2022-08-05 08:34:10 +02:00
Translation updater bot 23e2e21ba1 Localisation updates from https://translatewiki.net.
Change-Id: I9317e8dc3d46cc4d0c6424b596a0d36814b3d9d0
2022-08-01 08:23:02 +02:00
Translation updater bot 009ce17b29 Localisation updates from https://translatewiki.net.
Change-Id: I13f7536fe736e26363b62c74fe828bba04671870
2022-07-28 08:57:28 +02:00
Translation updater bot e0f72b3702 Localisation updates from https://translatewiki.net.
Change-Id: I581c03496fcdfa37c0f1860478a1dbf0a6fe5e64
2022-07-27 08:26:32 +02:00
Translation updater bot 65a7a300f6 Localisation updates from https://translatewiki.net.
Change-Id: Ie20381e5467cacb583204c426a54025b2ad8b830
2022-07-26 08:25:31 +02:00
Translation updater bot 151fb85908 Localisation updates from https://translatewiki.net.
Change-Id: I20f1ad4f18afd5c7c239182eb83f5c7954c93519
2022-07-25 08:37:57 +02:00
Translation updater bot 9de26e98e7 Localisation updates from https://translatewiki.net.
Change-Id: Iddff9c2f8c719b25514fdb3bb79306a4884db8d6
2022-07-21 09:04:10 +02:00
Translation updater bot 3542743087 Localisation updates from https://translatewiki.net.
Change-Id: I286a474b6e87d5939d225cd51081216b58deb94a
2022-07-19 08:17:01 +02:00
Translation updater bot 22875d5e41 Localisation updates from https://translatewiki.net.
Change-Id: I6117ec4f116f858c7aa2839967aacaffb1372009
2022-07-18 08:15:21 +02:00
Translation updater bot 4bf380d6c6 Localisation updates from https://translatewiki.net.
Change-Id: I5d636fa1504f217574f920282789fc004dbc9383
2022-07-15 08:45:14 +02:00
Translation updater bot c2e8577aea Localisation updates from https://translatewiki.net.
Change-Id: Ia39481839d09b5f89ad828d6f13f5ead4e3899e9
2022-07-12 08:15:16 +02:00
jenkins-bot 3519a635a8 Merge "Fix credit fallback not updating when switching image" 2022-07-11 23:34:35 +00:00
Ed Sanders bf04f98306 MMV lightbox: Allow notifications to appear on top of the lightbox
Bug: T312778
Change-Id: I1e4a32325b36721b51ffb199df3471fc75e9498e
2022-07-11 16:01:14 +01:00
Ed Sanders f08e51741c Remove monobook selectors that assumed the '*' selector might not be available
None of the browsers we send JS to don't support the '*'
selector, so we can remove the fallback for monobook.

Change-Id: I691a71fc8bf4cfa62e8056fdf1021f6513517f75
2022-07-11 16:00:24 +01:00
Translation updater bot 6aa5081c01 Localisation updates from https://translatewiki.net.
Change-Id: Ic5e6d1531708eb8d3a89c47f6d81b3b06acf2f41
2022-07-11 09:50:08 +02:00
Translation updater bot f5f298f51c Localisation updates from https://translatewiki.net.
Change-Id: I4bba90f98a56e824478a52e7d73d3b55ea4d2079
2022-07-08 08:52:46 +02:00
Translation updater bot cce15b4645 Localisation updates from https://translatewiki.net.
Change-Id: I7d065989491df9edf2ceb0a7ac5c79698dcb6514
2022-07-06 10:18:23 +02:00
jenkins-bot c536aaee17 Merge "Remove instrumentation" 2022-07-05 17:53:24 +00:00
Sam Smith 34e4968b2c Remove instrumentation
The MediaViewer and MultimediaViewer* instruments were disabled circa
October 2021 in Ie7dd8739efc.

This patch removes those instruments and any supporting code and data.
Notably, this patch does not remove the mw.mmv.logging.ViewLogger
instrument, which is responsible for logging image views.

Bug: T310890
Change-Id: I97d41be93849b2ae9d1adba6660546ea716657fd
2022-07-05 17:41:24 +00:00
Translation updater bot ed2ba5cff0 Localisation updates from https://translatewiki.net.
Change-Id: Ia651ba50795e6bb727cff3999226333bb2523444
2022-07-04 08:22:33 +02:00
Translation updater bot 7f50f646b7 Localisation updates from https://translatewiki.net.
Change-Id: Ic6afff60cec2ab0645649e095e04583c2aaac911
2022-06-27 08:18:22 +02:00
jenkins-bot 10c83c188f Merge "Remove EventLoggingSchemas entries" 2022-06-21 23:09:49 +00:00
Translation updater bot 5c34db520e Localisation updates from https://translatewiki.net.
Change-Id: Ib4c36c60e25aadb9b6994489aed85a767289f0d2
2022-06-20 08:17:32 +02:00
Sam Smith a286166f88 Remove EventLoggingSchemas entries
The MediaViewer and MultimediaViewer* instruments were disabled circa
October 2021 in Ie7dd8739efc. However, the EventLoggingSchemas entries
are still included in the ext.eventLogging RL module, which is fetched
on the majority of pageviews.

At the time of writing it is not clear whether the instrumentation code
will be archived. If it is not archived, it should be migrated to the
Event Platform, in which case the EventLoggingSchemas entries can be
reinstated.

Bug: T310890
Change-Id: I2e99664f4c00513dc61fdf9f3b53da241902e13d
2022-06-17 14:53:16 +01:00
Translation updater bot 17fedae00b Localisation updates from https://translatewiki.net.
Change-Id: I8a0ec7ef256db606a41a0b8b076af65160d730f1
2022-06-13 08:28:42 +02:00
dylsss 9d265ee1d0 Fix credit fallback not updating when switching image
jQuery object gets converted to "[object Object]" which results in an ununique array key in HUP.htmlToTextWithTags cache.textWithTags, instead pass HTML string.

Bug: T308958
Change-Id: If6fc934d263107a0d3346ccea8e91cade72db666
2022-06-07 23:29:49 +01:00
Translation updater bot 564800ac3e Localisation updates from https://translatewiki.net.
Change-Id: I000fe2cd9924f52fc16cee0cbe9d0676828c33c3
2022-06-06 09:26:13 +02:00
jenkins-bot 67035ba546 Merge "Support mw:File as well as mw:Image" 2022-05-26 20:40:21 +00:00
Translation updater bot b35d1fda75 Localisation updates from https://translatewiki.net.
Change-Id: I01a23fa562e6d8a9e11dd3f231697f4369c29b4d
2022-05-25 08:32:35 +02:00
Translation updater bot bf7f0b998d Localisation updates from https://translatewiki.net.
Change-Id: I67337c4ffdbdc4d19b8cf56e057f9faef09ecda7
2022-05-23 08:17:14 +02:00
libraryupgrader 17544ff203 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

Additional changes:
* Set `name` in package.json.

Change-Id: I007086b21111a75ecac8ff3c76bce61abe8efd13
2022-05-21 07:55:49 +00:00
Ed Sanders 70b4410e30 eslint: Fix qunit/no-loose-assertions
Change-Id: I61a1ade103e421aa1f447d441f3bb198258b50ad
2022-05-20 01:18:43 +01:00
Ed Sanders e131da48f9 build: Update eslint-config-wikimedia to 0.22.1
Change-Id: I275ecfa03b3df8554b30f2a0f6d94d4b66da8088
2022-05-20 00:05:49 +01:00
Ed Sanders 3a61a45a53 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I1b6de87b8a1b48220104af42a4e43d81a289438c
2022-05-19 23:58:01 +01:00
Ed Sanders 73e59d396d style: Remove vendor-prefixes no longer required
Change-Id: Ide19cd0decb8a6ef26ccb94bfc89376b3a886748
2022-05-19 23:48:51 +01:00
Arlo Breault 65cba344ad Support mw:File as well as mw:Image
Bug: T273505
Change-Id: I5734593936e620b4c74789080263ef1ea3b99c9d
2022-05-19 17:46:46 -04:00
Translation updater bot f13d696748 Localisation updates from https://translatewiki.net.
Change-Id: Ia3cdd3ad89e738e62988ae1d42a1257c019461b8
2022-05-17 08:28:31 +02:00
Timo Tijhof 0f092b6cb3 tests: Minor clean up of mmv.ui.metadataPanel.js and other tests
* Declare variables inline, as per the current code conventions.

* Use `assert.true()` or `assert.false()` in a few places.

* Clarify some test names and simplify some surrounding code.

Change-Id: Id0bca942e34564b9c011e89c0b2298cbb4f8a582
2022-05-13 22:13:01 +01:00
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
Timo Tijhof c8eae3585a tests: Remove use of QUnit 1.x setup()/teardown()
Bug: T250045
Change-Id: I22641fa8ca8231ef3fcac6075a604e1478fa1145
2022-05-13 21:41:15 +01:00
Translation updater bot ecf31cb15b Localisation updates from https://translatewiki.net.
Change-Id: Ic213413cc3aae4120c50e918f1cb99f97cbdfc99
2022-05-13 08:26:18 +02:00
Translation updater bot 5018c4acf5 Localisation updates from https://translatewiki.net.
Change-Id: I574063017b2ee70da408f7bcd014ac5ba39e8298
2022-05-10 08:09:47 +02:00
Translation updater bot 0b4cb2592e Localisation updates from https://translatewiki.net.
Change-Id: Ia600f399228deb3e8aeef5ae821e2b28dafac54e
2022-05-02 08:19:58 +02:00
Translation updater bot 98fa6fece3 Localisation updates from https://translatewiki.net.
Change-Id: Ibed05e268af3c50e1e10c739bdcbf3d4ccda75c7
2022-04-29 08:43:26 +02:00
Translation updater bot 8762cc329e Localisation updates from https://translatewiki.net.
Change-Id: Ibbe7e0f088c210ba36b8f4b09c408d7667963a53
2022-04-28 09:28:45 +02:00
jenkins-bot ea612b82a3 Merge "Add word-break rule for mw-mmv-image-links to prevent overflow" 2022-04-20 23:26:38 +00:00
Translation updater bot badba728b9 Localisation updates from https://translatewiki.net.
Change-Id: I99662ebe639e030f63fa8f1d7226a8ca12a932fe
2022-04-12 08:14:34 +02:00
Translation updater bot 1071d4df6c Localisation updates from https://translatewiki.net.
Change-Id: I05ce7ba9c3209b2c0dcdb0f384eda99e2c7462f3
2022-04-04 09:34:48 +02:00
stang 52f2d40c8e Add word-break rule for mw-mmv-image-links to prevent overflow
image-links section may overflow if file has a long filename,
and a horizontal scroll bar may appear. Add a
"word-break: break-word" rule to prevent it from happening.

Bug: T305328
Change-Id: Ief395b66525b686fdcd7dec0909775065240a724
2022-04-03 15:55:52 +00:00
Translation updater bot 24cfa6ab7b Localisation updates from https://translatewiki.net.
Change-Id: I930646be9a1e7e747ace306421d100546682f471
2022-04-01 08:27:11 +02:00