Commit graph

13468 commits

Author SHA1 Message Date
James D. Forrester c6ff566219 Update VE core submodule to master (c78bd8d9b)
New changes:
b611769cd describeChange can be null
59a76fbcd dm.Change: Update store length tracking when adding to history
8f4b2339a dm.AnnotationSet: Throw an exception when constructing with missing indexes
df2319c4e Don't add transactions to stack until they've had a chance to fail

Bug: T159384
Change-Id: Iaed05c9b08c92f8a7488ab24bc139b99e3913819
2017-05-29 18:17:35 -07:00
Translation updater bot f372a9fbc7 Localisation updates from https://translatewiki.net.
Change-Id: I6c06a3c102a1ac6c009c7c2fc074b6e7a7c55eb7
2017-05-29 23:33:34 +02:00
Bartosz Dziewoński 5e0f081ba8 VisualEditorDataModule: Pass save/publish button label to 'missingsummary' message
Bug: T166478
Change-Id: If3e2e3647b109cb7469968f897f2f252f112cc3f
2017-05-29 21:12:54 +02:00
Translation updater bot b29b2816b2 Localisation updates from https://translatewiki.net.
Change-Id: Ia20bdbf2ab8962c4cd73c7296db5f5e1db55d80f
2017-05-28 22:42:27 +02:00
Translation updater bot ff1279244a Localisation updates from https://translatewiki.net.
Change-Id: Ic8decb78f5ba98c21d8b526ea91ae88db7bd3605
2017-05-26 22:53:58 +02:00
Translation updater bot efc4eccc47 Localisation updates from https://translatewiki.net.
Change-Id: I49161dac6c2583b4820a1d052b0cca8053e68583
2017-05-25 22:58:36 +02:00
jenkins-bot a5d1ada714 Merge "extension.json: Sort config to match documentation" 2017-05-25 16:15:34 +00:00
Timo Tijhof a9ce695f75 mw.DesktopArticleTarget: Use require() for mw.page.watch
Add 'require' to eslint global whitelist for this extension,
since ResourceLoader provides this in all contexts now.

Bug: T166254
Depends-On: I0e6a95bd4fbaba06eae5137ac7af84f62bebf6f0
Change-Id: I6b2fe57317dcff18ec6d9ea0cd9e4eb9c894c169
2017-05-24 21:17:02 +00:00
Translation updater bot abaa359422 Localisation updates from https://translatewiki.net.
Change-Id: I2bfd2fa70e5aa870e2001a78d058e6e90a2bb73c
2017-05-24 23:04:42 +02:00
James D. Forrester 9136cb7e55 extension.json: Sort config to match documentation
Makes updating it much easier, groups sensible configs together.

Change-Id: I95b9c1b76ea25e8bd2d852a99b4aad753b09846d
2017-05-24 17:05:35 +02:00
jenkins-bot 762344b2f1 Merge "Remove dialog height hack tagged against resolved bug" 2017-05-24 06:54:46 +00:00
Translation updater bot 2a84837eb9 Localisation updates from https://translatewiki.net.
Change-Id: Ifa384f07695740972053594107aa4c3f49d6a054
2017-05-23 23:09:13 +02:00
jenkins-bot 71fb85fab3 Merge "[BREAKING CHANGE] Drop support for contacting Parsoid without VirtualRestConfig" 2017-05-23 19:04:37 +00:00
Ed Sanders a97eacd05b Remove dialog height hack tagged against resolved bug
Bug: T93290
Change-Id: Idbb20a0adf854ba68e10043608764891f3d8514d
2017-05-23 17:48:02 +01:00
jenkins-bot efd8ab25ca Merge "Remove mobile browsers from the blacklist" 2017-05-22 13:23:40 +00:00
Ed Sanders 004ca16a8f Remove mobile browsers from the blacklist
They are already blacklisted by MW:
https://www.mediawiki.org/wiki/Compatibility#Browser_support_matrix_.28mobile.29

Change-Id: I8d6bfc415604a74b6da82d8c4b8f7d9ec7b9d89d
2017-05-22 14:58:54 +02:00
James D. Forrester 1bb69b7f2c Update VE core submodule to master (0c243838f)
New changes:
d21e8e93f Revert "TransactionProcessor: modify DM tree branches instead of rebuilding them"

Bug: T165965
Change-Id: Ic28e0a8f8e45217b1f1ce89dbfaab3d16198069b
2017-05-22 13:14:03 +02:00
Translation updater bot 0c26e1804f Localisation updates from https://translatewiki.net.
Change-Id: I39d9799f42e23262a53e129b1ceea4f76bbef627
2017-05-21 23:00:27 +02:00
James D. Forrester 8e88db4232 Follow-up 7e72163ea: Fix CBN alien unit test I missed and force-merged
Whoops.

Change-Id: I21e30efd930458f6c1509e2f3d947f94d5ec5ad2
2017-05-21 16:32:08 +02:00
James D. Forrester 7e72163ea8 Update VE core submodule to master (c00d2fa38)
New changes:
95ba60c60 RebaseServer: When rejecting, publish the top of the history instead of the top of the rejected change
bb71b76d8 ce.BranchNode: Handle splices next to text nodes
d1300c6e6 ve.Node#attach: set document before root, rather than after
df6113771 summarizeTransaction: hide null author
b6f45436d rebaser: Prevent submissions before initialization
ac71b0ea6 Add ve.ce.View#initialize to eliminate constructor/onSetup duplication
45cd82bd7 Render HTML attributes in ce.View#initialize rather than in the constructor

Change-Id: I4d61f40247fdab60bdc2e1b23f30ffee4c8ab8dc
2017-05-21 15:49:07 +02:00
jenkins-bot dc9ef3184b Merge "Update VE core submodule to master (69d8607cf)" 2017-05-21 10:22:45 +00:00
Ed Sanders 578deca159 rebaser: Initialize toolbar
Change-Id: I06e66859219e8d657063f24c59811338a195a28b
2017-05-21 11:44:01 +02:00
James D. Forrester afa929cc46 Update VE core submodule to master (69d8607cf)
New changes:
8bd2e1ffc ui.DebugBar: Transaction log
b3ad56e0e rebaser: Focus surface on load
69d8607cf Localisation updates from https://translatewiki.net.

Change-Id: I5e64845ccfcb82621b66e02e3a346ef4ef67426a
2017-05-21 10:39:42 +02:00
Ed Sanders 5d00944d09 CollabPad: Move synchronizer/authorList to Target from Target.init
Change-Id: I828ab12662e03cf674e20ae5676ca6eaa2592eba
2017-05-21 10:30:33 +02:00
Ed Sanders 1a577b668d Move getWikitextFragment up to Target from ArticleTarget
Any MW target may want to get a wikitext fragment, not just
ArticleTargets. Requires us to move refreshEditToken up as well.

Change-Id: I27d30e20fefd5ba266d3d8e5f99383e9b4d4993a
2017-05-21 07:57:49 +00:00
Ed Sanders cf0a03ff5a CollabPad: Add popstate/teardown handling
Change-Id: I3faa7e2dd79fa5f1816833852325185caa4e82d4
2017-05-21 09:56:53 +02:00
Translation updater bot adc947e1f1 Localisation updates from https://translatewiki.net.
Change-Id: Ibbc8c82e247dc5eb9ca616d9c0ff0ec1eeda7d12
2017-05-20 22:58:20 +02:00
jenkins-bot 767c5a6c11 Merge "Provide VE-rebaser in MediaWiki as Special:CollabPad" 2017-05-20 20:11:35 +00:00
Ed Sanders 574baf2e8e Provide VE-rebaser in MediaWiki as Special:CollabPad
Change-Id: I3ffe0e2b6af43d4018dcd79877f4f27ed7d6a7e7
2017-05-20 19:51:09 +00:00
James D. Forrester e9dc87a124 Update VE core submodule to master (2a8f71d02)
New changes:
1caf22c92 Localisation updates from https://translatewiki.net.
2add169fd demo.minimal should use getInitializedPromise
44fd23bdc rebaseUncommittedChange: remove weird duplicated selection update code
0c35c6390 Rebaser: Start on i18n
2a8f71d02 ce.ContentBranchNode#destroy: Also call parent

Change-Id: I1fd0b4c90cc9f29f842c09ad5dbf2ac52518182a
2017-05-20 21:08:19 +02:00
James D. Forrester 1ffb299f18 Update VE core submodule to master (ee59e9d33)
New changes:
d336169fe rebaser: Don't spam the entire document into the log on initialization
1963a9993 ve.dm.SurfaceFragment#delete: Don't pre-build a sequence of transactions
6c915f305 TransactionProcessor: modify DM tree branches instead of rebuilding them
8773258bb ve.dm.ElementLinearData.test: Cover compareElements
7a073c78f RebaseClient: Don't log empty rebases in acceptChange
5adce57ea rebaser: Implement author names
78c7beecb rebaser: Tidy up author list UI
85d26f491 Get minimal diff when word starts/ends the paragraph
ca273a56c rebaser: Move author list to widget
ab693bead rebaser: Show active user count

Bug: T160795
Bug: T162762
Bug: T165772
Change-Id: Ibd21e6a78c3958db1c0ec8f0317c4c07f3fa5735
2017-05-20 12:29:48 +00:00
David Lynch 07e4d5fd17 dm.MWTransclusionNode: remove TableCellableNode mixin
Change-Id: Ic08c7ba03ad2bee35a96a750377450475d0efeed
2017-05-19 20:55:14 +02:00
jenkins-bot ed2a6b873e Merge "Allow extension nodes to convert to a specified type of dataElement" 2017-05-19 14:27:16 +00:00
Ed Sanders 153f7b034d Allow extension nodes to convert to a specified type of dataElement
Sub-classes want to dynamically change type, e.g. inlineFoo/blockFoo,
but doing this after storeGeneratedContents invalidates the cache,
so ensure this is done as soon as the element is generated.

Bug: T151130
Change-Id: I80e2f2587cff8e9d9fe6ded5d8581263268deaa8
2017-05-19 16:08:01 +02:00
jenkins-bot 5049351f9b Merge "Revert "Localisation updates from https://translatewiki.net."" 2017-05-19 10:48:57 +00:00
jenkins-bot fbc835be12 Merge "MWCategoryInputWidget: missing 'new' for cached redirected optionwidgets" 2017-05-19 10:13:40 +00:00
David Lynch dfbbe378c3 MWCategoryInputWidget: missing 'new' for cached redirected optionwidgets
Bug: T164820
Change-Id: I8b2ae9112af74910cb6ba5097dcec8be86cc1376
2017-05-19 11:57:17 +02:00
Nemo bis caf858aa97 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit df892898c5.

Change-Id: Ibc410a0b0ea0315474d8ee681f4b045fc5687c85
2017-05-19 09:03:35 +00:00
Jforrester 352eaea9af Revert "Localisation updates from https://translatewiki.net."
This reverts commit df892898c5.

hi messages corrupted.

Change-Id: I826f13d24bb43f54700a134b98ecc0fa14a6e3b3
2017-05-19 08:35:58 +00:00
Translation updater bot df892898c5 Localisation updates from https://translatewiki.net.
Change-Id: I45389fc125e3fd4823731c1cf561851be734b54c
2017-05-18 23:02:00 +02:00
jenkins-bot 82a9e3d4d0 Merge "Update VE core submodule to master (de3447ce5)" 2017-05-18 18:13:23 +00:00
jenkins-bot 526d1ba71e Merge "Enable edit tab setup on appropriate Special pages" 2017-05-18 16:18:49 +00:00
James D. Forrester 0eecaf42e1 Update VE core submodule to master (de3447ce5)
New changes:
de3447ce5 Update OOjs UI to v0.21.4

Change-Id: Ibb13bce32090a8aab01bc5d82d87dfa2a98ac16e
2017-05-17 19:52:24 +01:00
Bartosz Dziewoński d687e01208 Do not check for visual editor availability when loading source editor
Follow-up to fefb76eebc. Prior to that
change, the condition for this looked like this:

  // … if on a ?veaction=edit/editsource page
  (
    isViewPage &&
    uri.query.veaction in editModes &&
    (
      uri.query.veaction === 'editsource' ||
      init.isVisualAvailable
    )
  )

In the refactor, the `uri.query.veaction === 'editsource'` check was
lost.

Since that code is pretty messy (probably predating the source editor
and hastily adjusted), instead change the check for `isVisualAvailable`
to just `isAvailable`. If the requested mode turns out to not be
available later, the editor will not load.

Bug: T165146
Change-Id: Idfaf9115dd20cec8f8e044a704b93b07984cdcee
2017-05-16 18:57:56 +02:00
jenkins-bot cde2110722 Merge "Update VE core submodule to master (45aa796b3)" 2017-05-16 16:19:14 +00:00
jenkins-bot 4249e7898e Merge "Rename deprecated Card to current TabPanel" 2017-05-16 09:50:42 +00:00
jenkins-bot cfa8de994e Merge "MWTransclusionNode: Implement MWTransclusionTableCell" 2017-05-15 18:05:01 +00:00
David Lynch 0eb6b94b4c MWTransclusionNode: Implement MWTransclusionTableCell
Back in de98382a55, references to MWTransclusionTableCell were introduced,
but weren't followed through on. So, actually add it. Have cellable
Transclusions use it as their type.

Bug: T144122
Depends-On: I054f12f4218102a12d7a9ea843f9c61e8825c52c
Change-Id: I367f878bfd1c58e20b62368cb78120604b48d791
2017-05-15 12:09:11 -05:00
James D. Forrester 6e77dfe7cb Update VE core submodule to master (45aa796b3)
New changes:
c54d06474 Add class to TableCellableNode and move some styles there
fd9e1059d Remove 'cellable' attribute

Change-Id: I186e7b0b61ac920c309f9aa0c40db7244849c0ec
2017-05-15 17:41:15 +01:00
jenkins-bot b22333040f Merge "Update VE core submodule to master (8e29310db)" 2017-05-15 16:38:15 +00:00