jenkins-bot
24d26f5e19
Merge "Move translate extension hack up to 'isAvailable'"
2017-01-03 17:04:11 +00:00
jenkins-bot
7c790f8d12
Merge "Use preferred number casting method"
2017-01-03 17:04:10 +00:00
Ed Sanders
9eebfbcac5
Fix NWE-only edit tab
...
Change-Id: I5d08e30f43fbe08eb8809692728a8ab37f3a1491
2016-12-30 16:42:54 +00:00
Ed Sanders
3f47aec20b
Use preferred number casting method
...
Change-Id: I77215f2bdb6eb055375e5b803d23b6f26df2d8d1
2016-12-29 20:33:15 +00:00
Ed Sanders
7de023caee
Allow switching between 'edit source' and 'add topic'
...
Also between section editing and full page editing
by clicking on 'edit source'.
Change-Id: I9165a7ad4ac2a588a09532c7181ba72b6fd2f811
2016-12-29 15:48:38 +00:00
Ed Sanders
827d4185c4
Move translate extension hack up to 'isAvailable'
...
All modes of VE should be disabled on these pages.
Bug: T153445
Change-Id: I5adfae940ee35c5ee6712e620a0ddda967a542ad
2016-12-27 13:56:10 +00:00
Alex Monk
96b8d35bff
Wrap localStorage.getItem calls in try { ... } catch () {}
...
Bug: T153291
Change-Id: Ic4f8c390bfe6936bd182b28b1f2c6d19bf459eba
2016-12-15 23:08:30 +00:00
Ed Sanders
856d480f7d
Follow-up Ic1f1de26: Fix typo in edit tab selector
...
Change-Id: I0ac685f1d942a7d40c6926b8ae8d751db04e1474
2016-12-14 17:35:09 +00:00
jenkins-bot
593474912f
Merge "Fix logic for create accesskey=v, and bind to onEditTabClick"
2016-12-14 01:30:17 +00:00
Ed Sanders
db447733b0
Fix logic for create accesskey=v, and bind to onEditTabClick
...
Change-Id: I69020652f2946626c443ef5b724cf92e7905f247
2016-12-13 16:06:57 +00:00
Ed Sanders
69c0fb189a
Fix action=editsource URL rewriting
...
Always look for links unless the only tab is VE.
Bug: T153054
Change-Id: Ic1f1de26fb77098fe62f6263a25c8a40de0e09a7
2016-12-13 15:36:34 +00:00
Ed Sanders
5a8106773c
Support section=new in NWE
...
Bug: T150709
Change-Id: I1002b97060d642df0988da15860a36c13712bade
2016-12-13 12:20:55 +00:00
Ed Sanders
d555b5ba33
Cleanup handling of 'section' param
...
Provide a common function to parsing, and always pass
section to the target, instead of having the target
re-compute it itself.
Change-Id: If9fc24ffa51507cd969fa1b4dfc1519a0b50a572
2016-12-08 20:24:19 +00: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
Ed Sanders
7f2d5b5bee
Don't re-bind edit tab in DAT when using SET
...
In SET the tab's events are already bound in DAT.init.
Bug: T151258
Change-Id: I04529dbdea2d2ff5e52b0f11035a4ac11946617b
2016-11-21 22:09:26 +00:00
Ed Sanders
ff4761bbd9
Fix handling of failure to load visual mode
...
Reject the activating deferred making handleLoadFailure
redundant.
Fix logic for switching back to OWE aware of NWE.
Change-Id: I328fc944bb6b9152752742fe35c56b95e3255b88
2016-11-15 12:44:38 +00:00
Ed Sanders
b4ff55a38c
Always set mode when activating the target
...
Otherwise if the target was already loaded the mode will
not be changed, which can cause the wrong editor to load
in multi edit tab mode.
Change-Id: I64071dfdfc8511cce51bda20b9c62d7fc126c528
2016-11-15 12:44:38 +00:00
jenkins-bot
cf3c972a3a
Merge "Move NWE URL changes into JS"
2016-11-12 00:02:50 +00:00
Alex Monk
807cb6b54e
Move NWE URL changes into JS
...
Bug: T148077
Change-Id: Ic9b94184a48026254cf4a0a812fe6fc8455841b5
2016-11-11 18:31:22 +00:00
jenkins-bot
28787b0f3c
Merge "Rename methods used for setting up multiple edit tabs"
2016-11-09 00:45:01 +00:00
jenkins-bot
efb4133119
Merge "Use onEditTabClick handler in SingleEditTab"
2016-11-08 17:10:06 +00:00
Ed Sanders
55fcded32e
Replace non-standard whitespace in comments
...
This is required to pass eslint:recommended.
Change-Id: If8c4876a366e5c021c414e54328ed1913b679969
2016-11-08 14:15:12 +00:00
Ed Sanders
2fa4cfef16
Rename methods used for setting up multiple edit tabs
...
Change-Id: I71d6dd0848e9cc3ee8531b0b914c29219b4697bd
2016-11-08 12:47:30 +00:00
Ed Sanders
f6a205d77f
Use onEditTabClick handler in SingleEditTab
...
Gives us extra functionality like checking for
isUnmodifiedLeftClick which makes CTRL+click on SET
not change the current page, as expected.
Change-Id: Icb37d7383374ee63798443659a2bcb2f1545c8c5
2016-11-08 12:39:15 +00:00
Alex Monk
7c80976f5b
Remove 'vesection' parameter
...
Just use the normal section parameter, haven't been able to figure out why VE
would need to be special about that.
Bug: T149958
Change-Id: I9338d0f1498fbb579fa8c340d6e7274c6d48155b
2016-11-05 02:08:13 +00:00
jenkins-bot
b6d3dabfbf
Merge "Add binding for when only tab is new wikitext editor"
2016-11-02 21:36:21 +00:00
jenkins-bot
65236ae67f
Merge "Try to make client and server code to get last editor work the same"
2016-11-02 20:07:07 +00:00
Ed Sanders
3fb757c307
Add binding for when only tab is new wikitext editor
...
Bug: T149796
Change-Id: I675c5876fbb9ca8427983e9d4252cccda35775f9
2016-11-02 19:10:28 +00:00
Ed Sanders
7db58ab3d8
Fix binding of onEditTabClick to section links in SET
...
Bug: T149797
Change-Id: I0f753718ccddb9c2b68cdc82ff379bd59d7006ad
2016-11-02 15:50:30 +00:00
James D. Forrester
36befda61c
build: Replace jscs and jshint with eslint
...
It's new, it's fresh, it's amazing, it's here.
Change-Id: I5dc784411f704685ed5cc763a2b2b1c5d3e5a610
2016-10-28 18:33:15 +00:00
James D. Forrester
c45c79eca2
ve.init.mw.DesktopArticleTarget: Fix missing '&&'
...
Change-Id: I0e91cde3d38d3f5bdd7dde790093db21d8a64036
2016-10-27 16:53:55 -07:00
Ed Sanders
244eeb9ea1
Update VE core submodule to master (e4c8003)
...
New changes:
e4c8003 Bring in target 'mode' property from MW
Local changes:
Use upstream Target#setMode functionality
Depends-On: I9d501cb77c714fbd299b5816d302b0bdde7833cd
Change-Id: I2fcda6ca7d82d880101d9ba2a027d4ef066aa238
2016-10-27 16:12:31 -07:00
jenkins-bot
035987b9be
Merge "Create init.isWikitextAvailable and add page content check"
2016-10-26 20:42:06 +00:00
Ed Sanders
e977ca4336
Fix edit source links for NWE
...
We fixed these to use vesection instead of section.
Change-Id: I0aa6530b6707239c41216421394379301b0878a7
2016-10-25 15:50:14 -07:00
Ed Sanders
751853942f
Create init.isWikitextAvailable and add page content check
...
Bug: T149007
Change-Id: I2e16c6361c32f3c1ebd2ae7c9f41089d56b67b06
2016-10-24 15:36:44 -07:00
Ed Sanders
2dfdd82317
Prevent edit source from acting twice
...
Bug: T148309
Change-Id: I5ef3f4b7cbc7298e89aa531c174657b1d1bccdf6
2016-10-16 19:06:06 -07:00
jenkins-bot
23eb869d9d
Merge "Get rid of ?venotify= from URL post-save"
2016-10-14 23:30:16 +00:00
Alex Monk
70bf00e9b0
More NWE-SET integration fixes
...
Also stop calling $skin->getUser() so much, store the result
Change-Id: Ic91a660bc4b97a82f1d2b0bffb55425564696da1
2016-10-13 22:46:16 +01:00
Alex Monk
49283f7250
Fix typo in DAT.init.js
...
Change-Id: I75f7de16ea06d62a1bdfa0e04294fef5560fd5c9
2016-10-13 22:22:57 +01:00
Alex Monk
6b87b2671e
Fix another case where we need to pass the section
...
Bug: T144654
Change-Id: I5f91b9329525ceaeb971d02f93c959d908d748f7
2016-10-13 20:28:21 +01:00
Ed Sanders
4040442ad8
Section editing in NWE
...
Bug: T144654
Change-Id: Ida6e721e0d980b47e3fda6a1f0744cbce1b2235a
2016-10-12 12:55:11 -07:00
Kunal Mehta
6c93a49244
Get rid of ?venotify= from URL post-save
...
Use history.replaceState if available to get rid of the venotify query
parameter to avoid polluting URLs.
Ideally this would just use a cookie like the core post-edit
notification.
Change-Id: I6ce142012053e2fc18dd44fd0f7b82914acea076
2016-10-12 11:05:12 -07:00
Ed Sanders
4fc2904a87
Follow-up I9547dfd: Only enable VE tabs if VE is available
...
Otherwise VE is launched on namespaces where it is disabled
(but NWE is enabled).
Bug: T147890
Change-Id: I62f4ff96b991553a4eb0be9efb2e84bc80ca2bb4
2016-10-11 14:19:36 -07:00
Alex Monk
d15034011f
Allow NWE on non-VE namespaces
...
Bug: T146182
Change-Id: I9547dfd591ad1e68e045b4928765a95895e37737
2016-10-03 22:20:18 +01:00
Alex Monk
8a80b5bbc3
Split isAvailable from visual-specific checks
...
Not fully tested
Bug: T146182
Change-Id: I5d7ae6e49991660ecdc2daf46b319947f83a1018
2016-09-20 23:53:53 +01:00
Alex Monk
edf5b60368
(attempt to) make NWE work with SET
...
Ugh.
Bug: T143578
Change-Id: I71e08508eb0914be9d624202b13a4369df512b80
2016-09-17 03:36:47 +01:00
Alex Monk
926212dbae
Use correct switch type when opening welcome dialog on NWE
...
Bug: T145225
Change-Id: I032652733576d1a9797cc3dbb3dd24ca69cb30e5
2016-09-15 01:30:01 +01:00
jenkins-bot
9721998763
Merge "Provide the new wikitext editor as a beta feature"
2016-09-13 00:56:48 +00:00
James D. Forrester
1d64e3280c
Provide the new wikitext editor as a beta feature
...
Still needs to be de-feature-flagged later.
Bug: T142644
Change-Id: I8e2588909ff95085b5a4d58f4394d9bc805f5598
2016-09-08 00:38:08 +00:00
Ed Sanders
3c25f3aede
Switch from NWE to VE using 'Edit' tab
...
Bug: T143577
Change-Id: I19d942c879c9ccf70e95beb5f8de589eb6363039
2016-09-06 17:23:24 -07:00