Commit graph

10515 commits

Author SHA1 Message Date
jenkins-bot 3a15ef608c Merge "Use RESTBase v1 API" 2015-09-10 20:14:35 +00:00
jenkins-bot 92118c5166 Merge "Order template title results by provided index" 2015-09-10 20:03:39 +00:00
Alex Monk 821ceb9920 Order template title results by provided index
This only comes back in results from certain modules, so I'm not entirely
sure whether we want to do this in here or mw.widgets.TitleInputWidget.

Bug: T111598
Change-Id: If2916706db359d520c41c2dec7ded44e0d3a56a9
2015-09-10 20:53:35 +01:00
jenkins-bot 3ed7164b35 Merge "Load visualeditor-saveerror-titleblacklist and fancycaptcha-reload-text for all targets" 2015-09-10 17:59:21 +00:00
jenkins-bot f4daf27896 Merge "Resolve image paths when writing to clipboard" 2015-09-09 20:45:38 +00:00
Translation updater bot cdee3fac88 Localisation updates from https://translatewiki.net.
Change-Id: I9598aa304e0abb4f793fa779e0e737915add5af7
2015-09-09 22:06:30 +02:00
jenkins-bot 93c7490597 Merge "Use rendered contents when copying to clipboard" 2015-09-09 16:26:12 +00:00
Ed Sanders 036b6c9edf Resolve image paths when writing to clipboard
Bug: T111927
Change-Id: Idf3b761481454197eecbc0f6cd5cf6199419ca6c
2015-09-09 16:19:18 +00:00
Ed Sanders d67d110d26 Use rendered contents when copying to clipboard
Bug: T111923
Bug: T111924
Change-Id: I04b98e317d0c883fc257c46552476041c7f53679
2015-09-09 08:56:22 -07:00
Ed Sanders b900adfe74 Exclude citefromid and cite-(book,journal,...) commands from ref dialog
So that users can't place references in references.

Change-Id: I7953f8137dc5422ecd0cee648a30e2c181fbb43c
2015-09-09 12:42:39 +01:00
Alex Monk 2fcf6b7ce7 Load visualeditor-saveerror-titleblacklist and fancycaptcha-reload-text for all targets
During testing of saveFailure for T110272, I noticed these were showing up as broken
missing messages on mobile.

Change-Id: I20ce66ba180b6f40443ba7a9a7a0da3de3b4e6f3
2015-09-09 03:55:52 +01:00
Translation updater bot a76c3ad66d Localisation updates from https://translatewiki.net.
Change-Id: I46dedc50c43bc858187fb179c387d36fd305f61a
2015-09-08 21:50:34 +02:00
jenkins-bot 343854a5b4 Merge "Remove compatibility aliases for old ve init modules" 2015-09-08 18:31:56 +00:00
James D. Forrester 2e963221f7 Update VE core submodule to master (97742c0)
New changes:
6e5d335 sa.DesktopTarget: Clean up handling of actions toolbar
52a609d ElementLinearData: Add extra check to hasContent
97742c0 Allow shift+delete to cut on non-Mac platforms

Change-Id: I2a46c4a5e46fcc339b3686ce88f4137c74017d87
2015-09-08 08:34:04 -07:00
jenkins-bot aae36abcc1 Merge "build: Upgrade grunt-banana-checker to v0.3.0" 2015-09-08 11:54:51 +00:00
jenkins-bot 3b82179c06 Merge "Initialize actions toolbars" 2015-09-07 19:35:17 +00:00
James D. Forrester 78b415cc69 build: Upgrade grunt-banana-checker to v0.3.0
So many old keys not yet removed. Oy. Also, disable disallowDuplicateTranslations
for now as this fails so much.

Change-Id: I52e1555335a6e64b1e9db541ba726cf6ce8c7dd0
2015-09-07 11:59:50 -07:00
Roan Kattouw 36dc5147bb Initialize actions toolbars
Right now .initialize() doesn't do anything other than enable
the window resize handler for toggling the "narrow" styling,
but as a matter of principle we should call .initialize()
on toolbars after attaching them.

Change-Id: I419c943d1d20af2105b84b8f5fbccc7070af601b
2015-09-07 11:30:30 -07:00
jenkins-bot 31bdb77d63 Merge "mw.trackSubscriber: Log platform as phone vs. desktop" 2015-09-07 16:06:08 +00:00
Translation updater bot 4633179b10 Localisation updates from https://translatewiki.net.
Change-Id: Idf8a7a575a4bc71a17f8f11d4f275ac09490aa62
2015-09-06 21:43:33 +02:00
James D. Forrester 5337b249a2 Update VE core submodule to master (d58d7d4)
New changes:
5542fe9 Localisation updates from https://translatewiki.net.
0a64089 Follow-up 5542fe9: Fix build for added language 'glk'
26c8862 Update OOjs UI to v0.12.7
0481471 Make ve.ui.Sequence#execute return false if the command is missing
20fd431 Localisation updates from https://translatewiki.net.
521d281 Localisation updates from https://translatewiki.net.
a76cbef build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
7022385 Back out "Re-use example surface across surface view tests"
3a8f7af Don't call setInsertionAnnotations on handleInsertion
10700e2 Localisation updates from https://translatewiki.net.
3b75d9d Don't descend into overflow clipped nodes for highlights
9492aca De-duplicate methods in NodeDialog and NodeInspector using mixin

Change-Id: I06a239269c68351f046f8aa221bb82899a8f57b1
2015-09-05 22:55:25 +00:00
James D. Forrester 486bc7e6e3 mw.trackSubscriber: Log platform as phone vs. desktop
Change-Id: I71c25f28098c72ed779117da9c243dc3a87e611d
2015-09-05 21:29:03 +00:00
jenkins-bot f6a2e3658c Merge "Abstract mwExtension behaviour into MWExtensionWindow" 2015-09-05 21:26:31 +00:00
Translation updater bot 0853d62fa0 Localisation updates from https://translatewiki.net.
Change-Id: I05d75e4f420a5915e346a120e51b2e2567a6be56
2015-09-05 21:10:47 +02:00
Ed Sanders 8815d1397f Abstract mwExtension behaviour into MWExtensionWindow
Allows us to create an MWExtensionDialog base class that shares
the logic.

Change-Id: I53c8f1713a3513d2635cfd736ec8fc3f9616d864
2015-09-05 18:18:24 +01:00
jenkins-bot 667d8d9935 Merge "Bump Schema:Edit to revision 13457736" 2015-09-04 21:14:01 +00:00
Translation updater bot b3bdb8691d Localisation updates from https://translatewiki.net.
Change-Id: Icfa560e58cb0deabd2722c261ec44ce8f3c8d6e4
2015-09-04 21:54:45 +02:00
Alex Monk 2c201a6d88 Load new gallery styles module
Bug: T98878
Change-Id: Iafebab7332df59900d8144018f8b67a719e5df3f
2015-09-04 19:11:15 +01:00
Alex Monk 6d94d060ac Bump Schema:Edit to revision 13457736
* Remove page.length
* Add action.abort.type = switchnochange

Needs to be deployed at the same time as Ib99700ac

Bug: T111420
Change-Id: I7ee245157d4de6c220d7cdf54cd1dd69ff836f15
2015-09-04 00:51:05 +00:00
Ed Sanders ecdcdcc69f VisualEditorDataModule: remove $msgKeys
This is apparently no longer used.

Change-Id: Iccf6e00a4e96aece9a81f1f7f91024faf15b0798
2015-09-03 21:29:51 +00:00
James D. Forrester efe7270819 build: Bump grunt-contrib-jshint from 0.11.2 to 0.11.3 to fix upstream issue
Change-Id: I6215f90dd501a7bc27b47f21130567893709cc4a
2015-09-03 14:11:01 -07:00
Translation updater bot 74a4ad449f Localisation updates from https://translatewiki.net.
Change-Id: I507bee6f5db64823b72e9fb76033640c8f2d59dd
2015-09-03 20:40:48 +02:00
Alex Monk 7c2f6e1f5f Don't break when you cancel the link inspector
Bug: T111241
Change-Id: Iff96aa4d97fe64a2472a58b3bf782085313899c6
2015-09-02 21:30:51 +01:00
Translation updater bot c503547e47 Localisation updates from https://translatewiki.net.
Change-Id: I6aad78decfbb76f3ea704a381971ff73cb5f31cb
2015-09-02 21:39:43 +02:00
jenkins-bot 38a94dd8d5 Merge "Fix cancelling of extension inspectors" 2015-09-02 11:50:18 +00:00
Alex Monk a02d8573b4 Fix cancelling of extension inspectors
* Don't insert/update/remove nodes on cancel in MWExtensionInspector
* Don't forget to popStaging on cancel in MWLiveExtensionInspector

Bug: T110992
Change-Id: I1e30206595e304eb502c7e745bf5e00d145d12d7
2015-09-02 02:32:11 +01:00
Ed Sanders 471df53aaf MWLinkInspectorTool: Add parent method call to #updateState
Bonus: No need to check if fragment is a SurfaceFragment.

Bug: T111099
Change-Id: Ieaa3ee979477175d0f129e30838853bc04937fad
2015-09-01 21:09:13 +00:00
Translation updater bot 2462889843 Localisation updates from https://translatewiki.net.
Change-Id: I42f1f5497936b7fb0a5af3050a5955ec1508640c
2015-09-01 21:46:35 +02:00
Ed Sanders b9183540ef Remove explicit setting of ce=false on FocusableNodes
FocusableNode already sets ce=false so this is redundant.

Change-Id: I4432dd0a5e5dff3f8e909f2d7c1912f3d69e1b70
2015-09-01 18:51:54 +00:00
jenkins-bot 8502d3ea05 Merge "Specialized inspector for ISBN magic links" 2015-09-01 18:34:23 +00:00
C. Scott Ananian 7cc23367f6 Specialized inspector for ISBN magic links
Implement a special node type, context item, and inspector for
ISBN/PMID/RFC magic links.  Add buttons to the link inspectors
to convert back and forth between "simple" links, and magic links.

Depends on I5d000d8b63dafdfe0a2753069d3f0ac5b03b8829 in Parsoid
for clean round-tripping of localized ISBN magic links.

Bug: T63558
Change-Id: Id5b7a2ae3c80b0e5eed598f0bd024d3e94f7e9aa
2015-09-01 14:25:59 -04:00
jenkins-bot 8f96550044 Merge "<visualeditor-dialog-media-size-section-help>: Fix grammar" 2015-09-01 18:09:53 +00:00
maurelio febd93b1d4 <visualeditor-dialog-media-size-section-help>: Fix grammar
Requested at TranslateWiki.Net:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Visualeditor-dialog-media-size-section-help/en

Change-Id: I8842dbbf57f8be5d4f2fcc320b73a9d8f0a2c6e3
2015-09-01 18:06:00 +00:00
James D. Forrester 1aab5a2322 Update VE core submodule to master (62cf769)
New changes:
62cf769 Store find and replace toggle states in user config

Local changes:
* Register new visualeditor-findAndReplace-* options

Change-Id: I5934882f25614bd79488fff7e8fa0af5ede0af38
2015-09-01 10:50:06 -07:00
jenkins-bot 61e753ec89 Merge "Implement getUserConfig and setUserConfig in MW" 2015-09-01 17:22:27 +00:00
jenkins-bot 65c073813e Merge "Rerender extension node immediately if no images exist" 2015-09-01 14:57:41 +00:00
jenkins-bot 6521b4a76e Merge "Allow trailing punctuation for typed ISBN/PMID/RFC autolinks" 2015-09-01 14:39:29 +00:00
Ed Sanders 519e029298 Rerender extension node immediately if no images exist
Bonus: Filter out images which already have width/height defined

Bug: T110314
Change-Id: I9fbd5050bb5d10c9c24a2b761f6248da8179bf72
2015-09-01 09:50:58 +00:00
Ed Sanders e4c351e362 Implement getUserConfig and setUserConfig in MW
Depends on I5704a0e3e0 in core.

Change-Id: I0d6c9317a91dc02566d8877bd1aefae581213cbb
2015-09-01 01:03:38 +00:00
James D. Forrester efcc8a9781 Update VE core submodule to master (83c5ca4)
New changes:
fdf0756 Localisation updates from https://translatewiki.net.
686f1cc tests: Use model-only surface in ListAction test
4b5ede7 tests: Reuse test view in paste tests
14a0f11 tests: Re-use example surface across surface view tests
94105a7 Localisation updates from https://translatewiki.net.
b505daf Follow-up 94105a7: Fix build for added language 'en-ca'
83c5ca4 Platform: Add user config methods

Change-Id: Ic24413beac9bc0f454ba1e077e5f4f1ef210640d
2015-08-31 17:50:01 -07:00