Commit graph

19724 commits

Author SHA1 Message Date
Translation updater bot 6eb4dc0812 Localisation updates from https://translatewiki.net.
Change-Id: Ic9f007c52abb4a0aa71fc2fef59eff7507936b35
2023-03-21 08:24:43 +01:00
Translation updater bot a86a002466 Localisation updates from https://translatewiki.net.
Change-Id: I49942f26d1208e41752922517e187d28734c971d
2023-03-14 08:15:43 +01:00
Translation updater bot b4e15af310 Localisation updates from https://translatewiki.net.
Change-Id: I71676b2254bc17d9597e26d52b6c8abb5af37a7b
2023-03-07 07:51:40 +01:00
Translation updater bot 20d7908705 Localisation updates from https://translatewiki.net.
Change-Id: Ida56ef26f48081eccc034e608ea69da1c9fff6c9
2023-02-28 07:07:46 +01:00
Translation updater bot 7c2526462b Localisation updates from https://translatewiki.net.
Change-Id: I67a0a8ecfc5e03359d08516dba9ed5043a9fc8ad
2023-02-21 07:06:46 +01:00
Jack Phoenix 57a9fd7bd7 Loosen the edit link selector specificity in setupMultiTabs()
This allows VE to support even more skins with minimal or no changes to the skins themselves.

Partially reverts 75ff121b29.

Change-Id: I7536610459b7401015d4a033cc516c5d9a0ca5f1
(cherry picked from commit eb71d7710a)
2023-02-17 05:11:36 +00:00
Translation updater bot bf604d8cfc Localisation updates from https://translatewiki.net.
Change-Id: Id3cd4dfb2ad1eb3d74173e99d052a517943a526e
2023-02-14 07:17:33 +01:00
Translation updater bot 38b63b854b Localisation updates from https://translatewiki.net.
Change-Id: I0ced3d9b4451593b89e52f7ad425a6a2a9d7f08b
2023-02-07 07:47:04 +01:00
Translation updater bot 65d89c9e32 Localisation updates from https://translatewiki.net.
Change-Id: I9c03dd639c20153d5087eb6c7aeea5aaebc0ab28
2023-01-31 07:28:48 +01:00
Reedy daf23148fc Update VE core submodule to origin/REL1_39
New changes:
0c522c94a Update papaparse to 5.3.2

Bug: T326946
Change-Id: I38158525a26ec48d7958a37f5fac91370d28a8c8
2023-01-30 17:18:38 +00:00
Translation updater bot cf68912c7e Localisation updates from https://translatewiki.net.
Change-Id: I6431399aa73cf08888863594fbcd15306093797a
2023-01-24 07:16:51 +01:00
Wout Gevaert cdbe35c61b GalleryContextItem: Only count image node children
Bug: T320874
Change-Id: Iaa94f289e554db0fb82785b15e90c740ab6749aa
2023-01-18 13:48:57 +01:00
Translation updater bot 6259b9967b Localisation updates from https://translatewiki.net.
Change-Id: I2b63957cedc811c0064be1cdb095e199f89a1434
2023-01-17 07:09:56 +01:00
Translation updater bot 13cebbe97f Localisation updates from https://translatewiki.net.
Change-Id: I9e3e722aabb6d1a2a56e0586829e8a6db5622f14
2023-01-10 07:49:46 +01:00
James D. Forrester afda541558 Update VE core submodule to REL1_39's OOUI update (95ccd3290)
New changes:
95ccd3290 Update OOUI to v0.44.4

Bug: T325000
Change-Id: I94954d350fbb47dadbd48d23b3883533ea9570bf
2023-01-04 15:05:12 -05:00
Translation updater bot 6189756937 Localisation updates from https://translatewiki.net.
Change-Id: Iab7468e7cd26a8c44c1a787ac8ec2a9c247a02a6
2023-01-03 07:47:11 +01:00
Translation updater bot 5db30b4069 Localisation updates from https://translatewiki.net.
Change-Id: Ia92d59ea8a982d5064ae76434dbeba1c55517acd
2022-12-27 07:14:05 +01:00
Translation updater bot 945e541099 Localisation updates from https://translatewiki.net.
Change-Id: Ic58b6cb7ddc190111014ebfe1a9710cb592ec2b7
2022-12-20 07:58:13 +01:00
Translation updater bot 0cff43af86 Localisation updates from https://translatewiki.net.
Change-Id: Iea267480b6404a22af9bbe589708ebe9ab845a80
2022-12-13 07:30:14 +01:00
Translation updater bot 33edf52d24 Localisation updates from https://translatewiki.net.
Change-Id: Ic479164c8165490b0cacf9648dbf8c118e115e92
2022-12-08 07:43:43 +01:00
Translation updater bot 64b5d7bc1a Localisation updates from https://translatewiki.net.
Change-Id: I0d8703977b6c814938344f8cc6d0714bbf55dacb
2022-12-01 07:21:39 +01:00
Translation updater bot 8dec144614 Localisation updates from https://translatewiki.net.
Change-Id: I630533f1aa479496a7f0e526f8a7106139bb8a9c
2022-11-24 07:09:41 +01:00
Translation updater bot 92264383f7 Localisation updates from https://translatewiki.net.
Change-Id: I204856ddbd294109505fc18f3f633f2a8469523f
2022-11-17 07:19:13 +01:00
Translation updater bot d9fbee9dd1 Localisation updates from https://translatewiki.net.
Change-Id: I569aeacb47ce2ab3a21de45f5d5a3cc5db752f5d
2022-11-10 07:23:21 +01:00
Translation updater bot 32e4a7673d Localisation updates from https://translatewiki.net.
Change-Id: I009e612a9f3fc487c8322453864d8a72a2860830
2022-11-03 07:23:18 +01:00
Translation updater bot 83742ca3ac Localisation updates from https://translatewiki.net.
Change-Id: Ib6cec8b963cdba58732341a81185032fb6063e70
2022-10-27 08:05:24 +02:00
Translation updater bot 60883a13e8 Localisation updates from https://translatewiki.net.
Change-Id: I4fe40dd892c59d991fbee62222e1b8efb166f920
2022-10-20 07:39:57 +02:00
Translation updater bot 70f45e3138 Localisation updates from https://translatewiki.net.
Change-Id: I7b2fe5c552cef22681b2f0e7ae9700dbb304d136
2022-10-13 07:24:52 +02:00
Translation updater bot a940153b99 Localisation updates from https://translatewiki.net.
Change-Id: Iaa29cfa5b1ac0eba1aecd917a328a5a94de4e43c
2022-10-06 07:14:16 +02:00
Translation updater bot a11d3fe152 Localisation updates from https://translatewiki.net.
Change-Id: I8386ca73d7d253bdd3e0789afc2e3253a754215d
2022-09-29 07:16:03 +02:00
Translation updater bot a7436c6292 Localisation updates from https://translatewiki.net.
Change-Id: Ia896f9952f6853ec5f30965d97a17b40e1949cb7
2022-09-22 16:19:10 +02:00
Translation updater bot df2309bd9f Localisation updates from https://translatewiki.net.
Change-Id: I85d94f1eb1aab3293c3da1ed220bc24bbfabcbeb
2022-09-05 10:12:21 +02:00
Bartosz Dziewoński 0ade4be5b6 Restore the $oldid condition for funny ETag logging
Follow-up to 951348dbbf. When creating a
new page on a RESTBase wiki, ETag is actually expected, but it will be
in a different format; the code comment was wrong.

Bug: T316969
Change-Id: Ia36488616ced70b900d2e67ce8e28993cc2c7514
2022-09-03 05:06:44 +02:00
jenkins-bot 4687e27ffa Merge "Fix logic for getting the *available* preferred editor" 2022-09-01 20:41:25 +00:00
Ed Sanders a625d0b7b7 Fix logic for getting the *available* preferred editor
Factor out getAvailableEditPageEditor from getEditModeFromUri
and use instead of getEditPageEditor everywhere.

Bug: T316776
Change-Id: I34bab092b829124c52f8bc0e262a9c3aa17f2c52
2022-09-01 22:25:53 +02:00
Ed Sanders 35138e00be DesktopArticleTarget: Fix popstate handling when action=edit (single edit tab)
This means if you load the editor on a single edit tab wiki,
then press back then forward, the editor will re-open.

Bug: T316869
Change-Id: I1ea33de7d7324a53399be9155c474a14ae21dfe8
2022-09-01 14:56:05 +01:00
Translation updater bot 3b0a4c60ae Localisation updates from https://translatewiki.net.
Change-Id: I86ceeb77df14a063f764ef6c0918ea8c55526468
2022-09-01 09:35:09 +02:00
Ed Sanders 45b36ad683 Fix broken history management in onEditSectionLinkClick
This code is supposed to be similar to the code in activatePageTarget()
however it was checking if the *link* URL looked like a veaction link,
not the view URL. It also then tried to push this.href as the new state
which was always undefined. This meant:
* If the section edit link was veaction= then nothing happened. The URL
  in the address bar would get updated *after* the editor loaded by code
  in DesktopArticleTarget.
* If the section edit link was edit= (single edit tab wikis) then the
  view URL would get replaced with and edit URL, meaning if you browser-
  backed out of the editor, the URL was stay as the edit URL.

Bug: T316771
Change-Id: Idb5e3c51a22361e0d9916d3c31444daeff310ed2
2022-08-31 13:57:02 +01:00
Translation updater bot 5eef7c3036 Localisation updates from https://translatewiki.net.
Change-Id: Ic25644afabb8deb1993c36c83fc29896fa99b1de
2022-08-31 09:36:04 +02:00
jenkins-bot 736cca3a18 Merge "DesktopArticleTarget: Set wgPostEdit when redirecting after save" 2022-08-30 22:26:58 +00:00
Bartosz Dziewoński c047b7f098 Update VE core submodule to master (059f7d91d)
New changes:
b2817d12a Localisation updates from https://translatewiki.net.
a26f98f7b Don't enforce alphabetical order in i18n files
693d4f78d ve.ce.Surface: Fix scope typo in middle-click paste handling
882af5d8a ve.ce.Surface: Preserve internal paste data when doing fake middle-click paste

Bug: T315065
Bug: T316054
Change-Id: I3d13da9f45c8fe387181f1d236e1e053c184b918
2022-08-30 22:31:15 +02:00
jenkins-bot 182eb7340e Merge "Fix calling order in template dialog .getSetupProcess()" 2022-08-30 13:28:51 +00:00
Thiemo Kreuz 663936ab6e Fix calling order in template dialog .getSetupProcess()
This fixes two issues:
1. .initializeAllStickyHeaderHeights() is now executed after the
   .ve-ui-mwTransclusionDialog-single-transclusion CSS class is set.
   This is critical because in this mode the sticky header does
   have a different height.
2. We get rid of 2 references to .sidebar that should not have been
   in this class in the first place.

Also bring some more calls in an order that makes sense. This does
not make a difference and is only for readability.

Bug: T315292
Change-Id: I22f6c11de8f693edb03485adcaa186bd4b283b2f
2022-08-30 14:20:42 +02:00
Thiemo Kreuz e5d6af728e Add missing call to .recalculateStickyHeaderHeight()
This was missing when you:
* Insert a new template and select a template with a lot of
  parameters.
* Same when you edit an existing multi-part template and add a new
  part (Ctrl+D) with many parameters.

Bug: T315292
Change-Id: Icd281c21a1b40d8e29343fa4975e27e8d927cd15
2022-08-30 11:57:23 +02:00
Translation updater bot 75ba4b9bcd Localisation updates from https://translatewiki.net.
Change-Id: Ifda2701f04d66e4eea570b50d3b4799ceacfc303
2022-08-30 09:31:00 +02:00
jenkins-bot 14f412ad96 Merge "Localisation updates from https://translatewiki.net." 2022-08-29 07:28:04 +00:00
jenkins-bot f606e7c7e3 Merge "Don't focus template input fields (and open keyboard) on mobile" 2022-08-29 07:27:17 +00:00
Translation updater bot dc70a0e599 Localisation updates from https://translatewiki.net.
Change-Id: I5174c709e38f5be173c144a2d0eaba31fdf33bb5
2022-08-29 09:16:16 +02:00
Thiemo Kreuz d10dd4ded0 Don't focus template input fields (and open keyboard) on mobile
On mobile, tapping anything in the sidebar should only scroll the
corresponding element into view, but not focus the input field. The
reasoning is that an on-screen keyboard should only pop up when the
input field is actually tapped.

By the way, the "jump" issue in T312768 was because of the same
reason. In that case an onFocus happens before we have a chance to
scroll. Unfortunately there is no way to reverse the execution order
of these. Which is why we disabled the animation there.

Bug: T289043
Change-Id: I1c18802b8ff776fa8d9c17e3df8020354690d29f
2022-08-28 14:26:29 +00:00
jenkins-bot ce37169a51 Merge "Don't send missing $wgVisualEditorTabMessages to the browser" 2022-08-26 18:57:07 +00:00