jenkins-bot
fd082e577b
Merge "ve.init.mw.DesktopArticleTarget: Setup toolbar before section title input"
2018-04-24 16:24:42 +00:00
Bartosz Dziewoński
e3378e6d77
ve.init.mw.DesktopArticleTarget: Setup toolbar before section title input
...
When we set up the new section title input and possibly set its value
(preloading from URL query, or from autosave), the "Save" button on
the toolbar must already exist, because we try to enable it.
Bug: T192901
Change-Id: I3bba86a8c8a9b81014d425db256ff49f06bdaea6
2018-04-24 18:11:42 +02:00
Ed Sanders
1f4baa7b58
Teardown target before reloading article
...
Ensures that auto-save data is cleared after
creating a new article, or restoring a revision.
Bug: T192770
Change-Id: I348b8522c1a935d7db1243ba8fcbd5b24e3383a2
2018-04-23 21:30:37 +01:00
jenkins-bot
69f0ff1016
Merge "Blacklist images with data URLs"
2018-04-17 19:48:20 +00:00
Ed Sanders
6625fc5c85
Blacklist images with data URLs
...
These aren't supported by VE-MW, so must just be
garbage from a browser plugin.
Bug: T192392
Change-Id: I24646244daf2847e4dee88273058658300880dfc
2018-04-17 20:10:51 +01:00
jenkins-bot
6902e81768
Merge "Use ellipsis on toolbar save/publish button"
2018-04-17 18:34:17 +00:00
jenkins-bot
d325f793a9
Merge "Show revision info on historical diffs"
2018-04-17 17:36:21 +00:00
jenkins-bot
3a9ec6bcce
Merge "Fix layout of welcome dialog on smaller screens"
2018-04-12 22:55:39 +00:00
Ed Sanders
62d2211aed
Mobile: Hide top-level toolbar labels on narrow screens
...
Change-Id: I8049b935204834201d2a185d04070bbf81520d1e
2018-04-12 23:32:33 +01:00
Ed Sanders
4f448a8c96
Hide stray checkmarks on mobile toolbar
...
Change-Id: Iae5ad6f736197f9d88d973a51b3b04bddc101826
2018-04-12 23:22:26 +01:00
Ed Sanders
2496fcefb0
Fix layout of welcome dialog on smaller screens
...
Bug: T191095
Change-Id: Ic329fe22a6758fe58ec56dc3b5a293b83d9b38fb
2018-04-12 23:15:15 +01:00
Ed Sanders
3682ab070d
mw.Target: Remove .protectedClasses, only used in ArticleTarget
...
Also fix documentation
Change-Id: I3fa93dd95c3ef47f649d3f92a38e14750a411333
2018-04-12 15:38:23 +00:00
Ed Sanders
50a2ab7418
Show revision info on historical diffs
...
Bug: T187614
Change-Id: Ie28d4af6443a17e2e25b2520f0e0dbf5ba4076cc
2018-04-10 20:42:06 +02:00
Ed Sanders
16211cdc09
Abstract API calls to 'parsefragment'
...
Change-Id: Id0be3207219a6d93cebff2b6b5061cd24898d5cb
2018-04-06 13:49:16 +01:00
jenkins-bot
459f35924c
Merge "DiffPage: Remember chosen diff mode"
2018-04-04 16:34:54 +00:00
jenkins-bot
6ce963665f
Merge "Move redirect building methods from DesktopArticleTarget to ArticleTarget"
2018-04-03 19:01:01 +00:00
Ed Sanders
11eaab48c8
Move redirect building methods from DesktopArticleTarget to ArticleTarget
...
These are not specific to desktop.
Also make the static builders static, and move VE target specific
code to caller, such as the click handler.
Change-Id: Ib7e769e3d6d339b9e66e1bc924480b0b0d5db17d
2018-04-02 17:32:24 +01:00
jenkins-bot
45afe665c1
Merge "Visual diffs in source mode section edits"
2018-04-02 16:05:34 +00:00
Ed Sanders
d3e5385944
Visual diffs in source mode section edits
...
Bug: T190845
Change-Id: I938352eec8b49f27784c12ddea72bbe69fdd6cb2
2018-03-27 17:53:54 +01:00
David Lynch
d77ea2bf16
DesktopArticleTarget: use -published message instead of -saved
...
Bug: T183901
Change-Id: I09f6e44f9f743f079ca5504ec06706c764ce6e25
2018-03-27 10:49:03 -05: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
58f9cf7050
Merge "Autosave section title when adding new section in source mode"
2018-03-26 21:19:26 +00:00
jenkins-bot
5f8d287e12
Merge "Autosave recovery prompt"
2018-03-26 20:55:18 +00:00
jenkins-bot
44720da389
Merge "*Dialog: Drop verbose option, ignored since v0.20.0"
2018-03-26 16:18: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
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
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
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
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
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
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
Ed Sanders
0f56af016d
Use ellipsis on toolbar save/publish button
...
Bug: T189803
Depends-On: Ic29717a660de5e80ee2a37f583b2a61c11fa87c4
Change-Id: Idaf80ea7e6ae9ffa165a8638af886bf6ab21a7f0
2018-03-20 19:46:36 +00:00
jenkins-bot
c20a610750
Merge "Factor out isSaveable method from updateToolbarSaveButtonState"
2018-03-20 17:26:39 +00:00
jenkins-bot
ff21c17c37
Merge "Remove unnecessary attachToolbarSaveButton override"
2018-03-20 17:25:11 +00:00
jenkins-bot
e23dd5fb6d
Merge "Make gallery dialog work with native gallery implementation"
2018-03-19 23:39:00 +00:00
Thalia
12cc56400b
Make gallery dialog work with native gallery implementation
...
Updates the model and re-renders the gallery.
Bug: T150621
Bug: T149602
Bug: T149596
Change-Id: I1e93c3af02eeeff1fcdaa5549cccc61ea755ee04
2018-03-19 23:55:17 +01:00
Ed Sanders
b80075a5e4
Avoid jQuery.parseHTML
...
Change-Id: Iaf5cbe27b8883d6e4c468a3b4dae11438d264894
2018-03-16 15:43:03 +00:00
Ed Sanders
a1dffa2dd7
Only use pre-computed measurements for position loading bar
...
Change-Id: I5fc17a432de8030a6154c4e961ac10c73f391a79
2018-03-16 15:39:21 +00:00
Bartosz Dziewoński
13d77ba557
Remember 'checkboxesMessages' when storing document state
...
Bug: T188796
Change-Id: I4785fe2fb7df774735c1bd48c222540a0286dd44
2018-03-16 01:14:29 +01:00
jenkins-bot
1d227935d9
Merge "Autosave: only try to remove autosave on teardown if the surface exists"
2018-03-14 19:17:30 +00:00
jenkins-bot
79f27a5447
Merge "Clear VE autosave whenever WikiEditor is loaded"
2018-03-14 18:25:48 +00:00
jenkins-bot
3c861d7ed1
Merge "Clear auto-save when switching to fallback wikitext editor"
2018-03-14 17:55:44 +00:00
David Lynch
9762b096c8
Autosave: only try to remove autosave on teardown if the surface exists
...
It's possible for some load failure states to cause this teardown at a point
without a surface. I observed it in MobileFrontend, when restbase can't be
contacted.
Change-Id: I13489640759c73dad5730d0bbadbfb2a38cb8e53
2018-03-14 11:53:10 -05:00
Ed Sanders
e0419f8388
Autosave section title when adding new section in source mode
...
Change-Id: Idcbe2f12e3eb0bb85e2c986885bd8084b16dbe5b
2018-03-12 12:25:12 +00:00
Ed Sanders
e78379a395
Attach deactivate code to namespace tab ('Main'/'Article')
...
Bug: T189380
Change-Id: I9f05722b9a1c740f9f982d9c5690d48046f19fdd
2018-03-10 19:07:11 +00:00
Ed Sanders
c3c3c60f1f
Clear VE autosave whenever WikiEditor is loaded
...
Bug: T189381
Change-Id: I21a76dc32327d6c6e72a793d9b579cb7b6a5e32e
2018-03-10 18:34:17 +00:00
Ed Sanders
ec6d9b235a
Clear auto-save when switching to fallback wikitext editor
...
Bug: T189381
Change-Id: Id89fa2a673ad8aef3826c0ef862770bf522bbdcf
2018-03-10 18:04:44 +00:00
Ed Sanders
9678cdc7c8
Factor out isSaveable method from updateToolbarSaveButtonState
...
Change-Id: Ic1922ed26bae26a76e8149d48f3fb27fa9ba4330
2018-03-10 16:20:30 +00:00