Commit graph

2150 commits

Author SHA1 Message Date
jenkins-bot 07d219f2c5 Merge "Modules: Protect against loading modules twice" 2018-11-14 21:11:51 +00:00
jenkins-bot fa63708bd5 Merge "Toolbar: ignore modifications on readonly textarea" 2018-11-14 20:51:06 +00:00
Derk-Jan Hartman 0161e37e6e Modules: Protect against loading modules twice
Bug: T189029
Change-Id: Ie0dff9c1dfa8e3a0927f2915a9a237dff739289a
2018-11-14 20:24:15 +00:00
Derk-Jan Hartman 261c76d746 Toolbar: Add tiny hover effect to ooui icon buttons
Change-Id: If3f8eddb2ece0af34c5f42b264b53c7bf0ccb352
2018-11-14 19:52:32 +00:00
Derk-Jan Hartman c7e4545589 Toolbar: ignore modifications on readonly textarea
CodeMirror forces WikiEditor to load. While CodeMirror handles readonly
textareas, the WikiEditor toolbar doesn't. CodeMirror and
syntaxhighlighting is pretty useful in readonly actually,
so I'm making WikiEditor a tad more resistent against readonly mode.

Bug: T188817
Change-Id: I927a780e1aea86a19750387f530bad84b1ff5ef4
2018-11-14 19:02:58 +00:00
jenkins-bot db6c6f636b Merge "Remove obsolete aliases from closures" 2018-11-14 00:11:49 +00:00
Derk-Jan Hartman fd92d4b821 Toolbar: Allow groups to be multiline/wrap
Bug: T25943
Change-Id: I2db720449dfe9619de1f8e37fc99282191d932b1
2018-11-13 15:40:35 +01:00
Ed Sanders 4fa41179e8 Remove obsolete aliases from closures
Bug: T208951
Change-Id: I0b2993912de221e810414e46708c19be163922f6
2018-11-12 22:28:40 +00:00
Translation updater bot 1df03c03e0 Localisation updates from https://translatewiki.net.
Change-Id: I18b226d0d18405bbcb6ffd532ef552b5da5d1503
2018-11-12 22:13:02 +01:00
Translation updater bot eb86cca6b5 Localisation updates from https://translatewiki.net.
Change-Id: I48d455251e31ce6affeb647b10a87a2e8c34da5a
2018-11-11 22:34:01 +01:00
Translation updater bot 103f3955a0 Localisation updates from https://translatewiki.net.
Change-Id: I77b9df9c23d6a0c98b543b787e102b387c67e197
2018-11-10 22:28:35 +01:00
Translation updater bot eb71e7c026 Localisation updates from https://translatewiki.net.
Change-Id: I021981afc29ddb971e289fd170482b2465415fc0
2018-11-08 22:18:18 +01:00
Translation updater bot 2715bb64a7 Localisation updates from https://translatewiki.net.
Change-Id: I26e5719493381e4bc531e8f513d1f26b09c26c25
2018-11-07 22:22:38 +01:00
jenkins-bot e75c1a53b8 Merge "Re-label preference now that the 2006 wikitext editor doesn't exist" 2018-11-06 15:53:27 +00:00
Translation updater bot cdb4b00e7f Localisation updates from https://translatewiki.net.
Change-Id: I7ad3ff92722560dccc4fd71c34008f8fd3f502e7
2018-11-04 22:42:55 +01:00
jenkins-bot 225b8d7a5b Merge "Update EventLogging code for Edit->EditAttemptStep schema migration" 2018-10-29 19:25:42 +00:00
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