Commit graph

20949 commits

Author SHA1 Message Date
Bartosz Dziewoński ef0d37cc97 Update VE core submodule to master (af9ff31db)
New changes:
ea961803e Localisation updates from https://translatewiki.net.
c886092d3 Attach content to teleport target instead of <body>
bacf54a22 Localisation updates from https://translatewiki.net.
c1562081b Consistent usage of header/title in toolbar groups
f8a25c2ca Remove unused messages
af9ff31db Fix remaining uses of 'parent'->'super'

Local changes:
* Remove references to unused messages

Bug: T120821
Bug: T348288
Change-Id: I82dbbc5a8f82ca6bb5b225cb1c2e1734470ed9c8
2023-11-02 23:11:44 +01:00
jenkins-bot bfb4f04635 Merge "Make GalleryImageNode dm match (Inline|Block)ImageNode imgWrapper" 2023-11-02 21:40:44 +00:00
jenkins-bot a7b7f659c7 Merge "Roundtrip media tag name in galleries" 2023-11-02 21:40:12 +00:00
jenkins-bot 979cc39472 Merge "Set alt in data-mw for non-img media" 2023-11-02 21:39:02 +00:00
Ed Sanders 09d60e784b Fix remaining uses of 'parent'->'super'
Bug: T120821
Change-Id: Id6ccb82d6d6027265d1595dbf11c1c4abeabc392
2023-11-02 16:42:31 +00:00
Translation updater bot 61ba76a2a5 Localisation updates from https://translatewiki.net.
Change-Id: I755458209301e2382afe4b5ec4e4a93e6d11d7a1
2023-11-02 09:59:50 +01:00
Translation updater bot deaed7faaa Localisation updates from https://translatewiki.net.
Change-Id: I02fb94275ac9ba34742a058d57ce546d744ac2c6
2023-11-01 09:09:13 +01:00
Translation updater bot 34394364cb Localisation updates from https://translatewiki.net.
Change-Id: I3a1b7d44d6d880a6d7bd84030180c16947149b65
2023-10-31 09:09:38 +01:00
jenkins-bot a87cc5cb9f Merge "styles: Use 'mediawiki.skin.variables.less', remove WikimediaUI Base ref" 2023-10-30 18:07:49 +00:00
Translation updater bot fc797d1ea6 Localisation updates from https://translatewiki.net.
Change-Id: If87cb5f884cf240059e094fb652ce45d6246731f
2023-10-30 18:00:00 +01:00
thiemowmde a6aa681d51 Drop meaningless version number 0.1.2
This number is from 2020. It's certainly meaningless by now. Even
causes extra confusion, see e.g.
https://www.mediawiki.org/wiki/Topic:Xsi5ull7fkcnbzuw

Depends-On: If1bbb57919af4948cecb0a63472ac323175f90c1
Depends-On: Iaae0ac43174f471d8d210958704f98182e9979c5
Change-Id: Iaa56abbc7b54f4a551ca330ff08d542cb5a2b895
2023-10-30 08:15:20 +00:00
Translation updater bot cf8fa4ed25 Localisation updates from https://translatewiki.net.
Change-Id: I0fb0b9f0ecdbf876ceba3f0a1062a82d298ab4b2
2023-10-27 09:21:26 +02:00
Volker E ba0ca0f0e3 styles: Use 'mediawiki.skin.variables.less', remove WikimediaUI Base ref
Using 'mediawiki.skin.variables.less' with Codex tokens now that
it's available. Also removing a comment that's OOUI variable specific.

Bug: T334934
Change-Id: Id697baa9537013c9e240dbfaa9ead1eb15280133
2023-10-26 17:18:54 -07:00
Arlo Breault 76960385db Make GalleryImageNode dm match (Inline|Block)ImageNode imgWrapper
The observation that the href for wrappers with mw-file-description
class will be the same as the resource still holds.  However, on the
other end, if the href is null, setting it to resource doesn't work.

Timed media and when the "|link=|" media option is used, result in an
imgWrapper that's just a span and wouldn't have an href.

This patch fixes a dirtying of timed media in galleries that was
preventing selser from being used.  Note, that <source>s in <audio> and
<video> tags are still dropped, so selser won't work yet.

Change-Id: Iefc520b8513e833665dae9d5c3a9dca2762264a6
2023-10-26 15:21:27 -04:00
David Lynch 4594a8acf2 Update VE core submodule to master (22943abff)
New changes:
3e1096ac0 Update OOUI to v0.48.2
045f8036f build: Update QUnit from 2.19.4 to 2.20.0

Change-Id: I2f281b5a94d3ccb001d9dcdd468e839ff3c5969a
2023-10-26 11:21:16 -05:00
jenkins-bot e5c81199c9 Merge "Template dialog: Use wrapping/expanding input for "line" inputs" 2023-10-26 16:11:45 +00:00
jenkins-bot aac7f99742 Merge "ve.ui.MWEditSummaryWidget: Use built-in 'allowLinebreaks' option" 2023-10-26 15:55:41 +00:00
Ed Sanders 1fcf167028 Template dialog: Use wrapping/expanding input for "line" inputs
Bug: T348482
Change-Id: I5cbbd84723c042dee176be8d77a7beec7d86e226
2023-10-26 09:16:24 -05:00
Ed Sanders c6f732914f Template dialog: Remove height override of collapsed LazyMultilineTextInputWidget
The default rendering is already correct unless there are more
than 2 lines of text present.

Change-Id: I5be936d75f81dcbbb58793d93796240540555124
2023-10-26 14:22:10 +01:00
jenkins-bot 60b7420e3f Merge "Media Dialog: make the alt field wrap and autosize for longer values" 2023-10-26 12:48:31 +00:00
David Lynch e2a7592bab Media Dialog: make the alt field wrap and autosize for longer values
Bug: T349319
Change-Id: I60e0a9c85f24132651007b436f146be801e77ebb
2023-10-26 12:20:05 +00:00
Translation updater bot e878cec9b0 Localisation updates from https://translatewiki.net.
Change-Id: I1b46d6f09d6f0d80260a46e5b42d0e705e3b6056
2023-10-26 11:07:25 +02:00
Arlo Breault f909f87b02 Roundtrip media tag name in galleries
This should have been part of
If5dc6b794dacd6973d3b2093e6b385591b91d539

Bug: T348703
Change-Id: I85f83d8b336ab4d6799bbe8007ef0441570a84ca
2023-10-25 13:29:19 -04:00
Arlo Breault 2497a5254e Set alt in data-mw for non-img media
Follow up to I02ea8421e468635ba6297bb5cda488a5a79c9a1d the depends on
I7a5c24f6ffc15ff0455adf5b025b695ee71501b6 in Parsoid.

Note that the mediaTag isn't currently being passed around for gallery
image nodes so, for example, a <video> becomes an <img> as is.  But,
that's independent of this patch, and a follow up will fix it.
Noted in T348703#9278332

Bug: T348703
Bug: T214603
Change-Id: I5f7d3dfe0a41fac1568c97dccc41209c14e741d0
2023-10-25 13:23:47 -04:00
Bartosz Dziewoński 0167346cbb ve.ui.MWEditSummaryWidget: Use built-in 'allowLinebreaks' option
New in OOUI v0.48.2.

Change-Id: I28dfa2405167ee4b9d9cd2fd3bb3e15498247ac6
2023-10-25 08:26:59 -04:00
jenkins-bot 07f4a7b3b1 Merge "styles: Replace WikimediaUI Base vars with equivalent skin variables" 2023-10-25 09:42:25 +00:00
Volker E fa3f2781b7 styles: Replace WikimediaUI Base vars with equivalent skin variables
Replacing several values with MediaWiki skin variables featuring new
Codex design tokens, available since >= v1.41.0.

The values are 1:1 visual replacements in the default Codex
'WikimediaUI' theme, a continuation of the base vars, and the default
for Vector and MinervaNeue skins.

Also replacing
- other static color values with variables
- and outline value as the Codex default brings an accessibility
  advancement for free

Bug: T334934
Change-Id: I512427803cffce1c16879015c45cf1e35fe17480
2023-10-25 09:30:56 +02:00
Translation updater bot 6d999aa282 Localisation updates from https://translatewiki.net.
Change-Id: I446bfcbd42230826dad4ea03aafda69f558f0ba5
2023-10-25 09:03:07 +02:00
Translation updater bot c599481ad9 Localisation updates from https://translatewiki.net.
Change-Id: I924ae372146604460c0cc04821c879c5cdd44233
2023-10-24 09:38:59 +02:00
Bartosz Dziewoński 8ec439d417 Remove handling of Minerva edit links
After the other changes in T346944, desktop Minerva can display
multiple edit tabs and section edit links without these hacks.

Bug: T346944
Change-Id: I3721f9387303386493664366988961242a26dba5
2023-10-24 03:27:09 +02:00
Translation updater bot bc1df07882 Localisation updates from https://translatewiki.net.
Change-Id: Ic6f9a113df466d621b30612b250042426d572160
2023-10-23 09:51:43 +02:00
jenkins-bot 6d2020fa0a Merge "Link EditCheck activated tag to false positives reporting page" 2023-10-20 16:01:37 +00:00
Ed Sanders 4bb80d4031 Link EditCheck activated tag to false positives reporting page
Bug: T349264
Change-Id: I92718b2ff45597e53dfb5ab74a34dea108f072ce
2023-10-19 13:52:25 +01:00
Translation updater bot ba3229a943 Localisation updates from https://translatewiki.net.
Change-Id: I0e0f2c57ff4ca316bae871b0c60606b98c7f25c3
2023-10-19 08:44:14 +02:00
jenkins-bot 8049f0ee28 Merge "Update VE core submodule to master (8328d7330)" 2023-10-17 14:32:43 +00:00
jenkins-bot 7601bcd9f3 Merge "Gallery image nodes: fall back to alt attributes in container mw-data" 2023-10-16 18:59:32 +00:00
David Lynch c65662ebfc Gallery image nodes: fall back to alt attributes in container mw-data
Video thumbnails have no alt attributes, and so we were causing dirty
diffs in any edit of a page that had a gallery containing a video.

Bug: T348703
Change-Id: I02ea8421e468635ba6297bb5cda488a5a79c9a1d
2023-10-16 11:58:50 -05:00
David Lynch 5dc7179d95 Update VE core submodule to master (8328d7330)
New changes:
5982328d9 DiffElement: Remove unnecessary duplicate variable
7ab6f7500 Localisation updates from https://translatewiki.net.
8328d7330 Fragment inspector: Don't apply padding to hidden panels

Bug: T348994
Change-Id: I9cfba6c2f28217ddb9191bd7d1eebb71e99ce2d4
2023-10-16 11:15:45 -05:00
Translation updater bot 1d267e1db8 Localisation updates from https://translatewiki.net.
Change-Id: Id9a017fb93736280210466b03f49258228d62d1d
2023-10-16 09:16:50 +02:00
jenkins-bot 6e34b3b730 Merge "Use options-messages to delay message parsing on Special:Preferences" 2023-10-13 23:37:16 +00:00
Umherirrender 4cc8926974 Use options-messages to delay message parsing on Special:Preferences
This also removes double escaping from the messages as 'options'
for type = select gets escaped by the html form

Change-Id: I31cc19cbe1f6e61849f3ff806e53a14082e06849
2023-10-13 22:12:02 +02:00
jenkins-bot a06398c685 Merge "Don't try to update tab text if a custom message is incompatible" 2023-10-13 15:31:36 +00:00
jenkins-bot ed18e0480a Merge "Fix handling of 'edit-local' and 'create-local' messages" 2023-10-13 15:31:12 +00:00
jenkins-bot a664de74f2 Merge "Change icon for supported skins for section edit links, too" 2023-10-13 15:29:12 +00:00
jenkins-bot 0e370a84cd Merge "Remove 'VisualEditorTransitionDefault' and AutodisableVisualEditorPref.php" 2023-10-13 15:27:59 +00:00
jenkins-bot b6af32f5e6 Merge "Exclude node_modules directories from phpcs" 2023-10-13 13:09:25 +00:00
Ed Sanders b30b886bf1 Update VE core submodule to master (9deab94e2)
New changes:
fce188dd0 Localisation updates from https://translatewiki.net.
2c64caab0 Use white-space:break-spaces where appropriate
07a9fd1fb Strip bold from headings when pasting
a310aac44 Localisation updates from https://translatewiki.net.
9deab94e2 Fix logic for unwrapping wrapper paragraphs next to inline nodes

Bug: T348006
Bug: T348467
Change-Id: I3930c712ddcd152d0149c0e0b272f52c880028f1
2023-10-13 10:22:37 +01:00
David Lynch 099e7a80c4 Exclude node_modules directories from phpcs
The `flatted` module in lib/ve/node_modules includes some php files that
keep causing errors.

Add the --cache just because it seems to be common practice in other MW
extensions.

Change-Id: Ia791e569587d76e991711b93011cb1df3796f532
2023-10-12 16:52:22 -05:00
Bartosz Dziewoński a60b3719f6 Don't try to update tab text if a custom message is incompatible
Some wikis customize messages, e.g. 'skin-view-create-local', in ways
that are not compatible with the client-side message parser.

Bug: T306807
Change-Id: Ie2f2ba4bba3b5b6f4fd6dbed6773d87f096a8944
2023-10-12 21:01:39 +02:00
Bartosz Dziewoński fa889154c2 Fix handling of 'edit-local' and 'create-local' messages
* Remove incorrect overrides in VisualEditorTabMessages. Since
  I44bd632682d5cc52b2660ad72a492f95a04be36e, the interface should use
  'skin-view-edit-local' and 'skin-view-create-local' respectively.

* Fix the fallback mechanism in DesktopArticleTarget.init.js
  to handle these keys correctly.

Change-Id: I7dad7e3a6fb920c5caf175e0e7500fd0c4b4d0ae
2023-10-12 20:05:06 +02:00