Commit graph

2913 commits

Author SHA1 Message Date
David Lynch cb1c5d49aa Log whether Javascript was supported on saveSuccess
Adds a hidden field to the edit page form, with JS that will set its
value. Server-side then checks for that value and logs whether it was
correctly set.

Bug: T263505
Change-Id: I8be06385aa6d97e5536cfc252d34297e1c000a32
2021-04-30 17:45:40 -05:00
Translation updater bot c2d73ba007 Localisation updates from https://translatewiki.net.
Change-Id: I3d476ee697e299af1c71ae52fb799748046404fc
2021-04-29 08:55:03 +02:00
Umherirrender 54af531265 Remove suggest param from opensearch api request
Deprecated in 1.35 (Iec572012de171d02871b8dc3207d2b34d17bf9ef)

Change-Id: Ic9cca2ff6f7372a64a216c65c408454dc2dc7cbb
2021-04-28 19:49:50 +02:00
Translation updater bot 813f031a27 Localisation updates from https://translatewiki.net.
Change-Id: Ib6649874bc024fac9efdcd9ee1a2e6fbe95a1654
2021-04-28 16:43:24 +02:00
Translation updater bot adf5fbd735 Localisation updates from https://translatewiki.net.
Change-Id: Iaf1976a4e84e0fe123bda08cd1ab0118ad1df9f0
2021-04-28 08:49:56 +02:00
Umherirrender 3f95a63650 Swap new mw.Title to mw.Title.newFromText to handle invalid input
Avoid failure on invalid user input (like invalid tiles with <>)

Bug: T279298
Change-Id: Iaeb6ca3ab232bbb206f05acfa5c0a14e16945ffc
2021-04-28 01:21:58 +02:00
Translation updater bot 1d3db60a05 Localisation updates from https://translatewiki.net.
Change-Id: I9b1e9721795aec91be26572bcf253bf3ad5096f0
2021-04-27 08:39:14 +02:00
Translation updater bot 3b39310de1 Localisation updates from https://translatewiki.net.
Change-Id: I9d4bdc5e4c6fb86a105fe63e44f56ed73be72245
2021-04-26 09:11:10 +02:00
Translation updater bot 847bbe9c1f Localisation updates from https://translatewiki.net.
Change-Id: I7f132fa58d75a275bf8ea2b4cb356d86ca5b62e2
2021-04-23 08:37:41 +02:00
Translation updater bot ea2f5da484 Localisation updates from https://translatewiki.net.
Change-Id: I80c4c15234d878d01d34d1b4889c2a508e842eb0
2021-04-19 08:52:07 +02:00
libraryupgrader 1505faa100 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Id5007330e0510ebe9ad046cac22fb8981c77c2af
2021-04-15 03:38:35 +00:00
Translation updater bot a41070df0a Localisation updates from https://translatewiki.net.
Change-Id: Iced25d959c773d7b5c6a5bdb09f9f31898268402
2021-04-09 08:59:39 +02:00
DannyS712 f2f0c579ab Delete empty translation files
Change-Id: Ia1b5373cd2c0842f30bd7beee6b7d6e37dcfa14f
2021-04-07 15:37:43 +00:00
Translation updater bot 66a0f72600 Localisation updates from https://translatewiki.net.
Change-Id: I271b790b8994b2413c326cfff6e6f5014f6d7272
2021-04-06 12:03:42 +02:00
Translation updater bot fd2900cd5d Localisation updates from https://translatewiki.net.
Change-Id: I0074613aa41e9426998a156513ea1961bedf3071
2021-04-02 09:49:37 +02:00
Translation updater bot 3231deb836 Localisation updates from https://translatewiki.net.
Change-Id: Ia67094bcd5d382f18ff49a44d43afeddc9633621
2021-04-01 08:38:23 +02:00
Translation updater bot f3b487aee1 Localisation updates from https://translatewiki.net.
Change-Id: I6de08f0ed3ef5b5d0d85aa675b8584d501bfefba
2021-03-29 08:37:32 +02:00
Translation updater bot b430dc379d Localisation updates from https://translatewiki.net.
Change-Id: Iee9e0d504afd494dff03766171ffa93dfd653000
2021-03-25 08:41:56 +01:00
Translation updater bot a22b84c1ff Localisation updates from https://translatewiki.net.
Change-Id: Idef7159ffe7c38c05cd7cf319ed3d27a3d8e04aa
2021-03-23 08:25:52 +01:00
Translation updater bot a053f16c26 Localisation updates from https://translatewiki.net.
Change-Id: Idfd7150529821c3937b9450a12fbaf0ff6da6d17
2021-03-19 08:26:50 +01:00
Translation updater bot 674e30c553 Localisation updates from https://translatewiki.net.
Change-Id: Ie96b38909ee93bd3693a5a2ba06906107ac0cb4d
2021-03-15 08:41:52 +01:00
libraryupgrader 90481ffb7d build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I590aa8bcab59a573d3d511a33420bc59cd8d8632
2021-03-14 23:14:06 +00:00
libraryupgrader 21028fc6ff build: Updating eslint-config-wikimedia to 0.18.2
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: Ice271e32dc3c36e9f012434b585952eda55dd036
2021-03-08 09:54:09 +00:00
Translation updater bot efafd4ca0c Localisation updates from https://translatewiki.net.
Change-Id: Ic70dd415ae6317cccf9a5e8c54bdbf56ec8344a8
2021-03-04 08:39:47 +01:00
Translation updater bot a3ac7d32d4 Localisation updates from https://translatewiki.net.
Change-Id: I22be7921c5a65bbab75eae9624754ccf8ae1bf81
2021-03-02 08:51:05 +01:00
Translation updater bot d7ad7dbec0 Localisation updates from https://translatewiki.net.
Change-Id: I0a5cc18d2f9cea7df5589a1ab6833ab928dd85f1
2021-03-01 08:54:12 +01:00
Translation updater bot 12bf7a7e47 Localisation updates from https://translatewiki.net.
Change-Id: I915cef190ded66c62636c069a40a3cc55b5e22f6
2021-02-26 08:58:15 +01:00
jdlrobson 9ac850b28a Dialog data attribute action is a DOMElement
After looking more closely at the code, I noticed that
dialogaction is set to e.target or this which is a
DOMElement, not a jQuery Object, thus it doesn't have
the trigger method which explains the error.

Follow up to 760f023f2

Bug: T261529
Change-Id: Ie5f58e33ad385f2abae19264bb2c3cd34a721788
2021-02-25 08:12:16 -08:00
Translation updater bot d0453472bb Localisation updates from https://translatewiki.net.
Change-Id: I720e23bde93d5f3224123fd10741b39ce7c5c3b7
2021-02-25 08:39:44 +01:00
Translation updater bot e1d40e5a34 Localisation updates from https://translatewiki.net.
Change-Id: Ia9031006ebbf952a5e0a8aaba0f4ffc974ae8133
2021-02-18 08:44:18 +01:00
Translation updater bot 954a204087 Localisation updates from https://translatewiki.net.
Change-Id: I387dac96d6c8b76ed0d2c6b5e7d1c929251bb03e
2021-02-15 10:07:02 +01:00
Translation updater bot ee7cd6bca8 Localisation updates from https://translatewiki.net.
Change-Id: Ie92f7c772997d5f743e11daae56a78e6f97afea4
2021-02-12 08:52:52 +01:00
Translation updater bot 558a84b8a1 Localisation updates from https://translatewiki.net.
Change-Id: Ied1b905c1ca0f60f68b3636b7557713fd85767c0
2021-02-11 08:40:52 +01:00
jdlrobson 760f023f21 TypeError: $button.trigger is not a function
This error is generating a large amount of logspam.
Add a check to avoid it, and DRY up.

The issue is caused by line 1182 setting dialogaction to false when
a dialog is closed. Presumably references to this data attribute
remain.

Bug: T261529
Change-Id: Ie75f737980dfcbcc4829def1e5a6894262d73b31
2021-02-10 21:36:27 +00:00
Translation updater bot 80b3582116 Localisation updates from https://translatewiki.net.
Change-Id: I81f1504fc8f99470867cb6a835ec8070e8d6f3c8
2021-02-08 08:46:39 +01:00
Translation updater bot d23f8ce603 Localisation updates from https://translatewiki.net.
Change-Id: I6c5d97b274ebdce417ce65ad6d34cef8e7ed7359
2021-02-03 08:40:10 +01:00
jenkins-bot 5791ee3d51 Merge "Update save failure logging for EditAttemptStep schema" 2021-02-01 18:17:59 +00:00
jenkins-bot 06f1004702 Merge "Logging init mechanism for new section direct navigation" 2021-02-01 17:08:50 +00:00
jenkins-bot ef5c29c5f1 Merge "Log the DiscussionTools a/b test bucket for relevant schemas" 2021-02-01 17:08:45 +00:00
Translation updater bot 6bc12c80d1 Localisation updates from https://translatewiki.net.
Change-Id: Ie45da71158ae8c7e68b9aa65862dcf759270b3d2
2021-02-01 08:49:15 +01:00
libraryupgrader 042acbf799 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.18.0 → 0.18.1

Change-Id: If9f846e23998cac9cc2ea5d5a32b03b2b2372bf8
2021-01-30 19:47:49 +00:00
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