Commit graph

15691 commits

Author SHA1 Message Date
jenkins-bot 6ce963665f Merge "Move redirect building methods from DesktopArticleTarget to ArticleTarget" 2018-04-03 19:01:01 +00:00
Thalia 367509287f Define childNodeTypes for gallery image node
Change-Id: I9ad78d26dfa16a7bc6da8bc94d7ef4e38fdec409
2018-04-03 19:40:12 +01:00
jenkins-bot 7ed412427e Merge "Avoid unnecessary use of RequestContext::getMain()" 2018-04-03 18:29:41 +00:00
Kunal Mehta 3d48221600 ApiVisualEditor: Remove unused variable and add some type hints
Change-Id: Ic16d223a6bbdb4b80474d7749f6b4e6c4df8b65b
2018-04-03 11:21:11 -07:00
James D. Forrester 4c047bd701 Update VE core submodule to master (81bbd2732)
New changes:
62e47b56c Remove icon padding from format tools in WMUI
22a79c1d5 Localisation updates from https://translatewiki.net.
81bbd2732 Follow-up I2be081c76: Fix drop bugs

Bug: T191103
Change-Id: Ia6d8a63c6aeb79c350cdb98b8f6a7836aff62609
2018-04-03 10:24:19 -07:00
Translation updater bot 41417ae948 Localisation updates from https://translatewiki.net.
Change-Id: Ie1ddf993bde95a326b4b6b55371849226bc191c6
2018-04-03 09:51:30 +02:00
Kunal Mehta a087e447ae Avoid unnecessary use of RequestContext::getMain()
Change-Id: I4d226a0543e16aa22b28a6a403ce5c6892dc5924
2018-04-02 19:33:25 -07:00
Ed Sanders 36e0f8988d Show redirect link in preview
Bug: T191128
Change-Id: I08fc03dd869e6b074a24698f9037380b26e3dd2c
2018-04-02 17:34:51 +01:00
Ed Sanders 11eaab48c8 Move redirect building methods from DesktopArticleTarget to ArticleTarget
These are not specific to desktop.

Also make the static builders static, and move VE target specific
code to caller, such as the click handler.

Change-Id: Ib7e769e3d6d339b9e66e1bc924480b0b0d5db17d
2018-04-02 17:32:24 +01:00
jenkins-bot 45afe665c1 Merge "Visual diffs in source mode section edits" 2018-04-02 16:05:34 +00:00
Translation updater bot f27408eeb3 Localisation updates from https://translatewiki.net.
Change-Id: I46281b38ad644ed3fc4d0804fec969d96931538a
2018-04-02 09:48:54 +02:00
Translation updater bot 3584bcfb82 Localisation updates from https://translatewiki.net.
Change-Id: Id7276a1be7d8ef27c4dfebf0c9e31a0f65578c66
2018-04-01 09:39:45 +02:00
Translation updater bot 9c7c6fc353 Localisation updates from https://translatewiki.net.
Change-Id: Ie3a674971e4c779a92bb98ca5b8502ae807eae52
2018-03-31 09:22:40 +02:00
Translation updater bot 3dc7b2d550 Localisation updates from https://translatewiki.net.
Change-Id: I2c6c8a2f4ddc8a906035fb407fa3dc9f6ef74a74
2018-03-30 09:35:04 +02:00
jenkins-bot b29de616c9 Merge "Fix source copy when clipboardData not available" 2018-03-29 23:39:19 +00:00
Ed Sanders ec3c6b65c0 Remove <section> unwrapping code from ve.ce.MWTransclusionNode
Has been fixed upstream in Parsoid.

Bug: T181226
Change-Id: I7dfe228e6d1008c4e66377d501f2e4af72c1813d
2018-03-29 14:05:32 +01:00
Ed Sanders 58054d49da Fix source copy when clipboardData not available
Bug: T190881
Change-Id: I8569dec0c03caa30cb7fcbbbfeed126dc9db57e4
2018-03-29 13:58:00 +01:00
Translation updater bot fcb68d33d2 Localisation updates from https://translatewiki.net.
Change-Id: I1760e48c5a554f031d0eda27731522713d8686f8
2018-03-28 22:23:20 +02:00
James D. Forrester 31f667ccf7 doc: Document all public and protected PHP functions
Also move the maintenane script to a name that makes
MediaWiki.Files.ClassMatchesFilename.NotMatch not error,
and use the more restrictive licence tag usage for
MediaWiki.Commenting.LicenseComment.InvalidLicenseTag.

Change-Id: Ifa5518cd590ae83c6fd76f1dbb5a2ce40de4b119
2018-03-28 12:50:44 -07:00
libraryupgrader 0c6e488c2f build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.LicenseComment.InvalidLicenseTag

Change-Id: I9e8470d0a967fdab4b410aa999cc98d52fb780e8
2018-03-28 18:28:05 +00:00
jenkins-bot ea9a0d56df Merge "Update VE core submodule to master (4922429f7)" 2018-03-28 16:32:26 +00:00
Bartosz Dziewoński f8522b7aac Update VE core submodule to master (4922429f7)
New changes:
4922429f7 Merge all theme overrides into single files

Local changes:
* Update extension.json module definitions for 4922429f7
* Merge all VE-MW theme overrides into single files

Change-Id: Ie8bb4a78c3c50dd4e930f25f6f72bc2f395bd10c
2018-03-28 09:17:12 -07:00
jenkins-bot a34b152532 Merge "Required API parameters cannot have defaults" 2018-03-28 16:13:37 +00:00
David Lynch 7f5b6fafb4 MWExternalLinkAnnotation: add CSS to override plainlinks styling
Was causing the active link highlight to look broken.

Bug: T190582
Change-Id: Ia59e762689211625027367511ffd922f445a13ae
2018-03-28 10:57:10 -05:00
Aryeh Gregor 6ebb3dad65 Required API parameters cannot have defaults
It doesn't make sense to have a default action here, per Esanders.

Blocks I4a2505cfc8e86e73e46d40acffbf3cd8803458e2.

Change-Id: I02259a5117f3539593ccd09cfd4c8271e8464388
2018-03-28 16:49:19 +03:00
jenkins-bot 476a590c3c Merge "Parse title in show preview using hack" 2018-03-27 20:29:35 +00:00
Translation updater bot 88c60bf9e5 Localisation updates from https://translatewiki.net.
Change-Id: I4243526c5466eec19471789b8fb6d408761c51d5
2018-03-27 22:10:00 +02:00
jenkins-bot 5b36d88eae Merge "Make edit notices popup wider (320 -> 380)" 2018-03-27 17:24:58 +00:00
Ed Sanders d3e5385944 Visual diffs in source mode section edits
Bug: T190845
Change-Id: I938352eec8b49f27784c12ddea72bbe69fdd6cb2
2018-03-27 17:53:54 +01:00
David Lynch d77ea2bf16 DesktopArticleTarget: use -published message instead of -saved
Bug: T183901
Change-Id: I09f6e44f9f743f079ca5504ec06706c764ce6e25
2018-03-27 10:49:03 -05:00
Esanders 3cd35b95e9 Make edit notices popup wider (320 -> 380)
Bug: T184379
Change-Id: Ic68f5e117bb0057bb5fa8b83834707abfbadb3b3
2018-03-27 14:16:25 +00:00
Bartosz Dziewoński b8bcba8cbe ve.ui.MWMediaDialog: Use dropdown for image type selector
The dialog is not wide enough to fit four buttons side-by-side.

Bug: T74187
Change-Id: I6a4e5692b5f1b2ca9bb78d4e6c6103036f371a52
2018-03-27 14:40:39 +02:00
jenkins-bot fe625aa5ea Merge "ve.ui.MWPopupTool: Allow labels of buttons in help menu to wrap" 2018-03-27 11:55:16 +00:00
jenkins-bot 6deaeffa95 Merge "Revert "Make edit notices popup wider (320 -> 450)"" 2018-03-27 11:30:12 +00:00
Bartosz Dziewoński 4fd4a5259b ve.ui.MWPopupTool: Allow labels of buttons in help menu to wrap
Bug: T190796
Change-Id: I7889119a60133100825d7db4a02e6d0a7c797eba
2018-03-27 12:31:24 +02:00
Bartosz Dziewoński a0dacccd83 Revert "Make edit notices popup wider (320 -> 450)"
This reverts commit d5a61eb95d.

Bug: T184379
Change-Id: I0198c6d1faf1474ea0faab7e05ec95cfb43c9206
2018-03-27 10:13:45 +00:00
Volker E e837512cc6 Replace deprecated 'comment' with 'speechBubble' icon
Bug: T183600
Change-Id: Iebebba61a099193051cffc11f41e366bdb1c19e1
2018-03-26 21:14:35 -07:00
James D. Forrester fe525e3bcc *Dialog: Don't set to small size, which is the default
Change-Id: I3b7a19acd0ee5112d104257bdc1e9ff0e9b4ff24
2018-03-26 15:02:11 -07:00
jenkins-bot dc3e192179 Merge "Make edit notices popup wider (320 -> 450)" 2018-03-26 21:31:07 +00:00
jenkins-bot 58f9cf7050 Merge "Autosave section title when adding new section in source mode" 2018-03-26 21:19:26 +00:00
James D. Forrester b1b88b2c78 Update VE core submodule to master (320f01589)
New changes:
7e9a11771 Use more informative message for missing refs in visual diff
f22c21b00 CommentNode: Increase label spacing slightly
e01b9a0f7 Move Apex-specific hack for tool styling to Apex-only CSS

Bug: T188682
Bug: T190433
Change-Id: Ia8696a4a7e32a332b73e2852939bcc533f71cf45
2018-03-26 13:57:45 -07:00
jenkins-bot 5f8d287e12 Merge "Autosave recovery prompt" 2018-03-26 20:55:18 +00:00
Translation updater bot bd694d3138 Localisation updates from https://translatewiki.net.
Change-Id: I89ad05a49abf99f538c0e3cf4f29f3e6d7c52d4b
2018-03-26 22:19:32 +02:00
James D. Forrester 62a197fde8 Update VE core submodule to master (28a9de285)
New changes:
ae04c7fd4 Fix styling of mobile context
47e162b95 Localisation updates from https://translatewiki.net.
d327a9cfc Allow small mobile dialogs
9a1c43329 CommentNode: fix visual glitches
5f7cb5a9b Workaround for WikimediaUI theme broken tool icons in popup toolgroups

Bug: T190658
Bug: T190694
Change-Id: I20b44d84373373c2d2e67a5f51cf1ec0751e6ad1
2018-03-26 11:02:08 -07:00
jenkins-bot 44720da389 Merge "*Dialog: Drop verbose option, ignored since v0.20.0" 2018-03-26 16:18:49 +00:00
jenkins-bot 5325424988 Merge "Match audio & video elements in gallery DOM" 2018-03-26 16:18:46 +00:00
jenkins-bot ce425c1d56 Merge "[BREAKING CHANGE] Use upstream tryTeardown instead of close in MobileArticleTarget" 2018-03-26 16:12:35 +00:00
jenkins-bot 132d3fbaac Merge "Move some deactivation code from DesktopArticle to ArticleTarget" 2018-03-26 16:10:49 +00:00
James D. Forrester 9e01553f0b *Dialog: Drop verbose option, ignored since v0.20.0
Change-Id: If0bc7946b67aaae97886e8dbd956e9338b0e0b40
2018-03-26 08:55:03 -07:00
Ed Sanders 95fc150a4f Remove unused static overrides from dialog
Change-Id: I31f0310baa5c438b17f16749368102d8cede22db
2018-03-26 15:49:04 +01:00