Commit graph

15397 commits

Author SHA1 Message Date
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
jenkins-bot c7049f4de1 Merge "DesktopArticleTarget: Fix position of progress bar if editor is reloaded" 2019-02-06 21:31:33 +00:00
jenkins-bot 559e9d86de Merge "DesktopArticleTarget: Match NWE toolbarPlaceholder height to real toolbar" 2019-02-06 21:31:11 +00: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
libraryupgrader 36ef6d856f build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgParser
* MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle

The following sniffs was renamed:
* MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle

Change-Id: Iabe2a787bae7fe299bed548c0097613ff5493a0d
2019-02-06 18:33:13 +00: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 ce6a24dd0c Merge "Tests: Duplicate module to test.VisualEditor ahead of next phase" 2019-02-05 22:47:52 +00:00
James D. Forrester 5826a6b89c Tests: Duplicate module to test.VisualEditor ahead of next phase
Change-Id: If6e0450ec73051d9b1d9111aed808fee26b45705
2019-02-05 14:16:10 -08:00
Translation updater bot 9b8dd975f5 Localisation updates from https://translatewiki.net.
Change-Id: I2f82ac4176a6e3e32c8de1442e2908ad110db64a
2019-02-05 22:38:02 +01:00
jenkins-bot f5bae30b4a Merge "ve.ui.MWTransclusionContextItem: Remove "Generated from" prefix from description (mobile)" 2019-02-05 19:13:55 +00:00
James D. Forrester 1db665e0c3 Update VE core submodule to master (5838dce23)
New changes:
5838dce23 ve.ce.Surface: Handles font weight bold

Bug: T93081
Change-Id: Ib25d68fe06a3a58d60582cbd91c8be34fe6e94fa
2019-02-05 10:13:53 -08:00
jenkins-bot e52adb1590 Merge "ve.dm.MWInternalLinkAnnotation: Correctly generate relative links" 2019-02-05 17:07:56 +00:00
jenkins-bot 4e0f9c865d Merge "Update VE core submodule to master (67e60b00e)" 2019-02-05 11:58:27 +00:00
Translation updater bot 8cf10ccb42 Localisation updates from https://translatewiki.net.
Change-Id: I091d9b7fbad1e8baf530c6a59ed11556d033713e
2019-02-04 22:15:51 +01:00
James D. Forrester ce250a23f2 Update VE core submodule to master (67e60b00e)
New changes:
d615196b2 build: Update eslint-config-wikimedia to 0.10.1
67e60b00e Localisation updates from https://translatewiki.net.

Change-Id: I521eaec173ff16e33396f4fdd9947552458cda7a
2019-02-04 12:04:40 -08: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
Translation updater bot 156e70c795 Localisation updates from https://translatewiki.net.
Change-Id: I99f54c3e3696a31798af7d8c3d18b7c21d0aeac1
2019-02-03 22:39:00 +01:00
jenkins-bot 748d25237e Merge "Remove "return true" legacy behavior from hook handler functions" 2019-02-02 22:37:26 +00:00
jenkins-bot 73b2acf2a6 Merge "build: Update eslint-config-wikimedia to 0.10.1" 2019-02-02 21:45:27 +00:00
Derick Alangi 8d6c7a6648 Remove "return true" legacy behavior from hook handler functions
Change-Id: I18fee692f6cd247c41ffb9b357047a6be0facb11
2019-02-02 21:04:04 +01:00
Derick Alangi 68d196c3e9 Fix PHPDoc comments to the canonical format (@param [Type] [name])
Change-Id: I105af4a02c8823698d3437159eb1886b9a71f76a
2019-02-02 20:50:26 +01:00
Ed Sanders c463e812ed build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I223b39d49167ef7a831208b523654c69ad0bea5b
2019-02-02 11:02:27 -08: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 1510874cc6 Update VE core submodule to master (3c1c8429d)
New changes:
8bfeae442 Fix "factory pattern" typo
79f0415b4 Localisation updates from https://translatewiki.net.
8b2e8d9f5 Rebuild demos with new language
9b1d76641 AnnotationAction: Activity-logging used wrong field name in two cases
4734b7fb5 ve.ui.FindAndReplaceDialog: Debounce calls to save user options

Bug: T214963
Change-Id: I34040967f857e5098097f51789caac68e6258a42
2019-02-01 20:07:15 -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
jenkins-bot bdf06a6dd1 Merge "trackSubscriber: don't track activity here on mobile" 2019-01-31 22:00:44 +00:00
Translation updater bot 2644783553 Localisation updates from https://translatewiki.net.
Change-Id: Ibcd06854fc427078a947a3e9409751ae74042278
2019-01-31 22:26:30 +01: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 4e3511c9b7 build: Don't check for code typos in the i18n files
Change-Id: Icba5245269ca70aac0f6e11f92ecdc3ab63bbd06
2019-01-30 17:20:07 -08:00
Translation updater bot 05bd0730c8 Localisation updates from https://translatewiki.net.
Change-Id: I3a006486657a52feca4c10bfa2f1228d8d090c84
2019-01-30 22:14:45 +01:00
jenkins-bot 49a53fb57c Merge "Improve param docs" 2019-01-30 00:58:58 +00:00
Translation updater bot 0adb55baf1 Localisation updates from https://translatewiki.net.
Change-Id: I249a4a8e353cd5d950f96891c8ac436bfbe1b512
2019-01-28 22:27:24 +01: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
Translation updater bot 4843c2f8bc Localisation updates from https://translatewiki.net.
Change-Id: I0b36e041ed8e0729659173dec54a3b232f53a5b7
2019-01-26 22:17:47 +01:00
Umherirrender 57d00b7197 Improve param docs
Change-Id: Ib8e22c6029cb11635d6fe9cce17775f67a2a589a
2019-01-26 14:50:22 +01:00
Translation updater bot 660e052eec Localisation updates from https://translatewiki.net.
Change-Id: I0bf933a6ed1a5c8085a2163d55885dc06d8e4490
2019-01-25 22:29:36 +01:00
James D. Forrester fc2f85daae Update VE core submodule to master (08697f624)
New changes:
2b47d62c1 Rebaser: Add '[]' sequence for experimental checklist
08697f624 Update OOUI to v0.30.2

Change-Id: Ic525b1b7ac1f98426b18a1be3cc0a5e8fd9ead4f
2019-01-24 18:27:29 -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
James D. Forrester 7a3343c606 Update VE core submodule to master (5883578a8)
New changes:
3efa17468 Localisation updates from https://translatewiki.net.
d4f2b4816 Only fix context menu position when Android >= 6
05f021479 build: Move from `npm prepublish` to `npm prepare`
2999b69a7 Localisation updates from https://translatewiki.net.
c3fa7c1a3 ui.AnnotationInspector: tweak selection after adding annotation
de0a6f44f Rebaser: Fix CSS load order in demo

Bug: T202723
Bug: T211236
Change-Id: I172480a0402d05322ef364e4bb0d76e0e97ed066
2019-01-22 10:11:37 -08: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