jenkins-bot
557cc0e581
Merge "ve.ui.MWGalleryDialog: Allow normal tools in gallery captions"
2019-02-18 18:47:55 +00:00
jenkins-bot
81c16f6b8a
Merge "Don't try to set dimensions on an error image"
2019-02-15 19:01:32 +00:00
Ed Sanders
e95ec4e24f
Don't try to set dimensions on an error image
...
Bug: T216267
Change-Id: Icbe8cce3e16b2674cb2400f2381f50c71e32f87c
2019-02-15 18:28:03 +00:00
Bartosz Dziewoński
1998a02b8e
ve.init.mw.ProgressBarWidget: Remove 'filter' property for IE 8 & 9
...
Per I7c083ff57db2fce9a06688d5801149253af6f6da this was only needed
for IE 8 & 9, which we don't support now.
Change-Id: I6e093b8ea6f8304ff296bb74297a465dd7334e07
2019-02-15 17:45:22 +01:00
Ed Sanders
bc02c44d36
rootNode/documentNode -> attachedRootNode
...
Change-Id: I56bb10749cac04e17ace2781b4d693ec5f522e7c
2019-02-13 19:03:36 +00:00
Bartosz Dziewoński
7b2bd6be09
ve.init.mw.MobileArticleTarget: Better match surface top spacing to read mode
...
Using margin instead of padding allows the surface margins to collapse
with the margins of first/last paragraph inside the surface, like they
do in read mode. This fixes the slight jump seen in T210630#4949865.
Bug: T210630
Change-Id: I69d4d4bd9390a1007bc40cda9e78a6b3e7a1bd1d
2019-02-13 13:37:31 +01:00
Bartosz Dziewoński
7fedb7be07
ve.init.mw.MobileArticleTarget: Change "back" tool icon from "<" to "x"
...
Icon name changed from 'previous' to 'close'.
This matches MobileFrontend's wikitext editor and other overlays.
Bug: T210630
Change-Id: I5f588c65887dd2247d3f816959807f943215e0c3
2019-02-13 00:29:24 +01:00
Bartosz Dziewoński
1faf0b00fa
Filter out duplicate categories in NWE preview
...
Use them as object keys, which naturally deduplicates the entries.
Bug: T214811
Change-Id: I6159021b95d78b1a163faebb289578d277ff110d
2019-02-12 19:18:09 +01:00
jenkins-bot
e965868def
Merge "Fix TypeError in MWTocWidget.initFromMetaList"
2019-02-09 18:47:08 +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
Roan Kattouw
b15f819fdf
ve.init.mw.Platform: Migrate away from deprecated specialCharacters API
...
Use require('mediawiki.language.specialCharacters') instead of
mw.language.specialCharacters.
Change-Id: I9cf525a1e1aadc12d72284d08b98882b0ab95f5e
2019-02-08 16:59:25 -08:00
jenkins-bot
d2fe2f7f8d
Merge "DesktopArticleTarget: Make the progress bar into a reusable widget"
2019-02-06 22:37:28 +00: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
jenkins-bot
b7cf486403
Merge "ve.ui.MWTransclusionContextItem: Use the right class name in override"
2019-02-06 21:53:41 +00:00
jenkins-bot
72aff8c16a
Merge "mw.Platform.setUserConfig: Don't try to set for logged-out users, it doesn't"
2019-02-06 21:43:40 +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
Bartosz Dziewoński
6e076b3b6c
DesktopArticleTarget: Make the progress bar into a reusable widget
...
We want to add a similar progress bar on mobile without copy-pasting
all this code.
Bug: T210630
Change-Id: I7192869cb719114ffd04940eabf38cf0f0421c13
2019-02-06 22:20:37 +01:00
Bartosz Dziewoński
cb09d6a54d
DesktopArticleTarget: Fix position of progress bar if editor is reloaded
...
Change-Id: I5f181a9516ff64988aa67e54ebd342c56e4b7e70
2019-02-06 02:11:48 +01:00
Bartosz Dziewoński
28950a8b5c
DesktopArticleTarget: Match NWE toolbarPlaceholder height to real toolbar
...
Toolbar was made bigger in If5722df41e75a1d4bdf8afc83c81670d1be3a1b8.
Change-Id: Id85869e6ad0bfad1acebda3a64bab5328de3932d
2019-02-06 02:11:48 +01:00
jenkins-bot
f5bae30b4a
Merge "ve.ui.MWTransclusionContextItem: Remove "Generated from" prefix from description (mobile)"
2019-02-05 19:13:55 +00:00
jenkins-bot
e52adb1590
Merge "ve.dm.MWInternalLinkAnnotation: Correctly generate relative links"
2019-02-05 17:07:56 +00:00
Bartosz Dziewoński
18fb16c81d
ve.dm.MWInternalLinkAnnotation: Correctly generate relative links
...
We could generate incorrect links to pages whose title contains a
colon ':' and therefore looks like a fully-qualified URL.
Bug: T206231
Bug: T206357
Change-Id: Ie34694d903a6d97589cc46417f70659559494619
2019-02-04 20:08:01 +01: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
3ab699f6ed
mw.Platform.setUserConfig: Don't try to set for logged-out users, it doesn't
...
Bug: T214963
Change-Id: Idc61685b6087c0fe0082bd0b039f2f454ca92970
2019-02-01 20:50:58 -08: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
David Lynch
f7fe245018
trackSubscriber: don't track activity here on mobile
...
Mobile needs to use a different sessionid
Change-Id: Iffac3d523b4c5774a23ddbe1a2d7ee380ac1b012
2019-01-31 01:22:28 +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
Bartosz Dziewoński
3dbff552dc
ve.init.mw.Target: Remove unused property
...
Unused since 6e64fba2f8
.
Change-Id: I223f2346c04573a9e853b49bfc83e542cec47c61
2019-01-24 21:05:48 +01: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
jenkins-bot
ca03c085a2
Merge "Revert "Don't preserveHtmlAttributes on transclusion nodes""
2019-01-17 12:54:58 +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
Bartosz Dziewoński
bdfd4b6d8f
Revert "Don't preserveHtmlAttributes on transclusion nodes"
...
This reverts commit 48db45df76
.
Bug: T213922
Change-Id: I7b0bf081fd5a9ab71db1ede3ce6e149cfb4b675a
2019-01-17 01:42:15 +00:00
jenkins-bot
27a596e4f0
Merge "ve.dm.MWTransclusionModel: Remove workaround for T135127"
2019-01-16 18:39:41 +00:00
Ed Sanders
5461c56380
stylelint: Enforce class name pattern
...
Change-Id: Ia41a08424f840d353eb7fc213815f7992da4a2ef
2019-01-13 15:14:53 +00:00
Bartosz Dziewoński
18f8697703
ve.dm.MWTransclusionModel: Remove workaround for T135127
...
The bug this works around seems to be fixed.
Change-Id: I62837ad795ee6bd35663b163f6de76572e1a6594
2019-01-10 21:16:32 +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