Commit graph

2572 commits

Author SHA1 Message Date
David Lynch 36a58b5599 Logging init mechanism for new section direct navigation
Support the `url-new` mechanism so we can distinguish between
new/existing sections in direct navigation.

Bug: T272544
Change-Id: I2c431592035c7ccedbbe612bc97f63141fc4dab7
Depends-On: I3cee7a3a4c4b646692dce4a1180c4ba18a61f4bc
2021-01-29 20:56:14 -06:00
David Lynch e052e46f94 Log the DiscussionTools a/b test bucket for relevant schemas
If someone is enrolled the DT a/b test, we want to know about their
editing here as well.

Bug: T273096
Change-Id: If2bb04011c8ca54e8c7ffd073e21bec45e92460c
2021-01-29 20:56:14 -06:00
jenkins-bot 50e3e34098 Merge "Use only the first item of various magic words" 2021-01-29 15:33:18 +00:00
Translation updater bot e199e6f0aa Localisation updates from https://translatewiki.net.
Change-Id: I9dcf0a12c5d9a6a3101755df749ba8bb9f4d3c7b
2021-01-29 08:39:08 +01:00
Reedy 4dcd3baab0 Use only the first item of various magic words
Bug: T273231
Change-Id: I1f88eb3e043cb95f939a7e38ddaa3e39a49523fa
Follows-Up: Ib03932d3d85a5540bea325f2717da3365756a90e
2021-01-29 02:57:01 +00:00
Translation updater bot b16eb935b2 Localisation updates from https://translatewiki.net.
Change-Id: I49661cebcc751ada927c4937b7fdc4c11fdca6d6
2021-01-28 08:37:36 +01:00
jenkins-bot 3aa618b801 Merge "Export crude public interface for WikiEditor" 2021-01-27 10:27:05 +00:00
Translation updater bot 688650820d Localisation updates from https://translatewiki.net.
Change-Id: I16b95bdcbe960918ef1ec92fe8d4b1a38215daab
2021-01-27 08:35:54 +01:00
libraryupgrader 2081766cb4 build: Updating eslint-config-wikimedia to 0.18.0
Additional changes:
* Added the "composer phan" command to conveniently run phan.
* Removing manual extensions for eslint.

Change-Id: I664a503f515018d3f4c0d37b03a03eb0711c0a3b
2021-01-27 01:50:16 +00:00
Translation updater bot f258c59d5e Localisation updates from https://translatewiki.net.
Change-Id: I0cb4848dde7297f553515ce3df0994c967854a89
2021-01-26 08:54:20 +01:00
Translation updater bot 2aca3fbac9 Localisation updates from https://translatewiki.net.
Change-Id: I5ad70a3b23a2e072f4dda33b37eabff7a9f7938d
2021-01-25 08:55:15 +01:00
jenkins-bot 4533cf2e79 Merge "Don't lowercase image caption/alt when prefilling image fields" 2021-01-23 02:14:37 +00:00
jenkins-bot 3a0ddc5fdc Merge "Parse alternative magic word translations when prefilling image fields" 2021-01-23 02:14:33 +00:00
jenkins-bot 9130745e3d Merge "Allow specifying alt-text in File dialog" 2021-01-23 02:14:31 +00:00
Bartosz Dziewoński d77a69f236 Don't lowercase image caption/alt when prefilling image fields
Judging by the presence of this bug, no one ever uses this feature.

Change-Id: I46a986dd83cf98a8b9f5dcb5bd4c3acb04a6cf5b
2021-01-22 21:23:44 +00:00
Bartosz Dziewoński dc93bf1b37 Parse alternative magic word translations when prefilling image fields
In some languages, image options like 'alt' or 'thumb' can have
multiple synonyms. They were only handled for English (and were
hard-coded).

Change-Id: Ib03932d3d85a5540bea325f2717da3365756a90e
2021-01-22 22:15:16 +01:00
Ammar Abdulhamid ab287ade14 Allow specifying alt-text in File dialog
* Also add expandable help message to explain the alt text field

Bug: T260006
Change-Id: If16ff742d7a8dee4917884e73e9c95bf76350773
2021-01-22 21:37:17 +01:00
Translation updater bot ffe3057902 Localisation updates from https://translatewiki.net.
Change-Id: I400c6a94ce9b35d1f90d88d4092cfea627e3538a
2021-01-22 08:31:45 +01:00
Niklas Laxström c10d08d87b Export crude public interface for WikiEditor
Bug: T250862
Change-Id: Iac8778f0d0a0150acc99569d84422bc9817dfcc7
2021-01-21 12:22:52 +00:00
Bartosz Dziewoński 334618d0b2 Update save failure logging for EditAttemptStep schema
* Use the error code from the API for 'save_failure_message', instead
  of the key of the localisation message shown to the user.

  Although this editor is not using the API, and doesn't use those
  error codes, we still want to use them in logging for consistency
  with all the other editing tools.

  We can easily generate the error codes from the Status we do have.

* Copy 'save_failure_type' map from VisualEditor.

Bug: T272162
Change-Id: Ia9eeea14e3d4a6a691f84628a27ffc0c3bf061c1
2021-01-15 20:17:25 +01:00
Translation updater bot d3af9e4079 Localisation updates from https://translatewiki.net.
Change-Id: I68352b6b47da1100d79fa64503264553942bd55f
2021-01-14 08:51:51 +01:00
Translation updater bot 00ea1d2906 Localisation updates from https://translatewiki.net.
Change-Id: I74964b2c9421c2f06dc987fd347bf3fb59f0ba6b
2021-01-11 08:35:47 +01:00
Translation updater bot 9ce48a86ca Localisation updates from https://translatewiki.net.
Change-Id: Ic1052893beff92a382271d29f781693d3c0f44a4
2021-01-08 08:56:44 +01:00
jenkins-bot 2b5e9073f1 Merge "Edit page normally lacks wgRevisionId, but has form field parentRevId" 2021-01-04 20:34:55 +00:00
Translation updater bot 287b58198e Localisation updates from https://translatewiki.net.
Change-Id: I0cd2434c96d41e969d87c7e22561318549a00574
2021-01-04 08:45:16 +01:00
Translation updater bot e664d97d5f Localisation updates from https://translatewiki.net.
Change-Id: Iaf80e5f3fc3e96a8fec15e2049e62c478a09f07e
2020-12-30 10:15:35 +01:00
Translation updater bot 33cf8b3f1d Localisation updates from https://translatewiki.net.
Change-Id: I53fd9a1ddfd327835c8867e10842d90ab26205d3
2020-12-28 10:40:31 +01:00
Translation updater bot 7d229e32a2 Localisation updates from https://translatewiki.net.
Change-Id: Ib89b865da0ec72c53b5b24de38d16e454d93c327
2020-12-22 08:33:15 +01:00
David Lynch fa2b80e22a Edit page normally lacks wgRevisionId, but has form field parentRevId
Bug: T230133
Change-Id: I5e3defe22aee58e36d662ef051ebfb3ff1b64dde
2020-12-21 12:27:46 -06:00
Translation updater bot 7946f494ec Localisation updates from https://translatewiki.net.
Change-Id: I9a63e099013b4db639b2580f07bfd5554e68f30d
2020-12-21 08:40:37 +01:00
libraryupgrader 8357aec78c build: Updating mediawiki/mediawiki-phan-config to 0.10.6
Change-Id: I4f139b027845a4a7993c8cec36062d825ee51ebd
2020-12-19 04:48:06 +00:00
Translation updater bot 5698e99e55 Localisation updates from https://translatewiki.net.
Change-Id: I38b6a30c0088c94c6175c422e38fb9e6a9101238
2020-12-16 08:31:01 +01:00
Translation updater bot 45c965e0cf Localisation updates from https://translatewiki.net.
Change-Id: Ieae096ff7e5623781fcd5869e3971a630e64f593
2020-12-15 08:37:32 +01:00
Translation updater bot 760b33034b Localisation updates from https://translatewiki.net.
Change-Id: I0d4704e33b71815b8537ed1bc4e5e3d54d23c5f8
2020-12-14 08:43:57 +01:00
libraryupgrader dc52e4ee3c build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Ie2a71e910f310a3d418ccca5473bb0160978a0f0
2020-12-12 03:27:47 +00:00
libraryupgrader 65e3611d9f build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: Ia4e1d5b0beb7aaabc13f88b941eefcc5904597f9
2020-12-09 09:27:22 +00:00
Translation updater bot f1e52a40e9 Localisation updates from https://translatewiki.net.
Change-Id: I43e84d6e1420109ba50b7b074bc4f60c55fbb427
2020-12-09 08:42:51 +01:00
libraryupgrader 14da0dce20 build: Updating mediawiki/mediawiki-codesniffer to 34.0.0
Change-Id: I5582f03cf5820a5849dcbd801f723a539172ca65
2020-12-07 08:35:41 +00:00
Translation updater bot 02dd678c12 Localisation updates from https://translatewiki.net.
Change-Id: I7eec19077a76015dffad73b5eaff80304af5c830
2020-12-07 08:48:27 +01:00
Translation updater bot 7c87672df5 Localisation updates from https://translatewiki.net.
Change-Id: Iea9710b8c6a22ee225de6c7deb1cb0aba7520a7d
2020-12-04 08:34:23 +01:00
Translation updater bot 8397319b8f Localisation updates from https://translatewiki.net.
Change-Id: I07868eea3c3c52a60ea8f87e322f705e9380318c
2020-12-02 08:33:24 +01:00
Translation updater bot f0239c0ec4 Localisation updates from https://translatewiki.net.
Change-Id: Ib37508db68cde5bb3d5e0645f49ce40323316050
2020-11-23 08:40:22 +01:00
libraryupgrader 7b8f19eb99 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I0590e5e22e7f02a4df4f3ac0e65b2784508fbce5
2020-11-22 13:15:19 +00:00
libraryupgrader d249a74a16 build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I28292483d195a34ff8503f7c4cc671476f328a2b
2020-11-20 22:19:08 +00:00
Translation updater bot e58dfb212a Localisation updates from https://translatewiki.net.
Change-Id: I27e6d39d33d944c5c593e885fb06a5143881bd0b
2020-11-18 08:57:23 +01:00
Translation updater bot 080c75d0c2 Localisation updates from https://translatewiki.net.
Change-Id: Ie33576e8bf3d5746baaf6dd7b3a94dc27e1837e9
2020-11-17 08:43:38 +01:00
Translation updater bot e26a8cadfa Localisation updates from https://translatewiki.net.
Change-Id: I61145a4e641776431c9d7ca7f1b8b0921df10d2f
2020-11-12 08:22:52 +01:00
Translation updater bot 131e6a73fe Localisation updates from https://translatewiki.net.
Change-Id: Ic193c0f78c36d6c475d73b039f818db304972ac9
2020-11-06 08:34:59 +01:00
libraryupgrader 9c9bd59b0c build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.WrongStyle

Additional changes:
* Removed global `OO`, included via `wikimedia/mediawiki` profile (T262222).
* Dropped the emtpy global definition in .eslintrc.json.

Change-Id: Ie57d4c78cbd19b1cdbc57a1f161d3ac0ed4d8c5c
2020-11-04 21:37:10 +00:00
Translation updater bot 3206a13f5f Localisation updates from https://translatewiki.net.
Change-Id: I50a0d86574ba7e1857a35e4158730aa3db80d0aa
2020-11-02 08:54:21 +01:00