Commit graph

16529 commits

Author SHA1 Message Date
jenkins-bot 6a1b16f20c Merge "Replace deprecated 'advanced' by renamed to 'settings' icon" 2018-09-12 17:26:09 +00:00
David Lynch d30e6925bf ui.MWParameterPage: multiline inputs for line if newlines already present
TemplateData doesn't always match up with the way the template is being used.
If a field has the `line` type, but is provided with newlines, we should avoid
mangling it by forcing it into a single-line field. As-is, any edit to the
template, even if the user only thinks they touched unrelated parameters,
would cause this.

Bug: T190191
Change-Id: I4f2a0b6c46532dcc268288cb209d0260b18f3ad7
2018-09-12 12:01:03 -05:00
jenkins-bot df253967e1 Merge "DesktopArticleTarget.init: Pass platform to ve.track directly" 2018-09-12 14:20:43 +00:00
Translation updater bot 7fd850ed24 Localisation updates from https://translatewiki.net.
Change-Id: Id09f999f74a52ee57fddb9b1837b8330107075c6
2018-09-12 09:19:26 +02:00
James D. Forrester f2d54d8545 Update VE core submodule to master (465ea4618)
New changes:
9c56a047b build: Bump devDependencies to latest
ee874fc26 Remove unnecessary env:qunit
465ea4618 Update OOUI to v0.28.2

Change-Id: Ie46bac2bc7a2b4cb11c8e96645036ff500b7d6f3
2018-09-11 16:37:18 -07:00
Translation updater bot 329cf08ce9 Localisation updates from https://translatewiki.net.
Change-Id: I84c2663f9982998e03473267d7a759c0e95ae6d6
2018-09-11 10:24:45 +02:00
jenkins-bot 6268bc96e9 Merge "build: Bump eslint-config-wikimedia from 0.7.2 to 0.8.1" 2018-09-10 20:25:00 +00:00
James D. Forrester b2b352836d build: Bump eslint-config-wikimedia from 0.7.2 to 0.8.1
Change-Id: Ide036b52b394e1b3b6f5493406a3633bd89e2cc5
2018-09-10 08:49:10 -07:00
Bartosz Dziewoński 6ba42c6f12 Update VE core submodule to master (7926154e3)
New changes:
8fd23db41 Fix MediaSizeWidget#setDisabled: Call parent method
545f03b12 Don't trust client-supplied docName
e718ee115 Localisation updates from https://translatewiki.net.
a2aeb1c36 Update jQuery 3.2.1 -> 3.3.1
8d6ccce61 Fix alignment in visual editor table dialog

Bug: T203467
Bug: T203889
Change-Id: I91393ab3eb50cb3c320a406d880fcb459a03ad4b
2018-09-10 14:18:44 +02:00
Translation updater bot c14dd006f4 Localisation updates from https://translatewiki.net.
Change-Id: I651e33e6d3b18fcb88154d43c00e7c882b90b038
2018-09-10 09:33:01 +02:00
Translation updater bot 3b54f44660 Localisation updates from https://translatewiki.net.
Change-Id: I077efdb145a68cb8ab922bb87fb3d81f300e1529
2018-09-09 10:37:05 +02:00
Translation updater bot a453b86c0e Localisation updates from https://translatewiki.net.
Change-Id: Id55ebaf6f7198808503ba12d38ddca27acc12413
2018-09-08 10:40:27 +02:00
Volker E 40b8c0da5c Replace deprecated 'advanced' by renamed to 'settings' icon
Bug: T190581
Change-Id: Ie598c703ca03adb98ca05ed3ab227aba2b5ab971
2018-09-07 19:46:12 -07:00
James D. Forrester ebb6d88752 Update VE core submodule to master (f7b958957)
New changes:
700fac731 Localisation updates from https://translatewiki.net.
3f0e01706 Add simple tests for getSourceText
b7aef1b81 Re-activate surface during event cycle
f7b958957 Fix alignment of context title and description

Bug: T203328
Bug: T203517
Change-Id: I5706b63b4034893fbc10198842a1b5c4422d5c63
2018-09-07 08:58:03 -07:00
Translation updater bot 661b40bf4f Localisation updates from https://translatewiki.net.
Change-Id: Icc8c0b345b5774b34cf2a8e10adc0f71b045988f
2018-09-07 09:03:15 +02:00
jenkins-bot ac40f23dde Merge "Update VE core submodule to master (e4ca18ac3)" 2018-09-06 16:11:14 +00:00
David Lynch 627128f1ae DesktopArticleTarget.init: Pass platform to ve.track directly
ve.track tries to guess the platform, but it needs a loaded Target to do so,
and init happens before that.

Also, log a warning when this happens, in case it comes up again.

Bug: T203618
Change-Id: I35fa58a42cd247e01f3717c9ab3a10d8ea93a484
2018-09-06 10:52:46 -05:00
jenkins-bot e6df277ccc Merge "Release editWarning unload event when switching from old wikitext to VE" 2018-09-06 15:33:35 +00:00
James D. Forrester 418c82fab0 Update VE core submodule to master (e4ca18ac3)
New changes:
cd58dabe3 Update OOUI to v0.28.1
92b51ca09 Make columns responsive in visual editor command help dialog
562082b90 Cleanup ve.dm.Converter: Convert absolute references to relative ones
1c0a1f86d Add simple test case to SourceSurfaceFragment
e95c6f7ca Fix typos in ve.dm.SourceSurfaceFragment documentation

Bug: T203474
Change-Id: I46b582d921cea0157e80c4f56415fca739a62efd
2018-09-06 08:27:10 -07:00
Ed Sanders 6396fad416 Release editWarning unload event when switching from old wikitext to VE
Bug: T202587
Change-Id: I81ff882e0e4ccf0b26d73be5f55cbf2da0d97a47
2018-09-06 14:13:55 +01:00
Translation updater bot f42babcd17 Localisation updates from https://translatewiki.net.
Change-Id: I225d7189ef54c43d0a0804451a1152f601e0933a
2018-09-06 09:02:29 +02:00
Translation updater bot 8440f7951d Localisation updates from https://translatewiki.net.
Change-Id: I69f470b018450fbf17367ae18da629d0a672c4fc
2018-09-04 22:19:55 +02:00
jenkins-bot 4dafa321a9 Merge "Cleanup setEditorPreference: Always return promises, never deferreds." 2018-09-04 16:25:45 +00:00
Bartosz Dziewoński eefcb7957d Add another test case for stripping RESTBase IDs
Bug: T108506
Change-Id: If46d09364bff9b7e2b4839df183fa2cb3ed25243
2018-09-04 15:44:34 +00:00
Bartosz Dziewoński b5ca05a322 Update VE core submodule to master (a72861b26)
New changes:
c5fdeffc9 Keep count of how many windows are open before toggling the mobile overlay
d2fc6ea83 Localisation updates from https://translatewiki.net.
ba766c47c Cleanup: Don't assume commands exist when building list
fd07cdf0a Remove unnecessary "eslint-disable-next-line new-cap"
888a2459d ve.ce.Surface: Consistently sanitize external pastes
3591f7d56 ve.ce.Surface: Fix a test case
c4c3349b7 ve.ce.Surface: Make a check for pasted "important elements" faster

Bug: T108506
Bug: T203280
Bug: T203282
Change-Id: I4286098695d14bdc17095297c0f71dac37060c66
2018-09-04 15:27:24 +02:00
Esanders a21e95b67a Revert "Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init""
Re-enable tests, but disable setEditorPreference API calls in setup.

This reverts commit d5fe71fd6e.

Change-Id: Ib6f0f18acc1ccb40cb6c055609dc1484b381bc8f
2018-09-04 13:45:52 +01:00
Ed Sanders 8ac5a03a05 Cleanup setEditorPreference: Always return promises, never deferreds.
Change-Id: I59a5fdc29ee64abe422610da835e6f089ad7267a
2018-09-04 13:45:52 +01:00
jenkins-bot 05dae065c9 Merge "Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init"" 2018-09-03 22:56:52 +00:00
Bartosz Dziewoński d5fe71fd6e Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init"
Causes random failures in other unit tests due to API requests.
This reverts commit 031d2dd50e.

Bug: T203412
Change-Id: Ia94b090687ba8d6023060e6dbe10b6a45035e76a
2018-09-03 22:39:27 +00:00
jenkins-bot dbbb29a3a7 Merge "Remove unnecessary "eslint-disable-next-line new-cap"" 2018-09-03 22:29:35 +00:00
Bartosz Dziewoński efd1a957f5 Remove unnecessary "eslint-disable-next-line new-cap"
Change-Id: I94f31ef934f9a0192ac906cada5dba05214d259e
2018-09-03 23:11:29 +02:00
Translation updater bot 5f91dd2845 Localisation updates from https://translatewiki.net.
Change-Id: I08a9d446bb035c5fd5fa42a6f8591458ee8ca66e
2018-09-03 22:15:45 +02:00
jenkins-bot 31ee84540b Merge "Follow-up I38eda4a: Add unit tests for lang/dir in target init" 2018-09-03 16:18:46 +00:00
jenkins-bot 15df919bc1 Merge "Replace jQuery.grep with Array.prototype.filter" 2018-09-03 15:40:49 +00:00
jenkins-bot 3023ca8e90 Merge "Match width of template lookupMenu to input" 2018-09-03 15:40:44 +00:00
jenkins-bot 3f55b7432e Merge "Fix: Apply placeholder colour style to first child, not parent" 2018-09-03 15:06:51 +00:00
libraryupgrader fec1e679fd build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Idfe6493936b621cd244723e802c272def8916f08
2018-09-02 21:52:54 +00:00
Translation updater bot dcd40cb852 Localisation updates from https://translatewiki.net.
Change-Id: Ia93ff5cab3ee3f389f8f6ceffa7ded9cc62b5e00
2018-09-01 22:33:48 +02:00
libraryupgrader 55f32570aa build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I6cebd9c602f118636e2afbafbf07cd1ec3feb372
2018-09-01 05:25:11 +00:00
jenkins-bot 4914787e62 Merge "Don't assume commandGroup has a demote property set" 2018-08-31 23:31:45 +00:00
Ed Sanders 222ad828bd Don't assume commandGroup has a demote property set
Bug: T203282
Change-Id: Ic67dcfb2a473559d5e5d457072cda101844fe1e9
2018-08-31 22:20:36 +01:00
Translation updater bot f1abc938dd Localisation updates from https://translatewiki.net.
Change-Id: I21c1d9b08a6ab8d5ffc70c5b15b554b78822dd00
2018-08-31 22:17:32 +02:00
jenkins-bot 048ac8193e Merge "Remove unnecessary IE10 blacklist" 2018-08-31 18:30:07 +00:00
jenkins-bot 1ffcd41519 Merge "Add description link message for gallery dialog" 2018-08-31 17:00:24 +00:00
Thalia 58f6fb8910 Add description link message for gallery dialog
Bug: T203262
Change-Id: Ic9ab5ffe5c4f8ea60cb7e9abf6ebea210aeef645
2018-08-31 17:38:42 +01:00
Ed Sanders ed047b6cdd Fix: Apply placeholder colour style to first child, not parent
This ensures any colour applied to branch nodes is overridden.

Change-Id: Ib6f5d2509021ba0ba085050bc1fe993e7d887b3e
2018-08-31 16:59:54 +01:00
Ed Sanders 031d2dd50e Follow-up I38eda4a: Add unit tests for lang/dir in target init
Change-Id: I426f88ce3982deb850c4cedb110b87c9a59157ef
2018-08-31 14:45:54 +01:00
Ed Sanders 22f3075b52 Fix typo in mw.Target#setupSurface
Bug: T203213
Change-Id: I38eda4aac48b3363c6211e225b8f0cadf6b40853
2018-08-31 13:16:21 +01:00
Bartosz Dziewoński b958cfbe38 Update VE core submodule to master (8097e44c1)
New changes:
fcd37bf61 Cleanup: Rename addAttributesToNode to addAttributesToElement
64f059112 ve.dm.Document: Remove incorrect handling for combining characters in #fixupInsertion
99de355d7 Simplify hasOwn call
a3c7ae7ed Invalidate tableNode cache if node has been detached

Bug: T85093
Bug: T203150
Change-Id: Ieec61133dbbcaeffb8cfd2d78a9ba6ba5a39f601
2018-08-30 22:21:07 +00:00
Translation updater bot f5ab502590 Localisation updates from https://translatewiki.net.
Change-Id: I6293c40ee46bb38858ebf90525e2ef7384075fcb
2018-08-30 23:38:17 +02:00