Commit graph

18143 commits

Author SHA1 Message Date
jenkins-bot 057bdf7e60 Merge "Update VE core submodule to master (8cc305d97)" 2020-04-16 17:04:58 +00:00
jenkins-bot faa6d75de8 Merge "Adding accessibility label to template and field name edit textbox" 2020-04-16 17:04:54 +00:00
Translation updater bot 5ff8784aab Localisation updates from https://translatewiki.net.
Change-Id: If060672a70c66f4fa7a4571c0e9951233c72e005
2020-04-16 09:34:21 +02:00
James D. Forrester 4c62e2c3b9 Update VE core submodule to master (8cc305d97)
New changes:
6423eff25 Localisation updates from https://translatewiki.net.
41e9efd53 Update OOUI to v0.38.0
c88420bd9 build: Drop direct dependency on eslint-plugin-mediawiki
84d99a0b6 build: Upgrade eslint-config-wikimedia to 0.15.3 and make pass
8cc305d97 build: Fix mediawiki/class-doc errors and enable

Change-Id: I3caf459b115db944d0edcf35851674eeba97fcc9
2020-04-15 20:09:54 -07:00
James D. Forrester 7dae6eb9d4 build: Bump phan to 0.10.2, remove taint-check
Test change to ensure everything is working fine.

Bug: T248630
Change-Id: Id7d9438a6b2be29d5764e3fa809b2cdbe7772958
2020-04-15 09:26:51 -07:00
Bartosz Dziewoński 1846b72998 Remove some hardcoded CAPTCHA support code
While we pretend that the ConfirmEdit CAPTCHA support is added by
ve.init.mw.CaptchaSaveErrorHandler in the ConfirmEdit extension,
we still have a bunch of code here required for it to work.

This commit removes some of it, no longer needed after
I6605017fd31a4f96c529dd0beb69e9f4433cebc1.

Depends-On: I6605017fd31a4f96c529dd0beb69e9f4433cebc1
Change-Id: I41e032fd754927b7ea6cfb767eb9f21b522ccacd
2020-04-15 13:18:47 +00:00
Translation updater bot 108131f4e1 Localisation updates from https://translatewiki.net.
Change-Id: I980389230ce8faa4110b4555301e4bc29d6d57a2
2020-04-15 08:25:21 +02:00
Roan Kattouw de2baff16d DesktopArticleTarget.init: Also extend existing URL in SET mode
This unbreaks the use of ?vehidebetadialog=1 on page views (i.e. without
action=edit) in single edit tab mode.

Bug: T249957
Change-Id: I0109f5d95cebbb3e585d25b7623764cc7350cda0
2020-04-14 17:01:23 -07:00
jenkins-bot ed518b619b Merge "Update VE core submodule to master (0217e5819)" 2020-04-14 15:46:13 +00:00
Yuki Shira 55985819d2 Add Special:MyLanguage for better user experience
Change-Id: I03bdfe752300c15fbf356acf4d1c6f091828ee69
2020-04-14 22:42:56 +09:00
Translation updater bot c5722460a6 Localisation updates from https://translatewiki.net.
Change-Id: I3ef8f2bf10548af5ae4086c034a0eaac0bf6660c
2020-04-14 08:25:53 +02:00
James D. Forrester a0a33d98b4 Update VE core submodule to master (0217e5819)
New changes:
90607c5dc Localisation updates from https://translatewiki.net.
07d6a017e Update OOUI to v0.37.1
12c4b3cb3 Localisation updates from https://translatewiki.net.
f48768d1c Fix initialization typo
747ba0305 build: Upgrade eslint- and stylelint-config-wikimedia
685c0256d Localisation updates from https://translatewiki.net.
407016209 Match entity encoding in HTML comments to Parsoid

Bug: T144708
Change-Id: I7ff2d73e4478ec42136b4ff9fc778b3a5d4e2019
2020-04-13 08:39:47 -07:00
Translation updater bot cc44140d23 Localisation updates from https://translatewiki.net.
Change-Id: I23fb1c2dd94f146f74f75875d1e6d8ec02aec666
2020-04-13 09:03:32 +02:00
Timo Tijhof 48c4dfd59e Remove redundant dependency on 'mediawiki.notify'
The 1 line of code this module contained (to lazy-load
'mediawiki.notification', and forward the function call) was
moved to 'mediawiki.base' and requires no dependency.

Bug: T233676
Change-Id: Ifcb1bca030bede62065a87dc7a8594fe17e017cc
2020-04-08 17:47:21 +01:00
Translation updater bot 403071cced Localisation updates from https://translatewiki.net.
Change-Id: Ic78d4925d724c0deb6a4529873f638e9b463bcb0
2020-04-07 08:52:40 +02:00
Akinwale Alagbe 3b7a567bfc Fix: Adding label to source editor switch editor tool
Change-Id: I7cd90bbbd0f65c0a5b0588fd337e922a63b618b5
2020-04-06 18:10:26 +00:00
Translation updater bot 080097b3be Localisation updates from https://translatewiki.net.
Change-Id: Iacd44754a5e5944fd1a7ace56503c1db5f62f3e7
2020-04-06 09:03:07 +02:00
libraryupgrader a87fe877c5 build: Updating npm dependencies
* postcss-sass: 0.4.2 → 0.4.4
  * https://npmjs.com/advisories/1179
* decompress: 4.2.0 → 4.2.1
  * https://npmjs.com/advisories/1217

Change-Id: Id9d5a69ebff0e7966f03f6a0451961c52a79e8d8
2020-04-05 11:11:32 +00:00
Translation updater bot 88b450015c Localisation updates from https://translatewiki.net.
Change-Id: I138b3e4c9eafd5052221c70ae9edef3da0b79f1f
2020-04-03 08:29:05 +02:00
Akinwale Alagbe 229a249cca Adding accessibility label to template and field name edit textbox
Change-Id: Ieeb29de8534300751956eb76477b38578478b4a2
2020-04-02 21:02:55 -07:00
Translation updater bot df2dd3950f Localisation updates from https://translatewiki.net.
Change-Id: Id5edd9c0d78d4a6bc3561c9d48aa1b2dae537bc6
2020-04-02 08:25:42 +02:00
jenkins-bot 443cb0fe55 Merge "Overwrite "edit source" link only when needed" 2020-04-01 21:51:56 +00:00
jenkins-bot 65b9f4ff46 Merge "Fix issues with treating section "numbers" as integers" 2020-04-01 20:57:12 +00:00
Bartosz Dziewoński 92c3055628 Fix issues with treating section "numbers" as integers
In MediaWiki, section numbers may be prefixed with 'T-' if they refer
to sections on a transcluded page, so they are not really numbers.

Change e2cb9ce93e caused us to treat them as strings most of the time,
but it looks like there are several places where we treated them as
integer numbers, which I missed when making that patch.

The first two changes in ArticleTarget#restoreEditSection fix T248795
and T248968/T249112, respectively. The other changes are cleanup.

Bug: T248795
Bug: T248968
Bug: T249112
Change-Id: I8373a7ab515595769ce6f3051a182c922415b643
2020-04-01 21:41:17 +02:00
Translation updater bot 5a70975163 Localisation updates from https://translatewiki.net.
Change-Id: Id6aa06da1a76941bf7c3b1bc3ce459538d394d5b
2020-04-01 08:25:50 +02:00
jenkins-bot 55a868812c Merge "Remove use of Revision::newFromId" 2020-03-30 12:38:10 +00:00
Translation updater bot ba2895ca5d Localisation updates from https://translatewiki.net.
Change-Id: I2b4bd2cda45d17f374dd8dd8f674196879073f03
2020-03-30 09:15:41 +02:00
DannyS712 de392e6133 Remove use of Revision::newFromId
Bug: T246284
Change-Id: Ia3de1caeac5edb2a8ee272fb9b80d36e1d778314
2020-03-30 04:45:24 +00:00
MtMNC fd0b145db3 Overwrite "edit source" link only when needed
Prevent JS from overwriting the contents of the "edit source" link
if the change is unnecessary as it can break third-party skins.

Bug: T248025
Change-Id: Ica1e45488813877583efadabc72526544e8943ac
2020-03-27 12:20:33 -07:00
Translation updater bot e4065c3781 Localisation updates from https://translatewiki.net.
Change-Id: Ia9353a1f402cb369b2409888a396a582ecfea497
2020-03-27 08:42:25 +01:00
Translation updater bot a718e9dcca Localisation updates from https://translatewiki.net.
Change-Id: I01f23e3092cada2cecca181f650d7fa19fe62bec
2020-03-26 08:33:28 +01:00
Translation updater bot 4b0f8c621d Localisation updates from https://translatewiki.net.
Change-Id: I17d6622f88ee3ced73f8dcddb32ea292ed81f99d
2020-03-25 08:34:03 +01:00
jenkins-bot 774c3ec1e4 Merge "Move MWutils to preinit and rename to parsoid utils" 2020-03-24 22:31:17 +00:00
Ed Sanders de47496b19 Move MWutils to preinit and rename to parsoid utils
Bring in ve.dm.MWInternalLinkAnnotation.static.getTargetDataFromHref
and ve.resolveUrl, so that the file has no dependencies on VE.

Change-Id: I03bc455d5484a6c51f3fa2397c64936b829fe7e3
2020-03-24 23:13:16 +01:00
Bartosz Dziewoński 494fc439fd Fix new section title when switching from NWE to OWE
This code path is triggered when saving a new section in NWE causes an
edit conflict, which should be impossible, but apparently does happen.

Add some TODOs for parameters being added to the API calls in weird
places, instead of the dedicated methods.

Bug: T248364
Change-Id: I0686671e86e35f9ba503d0dd84e9074dde72dc10
2020-03-24 21:57:03 +01:00
Translation updater bot 57a0d7d847 Localisation updates from https://translatewiki.net.
Change-Id: Iae5ac813cdf3e486e87d4ff5bb710e0252a10b90
2020-03-24 08:50:52 +01:00
libraryupgrader d0d6af8e5a build: Updating composer dependencies
* mediawiki/minus-x: 1.0.0 → 1.1.0
* mediawiki/mediawiki-phan-config: 0.9.1 → 0.9.2

Change-Id: Ie52ba7af4b21933036f906cffe18c9c89c728012
2020-03-23 21:08:47 +00:00
Bartosz Dziewoński dbad345881 Update VE core submodule to master (55426fb18)
New changes:
ef37e8ea8 build: Updating minimist to 1.2.5
e535a827e Localisation updates from https://translatewiki.net.
27175748f Move ve.resolveUrl method to 've.utils.parsing'

Change-Id: I8da3c52b197f1d58fc260d9371710d9f4cc43ba3
2020-03-23 19:27:23 +01:00
Bartosz Dziewoński 73dcfb7122 ApiVisualEditorEdit: Fix handling of 'minor' parameter
The client-side code sends the empty string as the value of this
parameter when the edit should be marked as minor, and doesn't set it
at all when it shouldn't (this is the normal convention for boolean
parameters). However, the API code here was incorrectly handling the
empty string, and not marking the edit as minor as a result.

This was revealed by 50883dd7fe. Prior
to that change the original 'minor' parameter was forwarded to the
action=edit call if it was provided, overriding the 'notminor'
parameter, which was effectively added unconditionally.

Bug: T248257
Change-Id: I37fd73851d94906d79943692fb9136da03ea95fa
2020-03-23 17:36:34 +01:00
Translation updater bot fa3363972d Localisation updates from https://translatewiki.net.
Change-Id: I0412c631608f401ecf5d38f3c2138f394089e536
2020-03-23 09:04:53 +01:00
libraryupgrader ad8e396f1c build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: Id41d07d66980cb34e6a8053a54a01364417b188c
2020-03-21 08:51:54 +00:00
jenkins-bot 8384559296 Merge "ApiVisualEditorEdit: Remove unused output values 'basetimestamp', 'starttimestamp'" 2020-03-20 19:37:47 +00:00
Translation updater bot 316161de03 Localisation updates from https://translatewiki.net.
Change-Id: I95b3ff58b3fb984175117754399beff16a02a9be
2020-03-20 08:25:21 +01:00
libraryupgrader e88f23f9ad build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Ic6036834e3af1ed97d8e36882922ffedf09b37ae
2020-03-19 20:59:47 +00:00
jenkins-bot 3a598e4543 Merge "Update VE core submodule to master (61d8fefba)" 2020-03-19 20:07:11 +00:00
jenkins-bot 6c29d69e33 Merge "MWTransclusionDialog: Set 'aria-expanded' on "Show/hide options" button" 2020-03-19 19:57:37 +00:00
James D. Forrester 993cd8949d Update VE core submodule to master (61d8fefba)
New changes:
2e0e2a303 build: Upgrade grunt from 1.0.4 to 1.1.0
301ab9ab1 Add accessibility labels to all `type: 'list'` toolbar groups

Bug: T245776
Change-Id: Ic4c309e755c03790a8d0303363a2ecdf096695f0
2020-03-19 12:53:50 -07:00
jenkins-bot 007604dd24 Merge "Update VE core submodule to master (cf72879d2)" 2020-03-19 19:51:19 +00:00
Akinwale Alagbe 2aeae1c3f9 MWTransclusionDialog: Set 'aria-expanded' on "Show/hide options" button
Adding the ability for screen reader to announce 
the state of the Transclusion dialog 
when the show/hide options button is clicked.

Bug: T248089
Change-Id: I89b86179bcb63376e480cb8df55e24b9d29df037
2020-03-19 19:43:14 +00:00
jenkins-bot fe15e3cc89 Merge "Add accessibility labels to all type: 'list' toolbar groups" 2020-03-19 19:35:52 +00:00