Commit graph

16616 commits

Author SHA1 Message Date
Ed Sanders bcfb250f56 Ensure that ve.init.target is correct when re-activating an ArticleTarget
Change-Id: Ic30cd99583019823b51f52ab97ee6f9d7adc53f2
2020-03-11 14:45:37 +00:00
Translation updater bot ebbc1e9eb7 Localisation updates from https://translatewiki.net.
Change-Id: I6de4334333a36a893250359905193e5000eabfa5
2020-03-11 08:30:19 +01:00
jenkins-bot ee43838e79 Merge "Making Categories page in page option dialog accessible" 2020-03-10 19:48:57 +00:00
Translation updater bot dbb375c4aa Localisation updates from https://translatewiki.net.
Change-Id: Iecb6efe352b61cf3d0722af215922c1ccdd4e153
2020-03-10 08:16:01 +01:00
Ed Sanders 8726a71342 Move switchToWikitext to switchToFallbackWikitext
This should be a no-op as the inherited switchToWikitext
implementation will always call switchToFallbackWikitext
if 'source' is not passed as a supported mode (which it
isn't currently in MobileFrontend).

Change-Id: I213e7d54d158127b5c42bc05ff9ea2dececc42fe
2020-03-09 18:55:15 +00:00
Ed Sanders bc29a8cdd1 MobileArticleTarget: Remove definition of editSource, identical to parent
Change-Id: I939b34416722fe81f643ca48fe1c5f8ea9e3cbc5
2020-03-09 18:55:05 +00:00
Translation updater bot 23d3b7c579 Localisation updates from https://translatewiki.net.
Change-Id: I449ab510b15b70a9b28e6f8159d66ec1aa0c89d7
2020-03-09 08:58:26 +01:00
libraryupgrader a2db14e6a5 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I48ad37864879342fbcf63c8a2d9a435c3b4129de
2020-03-08 15:32:45 +00:00
Akinwale Alagbe 30c90b867a Making Categories page in page option dialog accessible
Bug: T247122
Change-Id: Id91438bf6bc1bf0781fbbcbed32326c5700bfb7d
2020-03-06 13:32:48 -08:00
Bartosz Dziewoński 734c929ea0 Add some accessibility labels to buttons on mobile
Various buttons have a label on desktop, but only an icon on mobile.
We should still use the label for accessibility.

Change-Id: I2b49a80e174dc30ae997a69662643b28b428263a
2020-03-06 15:09:44 +01:00
Bartosz Dziewoński 59cc4b10aa Update VE core submodule to master (f7f72b5c5)
New changes:
42fea96be Add some accessibility labels to buttons on mobile

Change-Id: I37f03d547b1891c05b50fb1761620e7af9209e2b
2020-03-06 15:09:44 +01:00
Translation updater bot bafc5035d1 Localisation updates from https://translatewiki.net.
Change-Id: I09a855780059228f4d443d38837dbcc1f80feeb3
2020-03-06 08:18:56 +01:00
Bartosz Dziewoński d0c45940d0 ve.ui.MWSaveDialog: Remove meta element filtering from wikitext preview
Once upon a time, we added code to filter <style> and <link> elements
from the rendering of templates in visual editor, because attempting
to cut them would crash Chrome (T52043).

There are at least three reasons why that is not needed here:
* The preview is not editable text, so you can't cut from it
* The Chrome bug was fixed 7 years ago anyway
* We now use TemplateStyles in articles and they work just fine

The code was added here in 9dd638a5ab
without explanation, I think it was just done for consistency.

Bug: T212085
Change-Id: I0712e3a081f04d0b74cda47652fa6eb118dfe7b2
2020-03-05 16:57:51 +01:00
jenkins-bot a28cf0fd42 Merge "Update VE core submodule to master (1240e4ead)" 2020-03-05 15:46:16 +00:00
jenkins-bot c69b46adfc Merge "Clean up code related to token and bad token handling" 2020-03-05 11:25:58 +00:00
jenkins-bot 5bcd4a82f8 Merge "Use built-in mw.Api 'badtoken' handling, also 'assert'/'assertuser'" 2020-03-05 11:25:46 +00:00
Translation updater bot d84cf9f11c Localisation updates from https://translatewiki.net.
Change-Id: I55640b9bb38d4700220b31e7abf7914aa7b84061
2020-03-05 08:40:28 +01:00
James D. Forrester edf4f644d4 Update VE core submodule to master (1240e4ead)
New changes:
bc21b2bff Localisation updates from https://translatewiki.net.
1bc2b2551 Localisation updates from https://translatewiki.net.
1240e4ead Avoid parentElement when possible

Change-Id: Ie5f34e72b5b6f3fb4e8341ae243b5eaa9c88b26e
2020-03-04 15:27:32 -08:00
jenkins-bot 248f1ea5e4 Merge "Pass a user when creating a new ParserOptions" 2020-03-04 08:12:02 +00:00
Translation updater bot 8b696b27b0 Localisation updates from https://translatewiki.net.
Change-Id: I98c98f0b229c1f5f5627b9bb133d3fcb7af5f3fb
2020-03-04 08:54:20 +01:00
DannyS712 0dca373c62 Pass a user when creating a new ParserOptions
Bug: T246861
Change-Id: Idaed22f2b4c1a43be97b48a7718cb5a35a58edd1
2020-03-04 04:57:45 +00:00
Petr Pchelko 543d436d79 Remove usage of deprecated Revision::newRevisionFromTitle
Bug: T246284
Change-Id: I3ba2de7bda3bdc228cb4136d0190c43188b9b185
2020-03-03 20:16:43 -08:00
Translation updater bot e2489406e4 Localisation updates from https://translatewiki.net.
Change-Id: Ifbf60de2b50c050451793e238aedbafcb9d6d915
2020-03-03 08:15:29 +01:00
jenkins-bot becafcdadf Merge "Fix checkbox handling in the API" 2020-03-02 18:06:36 +00:00
Translation updater bot 0a6b794f1e Localisation updates from https://translatewiki.net.
Change-Id: I3e082282cde6fbcfba9bb97534bf6809bd47056b
2020-03-02 09:12:09 +01:00
Ed Sanders 50883dd7fe Don't pass through edit API params we've already handled
This can lead to problems if the names in the VE API are
still used inthe Edit API, as previously happened with
`watch`/`watchlist`.

Explicitly list the parameters from VE API that were
previously getting passed to the Edit API automatically.

Change-Id: I8fe705b178af82d8285067909168d32cfb9a0421
2020-02-29 17:51:52 +00:00
Ed Sanders 42194ec411 Fix checkbox handling in the API
The code for setting 'watchlist' in the EditAPI request
was completely broken as it always evaluated to 'unwatch'.
Instead pass through 'watchlist' directly from the client
where it must be set to 'watch' or 'unwatch'.

Bug: T245579
Change-Id: Ia5a2bb76ef35a685b39bcc0c4727796acd0f510d
2020-02-29 17:35:29 +00:00
Translation updater bot cc557cfef5 Localisation updates from https://translatewiki.net.
Change-Id: I35ae5a73aedd7a3e759f0299d926134be29e2405
2020-02-28 08:23:08 +01:00
jenkins-bot f2cc6d9fc0 Merge "NWE: Don't change editor preference if visual mode not available" 2020-02-27 17:23:53 +00:00
Ed Sanders 71157aab76 NWE: Don't change editor preference if visual mode not available
Bug: T246259
Change-Id: I1513098be707ca5c1a40a061917487785f5100e8
2020-02-27 16:53:45 +00:00
jenkins-bot 983afd6793 Merge "Update VE core submodule to master (244656506)" 2020-02-27 14:38:11 +00:00
Translation updater bot b260f4196f Localisation updates from https://translatewiki.net.
Change-Id: Id2a5c1176cfeac39c180eeb1eedc73b12b9c327c
2020-02-27 08:38:02 +01:00
James D. Forrester 7c69172310 Update VE core submodule to master (244656506)
New changes:
d1c82e84e build: Updating npm dependencies
403f247bf Localisation updates from https://translatewiki.net.
1f6f21ed9 Localisation updates from https://translatewiki.net.
0ac184f4b README.md: Drop DavidDM badges, we use LibraryUpgrader now
6fbfe1a05 Fix: paragraph node image fix
05d04c90a Update OOUI to v0.37.0
3d6031eb8 Update OOjs to v3.0.1

Bug: T245319
Change-Id: I41b69b1645d66c3636d1a622c3cb8051a27f2e7b
2020-02-26 18:32:19 -08:00
Derk-Jan Hartman 9655bee7de Fix dimensions of WE2017 switch to VE
Correct dimensions are 32px, not 34px.

Bug: T223155
Change-Id: I74da7fc12b642984a680d58c20af054ebaf2e64c
2020-02-26 14:02:41 +01:00
jenkins-bot 4a2d636dab Merge "Fix: non descriptive announcement of version no." 2020-02-25 22:00:52 +00:00
Akinwale Alagbe dd91c3cd09 Fix: non descriptive announcement of version no.
When user navigate to the version number,
the screen reader only narrates the hexadecimal number
associated with the version label without providing context
about what this number represents

Bug: T245470
Change-Id: If9cccac0d71de2de5da96a3a053d21e3deb0d80c
2020-02-25 21:45:31 +00:00
jenkins-bot a2ceb67351 Merge "Fix:Internal and External Link annotation widget" 2020-02-25 16:03:01 +00:00
jenkins-bot a0cf9cb9f6 Merge "ve.ui.MWEducationPopupTool: Autofocus the button to close it" 2020-02-25 14:28:05 +00:00
jenkins-bot e736c3037b Merge "screenshots: Fix local test runner" 2020-02-25 13:51:03 +00:00
jenkins-bot 7c1b3d3af7 Merge "screenshots: Fix some timing issues" 2020-02-25 13:50:25 +00:00
Ed Sanders 5428f5452a screenshots: Fix local test runner
Broke after selenium-webdriver update

Change-Id: I424607c9ba741a88b993d2d279045f30c1d50ab7
2020-02-25 12:45:20 +00:00
Ed Sanders bd848eb386 screenshots: Fix some timing issues
Change-Id: I5cfb4025833699bffd4ade3fb659f41c268b8bb2
2020-02-25 12:45:20 +00:00
Translation updater bot 91debd78af Localisation updates from https://translatewiki.net.
Change-Id: Ic96374cc56315af5011207a135ebc7454f0e0c98
2020-02-25 09:37:33 +01:00
Akinwale Alagbe d3292378cc Fix:Internal and External Link annotation widget
Adding the ability to special aria-label for the link annotation widgets
in order to aid accessibility to visually impaired audience

Bug: T245294
Change-Id: I3e1fd4a3e3a951092b5212397acc38b2b89a23c2
2020-02-24 16:40:19 -08:00
James D. Forrester fc44f6c9b9 README.md: Drop DavidDM badges, we use LibraryUpgrader now
Change-Id: I1485727e8ed96f1be98c2c0bcbc1b443dbfbeb5d
2020-02-24 13:42:58 -08:00
Translation updater bot cae5f665b8 Localisation updates from https://translatewiki.net.
Change-Id: I4a355569d662dc1e8d9ad378d8cc7d9d1f23a1d1
2020-02-24 09:04:34 +01:00
Translation updater bot d5bb38c078 Localisation updates from https://translatewiki.net.
Change-Id: Id8f9087599424ccec471879e94b55a57b7c2933b
2020-02-21 09:39:51 +01:00
libraryupgrader 362e96e9d3 build: Updating mediawiki/mediawiki-codesniffer to 30.0.0
Change-Id: I60daaa0abe00ac7d4cc536e6d7baf3c6c3f6769d
2020-02-21 04:29:45 +00:00
jenkins-bot 119d3df502 Merge "Remove incorrect init special case for wikitext single edit tab" 2020-02-20 22:39:13 +00:00
Bartosz Dziewoński 387e0d3cb3 Remove incorrect init special case for wikitext single edit tab
This line was added in 9eebfbcac5
and I can't tell what it was supposed to do (that commit's message
only says "Fix NWE-only edit tab", thanks a lot).

Since then the init code was refactored a lot, at some point this
line was moved to be a part of a completely different check (???),
and now it's causing visual mode to be disabled even though the
user only set their preferences to *prefer* wikitext mode.

Bug: T243723
Change-Id: I3c1f502c3cd079fc5eeb2e9587b22d854ae3a72c
2020-02-20 22:37:45 +01:00