jenkins-bot
8846e65e44
Merge "Support only surfacing part of the document"
2019-02-20 19:06:30 +00:00
Ed Sanders
de2a2ca06f
Improve abstraction around template context description
...
* Separate partDescription from partDescription*s* and use Array#map
* Lookup CE node class of current model, instead of using
ve.ce.MWTransclusionNode hard-coded.
Change-Id: Ief07b865b4c216dc13408b12e8a1354cd2c28dfe
2019-02-19 13:23:14 +00:00
jenkins-bot
557cc0e581
Merge "ve.ui.MWGalleryDialog: Allow normal tools in gallery captions"
2019-02-18 18:47:55 +00:00
Ed Sanders
3269d53632
Support only surfacing part of the document
...
Bug: T76541
Depends-On: I227a0d704b9b337cff2102d424be9795d6362ed7
Change-Id: Iac71a51c8696434658f24fbb41c8142237bd810e
2019-02-13 19:03:44 +00:00
Ed Sanders
bc02c44d36
rootNode/documentNode -> attachedRootNode
...
Change-Id: I56bb10749cac04e17ace2781b4d693ec5f522e7c
2019-02-13 19:03:36 +00:00
Chunliang Lyu
4774fbdf5c
Fix TypeError in MWTocWidget.initFromMetaList
...
If a page contains __NOTOC__ magic word, it would break the VisualEditor
with "Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not
an object at VeUiMWTocWidget.ve.ui.MWTocWidget.initFromMetaList".
The issue seems to be that we removed ve.dm.MWTOCForceMetaItem and
ve.dm.MWTOCDisableMetaItem in commit 57a06a6e75
,
but the code in initFromMetaList still refers to them.
Change-Id: I857cddcc7d4aa73375357ef922591ed94d760166
2019-02-09 19:31:27 +01:00
jenkins-bot
d1c7b9a5d1
Merge "Fix function name"
2019-02-06 22:36:21 +00:00
Ed Sanders
fed2067df9
Fix function name
...
Change-Id: I540ec247f37a21dfd0b84c8b593a6a37197bfcb2
2019-02-06 21:54:23 +00:00
Bartosz Dziewoński
9ff514a460
ve.ui.MWTransclusionContextItem: Use the right class name in override
...
Follow-up to I47a995905fef5aa2cabb2b3215111de0b506e7f7.
Bug: T209610
Change-Id: I204e92771bcde9015244a1697c3a7e6bd888a516
2019-02-06 22:36:52 +01:00
jenkins-bot
f5bae30b4a
Merge "ve.ui.MWTransclusionContextItem: Remove "Generated from" prefix from description (mobile)"
2019-02-05 19:13:55 +00:00
Bartosz Dziewoński
c56b764330
ve.ui.MWTransclusionContextItem: Remove "Generated from" prefix from description (mobile)
...
It does not provide any additional information, and it is long enough
that it causes the actual template name(s) to not fit on the screen on
small mobile sizes.
Bug: T209610
Change-Id: I47a995905fef5aa2cabb2b3215111de0b506e7f7
2019-02-04 19:48:28 +01:00
James D. Forrester
b74f4db570
MWMediaTransferHandler: Fix new eslint warning from unused global
...
Change-Id: I729cfb8d6b487ecd5b42af5921ca8f1e18cfd749
2019-02-01 20:07:15 -08:00
Bartosz Dziewoński
c91047b129
ve.ui.MWGalleryDialog: Allow normal tools in gallery captions
...
PHP parser and Parsoid now both allow normal wikitext in gallery captions.
Bug: T187958
Change-Id: I3470ec1f81493c58e4c2bdad00d5d78af8b4a10b
2019-02-01 19:51:35 -08:00
jenkins-bot
dae36e4ea1
Merge "MWTemplateTitleInputWidget: Filter out templates named '…/doc'"
2019-01-31 22:29:51 +00:00
James D. Forrester
c1d690e53d
MWTemplateTitleInputWidget: Filter out templates named '…/doc'
...
As configured on-wiki via MediaWiki:templatedata-doc-subpage; this will
probably have a few false positives, but that's worth it.
Bug: T54448
Change-Id: Id91f95b5865e151f8007a2421428aeb82b11b3fd
2019-01-26 13:23:38 -08:00
jenkins-bot
cd42c60644
Merge "MWLinkAnnotationInspector: check field validation before submitting with enter"
2019-01-25 01:26:44 +00:00
David Lynch
410386d573
MWLinkAnnotationInspector: check field validation before submitting with enter
...
Bug: T214453
Change-Id: I46adc4578f3827cb9f1fb8b424eb88a49f635fc9
2019-01-24 11:17:04 -06:00
jenkins-bot
2ea2197483
Merge "Fix uncaught jQuery linting errors"
2019-01-22 16:27:45 +00:00
jenkins-bot
26fd8c670e
Merge "Re-introduce: Replace deprecated setIndicatorTitle
with setTitle
"
2019-01-22 00:43:05 +00:00
jenkins-bot
65fd3de442
Merge "Use pixel dimensions for education dots"
2019-01-18 21:26:05 +00:00
Ed Sanders
375edf0182
Fix uncaught jQuery linting errors
...
Change-Id: I17482ec84c95e88881ab4bee9b9cadb27b2dc472
2019-01-18 21:03:38 +00:00
Ed Sanders
ec1a940616
Use pixel dimensions for education dots
...
Bug: T214203
Change-Id: I02410b09d490c6a6ebd71cafa998f09c8cd1033f
2019-01-18 21:00:56 +00:00
jenkins-bot
1737464653
Merge "Fix fragment links in preview"
2019-01-18 16:54:54 +00:00
Ed Sanders
a22b9c8ea3
Fix fragment links in preview
...
Bug: T212554
Change-Id: Ic9b8f14c377b0dd43aa648983fac27272a64b66f
2019-01-18 14:39:00 +00:00
Volker E
5c5323fc3a
Re-introduce: Replace deprecated setIndicatorTitle
with setTitle
...
Patch got reverted in Iffbbd36d0e91, with I3028c4225a42 we should be
good to go now.
Bug: T76638
Change-Id: I016f7db8b2527b3ffe3bd103e6c88ee8e4dd11bc
2019-01-16 22:12:38 -08:00
Ed Sanders
5461c56380
stylelint: Enforce class name pattern
...
Change-Id: Ia41a08424f840d353eb7fc213815f7992da4a2ef
2019-01-13 15:14:53 +00:00
jenkins-bot
1190ce584d
Merge "Add missing mw-content-ltr/rtl class to diffElement"
2019-01-09 16:49:39 +00:00
Ed Sanders
74f6c4899c
build: Update eslint-config-wikimedia to 0.10.0
...
Change-Id: I63a0ebf0b31a0d5d4e680a4e2a5a0be4850be165
2019-01-08 17:00:09 +00:00
jenkins-bot
c0c0c3e6c1
Merge "Revert "Replace deprecated setIndicatorTitle
with setTitle
""
2019-01-07 21:23:26 +00:00
Bartosz Dziewoński
8a286b06f0
Revert "Replace deprecated setIndicatorTitle
with setTitle
"
...
This reverts commit a7c98d88de
.
Bug: T212975
Change-Id: Iffbbd36d0e91d02f50ce0407ed556f2a7d91a301
2019-01-07 21:08:35 +00:00
David Chan
0d362040bd
Update VE core module to master (469c6340e)
...
New changes:
6515e03e1 ve.ce.Surface: Rearrange #findBlockSlug test to check other cases
cbfdc8570 Localisation updates from https://translatewiki.net .
708ba0557 Prevent block slugs from overlapping floated elements
3703fd66d Separate the concept of a document node and a root node in CSS
Bug: T211844
Change-Id: Ia86cf9b23e561d3c32601d41c1bc5a9824e9953c
2019-01-06 07:47:17 +08:00
Ed Sanders
3059251b5c
Add missing mw-content-ltr/rtl class to diffElement
...
Change-Id: I9bd4fad6202ea3636256970b12d6c94f408d0bd8
2019-01-04 22:23:23 +00:00
Volker E
a7c98d88de
Replace deprecated setIndicatorTitle
with setTitle
...
Bug: T76638
Change-Id: I6637cb21f01bd9e6b158d08671c1f29665e601e1
2019-01-03 11:52:31 -08:00
jenkins-bot
3d4fabd3de
Merge "Move save error messages above save footer"
2019-01-03 16:55:40 +00:00
Ed Sanders
0f1a8b9eb9
Default originalGalleryGroupItems to empty array
...
Bug: T212809
Change-Id: I29e95be677d1d7fcc96bbf20efb7d5724d71b0de
2019-01-03 15:13:15 +00:00
James D. Forrester
3c293ea00c
doc: Bump copyright year for 2019
...
Change-Id: I8991b97c980d4149f53eb5601036220ef3c0c440
2019-01-01 13:24:23 +00:00
jenkins-bot
ccfcacf1fd
Merge "ve.ui.MWGalleryDialog: Improve modification checks"
2018-12-30 22:49:34 +00:00
jenkins-bot
4c44d8b712
Merge "Use ve.targetLinksToNewWindow where possible"
2018-12-13 22:25:31 +00:00
Ed Sanders
ad5b8f99ee
Replace $( 'body' ) with $( document.body )
...
Better to use the actual element rather than a string selector.
Change-Id: I7d2c08cf1e3c6f14be5bf65ac040b7cdfdd8c594
2018-12-13 16:44:25 +00:00
Bartosz Dziewoński
22a80e430e
Use ve.targetLinksToNewWindow where possible
...
Also, avoid parsing HTML manually in a few places.
Change-Id: I983a7e1917a3f0728173e9621c709d1c8c04f650
2018-12-12 23:19:11 +00:00
Ed Sanders
f2ac575ee2
Move save error messages above save footer
...
Keeps the more important information higher up the page.
Bug: T72266
Change-Id: Iaf29a5190af5f72c88eb1bfdacce199cd046eee4
2018-12-12 12:53:55 +00:00
Ed Sanders
a9aa4d6c15
Fix save dialog error message transition
...
Element must be hidden for $.slideDown to work.
Also speed up animation to OOUI default 250ms.
Change-Id: I0616c156f1893688abd80f9e47c1a88e9237d085
2018-12-12 12:20:24 +00:00
Volker E
3949712ec0
TransclusionDialog: Fix removeButton position
...
Change-Id: I886c64f51fe54483d24c6cfa925b698db7bf4e7e
2018-12-11 16:05:33 -08:00
jenkins-bot
7fe951e5e1
Merge "Exclude deprecated params from search list"
2018-12-11 21:01:56 +00:00
Ed Sanders
ae1095d313
Exclude deprecated params from search list
...
Only show param info if the exact field name/alias is entered
Bug: T207897
Change-Id: Ic5be8b8cd7698b88ab89d771769f2e9ba407dfa9
2018-12-11 14:59:54 +00:00
Ed Sanders
85974b171c
Bring back 'alert' indicator
...
Was removed upstream in OOUI, but we require it to
show that parameters are deprecated.
Resize to fit new 12x12 size for indicators.
Change-Id: I2356de0754a2ccf09b87b152f3023282f2e37f41
2018-12-11 14:25:48 +00:00
James D. Forrester
309d05cb38
build: Upgrade stylelint-config-wikimedia to 0.5.0 and make pass
...
Change-Id: I4c547757ed5a32ff98b1cf2670010db302bd8467
2018-12-03 13:06:59 -08:00
Bartosz Dziewoński
a659c4eaea
ve.ui.MWTransclusionDialog: Remove unneeded code re-setting insert label
...
This sets the label to be the same as the default value inherited from
ve.ui.MWTemplateDialog. Looks like it's no longer needed since change
Ia8fb88d3501ffa2c26add4419da5463a926f45d1 (2014).
Change-Id: I1dd40d2428c0221dfdc79e5f34e411b127624eb6
2018-11-29 23:10:56 +01:00
Ed Sanders
b76e40b2f3
MWSaveDialog: Use ve.targetLinksToNewWindow
...
Change-Id: I1515901f05de1a7b1ef2aa3cb34f3043ab02acce
2018-11-28 15:44:52 +00:00
jenkins-bot
23c6c3b6e0
Merge "Use mw.Title.wantSignaturesNamespace"
2018-11-27 19:31:13 +00:00