Commit graph

13691 commits

Author SHA1 Message Date
Roan Kattouw f37caa6a6f Move source mode newline hack down to ArticleTarget
We need this hack when visually editing articles, but not in e.g. the
Flow integration. Move it down so that mw.Target has a clean
parseDocument method that can be used by Flow without undesirable
newlines being introduced.

Change-Id: I52bba88b3d33c3d6d16c4cf832f23f970a243abf
2017-11-17 13:15:27 -08:00
Translation updater bot 2f9470d9ae Localisation updates from https://translatewiki.net.
Change-Id: Id293c0866c91066c12fa7789fa246f6177793467
2017-10-31 22:47:15 +01:00
jenkins-bot 2649a2123a Merge "Fix revslider colours in visual diff mode" 2017-10-31 17:50:53 +00:00
jenkins-bot 93c2da8e78 Merge "ArticleTarget: remember whether we preloaded, so it can affect the save button" 2017-10-30 22:07:19 +00:00
Translation updater bot d5f02b7483 Localisation updates from https://translatewiki.net.
Change-Id: I0713373523eaffd0f79560c1f1e76f028697758c
2017-10-30 22:55:09 +01:00
David Lynch 001b945513 ArticleTarget: remember whether we preloaded, so it can affect the save button
Idea being: preload use case is often "load content, maybe with parameters,
immediately save it", so we can treat it as being already-modified for saving
purposes.

Bug: T179063
Change-Id: I35ff04bc9cb5172edf8174832624145973aa1fdb
2017-10-30 16:40:57 -05:00
Translation updater bot 37668e080e Localisation updates from https://translatewiki.net.
Change-Id: If2b0276e73c0f08543636a03a1dd00d9b92cd462
2017-10-28 23:05:09 +02:00
Translation updater bot e551f8bcf4 Localisation updates from https://translatewiki.net.
Change-Id: I8daa1a3a143d70db44ab9c3ce6d01a1d0e4c6357
2017-10-27 22:39:50 +02:00
Ed Sanders 236d437875 Fix revslider colours in visual diff mode
Change-Id: If8a631812f3947b2260d66f832849eed3a0ad238
2017-10-27 11:41:02 +01:00
James D. Forrester 9e185b8d54 Update VE core submodule to master (8d1c0d026)
New changes:
8581e9d86 LinearEnterKeyDownHandler: Enter behavior in nested lists
a91e77764 build: Put karma coverage reports in the top-level directory
81a88b4f1 build: Replace JSON code coverage report with clover.xml one

Bug: T108595
Change-Id: Ic5d83417d64126d9a27d46504fc8fcd338cd7f21
2017-10-26 15:57:01 -07:00
jenkins-bot 740b61598f Merge "Move Beta Features screenshots into modules" 2017-10-26 22:40:56 +00:00
Translation updater bot d95f4175dd Localisation updates from https://translatewiki.net.
Change-Id: I09f1039ad1fa7689887b867839a43c90d6311510
2017-10-26 23:38:37 +02:00
James D. Forrester 9fd8def8dd Move Beta Features screenshots into modules
Change-Id: I6b46f334d226a3e061a3534fd2982397b66e2c6f
2017-10-26 14:27:52 -07:00
Ed Sanders dc3ed6cec0 build: Update stylelint 0.4.1->0.4.2
Change-Id: I9d67e4224eb6298e20574a201eeee559ab3a7504
2017-10-26 21:04:07 +01:00
Translation updater bot c6cbfd272e Localisation updates from https://translatewiki.net.
Change-Id: I360932f3af6ea92eb1163d9118eb4597f73a3854
2017-10-25 23:06:53 +02:00
James D. Forrester 854120206c Update VE core submodule to master (9b32da86d)
New changes:
9c1134b1b Localisation updates from https://translatewiki.net.
ccf83d4ed Localisation updates from https://translatewiki.net.
a13b7efa5 Fix infinite recursion in standalone diff dialog
cfdb6ac45 build: Bump various devDependencies to latest
4d8f80c6c build: Bump unit test-related devDependencies
385d6119a Scroll to the next highlight after find and replace has replaced text

Bug: T177514
Change-Id: Icb79a79d3bcde9337938d989d7cd93b3a74dd913
2017-10-25 11:29:12 -07:00
David Lynch ab1e5d58d4 MWInternalLinkContextItem: increase specificity to override OOUI changes
OOUI 8e31b2f273 increased changed various icon CSS rules, and increased their
specificity. Increase ours to match. This restores the correct size/ratio of
the images in the link context item.

Bug: T178933
Change-Id: I4f1a6dde363cf99f7665dc83f4b0fa6b1dd3c29e
2017-10-24 16:09:38 -05:00
Translation updater bot bc1f41d0f7 Localisation updates from https://translatewiki.net.
Change-Id: I868bdeaabf47eb5450be9e99d45451f2724f1833
2017-10-23 23:45:49 +02:00
Translation updater bot 8074aff678 Localisation updates from https://translatewiki.net.
Change-Id: I34d2195477c2b61b9a38e5b188d81d595fa85c9b
2017-10-22 22:54:59 +02:00
libraryupgrader d87af9e4c8 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: If86bc95b7dfb48180e741c729e9ded195992908b
2017-10-21 03:00:17 +00:00
Translation updater bot 33462623c9 Localisation updates from https://translatewiki.net.
Change-Id: I1a9bf279eb217f8c7e87bdaf3c43a622b68a6ae9
2017-10-19 23:28:36 +02:00
James D. Forrester a70b417f4e Fix switcher icon dependencies
Bug: T178532
Change-Id: I0bcb02d15e520ffc3c0821d8275c6b7d42c056a3
2017-10-19 17:57:30 +00:00
jenkins-bot 600208453b Merge "Use more common 250ms transition for toolbar instead of 400ms" 2017-10-19 17:40:37 +00:00
James D. Forrester 81ccbd58e4 Account for 'eye' icon having moved icon packs
ext.visualEditor.articleTarget (for ve.ui.MWSaveDialog) previously
missed the editing-advanced pack, so the [[ ]] icon only showed up
by happy accident of the VE toolbar loading it and generally being
there.

ext.visualEditor.diffPage.init (for ve.init.mw.DiffPage.init) just
needed being switched over.

Bug: T178532
Change-Id: Id12ef14434fd30a442bbbf6e9ccd8e50c3376cd5
2017-10-19 17:18:22 +00:00
jenkins-bot c32aeeaa36 Merge "Increase selector specificity to fix layout regression" 2017-10-19 14:29:35 +00:00
Ed Sanders b752a0620b Increase selector specificity to fix layout regression
Removes negative margin from first item in help popup.

Change-Id: I87ecca9f886dd4061a2afa781ca997ef751907ef
2017-10-19 15:21:12 +01:00
Ed Sanders 4eb8f46234 Remove duplicate position:relative in toolbar css
Already set upstream.

Change-Id: Icf15dc82b7d57eb3591b0873e49fa9c598b2742d
2017-10-19 14:23:05 +01:00
Translation updater bot 28349d7b82 Localisation updates from https://translatewiki.net.
Change-Id: I8e041de2d743ecfcaa7de6770c95a41431d2cc8e
2017-10-18 22:53:58 +02:00
Ed Sanders 6761a3619a Use more common 250ms transition for toolbar instead of 400ms
Change-Id: I8ad1a20753b7bd4a17db605d31502e57149b5348
2017-10-18 19:17:05 +01:00
James D. Forrester 7f128219b5 Update VE core submodule to master (28e34c1d7)
New changes:
f549faef9 Revert "ve.ui.LinearContextItem: Workaround for T178336"
952faad32 Update OOjs UI to v0.24.0

Change-Id: I76d27222edb29ee9685c7b8807068ac7c99536d9
2017-10-17 18:00:37 -07:00
L10n-bot 371cff8be6 Merge "Localisation updates from https://translatewiki.net." 2017-10-17 21:05:34 +00:00
Translation updater bot 7ffbb72ae1 Localisation updates from https://translatewiki.net.
Change-Id: I328365204986eb3dddd000782c348b7aabd941b2
2017-10-17 23:05:28 +02:00
jenkins-bot 1b54d6e75a Merge "Mobile: Rewrite toolbar centring CSS" 2017-10-17 20:37:14 +00:00
Ed Sanders afc9d2156b Mobile: Rewrite toolbar centring CSS
Change-Id: I43ada52231a0c9a91c98f2a482d2702528d995a2
2017-10-17 20:23:50 +01:00
jenkins-bot 45a5121853 Merge "requestParsoidData: Support 'wikitext' param in RESTBase-less environment" 2017-10-17 19:22:55 +00:00
Ed Sanders 0306f77fde Simplify mobile overrides using LESS
Change-Id: I9ffce148fede03dda6e78377a0d20355bb45e5fd
2017-10-17 19:44:03 +01:00
jenkins-bot 6d6bff49eb Merge "ve.ui.MWMediaInfoFieldWidget: Fix positioning of icons" 2017-10-17 18:23:26 +00:00
Bartosz Dziewoński 99cdc08f53 ve.ui.MWMediaInfoFieldWidget: Fix positioning of icons
OOjs UI's styles now include 'top: 0' for icons, which messes us up here.

Bug: T178415
Change-Id: Ia3234848f69fd67d0b3e35c817de1d9847d46143
2017-10-17 17:55:53 +00:00
jenkins-bot 18e2ccdc96 Merge "init.mw.DesktopArticleTarget: properly set up section links" 2017-10-17 16:28:54 +00:00
jenkins-bot fb7ae340d2 Merge "Convert mobile overrides to LESS" 2017-10-17 15:37:23 +00:00
jenkins-bot 590a6a3612 Merge "Fix button alignment in MW mobile" 2017-10-17 15:36:24 +00:00
David Lynch 80c813e08c init.mw.DesktopArticleTarget: properly set up section links
We were reimplementing (incompletely) the setup from the .init version. Just
call the original, modified slightly so it doesn't over-setup on repeated
calls.

Bug: T151021
Change-Id: I65bd7c5ecf75c478d6babeb13e7fb2a76a9842c8
2017-10-17 10:14:50 -05:00
Ed Sanders 8f11796c43 Convert mobile overrides to LESS
Change-Id: I44754f2d6e69ad9a8a6ce941962714a6d2617b5a
2017-10-17 11:46:17 +01:00
Ed Sanders 59955251fe Fix button alignment in MW mobile
Change-Id: I4b29dfef672f48bc6d2b6644b1e0da5a7ada521a
2017-10-17 11:32:58 +01:00
James D. Forrester a00e921a7a Update VE core submodule to master (ea5179857)
New changes:
f5ffe3713 Localisation updates from https://translatewiki.net.
7a829c165 Fix CSS for context menus after changes in OOjs UI
6d90b80c1 ve.ui.LinearContextItem: Workaround for T178336

Bug: T178324
Change-Id: Ifb4c592b506974d020de64d71388d0f20560b299
2017-10-16 14:56:31 -07:00
Ed Sanders d6d5bd963b Make diffLoader module available on mobile
Unbreaks visual diffs on mobile.

Change-Id: Iaa935d8c42cc539a04a2ce52b5b5a246077524e8
2017-10-16 21:39:52 +01:00
Translation updater bot b67854f026 Localisation updates from https://translatewiki.net.
Change-Id: I07de4ef9ea4a31585c519716706e9f389c3763d7
2017-10-14 22:43:30 +02:00
jenkins-bot 82c8e64f8f Merge "Efficiency improvement for MWLanguageVariantNode#hasRendering" 2017-10-13 21:02:55 +00:00
Translation updater bot a0d39d3643 Localisation updates from https://translatewiki.net.
Change-Id: I9ac1784955db18b4696006f0f0c9b3da06723f8c
2017-10-13 22:59:21 +02:00
C. Scott Ananian b56e7eec4d Efficiency improvement for MWLanguageVariantNode#hasRendering
Override ve.ce.FocusableNode#hasRendering with a model-based test to
improve efficiency and avoid some unnecessary DOM measurements.

Change-Id: Ice7aebcc2f30dc73ef049a6ed0d4a0cffe86d8e2
2017-10-13 15:11:47 -04:00