Commit graph

2208 commits

Author SHA1 Message Date
jenkins-bot 261a7ba2fd Merge "Make jQuery.async loop synchronous" 2018-11-16 19:29:02 +00:00
libraryupgrader bd26ee1d93 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I91531d695dd6f6ee6fa376d4029d5292e0d79cbc
2018-11-16 14:43:05 +00:00
Ed Sanders f1c0cbc70f Make jQuery.async loop synchronous
Bug: T209699
Change-Id: I61b6bd2f428144d746ccfbaf6269d64926a9c4d7
2018-11-16 12:56:55 +00:00
jenkins-bot 40919abfaf Merge "Remove browser arrays" 2018-11-15 22:36:32 +00:00
Translation updater bot 9e71a9692e Localisation updates from https://translatewiki.net.
Change-Id: Ia8e30c7a9447b49699caa01af965b0f549cb0f28
2018-11-15 23:00:37 +01:00
Derk-Jan Hartman aaa454b618 Remove browser arrays
Follow-up to I189516917d805dff3819e742a9fd8ad96a161159

Change-Id: Ic2e5389cc565ef061f4f846ad628ee6ea1a8a9fb
2018-11-15 22:59:51 +01:00
Derk-Jan Hartman a686b7f580 LinkDialog: use placeholder instead of fake values
Use proper placeholder attribute instead of faking it with a value.
This predated even jquery.placeholder and is no longer needed.
Also fixes a bug where it was checking with the API for the existence
of the placeholder value.

Bug: T133716
Change-Id: I290ec48f6b1d250da28efffd7ebdb6b681c0227e
2018-11-15 07:06:20 +00:00
Derk-Jan Hartman daab3360c9 LinkDialog: fix size of background image
At the default line-height the background image tends to
get clipped. Set it to the same line-height as the adjacent label
and both the label and the icon are aligned and the icon won't be
cutoff

Bug: T193480
Change-Id: Id94ba02a305a5150ad5b266bb0e2bb01b8a637ac
2018-11-14 23:17:06 +01:00
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