Commit graph

17580 commits

Author SHA1 Message Date
jenkins-bot b20ad7c730 Merge "Optional feature makes the transclusion dialog bigger" 2021-05-04 10:49:44 +00:00
Translation updater bot 613bc9d4fb Localisation updates from https://translatewiki.net.
Change-Id: Id9101c7eb9a10e9753550bca1b774b5345c15c1b
2021-05-04 08:53:27 +02:00
jenkins-bot 172684b543 Merge "Make convert to wikitext on paste feature configurable (temporarily)" 2021-05-03 22:19:53 +00:00
Ed Sanders fab7ad9d92 Make convert to wikitext on paste feature configurable (temporarily)
Bug: T280745
Change-Id: Icc716563e5536b4ef33a48ba10a72f3a39bdec35
2021-05-03 21:16:54 +00:00
Volker E c468f529fc Remove obsolete vendor prefixed properties
With updated basic support, let's remove obsolete vendor prefixed
properties.

Bug: T278670
Change-Id: I13ceec520559745c877588200024ebce16944da1
2021-05-03 08:09:01 -07:00
Adam Wight ded8c40915 Optional feature makes the transclusion dialog bigger
When $wgVisualEditorTransclusionDialogInlineDescriptions is set to
true, the template dialog will use a larger format.

Bug: T273971
Change-Id: Iad3c3f4d65125c83e35414ce15f793f6a1b192ef
2021-05-03 16:53:27 +02:00
Ed Sanders 1f50769cff ArticleTarget: Always set fromEditedState when preloaded is true
This means we don't need to check this.preloaded again anywhere else.

Bug: T279448
Change-Id: Ic8abdd87074d404a47ab8a82abf36e5443f3d163
2021-05-03 14:34:25 +01:00
jenkins-bot a4d1863a80 Merge "Use standard search API when searching for templates" 2021-05-03 08:12:35 +00:00
Translation updater bot ee2f55d14d Localisation updates from https://translatewiki.net.
Change-Id: I63d01d86369e3e3bd292df0114bc1a6bf7e3b35f
2021-05-03 08:38:34 +02:00
jenkins-bot 8878570696 Merge "Update VE core submodule to master (831a75cdb)" 2021-04-30 20:35:20 +00:00
Kosta Harlan f035ce51f1 Introduce VisualEditorApiVisualEditorPostSaveHook
What:

Add hook that runs after a save attempt is made in ApiVisualEditorEdit.
The hook receives the same data available in ApiVisualEditorEdit, and
implementations of the hook can modify the API response.

Also introduce templated
parameters (https://www.mediawiki.org/wiki/API:Templated_parameters) in
the API parameters; this allows plugins to pass arbitrary data along
with their request using e.g. plugins=linkrecommendation&data-linkrecommendation=foo

Add ServiceWiring files, a PHP namespace, and a HookRunner class to
support the above changes.

Why:

VE plugins may wish to send additional data when saving an edit and take
action based on that data on the server-side. See for example the
AddLink plugin in I7a052f8e which sends annotation data, and then uses
the new hook to perform a database operation.

Change-Id: I392691475fbdcec766acbd832600e82efcb5bfe8
2021-04-30 20:50:01 +02:00
jenkins-bot 6e6adb5508 Merge "Replace usage of deprecated User watchlist methods" 2021-04-30 18:41:16 +00:00
Bartosz Dziewoński ae3deddaaf Update VE core submodule to master (831a75cdb)
New changes:
a85c06b05 Localisation updates from https://translatewiki.net.
6684a0a40 build: Re-disable Firefox testing
233c55730 Update UnicodeJS to v13.0.3
831a75cdb Localisation updates from https://translatewiki.net.

Bug: T240955
Bug: T264904
Change-Id: Icc7d9240f03f03a7f11661a1dbb4572f86a74443
2021-04-30 19:23:27 +02:00
Thiemo Kreuz 6e08a27fc7 Use standard search API when searching for templates
Bug: T274903
Change-Id: I7de8f6cc55ab678ed741ae5ebbaad608b9a9b0db
2021-04-30 12:52:45 +00:00
jenkins-bot 4dec01cf05 Merge "Update more test code to use ES6 syntax" 2021-04-30 12:38:48 +00:00
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