Commit graph

17465 commits

Author SHA1 Message Date
Thiemo Kreuz 346216c050 Update more test code to use ES6 syntax
This patch is mostly about the arrow syntax.

Some places can not be updated because the arrow syntax also
changes the meaning of `this.…`, but some code relies on that.

Change-Id: Ida3ab0e0950a428fbd1a85f281013778ee879df4
2021-04-30 10:08:45 +00:00
jenkins-bot bbd80ea563 Merge "Update all tests in the ve-mw module to use ES6 syntax" 2021-04-30 09:00:33 +00:00
Thiemo Kreuz 2611f907a9 Update all tests in the ve-mw module to use ES6 syntax
Change-Id: I75f8864c66c9b2a78c683d425d54a94515b74f24
2021-04-30 08:07:54 +00:00
libraryupgrader 710e75dfb0 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: Iae29334b618b3f3758cb048394f85c0aca81b42c
2021-04-29 19:18:20 +00:00
Cindy Cicalese 442f5da371 Replace usage of deprecated User watchlist methods
This bumps the MediaWiki requirement to 1.37.

Bug: T281187
Change-Id: Iddcd1cbf67ad1f8e918c1da07347dd19e5f6f7d9
2021-04-29 09:32:22 -07:00
Ed Sanders eff7d05ca2 Don't apply min-height hacks to TargetWidget surfaces
Change-Id: Ic8547f4408f667d8e3808b7d1e29737448b7cb8d
2021-04-29 16:00:36 +01:00
Ed Sanders bc846108d1 Remove unused 'inTargetWidget' config
Change-Id: I7708acbe1592460973e4017b594299b6d31dc328
2021-04-29 15:48:17 +01:00
Translation updater bot b9d9c8564d Localisation updates from https://translatewiki.net.
Change-Id: Ic3837bc7681d0a8f2256accac18301ec6df9037e
2021-04-29 08:55:03 +02:00
jenkins-bot f98219b8d0 Merge "Drop Ruby testing entry point" 2021-04-29 01:54:44 +00:00
Bartosz Dziewoński 2f98128db7 Pass whole context to internal action API requests
Otherwise, the global context is used (RequestContext::getMain()),
which is undesirable when you're building a rubegoldbergian
contraption and we're already inside an internal action API request
with a fake context.

Change-Id: I66e79e641eda185f7af2561d3655c92cba762135
2021-04-29 02:30:59 +02:00
DannyS712 67a03105e0 ApiVisualEditor: remove call to deprecated User::isIP
Bug: T281401
Change-Id: I913e1ecaeadb2b36227b2dd205869db5f9a07691
2021-04-28 18:50:18 +00:00
Translation updater bot d54b3ccb77 Localisation updates from https://translatewiki.net.
Change-Id: Id6902000bebb90d023ca6cb473dda817134922da
2021-04-28 16:43:23 +02:00
Translation updater bot c00ab89290 Localisation updates from https://translatewiki.net.
Change-Id: I51e9f87c36f0af58d209be0114ea47e844d7afdd
2021-04-28 08:49:54 +02:00
Translation updater bot 2300a77001 Localisation updates from https://translatewiki.net.
Change-Id: Ied8256afbb54cfdd85dbf5ba82b7d577e493f6cc
2021-04-27 08:39:10 +02:00
jenkins-bot 1486e5f038 Merge "Localisation updates from https://translatewiki.net." 2021-04-26 07:17:09 +00:00
Translation updater bot 21a536676e Localisation updates from https://translatewiki.net.
Change-Id: Icf91121d01b64bb0376d0324ebf4c074c7eeed32
2021-04-26 09:11:07 +02:00
Translation updater bot 51cedeb9de Localisation updates from https://translatewiki.net.
Change-Id: Ibed58b3fe62a6329f7ea50e864902ad84ecae376
2021-04-26 08:58:24 +02:00
James D. Forrester 2b7ab7b479 Drop Ruby testing entry point
Never called any more.

Change-Id: Ic799a9cf2e576151077d4a8b0767f0f246849684
2021-04-23 12:05:25 -07:00
Translation updater bot 788b168073 Localisation updates from https://translatewiki.net.
Change-Id: Icefa5c0035c1f39e9c63d54f15dce401e317d323
2021-04-23 08:37:42 +02:00
jenkins-bot 1f853bb33d Merge "Fix ve.init.mw.MobileArticleTarget.save return value" 2021-04-22 16:33:01 +00:00
Gergő Tisza b902b09784 Fix ve.init.mw.MobileArticleTarget.save return value
Like its parent method, ve.init.mw.MobileArticleTarget.save
should return a promise.

Change-Id: Ic3b390e613aa71aea4e7375a1f6e421cbd4f854c
2021-04-22 14:58:59 +00:00
Translation updater bot 41153a73b1 Localisation updates from https://translatewiki.net.
Change-Id: Ic5281dff4b47a56c93bb406e2499372565d287bb
2021-04-22 09:32:36 +02:00
jenkins-bot 6a08f4b839 Merge "Increase space between fields when using inline descriptions" 2021-04-21 11:33:48 +00:00
Translation updater bot 8a1b127cae Localisation updates from https://translatewiki.net.
Change-Id: Ia0d5f37678266c4204469b01ba23ea6a000fd5e7
2021-04-21 08:53:33 +02:00
WMDE-Fisch e3197a82ff Increase space between fields when using inline descriptions
Bug: T273425
Change-Id: I3bf31622dbf794e1de1fa69b4fac68114c5689f7
2021-04-20 18:27:03 +02:00
WMDE-Fisch 2920c68adf Use verbose label for the example
Bug: T273425
Change-Id: Ia56aa35f98f31859e48781848b7481ebd5e2bd1c
2021-04-20 10:34:52 +00:00
Translation updater bot 6ccda1d394 Localisation updates from https://translatewiki.net.
Change-Id: I03dcffff87e1086b007baeca2d4ae59b793236c1
2021-04-20 08:48:51 +02:00
Translation updater bot 59d5d3721a Localisation updates from https://translatewiki.net.
Change-Id: I090d239b806fb1fe1d3992246b9059dea93d447a
2021-04-19 08:52:09 +02:00
jenkins-bot fd3b938d8e Merge "Relocate parameter descriptions in the transclusion dialog" 2021-04-16 10:00:52 +00:00
Translation updater bot 44f17da3c3 Localisation updates from https://translatewiki.net.
Change-Id: I39281edcb991d51f4f442084bfb588cb887475ef
2021-04-16 09:51:16 +02:00
Andrew Kostka 3c2db5fba9 Relocate parameter descriptions in the transclusion dialog
Bug: T273425
Change-Id: I2044b65ba88ae00e394fb84cb8e96a218995918a
2021-04-15 13:08:53 +02:00
Translation updater bot 60f4429e43 Localisation updates from https://translatewiki.net.
Change-Id: I4a2fe820554817c417664a33797b590af291fb2f
2021-04-15 08:44:26 +02:00
Bartosz Dziewoński c832df5d3a api: Better error when a page with the given title can't exist
Bug: T279711
Change-Id: Icd7e7564bbbca47ea53dfe72c5f34ffa69ff3389
2021-04-14 16:11:18 +02:00
Bartosz Dziewoński aec35a67d0 api: Better error when 'wikitext' parameter is required
Bug: T280072
Change-Id: Ibd03aa2a527ac2d27ef7c3dbaf25df74a2a0fdc5
2021-04-14 16:10:26 +02:00
Andrew Kostka 43c1ec5f42 Add filtering for the suggested values combo box
Bug: T271898
Change-Id: Ifb0deb117fbe40bd43c62d8be235a239a2b37f25
2021-04-14 14:11:50 +02:00
Bartosz Dziewoński dbb71845cf Update VE core submodule to master (ef0a3a720)
New changes:
7eade8d47 Avoid unnecessary wikitext conversion when inserting NBSP in source mode

Bug: T279600
Change-Id: If85b99b69269e44b1c62865960dd85fd33bfc264
2021-04-13 21:59:42 +02:00
jenkins-bot 7ce573802a Merge "Add command to insert non-breaking space" 2021-04-13 19:05:43 +00:00
James D. Forrester c113495445 Update VE core submodule to master (408012182)
New changes:
c3d3de18e Localisation updates from https://translatewiki.net.
1392c51ee build: Update eslint-config-wikimedia to 0.20.0
f76d6a862 Localisation updates from https://translatewiki.net.
f34c09d04 Add extra test coverage for ve.dm.TextStyleAnnotation
a90e5fc98 build: Update devDependencies

Change-Id: Ifbae847bf1cdc15f003eb0f97c1f85568468e71d
2021-04-13 08:11:51 -07:00
Translation updater bot 9ef7814937 Localisation updates from https://translatewiki.net.
Change-Id: Iac896498559626e755ee2bb7b9755aa5c9b8968b
2021-04-13 09:22:10 +02:00
Translation updater bot 1b1913ccbf Localisation updates from https://translatewiki.net.
Change-Id: I98a4122abe86ca34ba279698d42c5bd865605aa1
2021-04-12 08:39:20 +02:00
jenkins-bot 1e4de0e464 Merge "Add a combo box for suggested values in the transclusion dialog" 2021-04-09 10:40:33 +00:00
Translation updater bot bb8d598272 Localisation updates from https://translatewiki.net.
Change-Id: I6992ae8f53822d3b38c21fc04da0b30031e28412
2021-04-09 08:59:43 +02:00
Bartosz Dziewoński 1b34b59aa7 SECURITY: Act like users don't exist if hidden from viewer (VE edit notices)
Applying the changes from the MediaWiki core patch for T120883
(Ife272a0eb1f3322bc8eb30ca803bd21801acba3e) to our duplicated
code implementing the same functionality.

Bug: T270453
Change-Id: I1b2de322aa0c69eb6d3b3ffadaed3fbaa3a58bca
2021-04-08 20:40:08 +01:00
jenkins-bot 2571123285 Merge "Revert incorrect changes to ve.ui.MWBackCommand that made it stop working" 2021-04-08 15:07:14 +00:00
Andrew Kostka de2f5b3055 Add a combo box for suggested values in the transclusion dialog
Bug: T271898
Change-Id: Ic637eea2cac45f79234b62c787e1b76d68b61570
2021-04-08 16:10:22 +02:00
Bartosz Dziewoński fb32aa4978 Revert incorrect changes to ve.ui.MWBackCommand that made it stop working
This would would be correct if it was in a method of ve.ui.MWBackTool,
but this is actually a different class ve.ui.MWBackCommand (they are
both in the same file), which doesn't have a 'toolbar' property.

This partially reverts commit 4984c5ffbb
"Avoid using mw.ArticleTarget methods on global ve.init.target in tools".

Bug: T279613
Change-Id: Ia5e80e34cc5021295639cf18b3c324d2821aecf5
2021-04-08 15:37:46 +02:00
libraryupgrader c57080334e build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I5bc53208e31a20822d337d3c01ece358c0985e43
2021-04-08 06:54:47 +00:00
Translation updater bot e908f6173c Localisation updates from https://translatewiki.net.
Change-Id: Ib8d6380b6eb465eb992ef38431d1850382a46fdc
2021-04-08 08:41:22 +02:00
Bartosz Dziewoński a431099e0d Update VE core submodule to master (83f89605d)
New changes:
52bdd0c50 Localisation updates from https://translatewiki.net.
b216cda55 Ignore missing matrix cell when importing
ffc1881e8 DiffElement: Add CSS for <code> tag
6b9297f01 Apply monospace,monospace font size fix to <code> tags
4639185b0 Add extra check for annotation node height

Bug: T261992
Bug: T262842
Bug: T277211
Change-Id: I42434f9e8dd68b7dcd115bf22d984ed4ad3e6796
2021-04-08 00:30:59 +02:00
Bartosz Dziewoński 1abb5a5786 Add command to insert non-breaking space
Triggered by Ctrl+Shift+Space on PC.

On Mac, there is no trigger, we rely on the built-in OS shortcut.

Bug: T53045
Change-Id: I9630804c833d755910589022b0ca78208337d804
2021-04-08 00:09:35 +02:00