Commit graph

11433 commits

Author SHA1 Message Date
Roan Kattouw 8e69dfa3b8 ArticleTarget: Correct comment explaining where setAssumeExistence( false ); is called
Change-Id: Ib883ea1fe57fe6cb3e182965a18eb3fb50246178
2016-04-02 20:28:44 +03:00
jenkins-bot 65ee77da50 Merge "MWExternalLinkAnnotation: Only match plain external <a>s with hrefs" 2016-04-02 16:05:36 +00:00
Ed Sanders 6fad9ecdee MWExternalLinkAnnotation: Only match plain external <a>s with hrefs
We now accept non-Parsoid generated external links from paste,
so make sure they have href attributes otherwise they aren't
really external links and will throw exceptions later on.

Bug: T131430
Change-Id: Ifb565b1ce30cfe80ae72b17f6a9551ea40b36453
2016-04-02 18:51:56 +03:00
James D. Forrester 4b8570dd38 Update VE core submodule to master (c2561bb)
New changes:
055a40a LinearArrowKeyDownHandler: more tests
429fe72 Localisation updates from https://translatewiki.net.
94f9068 Localisation updates from https://translatewiki.net.
b82cb77 Allow toDataElement to return an empty array
039ea22 Follow-up 94f9068: Fix build for added language 'khw'
ea5f51c build: Bump various devDependencies to latest
64950f5 Factor out undeletability from internal-ness
2f0a034 Document#writeElement: Avoid double-space in error message
4552f5c Table editing: Refactor active table node to be more generic
7670ed8 DSVFileTransferHandler: Use factories to create the right type of table
feefeda DSVFileTransferHandler: Skip empty terminal lines in input files

Change-Id: Ifa5487c7d79553634e3e1a810a43dcbf462526eb
2016-04-02 13:53:19 +03:00
jenkins-bot aa5f992159 Merge "MWExtensionNode#generateContents: Fix renderEmpty logic" 2016-04-02 09:31:07 +00:00
Tpt 8ccbb58ca6 MWExtensionNode#generateContents: Fix renderEmpty logic
This static attribute is not used anywhere so it should be safe

Change-Id: I633c521859b59614835344a4644560ac933c6028
2016-04-02 07:58:33 +00:00
Translation updater bot 6b4dcefcf2 Localisation updates from https://translatewiki.net.
Change-Id: I520bd24cc795d85ab66e2d623d77b7141d0188ab
2016-04-01 22:30:49 +02:00
jenkins-bot 743b53c4e3 Merge "Hooks#onAuthPluginAutoCreate: Only act if not default" 2016-04-01 14:20:23 +00:00
James D. Forrester e9af948c3e Hooks#onAuthPluginAutoCreate: Only act if not default
Change-Id: If52c23b523953aabf52ef3e889a77b422a149c63
2016-04-01 14:29:26 +03:00
Roan Kattouw f6ba399137 Fix asynchronous loading of MWAlienExtensionNode renderings
ve.dm.MWExtensionNode#toDataElement calls storeGeneratedContents()
which prepopulates the cache, but because it was being called with
the wrong context, this.name was null and so the key we were storing
it under was different from the key we'd later be looking for.

Fixed by ensuring ve.dm.MWAlienExtensionNode#toDataElement preserves
context when calling its parent. Our static context hacks are tricky.

Change-Id: If859d861453067d7656a33a1767f6efc7bd9d323
2016-04-01 12:50:13 +03:00
Translation updater bot 1ad77ddf91 Localisation updates from https://translatewiki.net.
Change-Id: Ic552bb2a2a87252033cc9f6ab57ff9545f6686b5
2016-03-31 22:47:29 +02:00
jenkins-bot 2449ce203d Merge "Use veaction=edit in URL instead of action=edit when we're using multiple tabs" 2016-03-31 15:42:40 +00:00
jenkins-bot 98cf88a205 Merge "Set User-Agent in server-side VRS requests to RESTBase/Parsoid" 2016-03-31 08:39:00 +00:00
Translation updater bot db5741d061 Localisation updates from https://translatewiki.net.
Change-Id: Ib60a84f5f2dd85ed5b2f9dd89b8eb64402e8a2d6
2016-03-30 22:43:22 +02:00
Alex Monk 4210c4bee0 Use veaction=edit in URL instead of action=edit when we're using multiple tabs
TODO: What about prefer-wt users switching from WTE?

Bug: T131064
Change-Id: I9aa701cbda3964decb8b1ee853c0a281567a0ccb
2016-03-30 02:54:01 +01:00
Alex Monk 1c455a5fb8 Set User-Agent in server-side VRS requests to RESTBase/Parsoid
Bug: T131171
Change-Id: I385ef1f3efb674c4ad3ffb334c0ff5b830f89a37
2016-03-30 01:05:50 +01:00
jenkins-bot 4dadaa677c Merge "MWWikitextStringTransferHandler: Add test for autoGenerated=true" 2016-03-29 22:01:39 +00:00
jenkins-bot f5f97adbe4 Merge "MWWikitextStringTransferHandler: Factor out body tag from response" 2016-03-29 21:42:09 +00:00
jenkins-bot b44cee5557 Merge "MWWikitextStringTransferHandler: Remove data-parsoid from tests" 2016-03-29 21:39:07 +00:00
Translation updater bot f753a46fa1 Localisation updates from https://translatewiki.net.
Change-Id: I840ba9e9d5c3eaed4837cabbd5fbf35c1079150e
2016-03-29 22:40:33 +02:00
Ed Sanders 18df6c3d47 MWWikitextStringTransferHandler: Add test for autoGenerated=true
Bug: T131153
Change-Id: I4922abe7978e1f04eb2276214c761622b44149c7
2016-03-29 19:57:45 +00:00
Ed Sanders b51b512555 MWWikitextStringTransferHandler: Factor out body tag from response
Change-Id: Ic694d1099538d2c60900d490667f2175f7f3afb3
2016-03-29 19:57:36 +00:00
Ed Sanders 818931dd9e MWWikitextStringTransferHandler: Remove data-parsoid from tests
It is ignored by VE, and isn't present in restbase responses.

Change-Id: Iaa2a6a66ba76ca0d63b4d6791ab8589191bce0f2
2016-03-29 19:57:26 +00:00
jenkins-bot 0242dedff9 Merge "Filter out auto-generated reference lists" 2016-03-29 19:37:35 +00:00
jenkins-bot 851b5a9644 Merge "Update VE core submodule to master (18bac29)" 2016-03-29 17:19:01 +00:00
jenkins-bot 18533b47fa Merge "Toolbar: Add tooltips to structure and insert groups" 2016-03-29 17:15:51 +00:00
James D. Forrester 0b39a17870 Update VE core submodule to master (18bac29)
New changes:
3e587b8 sync-gh-pages: Fix "oojs-ui-apex.vector.css" 404 Not Found
0e53633 Toolbar: Add tooltip to structure group
7f0b6f7 Remove icon properties from windows
3a612b2 Fix positioning of mobile windows

Change-Id: I2a6995e61a76abfc0f77d3301c7c76593756463c
2016-03-29 10:10:26 -07:00
jenkins-bot 29af9b54b6 Merge "MWPopupTool: Don't pass $1 to visualeditor-beta-warning any more" 2016-03-29 16:52:31 +00:00
jenkins-bot 190c64ed69 Merge "Select tool when it's been closed by education tool popup button" 2016-03-29 16:42:38 +00:00
jenkins-bot b9643881d9 Merge "Remove icon properties from windows" 2016-03-29 16:37:22 +00:00
Alex Monk 0760cd6974 Select tool when it's been closed by education tool popup button
Bug: T117273
Change-Id: I54b704b6663f7d862557e6524713259dee8765cc
2016-03-29 15:54:22 +01:00
Ed Sanders 9a347220bc Target loading: Only parse oldid if it is non-null
This un-breaks MobileFrontend.

Change-Id: Ib1bce6b80abb004ff4ca26920759ef98f3cd1143
2016-03-29 12:57:00 +01:00
Ed Sanders c516d897d2 Remove icon properties from windows
Windows stopped supporting icons a while ago.

Change-Id: I8a63152282a5968dcd17675330e31bd1ebe4b68b
2016-03-29 12:33:42 +01:00
Ed Sanders 1d8d1c2a64 Toolbar: Add tooltips to structure and insert groups
Bug: T131133
Change-Id: I927bf6f0d1de74b4ac8d16c3b5ce27720db322d4
2016-03-29 12:08:22 +01:00
Translation updater bot d4d1f10b95 Localisation updates from https://translatewiki.net.
Change-Id: Ifdc4b011bcb895ae3fa39a1fbe31b1640d1e56e4
2016-03-28 22:46:52 +02:00
James D. Forrester a6477fb960 MWPopupTool: Don't pass $1 to visualeditor-beta-warning any more
Change-Id: Ib2f63d1626d8286c7dfd74227d09046a7d2af509
2016-03-28 19:53:08 +00:00
jenkins-bot ff61173f90 Merge "MWLinkAnnotationInspector: select entire link when switching tabs" 2016-03-28 19:22:35 +00:00
Ed Sanders 681250dd5e Filter out auto-generated reference lists
Bug: T101553
Bug: T127664
Change-Id: Idc8c6f30ccdd5eaf76a3f7c1b923d8656ca36413
Depends-On: I24250845e97acb4b7de9c495cb46dbd28fc8817e
2016-03-28 17:23:42 +00:00
James D. Forrester 8910172d01 Update VE core submodule to master (59e4090)
New changes:
d195e07 dm.Document#newFromHtml: Allow HTMLDocument argument as well as string
59e4090 Localisation updates from https://translatewiki.net.

Change-Id: I747d1406ffabf3682eca8b4d5a812d8b54d7e6bf
2016-03-28 09:53:45 -07:00
David Lynch d33f5969ad MWLinkAnnotationInspector: select entire link when switching tabs
Bug: T129650
Change-Id: I4ca445f2c43438c36ece23245660b63f2a48b722
2016-03-28 11:38:45 -05:00
James D. Forrester 0a23ec716d i18n: Drop another two references to the wikitext editor
Change-Id: I89b727e880f40d6e82fb584beb4647aed6134e90
2016-03-28 08:47:20 -07:00
Translation updater bot f239e17a1e Localisation updates from https://translatewiki.net.
Change-Id: Ie585e9b5dd0251d35e90646f0ff79cc76cf66da8
2016-03-27 21:25:48 +02:00
Thalia 003e02efaa MWAceEditorWidget: Update maxRows and minRows if minRows is changed
This was being done correctly in initialize, but not in setMinRows.

Bug: T131009
Change-Id: I57c771720c59ca1d75f0b9bc14e7c834237019d5
2016-03-27 17:42:11 +00:00
jenkins-bot ec1f924c59 Merge "Defer the user save in onCustomEditor() to post-send" 2016-03-26 03:16:50 +00:00
jenkins-bot ff65a71773 Merge "Template Dialog: pushPending while the dialog is closing" 2016-03-26 03:13:42 +00:00
jenkins-bot 068bafd9df Merge "ArticleTarget: Don't assume an explicit oldid is old; check against current" 2016-03-26 00:49:58 +00:00
Alex Monk 680e464e94 ArticleTarget: Don't assume an explicit oldid is old; check against current
Bug: T130810
Change-Id: I3d5b748da37a0a059f282f97dd0d68d1846e2553
2016-03-25 17:37:02 -07:00
jenkins-bot d395b31fdb Merge "Update VE core submodule to master (b286f7f)" 2016-03-25 22:44:23 +00:00
jenkins-bot 35ea4b3e4e Merge "Don't strip namespace from text that we replace firstHeading with" 2016-03-25 22:43:41 +00:00
James D. Forrester e46e81916d Update VE core submodule to master (b286f7f)
New changes:
1f298ce Update OOjs UI to v0.16.4
650776a Improve drop target preview for block node dragging
77fb965 LinearArrowKeyDownHandler: test more
0f669bf Fix behaviour of SurfaceFragment#annotateContent
fa08fca ve.ui.ContentActions: Add tests
3f4185f Tests: Add speed warnings to UI surface constructors
4bee4eb Localisation updates from https://translatewiki.net.
b678dbe Refactor getNodeAndOffset
254a802 Localisation updates from https://translatewiki.net.
0f0d980 SurfaceFramgent: Guard against tx.getModifiedRange returning null
603abe4 TriggerRegistry: Alter trigger for paste special on Mac to OS standard

Change-Id: I512c9b3a99673a876040e0fce789483e7221a78c
2016-03-25 15:30:43 -07:00