Commit graph

19154 commits

Author SHA1 Message Date
Adam Wight e82eb4832c Cleanups
Split from I280f814e72.  Should have no effect on behavior.

Change-Id: I4a43cbc863c58a4977e8093fa8c1371b56ec9b90
2021-11-30 14:07:32 +01:00
Thiemo Kreuz a40947ed18 Performance: Don't add empty parameter descriptions to dialog
This does have a significant impact on the performance of the
template dialog. Not only on construction time, but also because
MWExpandableContentElement objects do some quite expensive
.updateSize() calculations the moment they become visible.

I profiled a template with (only) 200 undocumented parameters.
Construction time goes down from ~600ms to ~520ms. The mentioned
.updateSize() runtime goes down from ~300ms to ~10ms.

Bug: T296335
Change-Id: I280f814e722b299aae0ec6a5a2fa59292e3e5887
2021-11-30 14:07:11 +01:00
Translation updater bot 752c01cd81 Localisation updates from https://translatewiki.net.
Change-Id: I18a2c6b0fa76d063534c2aeea425c910e161c797
2021-11-30 08:22:34 +01:00
Ed Sanders 47127d290d build: Remove unused eslint overrides
Change-Id: I6f5a0f8e0266c3b8f24be2d99953afd7322bd2e7
2021-11-29 17:05:38 +00:00
jenkins-bot 41418de4ec Merge "Avoid using User::getOption" 2021-11-29 10:16:17 +00:00
Translation updater bot 6322ff5b50 Localisation updates from https://translatewiki.net.
Change-Id: I7cc4ac000065c700763c43b53abe0b2c06a75a12
2021-11-29 08:12:49 +01:00
WMDE-Fisch f65eac3d66 Add placeholder for finding a template
Bug: T296465
Change-Id: I07c6e601111073b1269a3ab6c552f83e12196156
2021-11-26 16:30:19 +01:00
WMDE-Fisch bc89f1d8fd Set search icon on template placeholder search
Bug: T296465
Change-Id: I02932821b26c21eb559fdb391054b83d1da41d2a
2021-11-26 14:34:44 +00:00
Translation updater bot 78fe33919e Localisation updates from https://translatewiki.net.
Change-Id: Ieed9d34f2c493c5f7b0ec0b8fc954716c00d5465
2021-11-26 08:23:58 +01:00
Roman Stolar 4fc6ea3f41 Avoid using User::getOption
Remove using of User:getOption since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T296083
Change-Id: Ic177a170fd3c72ebbb80da60dc8597285ab5e023
2021-11-25 18:48:50 +02:00
jenkins-bot 9853498756 Merge "Update multi-tab code after changes in Minerva" 2021-11-25 11:22:30 +00:00
Translation updater bot ad2920b072 Localisation updates from https://translatewiki.net.
Change-Id: Ifc1087ccc97a7b5632d61df91a1a910bd5f2d132
2021-11-25 09:02:51 +01:00
jenkins-bot ea5f1b7000 Merge "Update Legoktm's mailmap entry" 2021-11-24 22:29:08 +00:00
Translation updater bot 44bd38b61f Localisation updates from https://translatewiki.net.
Change-Id: I1c4b854d627cfaaf1d70374cda19f2aae32ad914
2021-11-24 08:22:44 +01:00
Thiemo Kreuz b435f02efc Performance: Don't add empty action <div>s to template dialog
This doesn't have much of an impact on performance according to my
profiling. But I think it's worth it nevertheless. The idea is to
skip that <div> entirely when it's empty.

Bug: T296335
Change-Id: Id155725fbc2e3453acc1cdcabfdc2d687285d694
2021-11-23 21:38:19 +00:00
jenkins-bot e6b9a91ee9 Merge "Fix missing Meta+D shortcut on Mac" 2021-11-23 10:32:37 +00:00
Thiemo Kreuz ddaa6a18c1 Fix missing Meta+D shortcut on Mac
I also discovered and applied ways to make this code more compact.

Bug: T294905
Change-Id: I1edc2b3b0a77e02bf8e7ac789cabe007c5f5c527
2021-11-23 10:38:50 +01:00
Translation updater bot 5622406793 Localisation updates from https://translatewiki.net.
Change-Id: Ia65d81f9b805ca1ddc7eb206067c9429d5e61ca1
2021-11-23 08:27:12 +01:00
James D. Forrester 8574e2379c build: Upgrade mediawiki-phan-config to 0.11.1
Change-Id: I53e2d8f5450e083660da0da7bf6b90ce8ce25382
2021-11-22 18:34:57 +00:00
jenkins-bot 1579feed75 Merge "Update VE core submodule to master (5a97be3a0)" 2021-11-22 18:23:54 +00:00
jenkins-bot 1a4fb339eb Merge "Make better use of the ARIA mixin" 2021-11-22 17:18:51 +00:00
Bartosz Dziewoński 32d64dc4e0 Update VE core submodule to master (5a97be3a0)
New changes:
1350d9fbf Localisation updates from https://translatewiki.net.
c0ff88105 rebaser: Update dependencies
75bc682e2 Prevent scroll jump when focusing surface in Safari
5a97be3a0 Localisation updates from https://translatewiki.net.

Bug: T258847
Change-Id: I04f653b9be35e8559b80cb160ac204c6b7213880
2021-11-22 16:22:19 +01:00
Translation updater bot 53f7b65342 Localisation updates from https://translatewiki.net.
Change-Id: Iba2243880e1f049d6fb404a6a50e3f576039661d
2021-11-22 09:04:01 +01:00
jenkins-bot 2d6cae4684 Merge "Add mw-show-empty-elt to MW surfaces" 2021-11-19 21:06:45 +00:00
jenkins-bot eb26dc10b2 Merge "MWSaveDialog: Fix specificity of margin override for monobook" 2021-11-19 17:25:41 +00:00
jenkins-bot 9f6c431fbd Merge "MWSaveDialog: Move header out of mw-body-content" 2021-11-19 17:25:38 +00:00
jenkins-bot 4c02fb7cef Merge "MWSaveDialog: Move var declarations inline" 2021-11-19 17:23:45 +00:00
Ed Sanders a4ab89648d MWSaveDialog: Fix specificity of margin override for monobook
Change-Id: Ic37d312cf10777dd5e45c0641295b2f2e766acde
2021-11-19 16:55:22 +00:00
Ed Sanders 69e367464f Add mw-show-empty-elt to MW surfaces
Bug: T295984
Depends-On: Ife0e908edc12b2eb04c5f0b4def969ce843606a0
Change-Id: I49a2b5226a770334a05a51c8ea7b835c8c2c574f
2021-11-19 16:08:53 +00:00
Translation updater bot 3bdba1bb14 Localisation updates from https://translatewiki.net.
Change-Id: I5722df09f612b7127a192f615aa45f06d1062b39
2021-11-19 08:28:55 +01:00
jenkins-bot 90643ef6d0 Merge "Prefere ve.extendObject over $.extend" 2021-11-18 21:22:16 +00:00
jenkins-bot 208beec334 Merge "MobileCollabTarget: Add surface class using dedicated method" 2021-11-18 19:14:01 +00:00
WMDE-Fisch c1c167a17f Make better use of the ARIA mixin
Bug: T295353
Change-Id: I7ccb1e771516df8198c6e07cbf37e9739bc0ed71
2021-11-18 15:21:47 +00:00
Translation updater bot 6a05c9ab00 Localisation updates from https://translatewiki.net.
Change-Id: Ie5f928f439804767d853edb99df82c4112f14be5
2021-11-18 08:42:40 +01:00
James D. Forrester aa20ce704f Update VE core submodule to master (5bba9e6d7)
New changes:
5bba9e6d7 Follow-up I61b477d1f: Add setTimeout before entering table on mobile

Bug: T295403
Change-Id: I2f0ec4f7e83f6d08c8a08357bea2c6b91a6d46ca
2021-11-17 18:15:21 -05:00
Translation updater bot 4abe4e4c71 Localisation updates from https://translatewiki.net.
Change-Id: I5b068748310886e4fae1044170b77542ef6ec290
2021-11-17 08:31:11 +01:00
Bartosz Dziewoński 7fff473cf7 Update multi-tab code after changes in Minerva
Bug: T294192
Change-Id: I20c60711147e36366229b58f481df0508e2278ee
2021-11-16 14:10:56 +01:00
Translation updater bot a5fa21f1f1 Localisation updates from https://translatewiki.net.
Change-Id: Ic52a39e3672ecd4138516beb669c08fbb2af0eb4
2021-11-16 08:16:36 +01:00
Ed Sanders 86c405a2e1 Prefere ve.extendObject over $.extend
Change-Id: I37fef45701653cef08de9ec699865aa4fdf477bc
2021-11-15 21:30:19 +00:00
Bartosz Dziewoński 9c0867fbdb Update VE core submodule to master (cf04cc0ae)
New changes:
bfa281b77 eslint: Enable no-jquery/no-append-html
89582e214 Localisation updates from https://translatewiki.net.
b420ada2f Use no-jquery/no-html to warn against writing HTML strings to the DOM

Change-Id: Ic0bb7a8444a2e1b28975f53280a797c835cff61d
2021-11-15 21:10:26 +01:00
Ed Sanders 24d7f3f4d4 MobileCollabTarget: Add surface class using dedicated method
Change-Id: I8a977115a67dd894a9b469d68e4cc6078fe12463
2021-11-15 18:05:58 +00:00
jenkins-bot e4f444624d Merge "Only use aria description on multipart transclusions" 2021-11-15 15:34:44 +00:00
jenkins-bot 609f589557 Merge "Move feedback icon to correct position in template dialog" 2021-11-15 14:45:57 +00:00
jenkins-bot b84a6198db Merge "Update shortcut to add a part in the template dialog, take #3" 2021-11-15 14:34:52 +00:00
Thiemo Kreuz 0e1a5379da Move feedback icon to correct position in template dialog
Bug: T294839
Change-Id: Ib1a895735d795e0d38f38952fd8bce6ad3fee50e
2021-11-15 14:04:18 +00:00
WMDE-Fisch 26cab3125d Only use aria description on multipart transclusions
Moving responsibility to the part widget to check if we're in a
single transclusion.

Bug: T295353
Change-Id: I61b7891c04eb729647e2600318a97987fd88cb90
2021-11-15 12:22:12 +01:00
jenkins-bot 1cbeb7c4ac Merge "Move misplaced close button back to standard position" 2021-11-15 08:16:52 +00:00
Translation updater bot 7aa8ddc71d Localisation updates from https://translatewiki.net.
Change-Id: Ib80ef6784ba065d78d996e4759840cf716c65118
2021-11-15 08:13:10 +01:00
Ed Sanders 42b5fddf61 MWSaveDialog: Move header out of mw-body-content
Change-Id: I684e3025b97b546a391a64dd647365246e37d36c
2021-11-12 23:00:02 +00:00
Ed Sanders e111c40d09 MWSaveDialog: Move var declarations inline
Change-Id: I163dc057961e8d530ba394dbb92b97e4d866d867
2021-11-12 22:54:52 +00:00