Commit graph

14350 commits

Author SHA1 Message Date
Bartosz Dziewoński 6d4a7f932e ve.init.mw.DiffPage.init: Do not duplicate diff table header
The duplicate header, especially the duplicate elements with identical
IDs, were difficult to handle for other scripts.

Now instead of hiding the entire wikitext diff, we only hide the
"content" rows but keep the header, and adjust our attributes on the
header back-and-forth when switching diff modes.

Bug: T192755
Change-Id: I3a6bb4730fefd81f533b786ec3b20241c4cb8d13
2018-04-30 19:23:16 +02:00
Ed Sanders 95258a9969 Visual diff: Describe redirect changes
Change-Id: Id31e8399556dab9b47bc1d21c62cb82af3a0e7bb
2018-04-27 21:07:41 +01:00
Translation updater bot 39360917c6 Localisation updates from https://translatewiki.net.
Change-Id: I7b2845d6972c79e3c570083ea5dae3556f77c7a8
2018-04-26 22:17:00 +02:00
James D. Forrester e1ebdfe66d Update VE core submodule to master (174890b5e)
New changes:
1d2569556 [DEPRECATING CHANGE] Deprecate ve.Range#clone and ve.dm.Selection#clone

Bug: T192671
Change-Id: Ic70e6d63728ed0b6b957d93308c81164a06c7d8c
2018-04-26 08:56:48 -07:00
jenkins-bot 6a14e6384a Merge "Update custom styles for format menu after OOUI changes" 2018-04-26 15:41:45 +00:00
jenkins-bot 641b98c600 Merge "Update VE core submodule to master (87bc18f58)" 2018-04-26 15:35:54 +00:00
jenkins-bot ecbe9a2ee3 Merge "build: Follow-up 99d3320573: Drop babel-polyfill, never used" 2018-04-26 15:35:53 +00:00
jenkins-bot c11e6c57b0 Merge "build: Bump some devDependencies to latest" 2018-04-26 15:35:52 +00:00
James D. Forrester d904697208 Update VE core submodule to master (87bc18f58)
New changes:
38c403bba NodeInspector: Fix behaviour of getMode
ccf1ed957 Use current selection for selectionBefore in empty staging stack
5077edb1e build: Switch QUnit package from deprecated 'qunitjs' to 'qunit'
b39388db7 Update OOUI to v0.26.5
614ec16f2 Linear/TableKeyDownHandlers: account for table captions
5f101208e Update custom styles for format menu after OOUI changes
28c1296d0 Localisation updates from https://translatewiki.net.

Bug: T191878
Bug: T192163
Bug: T193098
Change-Id: I370494253290345961e1454b32385624cc4f36db
2018-04-26 08:23:22 -07:00
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