Commit graph

16574 commits

Author SHA1 Message Date
David Lynch c898838585 ArticleTarget: saveSuccess wasn't receiving expected arguments
Way back in 2c24efae in 2015 this got disconnected, which resulted in
saveComplete logging not having the expected updated revision_id.

Bug: T226847
Change-Id: I6dc14bb4b2dacedbe27493a97fa25c9b0542818c
2019-07-01 11:06:16 -05:00
Bartosz Dziewoński 2563bb3d89 MobileArticleTarget: Prevent unwanted page zooming on focus on iOS
Bug: T216446
Change-Id: I48beb1e120b5b087533b0827904212be9286529f
2019-07-01 15:53:29 +02:00
jenkins-bot 98c5db96aa Merge "Update VE core submodule to master (681aa3fbc)" 2019-07-01 13:12:43 +00:00
Translation updater bot e7d8c89010 Localisation updates from https://translatewiki.net.
Change-Id: I00d571201b4ad4212bdd69fd8e364eac0ca69178
2019-06-30 22:40:07 +02:00
James D. Forrester 3f38f54a12 Update VE core submodule to master (681aa3fbc)
New changes:
9cbe6ed65 Use 'unLink' icon for unlinking
e6f489f8d Dialogs: Use close flag for close actions
f2260bc47 Update RangeFix 0.2.7 -> 0.2.8

Bug: T225021
Bug: T225725
Change-Id: I36f27fe4b2b7a2fffa319cbff0b160b4435e806b
2019-06-28 13:36:18 -07:00
jenkins-bot d1c47b38a4 Merge "Remove citefromid alias support" 2019-06-28 18:50:55 +00:00
jenkins-bot d1b9844300 Merge "Simplify pulsating dot to one DOM node using :before/:after" 2019-06-28 16:40:05 +00:00
jenkins-bot 8f4c75bc1f Merge "Update VE core submodule to master (f93b871a6)" 2019-06-27 21:31:53 +00:00
James D. Forrester 928153f268 Update VE core submodule to master (f93b871a6)
New changes:
33c9871e4 ve.ce.Surface: Clear active annotation highlight when blurring on mobile
24e442efc Enhanced instrumentation for context items and inspectors
17e0a80ea Localisation updates from https://translatewiki.net.
39ba2e196 Update OOUI to v0.33.0

Bug: T221252
Change-Id: I06eb0f99557dbada022bcad44fff48ec0709e004
2019-06-27 10:43:03 -07:00
Ed Sanders 3f892fe368 Simplify pulsating dot to one DOM node using :before/:after
Change-Id: I81af08d58a33b6d3751bfc5012217b9bd98e69dc
2019-06-27 15:35:50 +01:00
James D. Forrester 34158b8568 Stop loading oojs-ui.styles.textures, gone as of OOUI 0.33.0
Change-Id: I38aa1ce529bed43175d2ecdcecd1c6a2a0ed603f
2019-06-26 20:54:49 -07:00
jenkins-bot 72418fea56 Merge "Update VE core submodule to master (cf99ae2e0)" 2019-06-26 21:44:26 +00:00
jenkins-bot 3e13dd7af6 Merge "build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0" 2019-06-26 21:44:22 +00:00
James D. Forrester 97484d3b7a Update VE core submodule to master (cf99ae2e0)
New changes:
2c8676497 Rename call to deprecated scrollCursorIntoView
f04991f64 Fix missing resize handles in dist

Bug: T182312
Change-Id: I90e3672780356d352f2b08c824c59905e8936b6d
2019-06-26 14:11:06 -07:00
James D. Forrester 22344dae69 build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0
Additionally a bump to grunt-image and grunt itself for security
reasons. Also, commit package-lock.json, which is what we do now.

Change-Id: I2beab15d7f5b1453ccbb3c46b6dd0800c78ed15b
2019-06-26 14:11:06 -07:00
jenkins-bot 2699566577 Merge "iOS browser menu bar tap stealing hack for bottom contexts" 2019-06-26 20:38:47 +00:00
Ed Sanders 5c62ae20ef Clear edit summary when switching section and discarding changes
Bug: T191590
Change-Id: I1d3c4528dd07fcff90ffa378ade1d6982fc68791
2019-06-26 19:51:16 +00:00
jenkins-bot b57aaa59cd Merge "MW link inspector: Empty before appending" 2019-06-26 19:23:12 +00:00
jenkins-bot 401a15dc53 Merge "Update VE core submodule to master (39b766b3a)" 2019-06-26 19:13:08 +00:00
jenkins-bot 886c5b47a2 Merge "Fix link normalization when opening inspector" 2019-06-26 19:13:05 +00:00
Ed Sanders d4bd5d14c8 Fix link normalization when opening inspector
Move fix for I92ffc19eab4e to getInsertionData as getTextFromAnnotation
is also used when populating internal link search field.

Bug: T226645
Change-Id: I60806932b00a742dae52651fb7931caf07413361
2019-06-26 16:16:17 +01:00
James D. Forrester ddfa58243b Update VE core submodule to master (39b766b3a)
New changes:
7bec2244a Localisation updates from https://translatewiki.net.
61ea6f413 Remove iOS context scroll fix
5b78a078f Move logic for new mobile contexts to mouse down handler
83301862f Check argument to getNodeFromOffset is a number

Bug: T202723
Bug: T226073
Change-Id: Iffa0ccdb40f8f505b460eadf84dc1cefdacdcfa2
2019-06-25 12:03:37 -07:00
jenkins-bot 10de6f2c2f Merge "Update VE core submodule to master (35a2d0629)" 2019-06-24 15:40:53 +00:00
Translation updater bot fd9bd2ed32 Localisation updates from https://translatewiki.net.
Change-Id: Ic656031b4196efe128fd0c005d56b3b32c378b11
2019-06-24 08:40:34 +02:00
Ed Sanders 239e592d15 MW link inspector: Empty before appending
We don't inherit any root DOM structure from the parent,
so explicitly clear it.

Change-Id: If4c034e8230ccaf721a8e3667f29c6783c94a8bb
2019-06-23 16:58:04 +01:00
jenkins-bot 552c5e3331 Merge "Improve debug bar margins on mobile" 2019-06-22 21:14:23 +00:00
James D. Forrester 5b5979cfe2 Update VE core submodule to master (35a2d0629)
New changes:
35a2d0629 ce.LinearSelection: Don't crash when surface is not attached

Bug: T226281
Change-Id: I5a0a3acdabddcea2949f333ff54f5259f770a4c5
2019-06-21 18:41:37 -07:00
Ed Sanders e83e80f42e Show edit summary on preview page
Bug: T199582
Change-Id: Ia8c2322706e8e635498c447dddb3b4b98040e27e
2019-06-21 12:54:13 +01:00
James D. Forrester 92a600d5a2 Update VE core submodule to master (599facff7)
New changes:
7f002809d Localisation updates from https://translatewiki.net.
599facff7 Restore inline slugs in source mode for cursoring

Bug: T225546
Change-Id: I28a08113d0c8b3b64b32c06b225b0b4038140758
2019-06-20 15:58:09 -07:00
jenkins-bot 115382f4db Merge "Prevent text on save/publish button from wrapping on mobile" 2019-06-20 19:20:51 +00:00
Bartosz Dziewoński 0af3ea84de Prevent text on save/publish button from wrapping on mobile
If the translations of save/publish button messages like
'visualeditor-savedialog-label-publish-short-start' contain spaces
(e.g. in Bengali 'bn'), the button on mobile would wrap over two
or more lines, due to weird styles we have for the mobile toolbar.

Change-Id: Ieb439ae489ab7110b81382ffdcf0d3d3ad2f84ac
2019-06-20 20:29:52 +02:00
jenkins-bot 916a8e21aa Merge "Update VE core submodule to master (1cf71b3f3)" 2019-06-20 16:54:36 +00:00
Ed Sanders 20561e7e10 Remove citefromid alias support
Change-Id: I74d67a2ea5118ee18c462ccfea06a72cc73c627b
2019-06-20 16:06:07 +01:00
Ed Sanders 421ef465b9 Update VE core submodule to master (1cf71b3f3)
New changes:
f99a7cd43 Apply desktop contexts' line-wrapping to new mobile contexts
fad2671d3 Localisation updates from https://translatewiki.net.
262c84128 scrollSelectionIntoView: Code simplifications
a13c86033 scrollSelectionIntoView: Fix mobile logic
04774b03c Allow passing a pre-existing HashValueStore to getModelFromDom
1cf71b3f3 Catch errors from getNodeAndOffset

Bug: T202723
Change-Id: I41cf726dad38d4fe6647a1b760d66126fcee393f
2019-06-20 13:39:59 +01:00
Ed Sanders ad87c6c009 Improve debug bar margins on mobile
Change-Id: I6fd8b89dd44d5d8d933822851499264e4d0f4585
2019-06-20 13:15:52 +01:00
Timo Tijhof 45f3b5644c trackSubscriber: Remove use of 'ext.eventLogging.subscriber' alias
Deprecated in favour of 'ext.eventLogging'.

Bug: T221281
Change-Id: I16ca136be84b9c50208c4e702ec75d7ca33afd96
2019-06-20 00:57:17 +01:00
Ed Sanders 22f43207fe Apply active external link fix to all skins
Change-Id: Ic66082fca53f803f9ede6c100beb9072b40a0c00
2019-06-18 15:23:10 +01:00
jenkins-bot 69ff78868f Merge "Remove 'mobile-ab' config for section editing" 2019-06-17 20:37:51 +00:00
Translation updater bot 71f0bba6d1 Localisation updates from https://translatewiki.net.
Change-Id: I3dc685284886808cadcad317d05529384067c686
2019-06-17 22:34:32 +02:00
Translation updater bot 015afb93c5 Localisation updates from https://translatewiki.net.
Change-Id: I91e84d1886036d108b3fa4bec6412e2c3442759f
2019-06-16 22:36:55 +02:00
Max Semenik 718e7107b8 Don't use Maintenance::$mDescription directly
Change-Id: I8ec00d0e7b0105dd9d30602007bcc7aecc8ca089
2019-06-14 17:52:36 -07:00
Bartosz Dziewoński 600e369347 iOS browser menu bar tap stealing hack for bottom contexts
Change-Id: I7607bef4253fde894e307bcecaac6bd342864c0c
2019-06-14 23:49:38 +02:00
Ed Sanders df8feb6faf Move mobile context to bottom of page
Hidden behind ve.newMobileContext feature flag.

Bug: T204733
Depends-On: Id276686a0e82c12c457c81eaec9939722c65c7ec
Depends-On: Id5f7ead769dc30c0fbd2a8b8f6f6c4d68dcfabac
Change-Id: Ibd4b699dfe4bb9bcaec6898b6b82357eb287d128
2019-06-14 20:57:22 +00:00
Bartosz Dziewoński 01afd73aea Update VE core submodule to master (44556e8fd)
New changes:
ee96c6334 Localisation updates from https://translatewiki.net.
2a9ff2c54 Localisation updates from https://translatewiki.net.
5facf5ef6 Localisation updates from https://translatewiki.net.
afe09ea26 Make annotationsAtModelSelection fail in fewer cases
f6278bba0 Fix clipping on label preview in link context
42717187a ve.ui.AnnotationInspector: Deactivate surface after closing on mobile
44556e8fd Move mobile context to bottom of page

Bug: T199617
Bug: T204733
Bug: T220633
Bug: T225541
Change-Id: Icd6de1d7e380a14444ddba2044553c8c13682706
2019-06-14 22:56:24 +02:00
jenkins-bot 8cce3fa72a Merge "Avoid setting '&section' (with no equals or value) when switching to OWE" 2019-06-14 18:41:19 +00:00
Bartosz Dziewoński a68cc38b22 Avoid setting '&section' (with no equals or value) when switching to OWE
mw.Uri requires undefined rather than null to unset a parameter;
null instead generates a parameter with no value (and no equals sign).
Our own code in ve.init.mw.DesktopArticleTarget.init.js parseSection()
can't parse that and causes an exception.

Change-Id: I783ea6b91c115b79bbd9deac6669bea0661139af
2019-06-14 20:20:26 +02:00
jenkins-bot 5507d52287 Merge "Localisation updates from https://translatewiki.net." 2019-06-14 05:06:29 +00:00
jenkins-bot 355a54b792 Merge "trackSubscriber: Migrate away from deprecated 'schema.' modules" 2019-06-14 00:27:11 +00:00
Translation updater bot bf4acae10b Localisation updates from https://translatewiki.net.
Change-Id: Ie0cd5443876335478d305a1da9468b01484d5f5e
2019-06-13 22:41:00 +02:00
jenkins-bot ed6d540289 Merge "MobileArticleTarget: Update loading interface for new design" 2019-06-13 20:00:34 +00:00