Commit graph

12894 commits

Author SHA1 Message Date
James D. Forrester 51dbeca930 Update VE core submodule to master (495cd7d65)
New changes:
e0651b2df Move -hasDescriptions class toggle into #renderDiff
94dbb244d Fix dm.BlockquoteNode to inherit from ContentBranchNode
8715f7be7 Remove superfluous setting of canContainContent when inheriting from CBN
88e5b918d Replace instanceof ContentBranchNode with #canContainContent
c4b404408 DiffTreeNode: Use getters for type and attributes
869f3d34a SurfaceFragment: Avoid double-annotating in insertDocument, as well
931bd2410 Localisation updates from https://translatewiki.net.
f0cdae3ab Disable double-click & enter on focusable nodes when model is not editable
cb9ba7137 sync-gh-pages: Add .nojekyll file
495cd7d65 Re-apply "Remove $returnFocusTo hack now null is supported upstream"

Bug: T143261
Bug: T161262
Bug: T161547
Change-Id: I1a54293f9a2e0b27adc4fa0708b8dc1fdcca16b0
2017-03-28 10:50:20 -04:00
jenkins-bot 57d57cdbbf Merge "ve.init.mw.DesktopArticleTarget: Remove unused code" 2017-03-28 00:50:50 +00:00
Bartosz Dziewoński 0e1bc7309b ve.init.mw.DesktopArticleTarget: Remove unused code
As it happens, #redirectsub is correctly spelled all lowercase,
unlike #contentSub. This line does nothing. We remove #redirectsub
correctly elsewhere; I don't think this was ever meant to be here.

Follows-up 96421b283c.

Change-Id: I3e4c6eb2ff94f363b488477b3ddd248e571e723a
2017-03-28 00:39:38 +00:00
Translation updater bot 2f5998000e Localisation updates from https://translatewiki.net.
Change-Id: I922c40abd3ed0ae819f9e59c63c40a0159e09eaa
2017-03-27 23:48:36 +02:00
Translation updater bot d9a3ab6c1b Localisation updates from https://translatewiki.net.
Change-Id: Id8ea802cf94dbdb58777adc559758795080a50ee
2017-03-26 22:48:21 +02:00
Ed Sanders 4ac660ad48 Defer rendering of visual diff until tab is selected
Bug: T161355
Change-Id: I718a92f4c9f8c3a48e359da898ede7dccebcec5e
2017-03-25 13:23:28 +00:00
jenkins-bot 34552aba9d Merge "Use ve.targetLinksToNewWindow" 2017-03-24 23:56:51 +00:00
jenkins-bot 16445f1ae9 Merge "Update VE core submodule to master (7b51cb6ab)" 2017-03-24 23:56:50 +00:00
jenkins-bot 34fa4dcda6 Merge "Use original title or normalized title when inserting link text" 2017-03-24 22:27:33 +00:00
Ed Sanders 738d3aff47 Use original title or normalized title when inserting link text
Original title will preserve the case of what the user entered
into the inspector. Noramlized title will remove any unwanted
leading colons from file/category links.

Bug: T118408
Bug: T124410
Bug: T160977
Change-Id: I92ffc19eab4eead0d124e84afc1e5a0a3e535867
2017-03-24 22:16:31 +00:00
L10n-bot 3cbf2f8078 Merge "Localisation updates from https://translatewiki.net." 2017-03-24 22:03:31 +00:00
Translation updater bot cb6884136c Localisation updates from https://translatewiki.net.
Change-Id: Ic4b43e99dddd8e74ee58ba4a00fc34c3cbeb0681
2017-03-24 23:03:24 +01:00
jenkins-bot 09b0340c90 Merge "Apply the 'external' link class hack to MWPreviewElement" 2017-03-24 21:55:40 +00:00
Ed Sanders b756199dc7 Use ve.targetLinksToNewWindow
Depends-On: I3088e8b95d9032b8e8fd5bff58a8b97ffaa15f98
Change-Id: I07ec10841b62ed1e8c3b3cf82b42653327618cb0
2017-03-24 21:34:47 +00:00
James D. Forrester e996d44e72 Update VE core submodule to master (7b51cb6ab)
New changes:
f887e6b7a Only show branch node rebuilds in inputDebug mode
81ff8b246 Localisation updates from https://translatewiki.net.
e09334387 SurfaceFragment: avoid double-annotating in insertContent
7b51cb6ab DiffElement: Resolve URLs in links and target at new window

Bug: T143261
Bug: T160939
Change-Id: Iede559dbd2d9b42d904ccab329d311780a758477
2017-03-24 14:33:48 -07:00
Ed Sanders c485bd4fce Apply the 'external' link class hack to MWPreviewElement
Change-Id: I3ccea9a72f812e73bdc4d8d34635671dfd493be4
2017-03-24 18:53:08 +00:00
James D. Forrester 79b7d0305a *ArticleTarget: Don't trust oldid in the query string, it lies
Bug: T156998
Change-Id: Iacb94710c8f2f5fbd8d3de9c8a44424aba0c7d02
2017-03-24 00:30:00 +00:00
Translation updater bot e8bd893e93 Localisation updates from https://translatewiki.net.
Change-Id: I6463f2e4c50274718ae3bfa80e557be5dcca4d65
2017-03-23 23:03:48 +01:00
jenkins-bot 21ec4e87a9 Merge "Section editing: strip links from heading text used for edit summary" 2017-03-23 18:45:07 +00:00
jenkins-bot 0869a70cfa Merge "Fix typo in surfaceReady documentation" 2017-03-23 18:09:40 +00:00
jenkins-bot 0bb9bd5aa3 Merge "ve.dm.MWImageNode#describeChanges: Ignore borderImage noise from the model" 2017-03-23 16:11:07 +00:00
jenkins-bot e573a5f444 Merge "ve.ui.MWGalleryDialog: Don't die if the dropdown menu doesn't have a value" 2017-03-23 15:55:16 +00:00
James D. Forrester 68395ed7d5 Update VE core submodule to master (0cc3ded3d)
New changes:
9e27aeaed When indexing originalDomElements for ve.dm.Annotations, disregard child nodes
ce3618d86 DiffElement: Ensure del/ins tags encapsulate annotation changes
0cc3ded3d i18n: Add a default alignment value

Bug: T160839
Change-Id: If8500f521f1347daa87a7583e231c1dcbe1525d5
2017-03-22 18:45:58 -07:00
James D. Forrester c70526f0a2 ve.dm.MWImageNode#describeChanges: Ignore borderImage noise from the model
Also follow-up 335b56728a by adding the visualeditor-changedesc-align
i18n which was missed.

Change-Id: I801f66c0028f71cf2cdbcb8f1675ba1f5a3cde31
2017-03-22 17:28:41 -07:00
L10n-bot c0c2e5d9c1 Merge "Localisation updates from https://translatewiki.net." 2017-03-22 22:10:38 +00:00
Translation updater bot fe5488bd82 Localisation updates from https://translatewiki.net.
Change-Id: Id53d79ec3c6ace2db8a3a39a039396c80899cafa
2017-03-22 23:10:31 +01:00
jenkins-bot 628852c3bc Merge "ImageCaptionNode: correct documentation typo" 2017-03-22 21:42:48 +00:00
jenkins-bot 048aaa7fb4 Merge "Connect onModelUpdate to the right view node" 2017-03-22 21:18:16 +00:00
Thalia 1f2655ce1a ImageCaptionNode: correct documentation typo
Change-Id: Ic6e66e82662ec2fbf673062a0b3bc1087c54c4c7
2017-03-22 21:10:47 +00:00
Ed Sanders ae780f43ed Fix typo in surfaceReady documentation
Change-Id: I4ae5552000eb6dc160acc4fd2e2b218bf2c7411f
2017-03-22 20:35:42 +00:00
Ed Sanders 9526bcf6a1 Connect onModelUpdate to the right view node
Pretty sure this event does nothing for block images, but
if we are going to bind, bind the the ce caption node, not
the ce image node.

Change-Id: I02b5500f381e932efba87d61ccdf668cda377757
2017-03-22 20:33:55 +00:00
James D. Forrester 555aba7fe8 ve.ui.MWGalleryDialog: Don't die if the dropdown menu doesn't have a value
Bug: T160967
Change-Id: Ic83e204eb5c2d14baadf0e450a27ce836337b983
2017-03-22 13:49:49 -05:00
David Lynch 1dc18b6703 Section editing: strip links from heading text used for edit summary
Stops us including "[edit]" in the summary when people have marked whole
headings for translation.

Bug: T160911
Change-Id: I906398e6bf45433d904795847f59b5bf0148092f
2017-03-22 02:00:24 -05:00
Translation updater bot 43dbe38dae Localisation updates from https://translatewiki.net.
Change-Id: Ic295ea41987f435be9fd025d274ab87179608194
2017-03-21 22:54:33 +01:00
Bartosz Dziewoński 86f739c994 Remove "prefix": "oo-ui-icon" from ve.ui.Icons.json
This gets overridden by "selectorWithoutVariant" and "selectorWithVariant"
in the module definition anyway.

Change-Id: I51b8e76d542058c008d92ce55c7ec6bb66df70b7
2017-03-21 20:27:04 +01:00
jenkins-bot ae247352d5 Merge "Update VE core submodule to master (f294778e6)" 2017-03-21 16:11:33 +00:00
James D. Forrester 551b601548 Update VE core submodule to master (f294778e6)
New changes:
642e86498 Localisation updates from https://translatewiki.net.
98608eb3d ce.test: Use nodeType constant
8e795e433 Fire a surface change event from the toolbar so tools can rebind

Bug: T160906
Change-Id: I9c3c65b43f3209049ba0ca7e587cc39fffc413d2
2017-03-20 08:37:41 -07:00
Ed Sanders 1adedfbd8b Disable clickable categories bar in wikitext mode
Bug: T160733
Change-Id: I79b7c880e63675a322b2ada053819b36a175ccbe
2017-03-20 11:07:52 +00:00
Translation updater bot b3566dde97 Localisation updates from https://translatewiki.net.
Change-Id: Ifb2f7e4a3f14de95c4b4400330d1b3207370fdff
2017-03-18 23:03:38 +01:00
James D. Forrester 8f4802b7f1 Update VE core submodule to master (a63435906)
New changes:
dcff78aa0 Pass element to describeChanges
51bc2139f Move diff cleanup to ve.DiffMatchPatch
92f3219e2 Use diff_match_patch action constants for better readability
0ff1f053f VisualDiff: Merge remove+inserts separated by whitespace only
5255ac49c Ensure inline node changes are balanced and minimal
a63435906 i18n: Add param documentation in qqq for some recent keys

Bug: T160632
Bug: T160729
Bug: T160740
Change-Id: Iacb47e849004fe52c1edb0ba09c26ac3f03cc06d
2017-03-17 23:16:18 +00:00
jenkins-bot fb16c402aa Merge "Replace deprecated Context::getStats() with MWServices::getStatsdDataFactory()" 2017-03-17 22:31:44 +00:00
Translation updater bot e227996539 Localisation updates from https://translatewiki.net.
Change-Id: Ie989ec6b785d9de48465481e4ef3da88f17e7998
2017-03-17 22:50:58 +01:00
WMDE-Fisch 9053906f33 Replace deprecated Context::getStats() with MWServices::getStatsdDataFactory()
Change-Id: If7ef514b625e67268d524477ac43ad9bc3dcae5f
2017-03-17 12:20:35 +01:00
James D. Forrester ff888f3b44 Update VE core submodule to master (ac6d7031c)
New changes:
80b31eddb Update treeDiffer.js library
96619eefb DesktopContext: on destroy, tell our popup to stop positioning
8dadf74f1 ve.ui.DesktopContext: Prevent hiding of the context popup

Bug: T160190
Bug: T160197
Change-Id: I3a09d528aae15b1be008f27803211f4ecd70947a
2017-03-16 17:38:45 -07:00
James D. Forrester fc332c69e7 Follow-up 335b56728: Reality doesn't run in perma-debug mode :-)
Change-Id: I042b907263a5ec40a277803d73c6bbd5e161b0f0
2017-03-16 17:09:10 -07:00
David Lynch e035c1de08 Follow up ec559041: abort notices display early if no notices
This avoids attempting to toggle after a destroy call has been made.

Change-Id: Ia756ff6436ec0590639dbbff216c9999daf684ec
2017-03-16 18:00:22 -05:00
James D. Forrester b6b041961b Follow-up 7a8cc04f0: Re-set qqq messages that i18n bot destroyed
Change-Id: I9f26d252db8069e514dddf00f6f42194fe0a1c15
2017-03-16 15:49:15 -07:00
Translation updater bot 7a8cc04f0d Localisation updates from https://translatewiki.net.
Change-Id: I75712f53ef3d2ca69f25d5bb3908ec66e2b4d249
2017-03-16 23:35:16 +01:00
jenkins-bot 421a432b7a Merge "VisualDiff: Add custom messages for change descriptions" 2017-03-16 21:50:07 +00:00
Ed Sanders 9cd8faea8b VisualDiff: Add custom messages for change descriptions
Bug: T151403
Change-Id: I469a3c7897f2417c1850364f65da51c0deca2386
2017-03-16 14:36:09 -07:00