Ed Sanders
323050467f
Change wikitext link inspector name to avoid conflict
...
This was causing the VE link inspector to fail badly if
NWE was enabled.
Bug: T153668
Change-Id: Ie665715a5f5401e59fc6468b81a4122ca5ebd5a3
2016-12-19 12:03:58 +00:00
jenkins-bot
57d49550a0
Merge "Add shortcut for show preview and resolve access key conflicts"
2016-12-16 18:14:17 +00:00
Ed Sanders
4d134cfefc
Add shortcut for show preview and resolve access key conflicts
...
Refactor save dialog setup so logic for canPreview/canReview
is external and passed in.
'Show preview' will show in the VE command help dialog until
I56c1036e6 is merged in core.
Bug: T149914
Change-Id: Id718ad622be43c03df61d12b8688d53462c59f36
2016-12-16 13:33:57 +00:00
Ed Sanders
9728d78126
Resolve URLs in show preview against correct base
...
Bug: T153277
Change-Id: Icaa6de4618de008fb2024d1dd428114688cb1043
2016-12-15 03:19:16 +00:00
Ed Sanders
c92418e4da
Fix wikitext handling of DataTransferHandlers when IVStore is used
...
Bug: T153269
Change-Id: Ida6ffffac6e6a65784dc84a388d3702680a79db9
2016-12-14 22:56:18 +00:00
Ed Sanders
1b726dc9bc
Fix DataTransferHandlers when loading source editor directly (no etag)
...
Bug: T153268
Change-Id: I0b43fd651e26c3d74a5f29e8ed80e5dee28ac399
2016-12-14 22:56:00 +00:00
jenkins-bot
56927ad512
Merge "SaveDialog: Align colour palette and ensure sufficient contrast"
2016-12-13 19:38:51 +00:00
Volker E
48db1c16f8
SaveDialog: Align colour palette and ensure sufficient contrast
...
Align the colors used in the save dialog to OOjs UI's MediaWiki theme,
increasing the contrast of edit summary counter slightly to ensure WCAG
AA accessiblity levels. Also remove unnecessary duplicated CSS
properties, which are already inherited from OOjs UI styles.
Bug: T153086
Change-Id: Iee6b38e0b11f777dd0ffb0f6802d0b3d7349ddee
2016-12-13 19:26:39 +00:00
Ed Sanders
22f4614eee
Show save button on show preview page
...
Bug: T151261
Change-Id: If80bb8e4e9e412572ab88d13d07a3f92dd353b31
2016-12-13 18:10:09 +00:00
jenkins-bot
c4dacd9d24
Merge "Don't focus save dialog during setup to avoid scroll jumping"
2016-12-13 15:31:23 +00:00
jenkins-bot
a962e7de3b
Merge "Support section=new in NWE"
2016-12-13 13:55:33 +00:00
Ed Sanders
4064c91b8e
Don't focus save dialog during setup to avoid scroll jumping
...
Bug: T153010
Change-Id: Ia535cd5d4ebfc01994f4e440bb5cb7efa5c40802
2016-12-13 12:57:34 +00:00
Ed Sanders
5a8106773c
Support section=new in NWE
...
Bug: T150709
Change-Id: I1002b97060d642df0988da15860a36c13712bade
2016-12-13 12:20:55 +00:00
jenkins-bot
669995c8c2
Merge "Follow-up ae8a2750
: Stop passing long-dead second parameter"
2016-12-12 21:20:08 +00:00
Ed Sanders
a504aba7c5
MWWikitextLinkAnnotationInspector: Select links after creation
...
Change-Id: If23d90dc695546e7dddb3c04637e54df47c6f528
2016-12-12 20:09:52 +00:00
Alex Monk
c843824c97
Batch gallery imageinfo requests via ImageInfoCache subclass
...
Also get rid of .join( '|' ) for API request parameters per Bartosz
Bug: T147067
Change-Id: If4444cca300d65e28d6fb9003fcac5e076a5129a
2016-12-06 22:10:19 +00:00
jenkins-bot
446a4e40c4
Merge "SaveDialog inherits from plain dialog, not FragmentDialog"
2016-12-06 19:37:41 +00:00
jenkins-bot
bdd1a1b78c
Merge "Scroll highlighted item into view in gallery dialog"
2016-12-06 18:30:22 +00:00
jenkins-bot
9b4bc7a3f2
Merge "Disable heights option in gallery dialog when mode is slideshow"
2016-12-06 18:28:51 +00:00
jenkins-bot
a2e4d9fa82
Merge "Decrease height of gallery search results for better fit"
2016-12-06 18:23:38 +00:00
Ed Sanders
4f7bba4de9
SaveDialog inherits from plain dialog, not FragmentDialog
...
Change-Id: I934ab41567ea68e58cfa27451faf499febd68bd1
2016-12-04 11:09:56 +00:00
Thalia
2fd30fb7c5
Decrease height of gallery search results for better fit
...
Bug: T151509
Change-Id: I92c812952457df99251fc0b8f1a17d4e55fe52f7
2016-12-03 16:31:23 +00:00
Thalia
1b4d70324b
Disable heights option in gallery dialog when mode is slideshow
...
Also disable relevant fields the first time the dialog is
opened, not just when the dropdown is changed.
Bug: T151482
Bug: T151512
Change-Id: Ic511e1832a9fcaaeaed71c1d495aecc65fdd1d3b
2016-12-03 16:00:32 +00:00
Thalia
0b9228a926
Scroll highlighted item into view in gallery dialog
...
Bug: T152053
Change-Id: I6b77f6c27d5629dc18e421f984cf31badfb2ff04
2016-12-03 15:46:58 +00:00
jenkins-bot
e1e55aa730
Merge "Correct class/classes typo in gallery dialog"
2016-12-03 15:20:53 +00:00
Thalia
295dd380de
Correct class/classes typo in gallery dialog
...
Bug: T152226
Change-Id: I569df87cf82359c13ad61a3ddffacd83f5f03bae
2016-12-03 13:03:02 +00:00
James D. Forrester
f494067dea
Follow-up ae8a2750
: Stop passing long-dead second parameter
...
Change-Id: Ifc43d9009c2057b5a189d3cc161b62dc4ca83a2c
2016-12-02 14:31:26 -08:00
Ed Sanders
9b5adb8688
Remove WikitextWindowAction, inherits from core
...
Depends-On: I2b14cc93bf3c855e157f0b26567337f74992fb96
Change-Id: I3e479c1441f548f62ff8a2f6e7b2ad450262921f
2016-12-02 11:50:43 -08:00
jenkins-bot
36d976c4c0
Merge "Save Dialog: add shortcut for opening to the review panel"
2016-12-02 00:36:40 +00:00
David Lynch
2bd34cebd4
Save Dialog: add shortcut for opening to the review panel
...
Create a new MWSaveDialogAction, which can be hooked up to triggers. Switch
the existing save dialog accesskey to just use the trigger system.
(Maintaining all the accesskey logic, so we don't change the shortcut on
people.)
Bug: T149914
Change-Id: I9b4ef8504148703556f802b266a517dd5098c06b
2016-12-01 18:16:18 -06:00
Alex Monk
5bd95db994
Use widget.getApi, not this.getApi
...
Bug: T152154
Change-Id: Id7e77323ffabf4eeee3e73481cf6bcb9a1e649dc
2016-12-01 22:48:45 +00:00
jenkins-bot
d254436f57
Merge "Use canonical ve.dm.TransactionBuilder.static.newFrom* methods"
2016-12-01 19:44:05 +00:00
jenkins-bot
2b453295ec
Merge "ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links"
2016-12-01 19:35:45 +00:00
Ed Sanders
8bca6cc777
Inherit more functionality from core source mode
...
Change-Id: Id027681ab5f0c9f4b9ed127b583e45f0fe57ce69
Depends-On: I02f3849027a6652701c2d354d1b77ece9d1a56c1
2016-12-01 18:44:54 +00:00
James D. Forrester
a835f4f9d5
Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
...
Change-Id: I082048a677baa2699d94e21548373952d52db61b
2016-12-01 10:43:10 -08:00
Ed Sanders
218742d806
Update VE core submodule to master (ae30d71)
...
New changes:
f58ddea DiffElement: Use document slices with full internal lists
83800c0 DebugBar: Remove hard-coded i18n
b4f89e1 Update OOjs UI to v0.18.1
40c7bf6 Factor out active node functionality from SectionNode for captions
2d967be Move 'mode' property to surface, rename target property to 'defaultMode'
5d8c214 wrapAllNodes in sourcefragment
dd3d9e5 Refactor ve.dm.Transaction
9d61aca Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
df4f72a Make table caption node an active node
b79f72d Core source mode
7533ac4 Localisation updates from https://translatewiki.net .
ae30d71 SourceSurfaceFragment: Check range is not collapsed
Local changes:
Get edit mode from surface where possible
Depends-On: Iec758c1892d518ad4bc2c0d1aaf6ca00fa354323
Change-Id: Ifaf6a26078b2731b374aaad2cb40c08928de9c84
2016-12-01 10:40:01 -08:00
Thalia
4b9d1bed4f
Fix "Add new image" button in the gallery dialog
...
Make sure the button is always visible in the
gallery dialog menu by fixing it to the bottom.
Bug: T151506
Change-Id: I560b0dffbaad9e18c6f7f703cb155356470580ee
2016-11-30 22:38:11 +00:00
Ed Sanders
37910b78ec
MWTemplateTitleInputWidget: Use new #getApi method from upstream
...
Depends-On: I81811cdd1a0750a8335432eee8f971ab9e0b8ee7
Change-Id: Ic73213df5ede6f82de85df8b69c60dd31f033792
2016-11-30 19:51:45 +00:00
Bartosz Dziewoński
491ecfe1d6
ve.ui.MWWikitextTransferRegistry: Just look for '[[' when detecting links
...
Bug: T151646
Change-Id: I693b190f762d93ffae0aa939ffc9550e567e8e24
2016-11-30 19:07:50 +01:00
jenkins-bot
745e919f97
Merge "Update VE core submodule to master (9625e8f)"
2016-11-29 20:46:54 +00:00
jenkins-bot
33db54ef28
Merge "Use upstream media search widget from core"
2016-11-29 20:04:46 +00:00
Ed Sanders
aeafa6afca
Update VE core submodule to master (9625e8f)
...
New changes:
f1297b8 [BREAKING CHANGE] Allow target widgets to be re-used
Local changes:
Re-use target widgets
Change-Id: I5decb918f398704d4b6c108a16fbc1cc073ef077
2016-11-29 11:48:15 -08:00
jenkins-bot
28a4b9f362
Merge "Handle missing pipes in Gallery syntax, and remove them when caption is empty"
2016-11-29 19:27:52 +00:00
Ed Sanders
44fee9b61d
Wait until search panel is shown before setting a search query
...
Bug: T151659
Change-Id: I3eb3b903a8df1c7732da2a08e4b46b13b162617e
2016-11-29 11:13:54 -08:00
Ed Sanders
2ee9e62a4d
Use upstream media search widget from core
...
Bug: T140166
Depends-On: If53ef7f4b62c7a5d4da565c14dd2a353778694e5
Change-Id: I28845e9c143e78d3a377f067606c62da212e3bf1
2016-11-29 17:19:14 +00:00
Ed Sanders
240ec23113
Handle missing pipes in Gallery syntax, and remove them when caption is empty
...
Bug: T146190
Change-Id: I703bcdf68b9631a47d839baf3abb42ff98b36bf2
2016-11-28 17:36:29 +00:00
jenkins-bot
6bcfed97a5
Merge "Separate out ArticleTarget as a module"
2016-11-26 23:22:32 +00:00
Ed Sanders
4fe6be1f34
Separate out ArticleTarget as a module
...
Also move save button command help registration to ArticleTarget.
Bug: T151096
Change-Id: I941d17254a2e20a82aa46fd538abf887d757c0c3
2016-11-24 12:35:41 +00:00
jenkins-bot
1909c445bb
Merge "Allow the gallery dialog to insert duplicate images initially"
2016-11-24 04:13:03 +00:00
Ed Sanders
0334263718
Missing i18n in gallery dialog
...
Change-Id: I369d5b9d42a5fd6b4d1afc12508632a282591320
2016-11-24 00:09:49 +00:00