jenkins-bot
73063b4f8c
Merge "Fix section param in historical diffs"
2019-03-09 01:14:40 +00:00
Bartosz Dziewoński
7acbc4d44c
ve.init.mw.ArticleTargetLoader: Better document pageName
parameters
...
Bug: T217826
Change-Id: If136b7b9dc747a75062f88f8decc1128938fee9f
2019-03-08 22:46:10 +01:00
Ed Sanders
2e33841b5a
Fix section param in historical diffs
...
Passing section=undefined resulted in no <section> tags being
unwrapped, which broke the historical diff. Ensure 'null' is
used instead for whole documents.
Bug: T217752
Change-Id: Iec33e6ab83bfbd011df9dc05f4daccc26b1df8b5
2019-03-07 12:01:44 +00:00
jenkins-bot
085f21792b
Merge "rebaser: pushState when calling showForm"
2019-03-06 12:13:02 +00:00
jenkins-bot
5aec469952
Merge "rebaser: Fix export dialog title"
2019-03-04 14:49:46 +00:00
jenkins-bot
fefc7351a6
Merge "MWTransclusionNode: Comment strange matchTagNames values"
2019-03-04 14:49:43 +00:00
Ed Sanders
b3a35790c1
rebaser: Fix export dialog title
...
Change-Id: Ib76adbdb8b6547e42968f73cc196d7b8817e25f0
2019-03-04 14:26:39 +00:00
Ed Sanders
b0b8194faf
rebaser: pushState when calling showForm
...
Change-Id: Id650acbcc4d0ba699fa1264acfd8ab6249315806
2019-03-04 13:25:26 +00:00
jenkins-bot
f3cb757811
Merge "rebaser: Bind special tab click to showForm"
2019-03-04 04:44:26 +00:00
jenkins-bot
266a2bf036
Merge "ApiVisualEditor: Separate out templatesUsed from metadata"
2019-03-02 01:49:06 +00:00
Ed Sanders
9aee6bb5d1
MWTransclusionNode: Comment strange matchTagNames values
...
Change-Id: Ica207be94e5cc888c4454989d2fd6e9b5579a8ea
2019-03-01 16:16:20 +00:00
Ed Sanders
6f60b780ff
rebaser: Bind special tab click to showForm
...
Change-Id: I3207c50b2515356833c19c7d46c69af4918dfa58
2019-02-28 19:20:14 +00:00
jenkins-bot
ba5589f801
Merge "ve.init.mw.DesktopArticleTarget: Remove some unnecessary toolbar setup code"
2019-02-28 13:19:30 +00:00
jenkins-bot
d17d9ae768
Merge "Allow page title heading to be selected while editor is active"
2019-02-27 12:50:21 +00:00
jenkins-bot
3ccbc96fa7
Merge "When rendering categories, hide/show catlinks as needed"
2019-02-26 19:52:37 +00:00
David Lynch
b1863f4b25
When rendering categories, hide/show catlinks as needed
...
Catlinks is hidden via a class when there are no non-hidden categories on the
page. We thus need to toggle that class depending on the categories
added/removed from the page.
Bug: T213528
Change-Id: I4067c5721c28041542b9ef2dbc796fbc41b1afe8
2019-02-26 11:26:27 -06:00
Bartosz Dziewoński
73b2defc1e
Update VE core submodule to master (4669eff2b)
...
New changes:
0d28d49e7 ve.transformStyleAttributes: Update browser bug workaround comments
f51b718d0 Localisation updates from https://translatewiki.net .
b0d33a88a Use 'then' for opening/opened promises
40e98a759 Abort opening window for insertion when in readonly mode
744dc8cfa FragmentWindow: Add missing mixins, rename logic in WindowAction
ac5c18052 ve.ui.DiffElement: Don't always target links to new window
Bug: T210142
Change-Id: If07a40fff92fc739b7c6f954c3b89ad3fd7bdfd5
2019-02-26 16:57:17 +01:00
jenkins-bot
86a1995662
Merge "ve.dm.MWGalleryImageNode: Update for Parsoid changes to "broken" images"
2019-02-26 11:51:55 +00:00
jenkins-bot
1c083a362e
Merge "Add more read-only implementations"
2019-02-25 23:59:13 +00:00
jenkins-bot
010c1889b3
Merge "TemplateContext: Filter out empty template descriptions"
2019-02-25 23:16:42 +00:00
jenkins-bot
92ce7f0b99
Merge "MWMetaDialog: Implement read-only mode"
2019-02-25 23:12:47 +00:00
Ed Sanders
403b1f97b1
TemplateContext: Filter out empty template descriptions
...
Change-Id: I1be721c30d92b1da4fc226935a7e0a322f0c4d41
2019-02-25 23:05:51 +00:00
jenkins-bot
99351fa20a
Merge "MWCategoryWidget: Implement setDisabled"
2019-02-25 23:05:23 +00:00
jenkins-bot
f8ffb4d6ce
Merge "MW(Advanced)SettingsPage: Use Array.forEach for metaItemCheckboxes"
2019-02-25 22:57:52 +00:00
Ed Sanders
c04d3da853
Add more read-only implementations
...
* Gallery:
- Disable add/remove image buttons in read-only mode
- Make image list undraggable
* Template: Disable outline controls
* Transclusion: Add/remove buttons on template pages
* MagicLinkNodeInspector: Disable input (e.g. ISBN links)
Bug: T210142
Change-Id: Ibb03ab0bfd55ef5bf7d7558c217c779d7904a134
2019-02-25 20:01:11 +00:00
Ed Sanders
e3bb0b9e8b
ApiVisualEditor: Separate out templatesUsed from metadata
...
Generating the templatesUsed list is relative slow, and is only
used in an obscure part of the editor, so only generate it when
needed.
Bug: T209078
Change-Id: I1cecdad65b80c4c9b1746e752ea4b41bc0fc0037
2019-02-25 13:01:43 +00:00
Ed Sanders
6aa61aefa5
MWMetaDialog: Implement read-only mode
...
Bug: T210142
Change-Id: I7b32668a5daecc04515e9fa13875b278cadfbcce
2019-02-25 12:56:37 +00:00
Ed Sanders
33774758b7
MWCategoryWidget: Implement setDisabled
...
Change-Id: I443f2b55e2f17fb3c182e6cb22e392434513ce6c
2019-02-25 12:56:37 +00:00
Ed Sanders
9c5ec0d0d1
MW(Advanced)SettingsPage: Use Array.forEach for metaItemCheckboxes
...
Change-Id: Id034ae5cba46503370fbf61094b33e6b93569fe9
2019-02-25 12:56:35 +00:00
Ed Sanders
8e3ef8fb7f
Hide label section in MagicLinkNodeContextItem
...
Change-Id: Ifc6cdb2ee15874bfd036b29a6abaffa6e4207728
2019-02-24 13:25:23 +00:00
jenkins-bot
362a0b727c
Merge "ve.ui.MWSaveDialog: Fix fragment links in visual diff too"
2019-02-23 18:26:07 +00:00
jenkins-bot
f7a4e0a80a
Merge "ve.ui.MWSaveDialog: Target links in visual diff to new window"
2019-02-23 18:21:18 +00:00
jenkins-bot
fe70c26ee3
Merge "ApiVisualEditor: Remove red-link cache warming"
2019-02-23 10:36:56 +00:00
Bartosz Dziewoński
043a59a9bd
ve.ui.MWSaveDialog: Fix fragment links in visual diff too
...
Follow-up to a22b9c8ea3
.
Bug: T212554
Change-Id: Id7a16505c11a25f7a61f1394e9d9d1372cbb3d23
2019-02-22 22:51:30 +01:00
Bartosz Dziewoński
ab8ae002af
ve.ui.MWSaveDialog: Target links in visual diff to new window
...
Needed after change I6c988c012730d36d60629864a436e4a1700684c5
in VE core.
Change-Id: I7f0e836bd105a925f8dc62d52f081ee9051765fd
2019-02-22 22:50:55 +01:00
Bartosz Dziewoński
92bb0e557a
ve.init.mw.DesktopArticleTarget: Remove some unnecessary toolbar setup code
...
This code, added in 703b2c2ed0
(2015),
is no longer necessary.
// Disconnect the tool factory listeners so the toolbar
// doesn't start showing new tools as they load, too
// much flickering
this.getToolbar().getToolFactory().off( 'register' );
Introduction of targetLoader (d371014e5d
)
resulted in all tools already being loaded before a Target is
constructed, so this is definitely not needed.
// Disable all the tools
this.getToolbar().updateToolState();
The tools are already disabled because we set the surface to read-only
above, so this does nothing.
Change-Id: Idb162b60891cd1b961e29d2b9f62b74908f17957
2019-02-22 21:03:36 +00:00
jenkins-bot
f1b7225336
Merge "Swap the link-rtl.png and link-ltr.png files"
2019-02-22 20:49:11 +00:00
Ed Sanders
23267264ce
Load VE in read-only mode on protected pages
...
Bug: T53547
Depends-On: Ifaa74be266c048d87f94b4ae2df59cafc7aa155f
Change-Id: Ic90a0b86f45696a8782dec8e3d155ca91107b759
2019-02-22 19:09:23 +00:00
Ed Sanders
18907dde5a
Implementations for read-only mode
...
Depends-On: Ifaa74be266c048d87f94b4ae2df59cafc7aa155f
Change-Id: Iedd1bd9ce17750ad8528c1a053293c4a7321c5de
2019-02-22 18:20:51 +00:00
Ed Sanders
1890530b89
ApiVisualEditor: Remove red-link cache warming
...
Red-link metadata was added to Parsoid 18 months ago.
On long pages evaluating this information is very slow
(hundreds of milliseconds) and completely redundant.
Bug: T64803
Bug: T209078
Change-Id: I5b6c6da588301ed59fb21e1ce930f5b72db48e67
2019-02-22 17:49:11 +00:00
Bartosz Dziewoński
93351892da
ve.dm.MWGalleryImageNode: Update for Parsoid changes to "broken" images
...
Change-Id: I49f4a06de207fbb4dad090f0325068d13bed9810
2019-02-22 18:10:56 +01:00
setian
08e96d7b2e
Swap the link-rtl.png and link-ltr.png files
...
Bug: T216617
Change-Id: I717f36ea94f1c7a016111ce7b32068bf42e05806
2019-02-22 02:38:56 -05:00
Ed Sanders
e21d4fab3f
Update VE core submodule to master (2951e9378)
...
New changes:
202adf904 [BREAKING CHANGE] Unify FragmentInspector/Dialog behaviour
Local changes:
* Update dialogs to use common actions & FragmentWindow
Change-Id: Ib744b8996db48d1ee58bc873120400566c490e88
2019-02-22 01:13:36 +01:00
Bartosz Dziewoński
edc4fe95f6
Allow page title heading to be selected while editor is active
...
People enjoy copy-pasting it, or something.
Bug: T214790
Change-Id: I0d133f601d178f1d1f0175a411a9bcd433ba9419
2019-02-21 21:35:58 +00:00
jenkins-bot
767614f0e1
Merge "ve.init.mw.ArticleTarget: Fix some doc comments"
2019-02-21 12:57:05 +00:00
Bartosz Dziewoński
0b1f445349
ve.init.mw.ArticleTarget: Fix some doc comments
...
Change-Id: I9d8b2553b40d56cf99bcd304c93d866b2a8ba77e
2019-02-20 22:46:39 +01:00
Ed Sanders
332aa1f3d2
build: Update eslint-config-wikimedia to 0.11.0
...
Change-Id: I5a294705eed1760e2d4dde33934d2ffb12e29525
2019-02-20 20:23:43 +00:00
jenkins-bot
8846e65e44
Merge "Support only surfacing part of the document"
2019-02-20 19:06:30 +00:00
Ed Sanders
de2a2ca06f
Improve abstraction around template context description
...
* Separate partDescription from partDescription*s* and use Array#map
* Lookup CE node class of current model, instead of using
ve.ce.MWTransclusionNode hard-coded.
Change-Id: Ief07b865b4c216dc13408b12e8a1354cd2c28dfe
2019-02-19 13:23:14 +00:00
jenkins-bot
557cc0e581
Merge "ve.ui.MWGalleryDialog: Allow normal tools in gallery captions"
2019-02-18 18:47:55 +00:00