Commit graph

2038 commits

Author SHA1 Message Date
Translation updater bot 3a0bb5890f Localisation updates from https://translatewiki.net.
Change-Id: I8ce9c88bf5a57e1e4f5eed66f7393fa9286d7507
2018-12-09 22:39:28 +01:00
Translation updater bot 6785ea8550 Localisation updates from https://translatewiki.net.
Change-Id: I42a30fbb6ca9e2e49c6e7afc2665dd84c1142d2d
2018-12-05 22:30:35 +01:00
Ed Sanders c13f6b77ce Update stylelint-config-wikimedia to 0.5.0
Change-Id: I46d65752974a71cc07c9ce622b6cd8c7389f354d
2018-12-04 17:33:05 -05:00
Translation updater bot 555efd7ec0 Localisation updates from https://translatewiki.net.
Change-Id: Ida2fdb0611c834442a141bc801912a26454488cf
2018-12-03 22:35:44 +01:00
jenkins-bot a6e515460f Merge "Animations: Get rid of jquery animations" 2018-12-03 20:43:39 +00:00
Derk-Jan Hartman 45d34eaa1b Animations: Get rid of jquery animations
Similar to makecollapsible.. Played around with CSS transitions, but
due to the non-predictable and variant sizing of the section elements
isn't really worth the trouble in my opinion.

Also was an accessibility issue on the select (header) dropdown.

Bug: T210671
Bug: T175379
Change-Id: I6fa476645bae7f0e1b01c563c4395e2af003c2c5
2018-12-03 12:27:40 -08:00
Translation updater bot 1ac3822ba6 Localisation updates from https://translatewiki.net.
Change-Id: I5253f71e417a24dd7136e76b245be9586dcb3f74
2018-12-02 22:15:12 +01:00
jenkins-bot 6cc83d2f93 Merge "Search & Replace: Fix using replace as first action" 2018-11-30 23:35:24 +00:00
Translation updater bot 979765d170 Localisation updates from https://translatewiki.net.
Change-Id: I10458e7d00482c547d8b35988fa1837b5aa0ad93
2018-11-30 22:50:14 +01:00
James D. Forrester c47a4b770b eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: If83ed68336e0259c3d2325ba7072d497a8a06a5c
2018-11-28 11:24:51 -08:00
Ed Sanders d1675f275c Use mw.Title.wantSignaturesNamespace
This bumps the extension to requiring the 1.33.x releases of MediaWiki,
which are currently in alpha.

Change-Id: I55f77294d271c81f510ce54181a24435b840d3d2
Depends-On: Ib2faa22c429096d545ddb829a6b4025427ad6071
2018-11-27 09:46:52 -08:00
Ed Sanders c19397ffbc Update eslint-config-wikimedia to 0.9.0
Change-Id: Ie60321d33b786a9f56fbf0df26571be7c0a29de8
2018-11-27 17:36:31 +00:00
Translation updater bot 1eedd1a522 Localisation updates from https://translatewiki.net.
Change-Id: If5297e9254b23b3db4ea1cd85f1466ff49604dec
2018-11-25 22:34:23 +01:00
Translation updater bot 8f31f2185c Localisation updates from https://translatewiki.net.
Change-Id: I14b93a89a8c9bdc64d28870fb42e3640b44c55b5
2018-11-23 22:17:57 +01:00
Translation updater bot 76895dfadd Localisation updates from https://translatewiki.net.
Change-Id: I74c17c889adf83125b5bded5d5fe17f4f9c6becf
2018-11-22 22:22:29 +01:00
Translation updater bot 7177cc2eff Localisation updates from https://translatewiki.net.
Change-Id: Id8580bcccfafb446f4cd51d03b08af5ef21a746e
2018-11-21 22:29:34 +01:00
jenkins-bot 4d479d62f9 Merge "Search & Replace: Use actual global replace" 2018-11-19 22:54:43 +00:00
Derk-Jan Hartman 38c3f2ed98 Search & Replace: Fix using replace as first action
When you use replace, before having used find, matchIndex gets out of
sync with what replace is expecting and encapsulateSelection won't
have a selection and thus defaults to position 0.

Bug: T76750
Change-Id: I1dcc724e7548690a3cc63672f93a3099c028f123
2018-11-19 07:21:21 +00:00
Ed Sanders 65ce4f6e73 Make button padding clickable
Currently the hover state include the padding, but
only the icon part is clickable.

Change-Id: Ifde032313452dff2ab74197477b0eb3dd6b5dfe1
2018-11-18 15:01:09 +00:00
jenkins-bot 7ff3ffa829 Merge "Remove the dialog version of ref inserter" 2018-11-18 14:38:23 +00:00
jenkins-bot ec8742491f Merge "LinkDialog: Switch to jquery.throttle-debounce plugin" 2018-11-18 14:31:56 +00:00
jenkins-bot f5ed495ba8 Merge "JS for ie-mac is not supported, so no need for this CSS" 2018-11-18 14:31:55 +00:00
Translation updater bot 71b727a03a Localisation updates from https://translatewiki.net.
Change-Id: I9164f7518514856a0fbfe40d0ef6e990808427ba
2018-11-17 22:19:56 +01:00
Derk-Jan Hartman 8284c0480d Search & Replace: Use actual global replace
The old S&R implementation introduces problems with regexes (T58228 and
T50614) and is also rather slow. At some point in the past it was faster
to do multiple search/replace actions using textSelection perhaps, but
with current browsers doing a one shot replace will perform much faster.

If you have CodeMirror enabled, there will be a delay after replacing
all content on a major page, but no worse than the original page load
one, which I think is acceptable.

Bug: T58228
Bug: T50614
Bug: T25510
Change-Id: Ifab1d071d9f09ec55aa6556b5dca04378c4e5273
2018-11-17 21:11:01 +00:00
Derk-Jan Hartman dc86b00db3 JS for ie-mac is not supported, so no need for this CSS
Change-Id: I1aac178c5e162c6a19318d9980283ea562718db7
2018-11-17 13:09:30 +01:00
Derk-Jan Hartman 0089645a46 LinkDialog: Switch to jquery.throttle-debounce plugin
Change-Id: Iebca0398d6bc2939a0904c4cd23395d3207cfea5
2018-11-17 12:07:39 +00:00
jenkins-bot 619b5d34c9 Merge "remove old -khtml-box-sizing..." 2018-11-16 21:36:44 +00:00
Translation updater bot 7efe56d903 Localisation updates from https://translatewiki.net.
Change-Id: I89bb5fa3d0f0d751b6343fdfff5c630ff8d95214
2018-11-16 22:29:50 +01:00
Derk-Jan Hartman 709e2bbdfd Remove the dialog version of ref inserter
1: reftoolbar is used in more advanced situations
2: it doesn't actually do much
3: leaner

Keeping it in the same file, because that will preserve order. seems
safer.

Change-Id: I9bb2cf1e8731d12551a00b717b11602e6192d299
2018-11-16 21:49:31 +01:00
Derk-Jan Hartman cc3f42f6a1 remove old -khtml-box-sizing...
Change-Id: Idbd0b16431e2a9c34c28c68b775e7854b5dffbc5
2018-11-16 21:38:44 +01:00
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