Commit graph

14441 commits

Author SHA1 Message Date
Bartosz Dziewoński e1635fdc52 Update custom styles for format menu after OOUI changes
Bug: T193098
Change-Id: I00d28f16b03a31ecda1dc57050945e98e8eb37e8
2018-04-26 01:48:28 +02:00
Translation updater bot 77dfb16d96 Localisation updates from https://translatewiki.net.
Change-Id: I570df3a8eba0da0e7c8dc4036e5bda11d77e5683
2018-04-25 22:39:00 +02:00
James D. Forrester c07d4815e3 build: Follow-up 99d3320573: Drop babel-polyfill, never used
Change-Id: I3eccd0c345b2c528bbb9458d404a3e0c91ae88f5
2018-04-25 12:59:50 -07:00
James D. Forrester 3e8f2edc83 build: Bump some devDependencies to latest
grunt                        1.0.1  →          1.0.2
 grunt-contrib-watch          1.0.0  →          1.0.1
 grunt-image                  4.1.0  →          4.2.0
 grunt-stylelint              0.9.0  →         0.10.0
 stylelint                    8.2.0  →          9.2.0
 stylelint-config-wikimedia   0.4.2  →          0.4.3

Leaving babel-polyfill, grunt-mocha-test, jimp, mocha and selenium-webdriver
alone for now.

Change-Id: Ibea983670108a56ddbf748e140831147e31da329
2018-04-25 12:35:07 -07:00
Translation updater bot 056050c1be Localisation updates from https://translatewiki.net.
Change-Id: If2f8091487ff1f7e91f7ee2cebf3c0eac5bb8003
2018-04-24 22:22:58 +02:00
jenkins-bot fd082e577b Merge "ve.init.mw.DesktopArticleTarget: Setup toolbar before section title input" 2018-04-24 16:24:42 +00:00
Bartosz Dziewoński e3378e6d77 ve.init.mw.DesktopArticleTarget: Setup toolbar before section title input
When we set up the new section title input and possibly set its value
(preloading from URL query, or from autosave), the "Save" button on
the toolbar must already exist, because we try to enable it.

Bug: T192901
Change-Id: I3bba86a8c8a9b81014d425db256ff49f06bdaea6
2018-04-24 18:11:42 +02:00
David Lynch 44469f0f06 MWWikitextSurface onCopy: set text/x-wiki content if available
Equivalent to some existing copy-code in inspectors which handle raw wikitext.
Lets us shortcut content-sniffing with html/text content onPaste.

Change-Id: I27ded82a9675abdb3ee98ee29390e7079d11cf05
2018-04-23 16:04:49 -05:00
jenkins-bot c0364bc6a6 Merge "Teardown target before reloading article" 2018-04-23 21:00:43 +00:00
jenkins-bot ec8be1bfa1 Merge "Add a plain text paste transfer handler for source mode" 2018-04-23 21:00:41 +00:00
Translation updater bot 7fbf80ba13 Localisation updates from https://translatewiki.net.
Change-Id: If95b9c3f063dcd414670895a024ebe4e498295f8
2018-04-23 22:31:24 +02:00
Ed Sanders 1f4baa7b58 Teardown target before reloading article
Ensures that auto-save data is cleared after
creating a new article, or restoring a revision.

Bug: T192770
Change-Id: I348b8522c1a935d7db1243ba8fcbd5b24e3383a2
2018-04-23 21:30:37 +01:00
jenkins-bot 348e9163db Merge "Update VE core submodule to master (04137a1ed)" 2018-04-23 19:59:13 +00:00
jenkins-bot 248e138679 Merge "Rebaser: Use site language on special page" 2018-04-23 15:21:44 +00:00
gopavasanth 3e541774e8 Change http://www.mediawiki.org/ to https://www.mediawiki.org/
In other files, links to mediawiki site are https://www.mediawiki.org/

Bug: T189687
Change-Id: I0279a7ffdb9544a87a11ffdab7ff5d5d38ea6035
2018-04-23 15:08:43 +00:00
James D. Forrester 36dd685d3c Update VE core submodule to master (04137a1ed)
New changes:
3d8ead7b8 PlainTextStringTransferHandler: Forbid for paste again
04137a1ed Localisation updates from https://translatewiki.net.

Bug: T190590
Bug: T192320
Change-Id: If73bc765618122a4bcb13ebd6414b78ea12b9174
2018-04-23 07:59:32 -07:00
Ed Sanders 185c94087f Rebaser: Use site language on special page
Change-Id: I3a07083bb64e9b398cd403a1a0458b40f054672b
2018-04-22 22:18:45 +01:00
Translation updater bot 6fa8c0b66e Localisation updates from https://translatewiki.net.
Change-Id: Ie1e0cb78a76dc101ae49cec4de7679b3e363c7df
2018-04-22 22:22:17 +02:00
David Lynch 6f8e58fa8a Add a plain text paste transfer handler for source mode
This allows plain text pasting into source mode without interfering with the
possible-conversion that should happen when it's pasted into visual mode.

Bug: T190590
Bug: T192320
Depends-On: I47a5bf321fb64d4a631ec6fd728bee269d4cdae0
Change-Id: I71db368c683a6a846569d7627f4cc73e907a61d2
2018-04-22 12:52:56 -05:00
Translation updater bot 123af42615 Localisation updates from https://translatewiki.net.
Change-Id: I5f8b729daad53625e8980f43aa277058c350dafe
2018-04-21 22:15:52 +02:00
Translation updater bot 2cdb3e1c3b Localisation updates from https://translatewiki.net.
Change-Id: I47bac6be02f53feb37abf137aaa63b3623998799
2018-04-20 22:13:05 +02:00
James D. Forrester 48979b62c7 Update VE core submodule to master (1d00a1715)
New changes:
007621d0d Add .spliceAt field to annotation operations
8d533f71b Use .spliceAt field when processing annotation operations
1185206ee Always remove data-ve-attributes on external paste
bf97ca335 Update OOUI to v0.26.4
09bff69c3 Localisation updates from https://translatewiki.net.
e7dad5b43 FocusableNode: Adjust alignment in headings

Bug: T188709
Bug: T192227
Bug: T192378
Change-Id: Ic927173a4f19400f16d3d997db1d891076ae3ec7
2018-04-20 07:59:14 -07:00
Translation updater bot 136f579a45 Localisation updates from https://translatewiki.net.
Change-Id: Ica7d1b134c50e6480b2451270799c7ff1ac729e0
2018-04-19 22:14:04 +02:00
jenkins-bot 6e44244af5 Merge "Sortable table header: Account for null entries in table matrix" 2018-04-19 16:08:01 +00:00
jenkins-bot 9ecd73f771 Merge "NWE: Fix selection when applying async links" 2018-04-19 16:01:22 +00:00
Ed Sanders 24ae471fd1 Sortable table header: Account for null entries in table matrix
Bug: T192545
Change-Id: I05bb80a0afce72a8202209499947781efe684584
2018-04-19 14:27:22 +01:00
Translation updater bot c68300afd3 Localisation updates from https://translatewiki.net.
Change-Id: I930ad4ae5ae44f07c9f9048c6deb7b03fb655012
2018-04-18 22:11:06 +02:00
jenkins-bot 5ae421d715 Merge "Refactor ve.dm.MWTransclusionNode.static.describeChanges" 2018-04-18 07:26:10 +00:00
jenkins-bot bc12e25b35 Merge "MWExtensionNode: Diff mw.attrs" 2018-04-18 07:26:08 +00:00
Translation updater bot 2d2c8fcffe Localisation updates from https://translatewiki.net.
Change-Id: I195c3e24dbecc4de285ed1d3e7780cd6ee344001
2018-04-17 22:25:30 +02:00
jenkins-bot 69f0ff1016 Merge "Blacklist images with data URLs" 2018-04-17 19:48:20 +00:00
Ed Sanders 6625fc5c85 Blacklist images with data URLs
These aren't supported by VE-MW, so must just be
garbage from a browser plugin.

Bug: T192392
Change-Id: I24646244daf2847e4dee88273058658300880dfc
2018-04-17 20:10:51 +01:00
jenkins-bot 6902e81768 Merge "Use ellipsis on toolbar save/publish button" 2018-04-17 18:34:17 +00:00
jenkins-bot a8e6d1ddd5 Merge "Add label to Options dialog > Categories input fields" 2018-04-17 18:18:55 +00:00
jenkins-bot d325f793a9 Merge "Show revision info on historical diffs" 2018-04-17 17:36:21 +00:00
jenkins-bot afd08dbc4d Merge "Only resolve wikitext promise when progress dialog has closed" 2018-04-17 16:52:26 +00:00
jenkins-bot 9ea5a94ac9 Merge "Update VE core submodule to master (a64ba1cc6)" 2018-04-17 16:42:08 +00:00
Ed Sanders 53e758a427 NWE: Fix selection when applying async links
Change-Id: I31dc6f2d9fcd563bdbd8245bda6336d317aa512a
2018-04-17 16:33:23 +00:00
Ed Sanders b38500f102 Only resolve wikitext promise when progress dialog has closed
Logically depends on I0cdb004011 to fix the bug.

Bug: T182402
Change-Id: I8ecd695c052a6c759b8261e81fb25c771bdf3d56
2018-04-17 16:33:14 +00:00
James D. Forrester 58c5643f1e Update VE core submodule to master (a64ba1cc6)
New changes:
aee32648a Allow access to a fragment's async state
a64ba1cc6 Add extra copy/paste tests for <span> clipboard keys

Local changes:
* Fix signature of runSurfacePasteTest

Change-Id: Idbc2f2c25eaf0606c51d9dff8ec23562f5244c08
2018-04-17 16:02:04 +00:00
hunter be5289689f Add label to Options dialog > Categories input fields
Add label to indicate the function of the input field underneath the
categories label in the options dialog. The <label> element is
preferred for screen readers and users with visual disabilities.

Bug: T146966
Change-Id: Ib300ca7a1fd55d320c1a1a8c8c7fd01ab8b0b9c5
2018-04-17 06:28:32 +00:00
Translation updater bot af736d5f5c Localisation updates from https://translatewiki.net.
Change-Id: I47f3d83a68e3ddfd603607fd9553ed7005fdba06
2018-04-15 22:23:40 +02:00
Fomafix 30f7728a71 Fix typo in comment
Change-Id: If19045e432d6de8e6c8352518b5dacd70eda41ce
2018-04-15 14:30:31 +02:00
Translation updater bot 368a06e262 Localisation updates from https://translatewiki.net.
Change-Id: I85ef1313ca91ec9fa0665236390bd4e9949cfe63
2018-04-14 22:14:08 +02:00
Kunal Mehta c765524709 Set extension type to editor
Change-Id: I5712224c5ec4bfa6ac7c1b3091f6f80e0916941f
2018-04-13 22:07:13 -07:00
Translation updater bot 501cd6c200 Localisation updates from https://translatewiki.net.
Change-Id: I0f15e3803dd61cd5179446135c4d345bc97f2ad9
2018-04-13 22:13:08 +02:00
libraryupgrader 988b1bf3b6 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: I5483568dadf773328f44b281ad6a3d98b4dbb3fe
2018-04-13 19:08:03 +00:00
James D. Forrester 4c9c6d2fbf Update VE core submodule to master (8b01968a7)
New changes:
ef9a4a359 Localisation updates from https://translatewiki.net.
a89a0239e Apply diff attributes to all elements in an about group
3ca344789 Localisation updates from https://translatewiki.net.
947c608dc Refactor ve.dm.TransactionBuilder#newFromAnnotation
cc3060643 Ignore tab key when in table caption
9be2ab973 ve.ce.KeyDownHandlerFactory: Documentation fix

Bug: T188709
Bug: T192076
Bug: T192117
Change-Id: Iba42c2d15978cbee948796f6c712034db0b49efb
2018-04-13 10:48:00 -07:00
jenkins-bot 3a9ec6bcce Merge "Fix layout of welcome dialog on smaller screens" 2018-04-12 22:55:39 +00:00
Ed Sanders 62d2211aed Mobile: Hide top-level toolbar labels on narrow screens
Change-Id: I8049b935204834201d2a185d04070bbf81520d1e
2018-04-12 23:32:33 +01:00