Commit graph

14405 commits

Author SHA1 Message Date
Volker E e837512cc6 Replace deprecated 'comment' with 'speechBubble' icon
Bug: T183600
Change-Id: Iebebba61a099193051cffc11f41e366bdb1c19e1
2018-03-26 21:14:35 -07:00
James D. Forrester fe525e3bcc *Dialog: Don't set to small size, which is the default
Change-Id: I3b7a19acd0ee5112d104257bdc1e9ff0e9b4ff24
2018-03-26 15:02:11 -07:00
jenkins-bot dc3e192179 Merge "Make edit notices popup wider (320 -> 450)" 2018-03-26 21:31:07 +00:00
jenkins-bot 58f9cf7050 Merge "Autosave section title when adding new section in source mode" 2018-03-26 21:19:26 +00:00
James D. Forrester b1b88b2c78 Update VE core submodule to master (320f01589)
New changes:
7e9a11771 Use more informative message for missing refs in visual diff
f22c21b00 CommentNode: Increase label spacing slightly
e01b9a0f7 Move Apex-specific hack for tool styling to Apex-only CSS

Bug: T188682
Bug: T190433
Change-Id: Ia8696a4a7e32a332b73e2852939bcc533f71cf45
2018-03-26 13:57:45 -07:00
jenkins-bot 5f8d287e12 Merge "Autosave recovery prompt" 2018-03-26 20:55:18 +00:00
Translation updater bot bd694d3138 Localisation updates from https://translatewiki.net.
Change-Id: I89ad05a49abf99f538c0e3cf4f29f3e6d7c52d4b
2018-03-26 22:19:32 +02:00
James D. Forrester 62a197fde8 Update VE core submodule to master (28a9de285)
New changes:
ae04c7fd4 Fix styling of mobile context
47e162b95 Localisation updates from https://translatewiki.net.
d327a9cfc Allow small mobile dialogs
9a1c43329 CommentNode: fix visual glitches
5f7cb5a9b Workaround for WikimediaUI theme broken tool icons in popup toolgroups

Bug: T190658
Bug: T190694
Change-Id: I20b44d84373373c2d2e67a5f51cf1ec0751e6ad1
2018-03-26 11:02:08 -07:00
jenkins-bot 44720da389 Merge "*Dialog: Drop verbose option, ignored since v0.20.0" 2018-03-26 16:18:49 +00:00
jenkins-bot 5325424988 Merge "Match audio & video elements in gallery DOM" 2018-03-26 16:18:46 +00:00
jenkins-bot ce425c1d56 Merge "[BREAKING CHANGE] Use upstream tryTeardown instead of close in MobileArticleTarget" 2018-03-26 16:12:35 +00:00
jenkins-bot 132d3fbaac Merge "Move some deactivation code from DesktopArticle to ArticleTarget" 2018-03-26 16:10:49 +00:00
James D. Forrester 9e01553f0b *Dialog: Drop verbose option, ignored since v0.20.0
Change-Id: If0bc7946b67aaae97886e8dbd956e9338b0e0b40
2018-03-26 08:55:03 -07:00
Ed Sanders 95fc150a4f Remove unused static overrides from dialog
Change-Id: I31f0310baa5c438b17f16749368102d8cede22db
2018-03-26 15:49:04 +01:00
Ed Sanders 28d8d2923e [BREAKING CHANGE] Use upstream tryTeardown instead of close in MobileArticleTarget
Change-Id: I33bcc98bc75ab049568de47faceb3f3390df5901
2018-03-26 15:32:55 +01:00
Ed Sanders 307e6c2922 Move some deactivation code from DesktopArticle to ArticleTarget
Also rename tryDeactive to tryTeardown.

Change-Id: Ie89d59a62826bcfe3d30ad04f89d3c4211cc34f4
2018-03-26 15:32:55 +01:00
Ed Sanders f89856f0ba Match audio & video elements in gallery DOM
Bug: T190631
Change-Id: Ic09927728b449dda43cf115fa9612ebd7a2bf23f
2018-03-25 22:04:57 +01:00
Translation updater bot fd01a9e972 Localisation updates from https://translatewiki.net.
Change-Id: I073cd57c4d0dfc34785dfe20089b4a62d33a7682
2018-03-24 22:29:48 +01:00
James D. Forrester bfa11dca3a Update VE core submodule to master (796af825b)
New changes:
796af825b Update OOUI to v0.26.1

Change-Id: I72632e979a977159f08be2c079a66211d1f11d0d
2018-03-23 17:14:40 -07:00
James D. Forrester c0dce97d07 Update VE core submodule to master (cd958f71d)
New changes:
71d6c72ff demos/ve/eventSequencer.html: Cleaner fix
9d8ddf863 Fix table context selectors
674bbf556 Fix load order in demos
686acba46 Fix context item inheritance
4a283aec4 Use icon instead of indicator in TableLineContext
f0d6883d4 Use 14px font size in mobile demo
b5beec69e Fixing spacing of demo tools when wrapping

Bug: T190480
Change-Id: I3724b3b594bdb28e54169ccba4ace12953769cdb
2018-03-23 08:46:02 -07:00
jenkins-bot 966e46ac80 Merge "Fix the image sizes in ve.ui.MWInternalLinkContextItem" 2018-03-23 05:36:51 +00:00
jenkins-bot 60423bb7ea Merge "Fix layout of media info fields" 2018-03-22 22:32:53 +00:00
Ed Sanders f7b0118de0 Fix layout of media info fields
Bug: T190468
Change-Id: Ic81781318a9003064e7d8f283901d70a5bae6ebc
2018-03-22 22:15:52 +00:00
jenkins-bot 7d9d7206ff Merge "Update VE core submodule to master (bca1212a4)" 2018-03-22 21:58:27 +00:00
Translation updater bot 675ba0dc62 Localisation updates from https://translatewiki.net.
Change-Id: I4eea78df731f79aca9e3235f4e3b42e9c8fab638
2018-03-22 22:09:08 +01:00
James D. Forrester 7239519e55 Update VE core submodule to master (bca1212a4)
New changes:
78adf7169 DiffElement: Apply margin adjustment to ul as well in labels
ddeb45364 Localisation updates from https://translatewiki.net.
bca1212a4 Use paste API if *any* important elements have been dropped

Bug: T188389
Bug: T190023
Change-Id: I9aac91d3decf2e62bd773341f22ef0562b4180b9
2018-03-22 12:13:44 -07:00
jenkins-bot 511dfc41ca Merge "Make save commands only executable when article is saveable" 2018-03-22 17:03:37 +00:00
Ed Sanders 8a974f25e6 Fix the image sizes in ve.ui.MWInternalLinkContextItem
Remove the image size styles from the class
.ve-ui-mwInternalLinkContextItem-hasImage too

Bug: T97631
Follow up: I84edeec38ecfb90f5d53
Change-Id: I39937bf4ba12f7047545b187c54a1c5fae157e4a
2018-03-22 17:03:19 +00:00
Ed Sanders 3a56d42901 Make save commands only executable when article is saveable
Change-Id: Ia22fbae45201254867bf6e8920aff944ba9276b9
2018-03-22 10:44:30 -05:00
Ed Sanders bfb59e9c8a Follow-Up I84edeec38: Use font-size: 1em instead of unset for invisible templates
Leaving it unset falls back to 'inherit' which is too large.

Change-Id: I0dd90b247b51070bbe10aad4941a9dc4a7ac60c1
2018-03-22 13:29:49 +00:00
David Lynch 75af29b57d DiffPage: Remember chosen diff mode
Use a new preference: visualeditor-diffmode-historical.

Bug: T189896
Change-Id: I0575cc0a86dc0683758d24c0f597834e38cf1095
2018-03-22 01:41:14 -05:00
jenkins-bot bfd4a5870f Merge "Use single-line editor for image captions" 2018-03-22 01:32:09 +00:00
Ed Sanders a58b529104 Autosave recovery prompt
Prompts the user before recovering if the document
has been edited since last load.

Bug: T190077
Change-Id: Ibc0e1d1342510fbca57ad599c1816918c84e5487
2018-03-21 16:23:35 -07:00
L10n-bot 5945919dfc Merge "Localisation updates from https://translatewiki.net." 2018-03-21 21:33:39 +00:00
Translation updater bot 9f0a708823 Localisation updates from https://translatewiki.net.
Change-Id: I6cf4485697de6950e9649eceba43ce5d3c4e0e21
2018-03-21 22:32:19 +01:00
jenkins-bot 30a4815435 Merge "Update for the actor table change" 2018-03-21 21:27:04 +00:00
jenkins-bot 663b9f9a35 Merge "Remove special font-size treatment following-up UI unified in 14px base" 2018-03-21 21:07:16 +00:00
jenkins-bot e03f3e2c73 Merge "Update icons for new 20px grid" 2018-03-21 20:59:23 +00:00
jenkins-bot 06731c6b9b Merge "Update VE core submodule to master (52b59d337)" 2018-03-21 20:28:03 +00:00
jenkins-bot 5aa1bb8537 Merge "MWTransclusionNode: describe parameter changes for Visual Diffs" 2018-03-21 20:03:21 +00:00
Brad Jorsch 391c30da67 Update for the actor table change
Core change I8d825eb0 begins the process of changing core database
tables from using xx_user and xx_user_text fields to using xx_actor.
This updates the extension to continue to function during and after the
transition.

Bug: T167246
Change-Id: Iccbd9ee2edaae5d779077dddc6fe449ec8428e99
2018-03-21 12:39:26 -07:00
James D. Forrester 8cfb488b1a Update VE core submodule to master (52b59d337)
New changes:
0651c524c Move isMultiline definition to view nodes from the surface
4fa80b362 Diff original dom elements for alien node
a532a247d Update icons for new 20px grid
3543e75ab Update OOUI to v0.26.0
b68a4460e Remove special `font-size` treatment following-up UI unified in `14px` base
a5ec65f63 Fix auto-save demo on empty.html
05a64c203 Autosave: Check html === undefined to avoid matching empty string

Bug: T97631
Bug: T177432
Bug: T188833
Bug: T190151
Change-Id: Ib77e66a9ec3c7d290853de914371650cdf90b226
2018-03-21 12:15:45 -07:00
James D. Forrester ece430258b Update VE core submodule to master (dc98cb7ec)
New changes:
617708fe1 Update rel attribute checks to be aware of multiple rel values
c22428f81 ve.ce.LinearSelection: Don't throw exceptions only to catch on the next line
406db2ce3 Localisation updates from https://translatewiki.net.
33f94faf7 tests: Update ve.dm.Converter#getModelFromDom cases for new metadata behavior
d85bf0d68 Use documentFragments when DOM splicing
110519f1c Update documentation now describeChange can return jQuery
ff7fa5fa0 Change http://www.mediawiki.org to https://www.mediawiki.org
09faa4a3d Fix error with tabs per this:
a329edf67 Localisation updates from https://translatewiki.net.
da864cc5e demos: Separate out and fix mobile-dist
380cc90c5 VisualDiffs: Unit test for timeout behaviour
601173c02 Clarify the "Log" button label on the debug bar
c52a2e07e demos: Fix auto-save by only storing doc state if not recovered
1b8d2c457 Auto-save: Save and restore last known selection
9e279e77e Fix deprecated icon name 'alignCentre' > 'alignCenter'

Local changes:
tests: Update ve.dm.Converter#getModelFromDom cases for new metadata behavior

Bug: T189687
Bug: T189939
Depends-On: I2059d8ce9140b733ee92436de395d735ab06b9df
Change-Id: I3c210112c84e2d2bd8226de3dad195bf17afb4c2
2018-03-20 16:38:54 -07:00
jenkins-bot cf9ddabe23 Merge "Disable visual diffs on source mode section edits" 2018-03-20 23:02:33 +00:00
Ed Sanders 8bfb270168 Use single-line editor for image captions
Depends-On: I2be081c766fab41b152d03b43e7e936e3f636166
Change-Id: Ifcdc34826ad81e96c22fd68ceb637107cde24d4a
2018-03-20 22:51:27 +00:00
jenkins-bot 2c96d24c76 Merge "Avoid jQuery.parseHTML" 2018-03-20 21:44:37 +00:00
jenkins-bot 0ed47a025e Merge "Only use pre-computed measurements for position loading bar" 2018-03-20 21:44:36 +00:00
Translation updater bot 7caf52b001 Localisation updates from https://translatewiki.net.
Change-Id: Ic493c8556d5d154525c4372c8015bf40f7eef1b8
2018-03-20 22:13:02 +01:00
Volker E d44bb0bc1b Remove special font-size treatment following-up UI unified in 14px base
Removing `0.8em` VE special base `font-size` for UI as we're unifying
OOUI interfaces to `14px` equals to `0.875em` at user agent default size.

Bug: T97631
Depends-on: I693d168d2ccf2babbcfe8952af3e1c262aa97773
Change-Id: I84edeec38ecfb90f5d53199f3b26fc3f83ab0611
2018-03-20 20:03:19 +00:00
Bartosz Dziewoński d80099dad1 Update icons for new 20px grid
Set viewBox to "2 2 20 20" to trim 2px off each side of our
existing 24px icons, therefore aligning them to the new 20px
grid. All of them had been drawn with large margins, so none
of the graphic is lost.

Bug: T177432
Bug: T190151
Change-Id: I23a6daa5dc2d4a9afc50f275da5df370d2319277
2018-03-20 20:03:11 +00:00