Commit graph

12751 commits

Author SHA1 Message Date
David Lynch b1d68872b0 DesktopArticleTarget.init: Don't hardcode single-tab accesskey
Bug: T156141
Change-Id: I1312283437714bf338a8ee3cf63e93ac67db1c45
2017-02-14 11:24:50 -06:00
L10n-bot 6909c24d5d Merge "Localisation updates from https://translatewiki.net." 2017-02-13 22:19:02 +00:00
Translation updater bot ae92640bf3 Localisation updates from https://translatewiki.net.
Change-Id: I79bc57730f31d46f3319d1108313d35547d7f2fc
2017-02-13 23:19:33 +01:00
Bartosz Dziewoński 7beaf0ab9c ve.ce.MWTableNode: Provide preview of sortable table styling
Algorithm for deciding which cells handle sorting is exactly
the same as in the real jQuery Tablesorter.

Depends on changes in VE core:
* I50426e173c68af7df49e47fe3bec0465a9a55c26
* Iabb372dfe7bf5feef314315ac74a788c6c58dc20

Bug: T139072
Change-Id: I4446be2ad459b05590754da9bb6c3dd8f796be42
2017-02-13 21:36:43 +00:00
Ed Sanders 08b3f73f16 MWTableDialog: Extend initial values so 'done' button behaves correctly
Depends-On: I608431365f2a482536affe1dae3fe21bc20e16b4
Change-Id: Idd468caa9417ffd8e0475083c884ef6c554ee152
2017-02-13 08:30:51 -08:00
Ed Sanders 444ed0b7d8 MWTableDialog: Inherit actions from core
Change-Id: Ice7f18ac2e1b7728a52a48482728d1b1278ca66f
2017-02-13 08:30:51 -08:00
James D. Forrester c32a77bcc1 Update VE core submodule to master (2f38291c4)
New changes:
fd62bf687 Stay in cell editing mode when pressing table inside a cell
a03842b5d Replace non-breaking spaces when pasting into source
6b70c67e0 ve.ui.TableDialog: Add "Cancel" button
9f31555fb TableDialog: Disable 'done' button when no changes made
1f712e893 Localisation updates from https://translatewiki.net.
0c92a774f Follow-up 1f712e8: Fix build for added language 'bqi'

Bug: T154382
Bug: T155928
Change-Id: I61340a76464a384923639a0fcaed17d7ef6b8b95
2017-02-13 08:28:09 -08:00
Translation updater bot 0b620cf417 Localisation updates from https://translatewiki.net.
Change-Id: Id1187371077f15d98540f91be55ee2f074254ce5
2017-02-12 22:44:26 +01:00
jenkins-bot 3c56d19e66 Merge "vw.ui.MWTableDialog: Add "Cancel" button" 2017-02-12 15:07:37 +00:00
Translation updater bot 30cb88940e Localisation updates from https://translatewiki.net.
Change-Id: If95955b60c6c2b371bda27b1db2272939c3da982
2017-02-10 22:55:28 +01:00
Bartosz Dziewoński aa22a8c482 vw.ui.MWTableDialog: Add "Cancel" button
The dialog already supports cancelling by pressing Escape,
but the usual dedicated button was missing.

Change-Id: Ic63b5b59940a43474051466bdbbba0dbeb4342a9
2017-02-10 15:26:33 +01:00
James D. Forrester df1666d1d1 Update VE core submodule to master (de7a96ece)
New changes:
d2681c923 SourceMode: Fix sanitization loop in plain text paste
f67a7cb06 Listen to mouseup events on documentNode for focus changes
f3e857a3e ve.ui.Surface: fix issues with scrolling while selection

Bug: T157291
Bug: T157491
Bug: T157499
Change-Id: I14422ff046734858270879a4ba24654a05c3000c
2017-02-09 14:21:37 -08:00
jenkins-bot a234120771 Merge "Check for 'veaction' when clicking section edit links" 2017-02-09 18:33:55 +00:00
Bartosz Dziewoński 5200f2ef34 ve.ui.MWSaveDialog: Show a hint to use Ctrl+Enter to submit when pressing Enter
Or Cmd+Enter for Mac.

Depends on VisualEditor core changes:
* I93f50e325f993d82a821bf02f5e7f56fe1b9de62
* Id0a357b038fc5730f61bcf3ba730838dcda9b00e

Bug: T153241
Change-Id: I6b0a5e2c4e4ec72016463c8ba6576d33d59be8e5
2017-02-09 16:47:41 +00:00
James D. Forrester 3302ba9203 Update VE core submodule to master (c1884680a)
New changes:
778dd0709 Destroy unicorns properly when cursoring to another branch node
2877cbbbc dm.Document: Make tree validation stricter
342a71e05 Update OOjs UI to v0.19.1
d2df4b6d4 Explain that Escape/Ctrl+Enter can be used to cancel/confirm a dialog
d978507f0 Move platform handling from CommandHelpDialog to CommandHelpRegistry
4dbceb403 Honorably discharge ve.dm.DocumentSynchronizer
0eb0e4214 Localisation updates from https://translatewiki.net.

Bug: T157019
Change-Id: I5066b1d2c60e116bc3b80b9a8242a72db243d8cf
2017-02-09 08:46:29 -08:00
Translation updater bot c201ae6172 Localisation updates from https://translatewiki.net.
Change-Id: Ia95042d9cd6c81e99c49848e0d17e33347bbc9c8
2017-02-08 22:47:18 +01:00
Ed Sanders 6bd650d50a Check for 'veaction' when clicking section edit links
Such as in the 'add topic' link.

Bug: T157104
Change-Id: Ide2d4cf8c23a5d0db24456d15b4312f7c0a5f922
2017-02-08 17:48:04 +00:00
Translation updater bot 02aa33cfbd Localisation updates from https://translatewiki.net.
Change-Id: I74eab9790e644bb90f354ae5d6a9f3cbb7ca2d6b
2017-02-07 23:07:39 +01:00
jenkins-bot 6e585c457c Merge "Move wikitext signature command to correct file" 2017-02-07 20:47:57 +00:00
Ed Sanders 8ab21d2ef5 Move wikitext signature command to correct file
So that signature availability is checked.

Bug: T157286
Change-Id: If1e585ce02e0bc9f5aa93129d315f83f183f5952
2017-02-07 20:21:32 +00:00
Ed Sanders f2cf73eaaf Define default HTML types for extension nodes
Use span/div for inline/block nodes respectively.

Bug: T157389
Change-Id: I4c501a6af88a490eec83af26adaa515a2b1d18d1
2017-02-07 20:12:39 +00:00
jenkins-bot 7cd3e1958a Merge "ArticleTarget: try to refresh editToken if getWikitextFragment fails" 2017-02-07 19:37:28 +00:00
James D. Forrester d5e245f6ff Update VE core submodule to master (121100d74)
New changes:
a4906cce4 VisualDiff: Implement linear diff timeout for edge cases
f4ab8c5e0 Remove explicit toolbar indicator definitions
37cb4fdca Update diff_match_patch
505205ec0 Localisation updates from https://translatewiki.net.
bc8491fc1 Fix definition of HTML whitespace in converter

Bug: T156599
Bug: T157406
Change-Id: Ie89e8da437c368bc0d1213cc19e169e1045c582c
2017-02-07 10:28:14 -08:00
David Lynch 8a7d44224c ArticleTarget: try to refresh editToken if getWikitextFragment fails
Refactor saveFail's badtoken handling out so it can be reused by
getWikitextFragment.

Bug: T156991
Change-Id: I686cddb5be4484211fa69640044db1bc34eacefc
2017-02-07 11:20:59 -06:00
jenkins-bot 158807f86c Merge "Remove explicit toolbar indicator definitions" 2017-02-06 17:11:59 +00:00
jenkins-bot ae14c98237 Merge "Update VE core submodule to master (f60ce1a)" 2017-02-06 10:42:43 +00:00
Translation updater bot 19569f4b02 Localisation updates from https://translatewiki.net.
Change-Id: If656029a98191aad2523fe743ac42b1a26920190
2017-02-05 22:57:31 +01:00
Ed Sanders 7a058a4de8 Remove explicit toolbar indicator definitions
These are now computed upstream based on position of toolbar.

The menu tool now needs its indicator explicitly hidden.

Change-Id: Id2280f70553e1e45f3a42af45684c5808797925c
2017-02-04 10:25:37 +00:00
jenkins-bot 05f8155499 Merge "Use var/let in screenshot.js" 2017-02-03 23:29:10 +00:00
jenkins-bot 188c907e15 Merge "Mark all node files as ES6" 2017-02-03 23:28:47 +00:00
Ed Sanders 15c986d128 Use var/let in screenshot.js
Change-Id: I70082dd6e4df38616e5c33c2b71f0aaae22bac63
2017-02-03 22:57:47 +00:00
Ed Sanders 2a5f29897f Mark all node files as ES6
Change-Id: I85d1ea2bf26647d04891574d1cc5a9828a5d4bbb
2017-02-03 22:26:55 +00:00
Translation updater bot bb029d2ebc Localisation updates from https://translatewiki.net.
Change-Id: Ibe93c0e21b2c4adb1796c0d07f9f0843e834be4e
2017-02-03 23:06:06 +01:00
James D. Forrester c10ba0885f Update VE core submodule to master (f60ce1a)
New changes:
a2e9331 Use forked version of DiffMatchPatch with abstract string methods
6aa2023 TransactionProcessor: Fix bug where annotation events could be emitted on the wrong nodes
b8b67d2 DocumentSynchronizer: Simplify pushRebuild() API
ed84b86 Add TransactionProcessor tests for wrapping, unwrapping and rewrapping
88764aa Remove presynchronize, use precommit instead
d704cbf tests: Fix offset numbering in getBranchNodeFromOffset test case
5eabbb2 VisualDiff: Add performance shortcuts to compareElements
2492fd0 Add comment for VisualDiff test store merge hack

Change-Id: Ica7185201e095a3a5da32a75c95bc2b90806568c
2017-02-03 09:11:12 -08:00
Ed Sanders 8a64006aa4 Introduce grunt-image to minify screenshots
Makes the task a bit slower (~50%) but image filesizes
are reduced by 75% on average.

Change-Id: I90b7a4b7b4a1e4d3452d4e791fef55cdfc780f94
2017-02-03 15:19:12 +00:00
James D. Forrester e3ff727cf8 Update VE core submodule to master (495524f)
New changes:
07ad6e3 Always convert newlines to paragraph breaks in source mode
582c99d Follow-up 1074babe: remove never-used parameter to synchronize()
0c4b9c0 Check correctly whether the cursor crossed a preunicorn

Bug: T156498
Bug: T157019
Change-Id: I4b644b70242fd1fe3397d9c86aad37af26dddd66
2017-02-02 09:58:33 -08:00
jenkins-bot c0a4f5d607 Merge "Update VE core submodule to master (96ed6a4)" 2017-02-02 10:33:39 +00:00
jenkins-bot 61d449c9d2 Merge "ve.ui.MWSaveDialog: Prettify the 'messages' shown" 2017-02-01 23:50:58 +00:00
jenkins-bot 5015af4a32 Merge "ve.init.mw.ArticleTarget: Don't try to clear non-existent message" 2017-02-01 23:48:30 +00:00
jenkins-bot fbe31de0d3 Merge "ve.ui.MWSaveDialog: Remove unused $saveActions div" 2017-02-01 23:48:10 +00:00
James D. Forrester d58d40492d Update VE core submodule to master (96ed6a4)
New changes:
0b2bb48 ve.dm.TableMatrix: Emit event when table structure changes
819825f ve.dm.TableNode: Emit event when any cell's attributes change
0a8de00 VisualDiff: Annotation tests
19aaa68 Fix documentation in ve.Range, and remove test for wrong input
e18e5b8 tests: Test node replacement in ve.ui.DiffElement.js
7e7df4f Localisation updates from https://translatewiki.net.
f4f545f ElementLinearData#sanitize: Use a proper stack to find last open element
cac05d0 Fix width of labels in language inspector
96ed6a4 Update OOjs UI to v0.19.0

Bug: T156735
Change-Id: I46900fb06d43a9384ec6034438ddc0ff068f136e
2017-02-01 15:40:16 -08:00
Translation updater bot 8390b1f3fb Localisation updates from https://translatewiki.net.
Change-Id: I1d46d45a3dda6243a24cddbdb0dd679f8628fee9
2017-01-31 22:58:54 +01:00
Bartosz Dziewoński e8d99c5536 ve.ui.MWSaveDialog: Prettify the 'messages' shown
This is currently used to display a warning about missing edit summary
and to display a CAPTCHA field. They now appear in a separated area at
the bottom of the dialog, which slides into view when a message is
added.

Change-Id: I7541284a92d5fd2fa8f469d479e059098c59c0ac
2017-01-31 17:37:00 +00:00
Bartosz Dziewoński 6f367ea0ec ve.init.mw.ArticleTarget: Don't try to clear non-existent message
This is just dead code. We never call `.showMessage( 'captcha', ... )`
(the CAPTCHA is shown in the 'api-save-error' message).

Change-Id: I48f51e89d5b366384d184e2ed505be9e7b8f3401
2017-01-31 14:40:32 +01:00
Bartosz Dziewoński a0cb3029cb ve.ui.MWSaveDialog: Remove unused $saveActions div
Change-Id: I47da48b29d3bddd598946de655cf1e8b086daf45
2017-01-31 13:43:47 +01:00
Translation updater bot 2e690797c0 Localisation updates from https://translatewiki.net.
Change-Id: Idc95868d10a1fd04899fcbec7a280b55743a874d
2017-01-30 22:52:00 +01:00
jenkins-bot 7b46d105b1 Merge "Advanced Settings: improve displaytitle field" 2017-01-30 19:40:13 +00:00
David Lynch 00fb8c8e58 Advanced Settings: improve displaytitle field
* Remove the checkbox; an empty field, or a value exactly equal to the page
  title means no displaytitle.
* Automatically fill the field with the current page title
* The field was mispositioned

Bug: T155818
Bug: T156665
Change-Id: I46db6b14616c9a021e757284972537cac00546a1
2017-01-30 19:29:25 +00:00
WMDE-Fisch a0af0b0529 Disable VisualEditor in the TwoColConflict extension
As for the Translate extension this will read a global set by the
TwoColConflict extension to disable the VisualEditor and its hooks
on the modified edit conflict page there.

Bug: T156251
Change-Id: I164d1546c9d98d8715650e13c63a01d06c76315d
2017-01-30 14:06:59 +01:00
James D. Forrester 521a15a07d Update VE core submodule to master (d8b833e)
New changes:
5d5ca73 Follow-up Id00817d05: Correct mistaken handling of forced replacements
5649654 tests: Get coverage of ve.Range.js to 100%
a65b1ce ve.utils.js: Add some more 'Support:' comments
db28d44 Revert "Pass text as string to insertDocument when detected as plain text"

Change-Id: I6f3f15b59be131586df697847304f5235958a58d
2017-01-30 10:31:33 +00:00