Commit graph

12890 commits

Author SHA1 Message Date
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
jenkins-bot 0ae808913c Merge "Introduce visual differ in the save dialog" 2017-03-16 21:28:41 +00:00
jenkins-bot 85736d5a7b Merge "Follow-up eb8ba26a: Make MWNoticesTool#setNotices() display its own popup" 2017-03-16 20:14:05 +00:00
Ed Sanders 12c73bc01f Update VE core submodule to master (ef5dc965f)
New changes:
4b94f212e Add tool to change directionality of document view

Bug: T153356
Depends-On: I1e3d89e8250b75d0b6992cf4664e84de66d99bc0
Change-Id: Ic832cc661a0899b1668eb650fb09b66ada54d1ef
2017-03-16 12:42:42 -07:00
James D. Forrester ec5590418e Follow-up eb8ba26a: Make MWNoticesTool#setNotices() display its own popup
Running setNotices( [] ) makes MWNoticesTool run this.destroy() to avoid taking
up extra space in the toolbar when not needed.

Also, make setNotices() bail earlier.

Change-Id: I492fd59a1e15e8f296bf7f03d9b0035c40dafa59
2017-03-16 11:29:34 -07:00