Commit graph

12161 commits

Author SHA1 Message Date
Alex Monk d24fd1e389 Don't show unsaved-changes warning if user has already saved in wikitext dialog
Add an extra surface check - makes sure it's attached.

Change-Id: I1720ba18b5966549fefb839013776ac9dfe0468a
2016-08-17 21:12:00 -07:00
Translation updater bot 7660980ab5 Localisation updates from https://translatewiki.net.
Change-Id: I75f5c71990c63b2a21c85ae9217476101b384cc5
2016-08-17 22:42:44 +02:00
jenkins-bot 12e169c9af Merge "i18n: Reduce 'visualeditor-beta-warning' to just an invite to report issues" 2016-08-17 17:38:00 +00:00
jenkins-bot 02dc269447 Merge "Fix name of mweditmodeve-tool message" 2016-08-17 16:56:44 +00:00
James D. Forrester 557873447c i18n: Reduce 'visualeditor-beta-warning' to just an invite to report issues
The switch notice isn't as urgent now.

Change-Id: Ie2e534d9ab41f2217ff98a669e40cf3fd7863498
2016-08-17 09:55:04 -07:00
Alex Monk f60730a580 Fix name of mweditmodeve-tool message
Change-Id: Ib48a61b4ea56221808d96efd5cf4a5c13b8aeb0c
2016-08-17 06:21:56 +01:00
Translation updater bot ba2c2ed44e Localisation updates from https://translatewiki.net.
Change-Id: If3311510499f1aa9ea006b86ee31e82c154985de
2016-08-16 22:46:32 +02:00
jenkins-bot 9f7016871f Merge "Always forward cookies when $wgVisualEditorParsoidForwardCookies is set" 2016-08-15 23:21:02 +00:00
James D. Forrester 69e5db3963 Update VE core submodule to master (f182b27)
New changes:
4ffe974 ve.ce.Surface: when setting selection just focus if focusTarget == activeElement
e915864 Localisation updates from https://translatewiki.net.

Change-Id: I1c0565aa45a95d1303ec6ba6ff3a547c5572d0fe
2016-08-15 15:36:47 -07:00
Translation updater bot a55424dd80 Localisation updates from https://translatewiki.net.
Change-Id: Ife0e4911d0d7bcd58c248fd38ee3ea3d57b846bd
2016-08-15 23:03:18 +02:00
Translation updater bot 0c2f2981ce Localisation updates from https://translatewiki.net.
Change-Id: I1be5f7bf479705830f250968b5f6957708a6857e
2016-08-14 22:30:35 +02:00
Translation updater bot 64fb43836a Localisation updates from https://translatewiki.net.
Change-Id: Id89d44abfc5abf2a77e836d8642112945f9857d9
2016-08-13 22:33:28 +02:00
Translation updater bot 8e0eedb51c Localisation updates from https://translatewiki.net.
Change-Id: Ia9359b5ace4cdeaf5c2f6e1682475eeb265f811b
2016-08-12 23:17:05 +02:00
Ed Sanders c452e134cc Wikitext surface alpha feature
Edit wikitext with the VE interace.

Bug: T104479
Bug: T142138
Change-Id: Ic95b47e0dd378578555c4a2342ca9c87064ed1d5
2016-08-12 18:37:29 +00:00
James D. Forrester 7718986e30 Update VE core submodule to master (756f7d2)
New changes:
756f7d2 Forcibly reapply selection on insertion annotation change, to move between unicorns

Change-Id: I6771929c18262c8a4a3d33ad607a8b84cd8dd7e2
2016-08-12 08:44:37 -07:00
jenkins-bot e92b37a700 Merge "Centralize some checks for unmodified left clicks" 2016-08-11 23:24:30 +00:00
Translation updater bot 567bc298c5 Localisation updates from https://translatewiki.net.
Change-Id: I77aca2aafa920a83a17af3e67e686f591c38c93a
2016-08-11 23:59:28 +02:00
David Lynch 87ea771ae6 Centralize some checks for unmodified left clicks
Change-Id: I59cee4da9bbca4c8a29eaf9d52cb00ab6e70b670
Depends-On: I4f164f7cf1d755c3662571b2a1a8371d9fe756f9
2016-08-11 13:33:26 -07:00
David Lynch 3e370fa286 Update VE core submodule to master (f1fa096)
New changes:
a3ca325 Use OO.ui constants for mouse buttons

Change-Id: Ic1a4bf370c6a28f0f8049f0d6b6e7627ea0bcf84
2016-08-11 12:59:15 -07:00
James D. Forrester bfb53c90c6 Update VE core submodule to master (070fa4b)
New changes:
91e5312 Break ve.serailizeHtml down into ve.serializeXhtmlElement
1243f62 Allow nodes to dynamically become handlesOwnChildren nodes
65a2513 Only trigger Firefox data:uri image paste if there is no other HTML
7d4515c Fix TextState#getChangeTransaction bug
070fa4b Localisation updates from https://translatewiki.net.

Change-Id: I2783a5c37bb103192ce849c88c9869fb45853af1
2016-08-11 10:22:50 -07:00
Translation updater bot 8e2eea4ba9 Localisation updates from https://translatewiki.net.
Change-Id: I89b98e1377eb41691c1197857994b4410a7b70c7
2016-08-10 22:40:32 +02:00
jenkins-bot 58df47bca0 Merge "Factor out API deflation and change storeInSerializationCache API" 2016-08-10 03:38:19 +00:00
Ed Sanders f1482627fa Factor out API deflation and change storeInSerializationCache API
Change-Id: I7e2e15a8ba5088e6c370cb035c71f7af18c13b61
2016-08-09 20:08:34 -07:00
Alex Monk 96421b283c Fix restoration of redirect HTML after exiting without saving
This feels like it's getting far more complicated than it should be.

Bug: T140032
Change-Id: Id951400cead61da37b8bdfa05cf8add6c115547d
2016-08-09 22:43:25 +01:00
Translation updater bot 1bb72c1dba Localisation updates from https://translatewiki.net.
Change-Id: Icc1218a5ad574ba676969cf3f4618935daac1d42
2016-08-09 22:34:08 +02:00
jenkins-bot 4cc08e64ba Merge "Gemfile: Bump mediawiki_api from 1.7.1 to 1.7.2" 2016-08-09 15:48:41 +00:00
jenkins-bot dd26c7a1dc Merge "Update VE core submodule to master (f82628d)" 2016-08-09 15:48:40 +00:00
James D. Forrester 5a1865b2c1 Update VE core submodule to master (f82628d)
New changes:
acf0983 Create SourceSurfaceFragment for editing source documents
8bf0568 Make keepEmptyContentBranches an option of #sanitize and simplify usage
9cad9de ce.Surface: only change selection during CleanupUnicorns if it's in the document
bda3f0b Localisation updates from https://translatewiki.net.

Change-Id: I1fa8af7e4b881238f77e0601b2b275e2b8e1cd2c
2016-08-09 08:28:35 -07:00
jenkins-bot 5d2a08ac11 Merge "Take link fragments into account" 2016-08-08 23:26:04 +00:00
jenkins-bot 1fe827197d Merge "Add titles to category input menu's items" 2016-08-08 21:56:43 +00:00
Translation updater bot dfef8c3865 Localisation updates from https://translatewiki.net.
Change-Id: I05610d6618a6f7c30b3097365df88f6643784f28
2016-08-08 22:37:27 +02:00
Alex Monk 071291d624 Add titles to category input menu's items
To match where they point to.

Bug: T139189
Change-Id: I46454cc9cd90920dc5e445200598a4706a8639c9
2016-08-08 21:09:36 +01:00
James D. Forrester cad4066bc9 Gemfile: Bump mediawiki_api from 1.7.1 to 1.7.2
Bug: T129483
Change-Id: Ief831d41df9352a824f4bd7a2a030cc4681950a2
2016-08-08 10:54:21 -07:00
jenkins-bot 37856f6e64 Merge "Git-ignore generated screenshots" 2016-08-07 23:40:12 +00:00
Translation updater bot ffe086695f Localisation updates from https://translatewiki.net.
Change-Id: If723d65fed4f0c848c249edab18b41bf35320ee0
2016-08-07 22:46:02 +02:00
Ed Sanders 8d22722723 Git-ignore generated screenshots
Change-Id: I449553f6eb03418cc6ed4237efea87e4bfcfabb6
2016-08-07 12:47:58 -07:00
Alex Monk 818c6e4928 Take link fragments into account
TODO: Do we need to do anything special here to handle multiple hash symbols in a URL?

Bug: T112898
Change-Id: I4773cb04ae2533e8125bc55d9ebb606d63b3bf48
2016-08-06 01:20:24 +01:00
jenkins-bot cf4c2d41b3 Merge "Rewrite TOCWidget based on Linker::generateTOC" 2016-08-05 22:18:22 +00:00
jenkins-bot f908b7cad9 Merge "Make ArticleTarget#goToHeading work at all times" 2016-08-05 22:16:15 +00:00
jenkins-bot c813e5e5a2 Merge "Fix check for non-template-namespace transclusions" 2016-08-05 21:51:30 +00:00
jenkins-bot 89a529edc1 Merge "Fetch default options for gallery dialog" 2016-08-05 21:20:00 +00:00
Ed Sanders bb7b38575f Rewrite TOCWidget based on Linker::generateTOC
Use the new node cache to find headings.

Change-Id: I5eb75c5db5ca466fd6f16a57c693c2a4458cff7c
2016-08-05 14:11:15 -07:00
Thalia d156af59aa Fetch default options for gallery dialog
Fetch default options for mode, image heights and image widths
rather than hard-coding them.

Bug: T139632
Change-Id: I1adc7987fdeb1258ee87ce46acbab469ea18116e
2016-08-05 14:08:20 -07:00
Ed Sanders 3970288c8c Make ArticleTarget#goToHeading work at all times
Was previously written to work on initialise when the surface
isn't focused. If the surface is focused, run immediately.

Change-Id: Ie7accd63a4ca3e18448914d34609fe0418f15b4e
2016-08-05 14:00:41 -07:00
jenkins-bot 557ffff7ee Merge "Update VE core submodule to master (4408c13)" 2016-08-05 20:50:16 +00:00
Translation updater bot 94f32072e5 Localisation updates from https://translatewiki.net.
Change-Id: I4bcbfc42151afa8f7fc865c802ff5cf4783a67ec
2016-08-05 22:35:16 +02:00
Ed Sanders 34ff174b85 Update VE core submodule to master (4408c13)
New changes:
e7cb202 Mark context wrappers as wrappers
20b75af Localisation updates from https://translatewiki.net.
a4dde9f Annotate pasted external text
8148301 Always preserve leading whitespace when converting for clipboard
82a35b7 TransactionProcessor: Apply annotations to ranges at the highest uniform offset
21fc1eb Restore previous selection when annotation inspector is dismissed
358181c Preserve prior valid DOM selections in showModelSelection
a0f7dba build: Bump various devDependencies to latest
0ae0f7e Follow-up Iabec6a6: Fix typo in mousemove selection update code
d69a4df Provide tools to make text bigger or smaller

Local changes for big/small tools

Change-Id: If418a1a47276cc1e1530c4a3ad6784136d8d14f8
2016-08-05 11:54:52 -07:00
jenkins-bot dbf3cbb264 Merge "Make image list keyboard accessible in gallery dialog" 2016-08-05 17:07:51 +00:00
Alex Monk 8855ebf586 Fix check for non-template-namespace transclusions
These are not just titles beginning with ':'

Change-Id: I9d7063c221561a0e582deb6944eaab6d9ab4e3f7
2016-08-05 03:25:31 +01:00
jenkins-bot c0b692eecd Merge "build: Bump stylelint-related devDependencies to latest" 2016-08-05 00:39:52 +00:00