Commit graph

2690 commits

Author SHA1 Message Date
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
Translation updater bot 5f5ccb0ba4 Localisation updates from https://translatewiki.net.
Change-Id: I026e8f056ed07b4a6705c6f14a08a467bb2cb9ab
2022-03-30 08:18:24 +02:00
Translation updater bot 299b8b6ab0 Localisation updates from https://translatewiki.net.
Change-Id: Ie38db6b7bee82d06a476561412e4931a2555d9c8
2022-03-28 08:21:31 +02:00
Translation updater bot 7a16681e6a Localisation updates from https://translatewiki.net.
Change-Id: I1eb64a4010d5761f23e44873bf2465b4a88b0d4f
2022-03-09 08:09:49 +01:00
Translation updater bot 7ad5726489 Localisation updates from https://translatewiki.net.
Change-Id: Ibba98c03bcb85c3545f38dba5f3c17f547197c55
2022-03-08 09:01:53 +01:00
jenkins-bot 861cdad1a6 Merge "Separate processing for Parsoid thumbs" 2022-03-08 00:46:43 +00:00
Translation updater bot f8afde6399 Localisation updates from https://translatewiki.net.
Change-Id: I6636fc53d8b5c6fd33bb7494e504ea90026c7f9b
2022-03-07 08:11:19 +01:00
Arlo Breault ae5a7aeac1 Separate processing for Parsoid thumbs
Take advantage of the regularity of the structure.

Limit selection to .mw-description links, which serves an equivalent
purpose to .image in the legacy output.

Bug: T292657
Change-Id: Ic652576f84e07c9fc8ef8be216a6fc94466198a6
2022-03-04 18:36:26 -05:00
Arlo Breault 681e1afe36 s/thumbContain/thumbContainer/
Change-Id: I57738c705b3be7aade3e5ba64c879eecc1727383
2022-03-04 18:34:06 -05:00
Translation updater bot ed053a394a Localisation updates from https://translatewiki.net.
Change-Id: I2d109f7d828443ee41d6132009a5163469bb1e36
2022-02-28 14:29:04 +01:00
Volker E d1c468f909 build: Update 'svgo' to latest v2.8.0
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: I2b1ea90124b0f5793ffe76bc94d050654cc8baf7
2022-02-27 02:42:31 -08:00
Translation updater bot 94e34729d2 Localisation updates from https://translatewiki.net.
Change-Id: I7690a9eaf091b3fc878243e310932f9f109c65b0
2022-02-25 09:44:43 +01:00
Translation updater bot d33dd6e587 Localisation updates from https://translatewiki.net.
Change-Id: Ic04cb0554401909b0ddda7eff5aae7e6db42e8da
2022-02-24 08:49:36 +01:00
Translation updater bot c03e055179 Localisation updates from https://translatewiki.net.
Change-Id: I2cf9d07a99f04f9131e941478dc66f269b1fab2d
2022-02-23 08:19:16 +01:00
jenkins-bot 3a97d5dc47 Merge "Namespace extension" 2022-02-23 06:19:04 +00:00
Translation updater bot 0dd7aed0ed Localisation updates from https://translatewiki.net.
Change-Id: Iac853dc63d411c2f56925f0afa725a19aa0d0218
2022-02-22 08:11:59 +01:00
Translation updater bot 9bec924989 Localisation updates from https://translatewiki.net.
Change-Id: I5fbc4376228fc76144094b02c314730de1073924
2022-02-21 08:16:17 +01:00
Translation updater bot b6485be9b0 Localisation updates from https://translatewiki.net.
Change-Id: I14ad6a9c675de9fed067da9c966d912f9d9d8351
2022-02-18 08:40:51 +01:00
Translation updater bot 3ec64fadfd Localisation updates from https://translatewiki.net.
Change-Id: Ic5e0cd577266e655b857292706b55f5f2407db85
2022-02-16 08:13:18 +01:00
Translation updater bot 9790dde4cf Localisation updates from https://translatewiki.net.
Change-Id: Id8fc3ffc14193795aa50415ed47648938acb1997
2022-02-14 08:14:48 +01:00
Translation updater bot 81fa768c31 Localisation updates from https://translatewiki.net.
Change-Id: I1f911c4ee820ad467e9d5c3745337ee8b81efdfd
2022-02-11 08:41:59 +01:00
Sébastien Beyou a10359e6e6 Replace deprecated jQuery.throttle/debounce
This requires MediaWiki 1.38 for mw.util.throttle.

Bug: T213426
Change-Id: I3f689eea837ef72de9ab7afb68578093eab8db20
2022-02-10 13:22:52 +01:00
jenkins-bot 9f65108e8d Merge "eslint: Lint Gruntile.js using server rules" 2022-02-10 05:37:24 +00:00
Translation updater bot 628e701893 Localisation updates from https://translatewiki.net.
Change-Id: Id0ad58ed81c8a395a3083a10740ffb2404834028
2022-02-09 08:13:03 +01:00
Translation updater bot d5e4e28514 Localisation updates from https://translatewiki.net.
Change-Id: I750483a65e796171fa7a20319e99d24e7c6c7471
2022-02-08 08:28:49 +01:00
Ed Sanders b03af20581 eslint: Lint Gruntile.js using server rules
Change-Id: I6f6f7391668412b2bb572a8d77da8e137fa169bb
2022-02-07 16:38:38 +00:00
Translation updater bot 1172dfa96c Localisation updates from https://translatewiki.net.
Change-Id: Ibdba8cdcb50562fec3aacf748321ca0401cd5b2f
2022-02-07 08:22:31 +01:00
Reedy e49e7da070 Namespace extension
Change-Id: Ic480033a3a2418e41d39aaf777872587c11f1786
2022-02-06 15:24:30 +00:00
Iniquity 5803ea79eb Remove discussion and help links from footer
Bug: T133899
Change-Id: Ide631cd8bd98ff5084a8c406515c53b8a0cb033a
2022-02-06 01:15:02 +00:00
Translation updater bot ac0d54cc7b Localisation updates from https://translatewiki.net.
Change-Id: I81a4f7254a99dd9a5aac3118b64fa3af6ad98b59
2022-02-03 08:44:23 +01:00
Translation updater bot f5a9e89df9 Localisation updates from https://translatewiki.net.
Change-Id: Icf119e9fa01cd9ac58b8b71a99f77d5c00be10d5
2022-01-25 08:33:00 +01:00
Translation updater bot e47728fce6 Localisation updates from https://translatewiki.net.
Change-Id: Ia9aa75322000841c7f11113828d94e12bc0b7b4a
2022-01-24 08:27:33 +01:00
Translation updater bot 9bef6c7973 Localisation updates from https://translatewiki.net.
Change-Id: I06cc28b689320c2a090cdb38349cb3a10c6a5807
2022-01-17 08:12:34 +01:00
Translation updater bot cdd6202859 Localisation updates from https://translatewiki.net.
Change-Id: I58bcf1e9bbb4022e6d79f292b9983e05c60e3e99
2022-01-12 08:25:20 +01:00
Translation updater bot 153202decc Localisation updates from https://translatewiki.net.
Change-Id: Ief120635c6ac394eb43b9fad34df0efc3b5d660f
2022-01-10 08:11:40 +01:00
Translation updater bot a8099a79ee Localisation updates from https://translatewiki.net.
Change-Id: I9c3c607fb797b0b815e78e3d9c2f9134d68034e6
2022-01-03 08:11:33 +01:00