Commit graph

3034 commits

Author SHA1 Message Date
Roan Kattouw d700202f85 Update EventLogging code for Edit->EditAttemptStep schema migration
The schema itself is being renamed, and many of the field names are
different.

Bug: T207803
Depends-On: I2949c9782669b75cf17978698c8cef21fdee6dea
Change-Id: I07d9bc1530005914043911b7906c1602522c9162
2018-10-29 11:38:07 -07:00
Translation updater bot b0c239d66e Localisation updates from https://translatewiki.net.
Change-Id: If391146d2ab68a1e4dec177406332c1309e86f2c
2018-10-28 22:22:08 +01:00
Translation updater bot 5d429ebb96 Localisation updates from https://translatewiki.net.
Change-Id: Ia0dd943537ffe7062a64084847b838791fd87026
2018-10-26 22:24:18 +02:00
James D. Forrester 169d38fa75 Re-label preference now that the 2006 wikitext editor doesn't exist
Add the secondary label in a 'help' note to make it easier to identify
the different editors.

Bug: T32795
Change-Id: I6d17359166f58811ba99893ce4a4500a87deb827
2018-10-25 14:33:31 -07:00
jenkins-bot ddcc8b2430 Merge "Oversample Schema:Edit events when configured to do so" 2018-10-24 21:38:49 +00:00
jenkins-bot c31bffdb17 Merge "Use Schema:Edit sampling rate config from WikimediaEvents" 2018-10-24 21:37:24 +00:00
Roan Kattouw 55b89c1ede Oversample Schema:Edit events when configured to do so
Respect the config var exported by WikimediaEvents that, if set to true,
forces oversampling. When oversampling, all events are logged even if
they would have been sampled out. The isOversample property is set to
true if the event was oversampled and would not otherwise have been
logged.

Bug: T206543
Depends-On: I5fdf5fdd2dc0d99a0a0d7eb7ab2e3dce4798009b
Change-Id: I7e504884a888c4d080cd4762549b72489126ed65
2018-10-18 10:58:45 -07:00
Translation updater bot e6843e3240 Localisation updates from https://translatewiki.net.
Change-Id: Ia464840cae48dea76813ad69646c400a124e43eb
2018-10-17 23:44:38 +02:00
Roan Kattouw e54a4420ca Use Schema:Edit sampling rate config from WikimediaEvents
Instead of hard-coding the 6.25% sampling rate, allow it to be
controlled by the config variable in the WikimediaEvents extension
(which also defines the RL module for the Edit schema).

Also use sampling code from EventLogging so we can configure the
sampling rate as a number, rather than using a hex-digit based strategy.

Bug: T206543
Depends-On: I00383cec62f6c2a0137b329565b0ca84bfbb223f
Depends-On: Ib746fc708e7b752cebc5fd8d080e40819dfa34f3
Change-Id: I2956efc9294768742dd49dcb36770f0509e4090f
2018-10-17 14:30:03 -07:00
Translation updater bot 6d1cd8bab1 Localisation updates from https://translatewiki.net.
Change-Id: I02cd04958cf7ba12a62ba4d2f04bf2e46c3ab9fc
2018-10-16 22:17:37 +02:00
Gergő Tisza 1fc00749fb
Fix escaping
Follows up I2df3ec8c0.

Change-Id: Ic8f44dec0f24e2443055ef46cd0b4140c200a22b
2018-10-12 20:29:29 -07:00
James D. Forrester e75284e528
Fork autoMsg() with escaped autoSafeMsg(), replace where appropriate
The only use of raw HTML messages is in the help panel, which is the only user
of `layout: 'table'`, so we can replace all other callers.

Bug: T154891
Change-Id: I2df3ec8c05d4daaa094378354566356a822c081f
2018-10-12 01:27:52 -07:00
jenkins-bot 3990500440 Merge "Mark some messages as raw HTML" 2018-10-11 22:43:25 +00:00
Translation updater bot 047155f386 Localisation updates from https://translatewiki.net.
Change-Id: Id4e751ca0b8dcfebf92984ac9e18421ea54a160d
2018-10-03 18:54:00 +02:00
Translation updater bot 701ee573ea Localisation updates from https://translatewiki.net.
Change-Id: Ic1c9a47e1757ee700399781a6494daba6e41c2b0
2018-09-23 10:27:39 +02:00
Translation updater bot 08f2efba6c Localisation updates from https://translatewiki.net.
Change-Id: I8c567d464a3430de9517fde23255557bf032fb44
2018-09-22 10:04:17 +02:00
Translation updater bot d87d6146aa Localisation updates from https://translatewiki.net.
Change-Id: I86193f8be9504d0d32cace36e79e025ee3684ac1
2018-09-15 09:55:02 +02:00
James D. Forrester c59430d243 Follow-up 874f9bfb8d: Bump server-side Edit schema version here
We updated it in WikimediaEvents but not here. Whoops.

Bug: T203621
Change-Id: Ie84411bccd5322d6f228e8c905741368485b97d3
2018-09-14 17:22:14 -07:00
Ed Sanders 5a5d351aaf build: Update linters
Change-Id: Ib52195a49c7333ab0cc8a703f987126cfc4e603e
2018-09-14 13:19:52 +01:00
Translation updater bot 76ae67c79e Localisation updates from https://translatewiki.net.
Change-Id: I715eeaa475659f0c4acc9c4f3c0c60ed984568cf
2018-09-09 10:37:08 +02:00
Translation updater bot 10abbb2ef1 Localisation updates from https://translatewiki.net.
Change-Id: I9760e6a4a5c7706a95956b21052cee59d18a2e96
2018-09-08 10:40:29 +02:00
libraryupgrader ba010f9aec build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I1382d2073b0bb3bba0f0f19ee3b6c44a0b0dce6f
2018-09-08 06:58:34 +00:00
Translation updater bot 5de7da85a2 Localisation updates from https://translatewiki.net.
Change-Id: I90721c41ab7ea700b6f17b5ba947db58fdd7536d
2018-09-07 09:03:16 +02:00
Translation updater bot 0f31175015 Localisation updates from https://translatewiki.net.
Change-Id: I20d67ef538d5d5c37348f8ce3fb6d031ccf09ca9
2018-09-06 09:02:31 +02:00
James D. Forrester 57499f670e Mark some messages as raw HTML
Bug: T200997
Change-Id: Ifb56bf9cd1952da6eede4e52f19a029f0bc09feb
2018-09-05 14:48:24 -07:00
libraryupgrader d1b51dec56 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I89f46b43a913243894c0741af6a7ba5a6feb9a30
2018-09-03 23:27:53 +00:00
Translation updater bot 3ddc0aa8e0 Localisation updates from https://translatewiki.net.
Change-Id: Ied66a25fb0527642e466b72fb5deb7db740f496a
2018-09-03 22:15:46 +02:00
Translation updater bot c6345dd67c Localisation updates from https://translatewiki.net.
Change-Id: Iefab8fc25820d44535b3f40efdda74921ab320f9
2018-09-01 22:33:48 +02:00
libraryupgrader 32d061f410 build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I2d007b31b21759b7841ef67b9bf7e440c6a79d74
2018-09-01 15:32:30 +00:00
Translation updater bot 854ac952c8 Localisation updates from https://translatewiki.net.
Change-Id: I8a562ac0563d9700a15527ebc15f5631f716c24b
2018-08-30 23:38:17 +02:00
jenkins-bot 2ef6cfdfbf Merge "Fix "the the" typo" 2018-08-27 23:22:28 +00:00
Translation updater bot f2258e7130 Localisation updates from https://translatewiki.net.
Change-Id: Iec97e5dc6ba2afd11f9ac23c2ca79dce7a509ed1
2018-08-27 22:18:01 +02:00
Zoranzoki21 7ccbaa3539 Fix "the the" typo
Bug: T201491
Change-Id: I93f905e2f83c6f93aa75a3c826897c165873f6f5
2018-08-27 20:13:56 +00:00
Translation updater bot 268e8b3ffe Localisation updates from https://translatewiki.net.
Change-Id: I6fff7f23690f197937c567f5c5357f39bac62509
2018-08-26 22:33:06 +02:00
James D. Forrester a24d4748a5 Fix missing 'find' icon, now called 'articleSearch'
Change-Id: I364ac11825564619898c699e66de7d36963cab49
2018-08-24 09:41:17 -07:00
Volker E 17b772e314 Use 'reference' instead of 'book' icon
'reference' is the standard icon for reference.

Bug: T202463
Change-Id: I3e0ed63c449de623a139b3ee3c6866ba3faa7712
2018-08-21 15:53:22 -07:00
libraryupgrader 86f2c43e0b build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: I46330a8fb626ee0c00f5a95b45c8c2522f907397
2018-08-19 17:48:56 +00:00
Derk-Jan Hartman 38a70500a0 Use ExtensionRegistry instead of class_exists
Bug: T183096
Change-Id: I2b02e89f20ecab9dda44ea9a78067a96fc04392c
2018-08-19 17:17:03 +02:00
jenkins-bot 8d9a584f69 Merge "Bump MediaWiki dependency to 1.32+, given we're adjusting based on OOUI changes" 2018-08-17 20:19:42 +00:00
jenkins-bot f31e9527b2 Merge "Toolbar: Add a new 'toggle' tool type; declare as v0.5.2" 2018-08-17 19:08:42 +00:00
James D. Forrester b9156c31c8 Bump MediaWiki dependency to 1.32+, given we're adjusting based on OOUI changes
Most recently in 5dd46f9, but I imagine more have slipped in without us
explicitly noticing.

Change-Id: I88d9fe99aa1aa5e49080bfb54a87cc68e6ce2adf
2018-08-17 11:20:50 -07:00
Derk-Jan Hartman bfbc794c5b Toolbar: Add a new 'toggle' tool type; declare as v0.5.2
A new toggle tooltype which makes use of ToggleButtonWidget in order
to provide proper accessibility for all buttons that require on/off
state

Bug: T198781
Change-Id: I8b7fd41571a48fa4f6560790d94bb966972e740f
2018-08-17 11:19:32 -07:00
jenkins-bot 49cc76c09e Merge "Update usage of 'book' OOUI icon to use from 'editing-citation' pack" 2018-08-15 21:36:50 +00:00
Translation updater bot bf6050bbc8 Localisation updates from https://translatewiki.net.
Change-Id: I69249f023585334f0ea266c266809c4091f9e7bf
2018-08-14 22:35:43 +02:00
James D. Forrester 3af0239cb5 Update usage of 'book' OOUI icon to use from 'editing-citation' pack
This moved in OOUI 0.27.0, which was merged into MediaWiki 1.32.0+ in
fc88eea; the old alias is about to be removed from OOUI, so this will
stop it breaking.

Bug: T194104
Depends-On: I2acf232fd172d176b305d65d88db5b7bbfe34b88
Depends-On: I8a0426fc288a499e40f02f1da7a9f1b09e6dbd5f
Change-Id: I1a1409de15559bd614f7d351cdc1df0753b9df5d
2018-08-14 20:26:35 +00:00
Translation updater bot 3e372931f9 Localisation updates from https://translatewiki.net.
Change-Id: I7d46e611fc36edcefd407bf53a5c2161e02eed88
2018-08-12 22:18:09 +02:00
Translation updater bot ecb90c4fec Localisation updates from https://translatewiki.net.
Change-Id: I51cded00251034b5d2b2d1a5b580f9a3a0a5e832
2018-08-11 22:18:38 +02:00
Translation updater bot 9ca4d08256 Localisation updates from https://translatewiki.net.
Change-Id: I9c80a3fe9b527384e4d9e6929d9c9f125b65cead
2018-08-10 22:19:16 +02:00
Translation updater bot 97183d94ef Localisation updates from https://translatewiki.net.
Change-Id: I5997a1f71a1fcfcac74411baf448cc81acea2ab3
2018-08-08 22:14:26 +02:00
Translation updater bot 55fbac0582 Localisation updates from https://translatewiki.net.
Change-Id: I529c7b6543abb811c7e7633fbe55ec4d3dd880c4
2018-08-07 22:32:21 +02:00