Commit graph

13591 commits

Author SHA1 Message Date
jenkins-bot afd3bb5a1d Merge "Remove code for magnify icon from figcaption node" 2017-08-09 16:35:54 +00:00
Translation updater bot 961b2241e9 Localisation updates from https://translatewiki.net.
Change-Id: I930f11036e7bc1ac1ee700e65b5ddd2bda222b61
2017-08-08 23:08:11 +02:00
Translation updater bot a2af4cb554 Localisation updates from https://translatewiki.net.
Change-Id: Iea21c4fac1e837b0f87e7188a46a3aeca0fd87e6
2017-08-07 23:10:09 +02:00
Translation updater bot 57dfd917f2 Localisation updates from https://translatewiki.net.
Change-Id: I352afaf45420ca6a3ad59c23573eac8f13202f6e
2017-08-06 22:51:32 +02:00
jenkins-bot 1e474e038e Merge "Support visual diffs on Special:ComparePages" 2017-08-06 11:46:57 +00:00
Ed Sanders 5104f63cf3 Support visual diffs on Special:ComparePages
Bug: T171821
Change-Id: I13fe8349ab2d078b172637c931f1b80f7108c927
2017-08-05 23:38:20 +01:00
Translation updater bot 060c3d5558 Localisation updates from https://translatewiki.net.
Change-Id: I7d2f623163590912147702af63a24709fccd4442
2017-08-05 22:54:48 +02:00
Translation updater bot 1e12b53858 Localisation updates from https://translatewiki.net.
Change-Id: Ifc5d45f9e8b43bf5a17a0e1206cae95645e325eb
2017-08-04 23:31:05 +02:00
jenkins-bot dc99384c06 Merge "Fill empty apihelp messages" 2017-08-03 21:53:41 +00:00
Umherirrender 33ddad9382 Fill empty apihelp messages
Change-Id: I5c300e763b58071719710e73fcc0c1666a8e35ec
2017-08-03 23:42:09 +02:00
Translation updater bot 5e85df4c31 Localisation updates from https://translatewiki.net.
Change-Id: Id51f14b71889d68489b7e0c34d1b3add3316fc06
2017-08-03 23:11:46 +02:00
Roan Kattouw 448944de3b Standardize on /^(\.\.?\/)*/ for interpreting Parsoid hrefs
We used (\.+\/)* instead of (\.\.?\/)* in some places,
but that doesn't make much sense since we won't and shouldn't
ever see stuff like '.../'

Change-Id: I9efcff2d2a34499ca57321dfbae29392ecb422d7
2017-08-02 21:30:31 +00:00
James D. Forrester 9e33890c12 jsduck: Explcitly name library files so we don't pull in CSS files
Change-Id: I402988a3c27c2f3191010046ae9b83bd74a50bee
2017-08-02 14:29:13 -07:00
James D. Forrester 694681b336 Update VE core submodule to master (18ae4004f)
New changes:
887ebb1a4 Clarify comments that certain 'html' parameters must be whole documents
cc50757ee LinearTabKeyDownHandler: Abort if modifiers are used
23f70f760 jsduck: Explcitly name library files so we don't pull in CSS files
18ae4004f Update OOjs UI to v0.22.4

Bug: T171600
Bug: T172168
Change-Id: I2510174db0f650113702674e37e768aa558f02cc
2017-08-01 15:11:26 -07:00
Translation updater bot 96fd341f1d Localisation updates from https://translatewiki.net.
Change-Id: I73618d0dc368f56585b7f950ecf20c693d29b8d6
2017-08-01 23:05:50 +02:00
jenkins-bot 7b17760ad6 Merge "ve.init.mw.ArticleTarget: Fix parsing of preview documents" 2017-08-01 17:40:51 +00:00
Bartosz Dziewoński e31ffa9199 ve.init.mw.ArticleTarget: Fix parsing of preview documents
ve.init.mw.Target.static.parseDocument requires that its parameter be
a complete HTML document with a single root tag, otherwise some of its
workarounds break horribly in IE 11 (and possibly Firefox).

Bug: T171600
Change-Id: Iaacf24f7bef40a24230fcfa08e15bab31b1587c0
2017-08-01 17:16:43 +00:00
jenkins-bot c959caffe4 Merge "Copy over missing steps from MWLinkAnnotationInspector to Wikitext version" 2017-08-01 16:25:08 +00:00
Translation updater bot 9a0fda6bba Localisation updates from https://translatewiki.net.
Change-Id: I3e8539bec5dbd521a0fc1b10d72f78e3d1637d56
2017-07-31 23:05:34 +02:00
jenkins-bot c44e8e7b19 Merge "Compare template names when diffing, not just type" 2017-07-31 19:28:57 +00:00
James D. Forrester 57636de7ab Update VE core submodule to master (4d6745b2f)
New changes:
d7ca44b84 Localisation updates from https://translatewiki.net.
addd343a0 Localisation updates from https://translatewiki.net.
0ca48126b Abstract definition of type equality when comparing inline nodes
8c9e9dd0a Disable Grammarly
9eb3f29cb Don't throw an exception if observed annotation is alien to us

Bug: T165746
Bug: T166801
Change-Id: I6b8f60432352c468e8c3f2946802ac33d1e9604f
2017-07-31 12:08:26 -07:00
Ed Sanders a90f8f5ea1 Copy over missing steps from MWLinkAnnotationInspector to Wikitext version
Bug: T171892
Bug: T171895
Change-Id: Id14eed79b9a2395b3b722828e62b05d3d8d44327
2017-07-31 18:44:12 +01:00
jenkins-bot 95834372af Merge "Update VE core submodule to master (f444fa19b)" 2017-07-31 17:42:19 +00:00
jenkins-bot 1bfe56ddb0 Merge "ArticleTarget: set local config to hide welcome dialog" 2017-07-31 16:07:35 +00:00
Translation updater bot 34cd347904 Localisation updates from https://translatewiki.net.
Change-Id: Ie572f56ba6293663fc4c19e5b70d80035e97e57f
2017-07-28 22:47:03 +02:00
Ed Sanders 539a1cab43 Compare template names when diffing, not just type
As type is always 'mwTransclusionInline/Block'.

Bug: T166801
Change-Id: I76cdf0add780d556206c439797cfcca19133d94d
Depends-On: I0f24d9d81b5491a8f09bc59e5f544f99751fd506
2017-07-28 21:32:32 +01:00
Translation updater bot c0a5b64695 Localisation updates from https://translatewiki.net.
Change-Id: Id9389d3f271a86db33767e8c9813eaa14b019a17
2017-07-27 23:23:21 +02:00
James D. Forrester f84a931a4e Update VE core submodule to master (f444fa19b)
New changes:
d23bd1e79 Localisation updates from https://translatewiki.net.
71807dedb Localisation updates from https://translatewiki.net.
fdac5539b Doc comment improvement to ve.ui.LanguageInputWidget.
22f2e8531 ve.ce.Surface: Fix lint error
66cbb1c34 Remove unnecessary mixin from standalone image caption node
3bed3398c Default table cells to ce=false, and always set ce state to editing state
22e4c16dd Generate heading1-6 commands in a loop

Bug: T171728
Change-Id: I02883793afb120cd3751988bb11b4068af0bd317
2017-07-26 16:54:58 -07:00
Translation updater bot ae47ac45c0 Localisation updates from https://translatewiki.net.
Change-Id: I47ea114caf376072407ba6c92e60c216aaeb61fd
2017-07-26 22:58:09 +02:00
Translation updater bot cc0bd4b4cc Localisation updates from https://translatewiki.net.
Change-Id: I349f1de9b00d36c1e2f1072f7c2cd84629cd3e6e
2017-07-25 22:47:19 +02:00
C. Scott Ananian 9ee713d480 Display LanguageConverter markup in VisualEditor
Implement special node types for language variant markup, so that they
display appropriately based on the currently-selected variant.

(Parsoid uses empty elements to represent this markup, so without this
patch anything in -{ ... }- is alienated and disappears.)

A follow-up patch will implement context items and inspectors to
allow editing these nodes.  This patch is basic "read-only" support.

Depends on I4fcdebc2290ec35ba188f4c2e69d578791fbcd67 in Parsoid to
generate the appropriate markup, but this patch is safe to merge
independently.

Bug: T49411
Change-Id: Ie11e9301d2513bfe4a36036481cee9a047f46d37
2017-07-25 15:26:41 +00:00
Ed Sanders cedf3758d2 Update mediawiki-codesniffer 0.10.0 -> 0.10.1
Change-Id: I40707991ff2931593ae44046369f2d7955ff324e
2017-07-25 15:49:56 +01:00
Ed Sanders aeca5a8253 Remove code for magnify icon from figcaption node
This icon is now added by Parsoid content CSS.

Bug: T160960
Depends-On: Id66f09c54103854ccbaa54a03e7c62890b67cba9
Change-Id: I8d76d759641b091c1821ff658b1201ca625fd146
2017-07-25 14:48:39 +01:00
Translation updater bot ea40fc5f60 Localisation updates from https://translatewiki.net.
Change-Id: I57efbb78a536b94d16f7bfeabf4ee7002b21aa0f
2017-07-24 23:21:05 +02:00
David Lynch 0e973e2539 ce.MWTransclusionNode: make sure model exists before getting its document
Bug: T168932
Change-Id: I8d458888ed0b80205ce17b41f3506410c550630f
2017-07-24 11:31:19 -05:00
jenkins-bot 6dec360659 Merge "Edit image captions in place" 2017-07-24 16:02:06 +00:00
jenkins-bot 23b9f4284e Merge "Fix toolbar position on Special:CollabPad" 2017-07-24 08:49:23 +00:00
Ed Sanders 058e30d29d Fix toolbar position on Special:CollabPad
Adds missing ve-init-mw-desktopArticleTarget-toolbar-open class.

Change-Id: I8579928c8daa224bb9bec8fa5f4360fb3c52c5a1
2017-07-24 09:38:29 +01:00
Translation updater bot 99d18028d9 Localisation updates from https://translatewiki.net.
Change-Id: I2580854b1270433a4ccda9262d16d7741c9b03e1
2017-07-22 23:01:52 +02:00
jenkins-bot 1caaaf0c58 Merge "Update VE core submodule to master (be80158a9)" 2017-07-20 22:22:51 +00:00
Translation updater bot d15eb23806 Localisation updates from https://translatewiki.net.
Change-Id: I5fe6d7383256cf027d4550d81ed5bee28df8b1ce
2017-07-20 23:07:09 +02:00
James D. Forrester e9aa31b9b6 Update VE core submodule to master (be80158a9)
New changes:
e5603a38f Fix indentation of internal list diff spacers

Bug: T171055
Change-Id: I2c646baafd525bfea581e3882ec977885f8c3b65
2017-07-20 12:32:41 -07:00
jenkins-bot 03173b7b2d Merge "ve.ui.MWEducationPopupTool: Don't show if not inside a BarToolGroup" 2017-07-20 17:07:20 +00:00
Timo Tijhof d8a532c87e tests: Remove QUnit.newMwEnvironment from ve.test.utils.mwEnvironment
Two problems:
* At least one caller already calls QUnit.newMwEnvironment(), which means
  it runs twice which is unsupported and breaks If4141df10eae55 in core.
* It assumes the return will contain 'setup' and 'teardown', which
  is internal and also changes with If4141df10eae55 in core.

Using 'setup' and 'teardown' for this within VE-MW is fine.

First attempt is to simply remove it. Uses that already called
QUnit.newMwEnvironment are effectively unchanged. Uses that didn't
and only pass ve.test.utils.mwEnvironment to QUnit.module directly
will now run without core's QUnit.newMwEnvironment() setup/teardown.

If that breaks anything, we can add it back to those tests that actually
need it.

Change-Id: I9ef0368ba58daf1c7dc92d083ae79c108cc27638
2017-07-20 00:15:51 +00:00
Translation updater bot d804a1fc10 Localisation updates from https://translatewiki.net.
Change-Id: Ifbb0c0e37626c04e5085abdda1e8d4a2f60c3c4d
2017-07-19 23:00:11 +02:00
Bartosz Dziewoński 49d5bae106 ve.ui.MWEducationPopupTool: Don't show if not inside a BarToolGroup
The popup gets hideously deformed in other cases. Getting it to work
would probably be difficult. Let's just not show it.

Bug: T170919
Change-Id: If9005e9cdea52fefab981f4c7f05f71fce99f3e8
2017-07-19 22:13:34 +02:00
David Lynch 5f6e186ed4 ArticleTarget: set local config to hide welcome dialog
This stops the welcome dialog from being displayed repeatedly if the user
edits the article multiple times in the same pageload.

Bug: T170983
Change-Id: I8cc5990e9acb1ac09a2d6dd95eef8042c70088c7
2017-07-19 14:29:49 -05:00
David Lynch 420037b3ff LinkCache: parsoid element styling, detect selflink fragments
Selflinks with fragments aren't actually selflinks, and so shouldn't be styled
as such.

Bug: T170943
Change-Id: Icb67c81327769d09af6bcfe593843d9dd2bcc33c
2017-07-19 11:54:00 -05:00
Ed Sanders 3180445ce9 Edit image captions in place
Bug: T149753
Depends-On: I6967c9c2b99449e1a4ac003db8213586eda7fbbd
Change-Id: I9baaa8634e9f364e78b3e881113ed8fa917bc76f
2017-07-19 13:01:02 +01:00
jenkins-bot 400e207e5a Merge "Only enable VisualDiff on VE-supported content models" 2017-07-18 22:35:26 +00:00