Commit graph

16574 commits

Author SHA1 Message Date
James D. Forrester a66dc4ad4f Update VE core submodule to master (8184ce0f9)
New changes:
0a45d669c Replace constructive with progressive UI flag
4ff90218d ve.ce.Surface: Fix typo in documentation
605752edb Update OOjs UI to v0.23.2
7bcb9084b Do not setup inline slugs when rendering is locked

Bug: T176762
Change-Id: Ic8b8a0209306e4fabfbffd809d3f203cb1472cc9
2017-09-26 23:12:16 -04:00
jenkins-bot 9574395d96 Merge ""Automatically enable all new beta features" should enable 2017 editor" 2017-09-26 22:59:39 +00:00
jenkins-bot 2411e7c04e Merge "Replace constructive with progressive UI flag" 2017-09-26 22:04:46 +00:00
Translation updater bot db5a06afd7 Localisation updates from https://translatewiki.net.
Change-Id: I55bcbb4134fd269f45b77115c025aea045e3bff8
2017-09-26 22:54:54 +02:00
James D. Forrester 2c70792c4f Replace constructive with progressive UI flag
Change-Id: Iae36e978978ed6642f44606a934c540cf5f8537f
2017-09-26 15:14:32 -04:00
Ed Sanders 38d716f895 Follow-up Iebd1def1: Revert MWSignatureTool case
The tool checks the page name before the target is initialized.

Change-Id: I02ec528a11cc01b026fb95617388d47323ad96ee
2017-09-26 19:59:56 +01:00
Ed Sanders 1b8f8d8908 Replace wg(Relevant)PageName with target#pageName
The default value of target#pageName is wgRelevantPageName
but other targets my override this, or change it dynamically
(e.g. ContentTranslation).

Also remove duplicate setter of pageName in mw.ArticleTarget,
already set in mw.Target.

Change-Id: Iebd1def1d4142978a673afec584a0b663644d176
2017-09-26 13:22:00 +01:00
Translation updater bot b81a4b0fea Localisation updates from https://translatewiki.net.
Change-Id: Ia27a53fdc504ca1bb3e2bbb3b0bc6e54542344aa
2017-09-25 22:54:09 +02:00
jenkins-bot c54a54d3f9 Merge "Api: Missing preloadparams" 2017-09-25 17:30:41 +00:00
Ed Sanders 842d0bb8ed Set bounding element to full frame for MW images
Logically depends on Iea800132.

Bug: T176646
Change-Id: Ia08dbb4400400990e1e518bc47afd5d60795c736
2017-09-25 17:17:27 +00:00
James D. Forrester 671501930c Update VE core submodule to master (723b85d6c)
New changes:
02ac1e72b Allow focusable nodes to define an element to be their bounding box

Bug: T176646
Change-Id: I19480544a9e67d29ef92ffaf2ed3ca4c733b733d
2017-09-25 13:16:51 -04:00
David Lynch 02c6e9142b Api: Missing preloadparams
* Tiny fix to 33dc60838c for PHP variable name
* Bigger fix to properly pass preloadparams in and split them up

Change-Id: I844db115f2563cb9ee1629c30d5f49d1ce58f5bd
2017-09-25 11:42:09 -05:00
jenkins-bot 69092c4b6c Merge "Api: include preload content when section=new" 2017-09-25 15:55:14 +00:00
David Lynch 33dc60838c Api: include preload content when section=new
Consistency with former editor behavior. Needed for some cases like
Template:Meetup/signup which use preload + section=new to make as close to a
one-click experience as they can.

Bug: T51622
Change-Id: I0940898b56dbaea536f57560135665df89569232
2017-09-25 10:31:10 -05:00
jenkins-bot 26ee19d2c1 Merge "Update VE core submodule to master (0ec5fe55f)" 2017-09-25 15:16:48 +00:00
David Lynch 8b1370f1d7 Update VE core submodule to master (0ec5fe55f)
New changes:
46f521752 Use findFirstSelectableitem instead of getFirstSelectableItem
3a64969b9 Setup slugs in TreeModifier
86c4df845 Update OOjs UI to v0.23.1
74c1020e1 Surface: reset selection when popping staging
754c5cf63 Localisation updates from https://translatewiki.net.
55955bdff Use diacritic insensitive search in language search dialog
deaf03272 Localisation updates from https://translatewiki.net.
8d639dcd8 Make IME tests more consistent across test environments

Bug: T166134
Bug: T175852
Bug: T175943
Bug: T176453
Change-Id: If101bd348a659d2954b28ca4b94dac66b8197ce3
2017-09-25 10:43:14 -04:00
Translation updater bot e13538a8f0 Localisation updates from https://translatewiki.net.
Change-Id: Ic73bdbb6f814da63a38099728cd960e805be4664
2017-09-24 23:06:22 +02:00
libraryupgrader be6fa39ce5 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
The following sniffs are failing and were disabled:
* MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle

Change-Id: Idbacf60527f413c05e5e1f6efd8e6564fb0acbe7
2017-09-24 03:51:19 +00:00
Translation updater bot d9de7e3235 Localisation updates from https://translatewiki.net.
Change-Id: I4ce90141a03f0cc736186a8375a21ff22bab349c
2017-09-23 22:58:22 +02:00
Translation updater bot 996e39613b Localisation updates from https://translatewiki.net.
Change-Id: I9496eda9f2f17527f36a8dcb356e1246d1f66b98
2017-09-22 23:29:36 +02:00
jenkins-bot 9dc3e46f38 Merge "ApiVisualEditor: Stop an undefined variable error for preload on existing pages" 2017-09-21 21:29:50 +00:00
David Lynch 05bd8c19c8 ApiVisualEditor: Stop an undefined variable error for preload on existing pages
Bug: T176440
Change-Id: I39c8efe6d59948170b848730c4cc20c80cc2d326
2017-09-21 16:21:41 -05:00
Translation updater bot 14ebd22180 Localisation updates from https://translatewiki.net.
Change-Id: Iee95738a77c34850701cc87b345391a73201145c
2017-09-21 22:58:48 +02:00
Reedy dcbe6d0dd5 Replace $wgUser with $user
Change-Id: I657551567334357b60bfec33e7d44a6d960f4a8e
2017-09-21 20:07:19 +01:00
jenkins-bot f17b099984 Merge "Use findFirstSelectableitem instead of getFirstSelectableItem" 2017-09-21 18:13:09 +00:00
Ed Sanders 9572bbe245 Fix font size in local overlays in monobook
Change-Id: I742c090d64af4e22004e921ab772550474125224
2017-09-21 15:46:26 +01:00
Translation updater bot fa7cbf0849 Localisation updates from https://translatewiki.net.
Change-Id: I41c542b61bc744c201ce582267a8a992fde9c201
2017-09-20 23:09:44 +02:00
jenkins-bot 549290991e Merge "DesktopArticleTarget.init: handle new-section tab when in visual mode" 2017-09-20 17:04:48 +00:00
jenkins-bot e1ae0a91ec Merge "Remove nbsp from Visualeditor-mwlanguagevariantcontextitem-rule-code-label" 2017-09-20 16:20:40 +00:00
David Lynch 325de4b130 DesktopArticleTarget.init: handle new-section tab when in visual mode
Bug: T157755
Change-Id: Ida657edb57c4d3067f17104ff1b74965c8082131
2017-09-20 15:49:21 +00:00
jenkins-bot c1721aabe9 Merge "Wait for tree to finish building before updating caption" 2017-09-20 15:41:33 +00:00
jenkins-bot 02600efe3c Merge "Hooks: remove preloadtitle from unsupported list" 2017-09-20 15:39:09 +00:00
David Lynch 72ad051e0b Hooks: remove preloadtitle from unsupported list
Bug: T51622
Change-Id: I480bbc5b9906f82b06667c69a559360f9083f06a
2017-09-20 10:16:32 -05:00
Ed Sanders 14f99e3757 Wait for tree to finish building before updating caption
Bug: T176265
Change-Id: Ib73943beedc6a0166699b33b4d1148d8ba32ad20
2017-09-20 16:00:41 +01:00
Deskana b96ebad5e5 "Automatically enable all new beta features" should enable 2017 editor
Bug: T176181
Change-Id: I588dd08b788689fb89de7fd001bded30caa07e64
2017-09-20 14:31:00 +01:00
Translation updater bot 7a7e57504b Localisation updates from https://translatewiki.net.
Change-Id: Iad8f83651883d387edc898646acf6a1042ca38b9
2017-09-19 23:18:24 +02:00
Bartosz Dziewoński 9c8eded5d9 ApiVisualEditor: Fix checkbox label message handling with Message objects
Follow-up to df9e564b73. Eh, this is
hacky. I did not think this through when making the original change.

Bug: T176249
Change-Id: Ieff2c3174479831797bd37a6b1d0df44ed6ce0df
2017-09-19 21:23:34 +02:00
jenkins-bot 0357252601 Merge "Use figure-inline instead of span for inline media" 2017-09-19 16:11:58 +00:00
James D. Forrester 3b78edae26 Update VE core submodule to master (75726b850)
New changes:
c23696d7e ve.ce.Surface: Make attribute resolution consistent with ve.ui.PreviewElement
a45d6fc3e Localisation updates from https://translatewiki.net.
7070899bd Follow-up a45d6fc3: Add 'tay' language to build to unbreak the repo

Change-Id: I684b6ca6a99292fc653d8efdf8e99db2655ae057
2017-09-18 16:10:07 -07:00
jenkins-bot fbdd7c895f Merge "Do not "resolve attributes" in toDomElements() overrides" 2017-09-18 22:27:28 +00:00
jenkins-bot 13c0ad0a4c Merge "Use consistent comment style in PHP files" 2017-09-18 20:57:44 +00:00
jenkins-bot 0246c2a62f Merge "Enable preload in VisualEditor" 2017-09-18 19:59:13 +00:00
Ed Sanders 314a34391e Use consistent comment style in PHP files
Change-Id: I0ff8b83c8d36b8d6343715cb1cf39d501c5de408
2017-09-18 20:46:38 +01:00
David Lynch c440a3576f DesktopArticleTarget: Support preloadtitle in source mode
Can't support it in visual mode, since there's no new-section handling at all.

Bug: T51622
Change-Id: I763d5fff156e9ef3893bd882fab1dc2d47121728
2017-09-18 10:18:37 -05:00
Translation updater bot 228af9d25d Localisation updates from https://translatewiki.net.
Change-Id: I10e3b3c86449102851aec61f7166adfd9432164b
2017-09-17 22:48:16 +02:00
Translation updater bot 76771b4cd0 Localisation updates from https://translatewiki.net.
Change-Id: I1cbc38a425ec200a585dfacb825893c20da5b1e2
2017-09-16 23:06:04 +02:00
David Lynch ea274c94cd Enable preload in VisualEditor
This allows the use of the preload and preloadparams query parameters. They
should behave as they do in the old editor, loading substituted content in
visual and source modes.

Bug: T51622
Change-Id: I522fb5b480d17912f6d6116be6aa043ead855b52
2017-09-15 17:17:51 -05:00
jenkins-bot 0dce4c52d8 Merge "Inspectors for editing LanguageConverter markup" 2017-09-15 16:31:38 +00:00
C. Scott Ananian 853ec0bc9c Inspectors for editing LanguageConverter markup
Basic inspectors for editing.  Changing from block to inline, or
adding "hidden" or "describe" flags not supported.

The UI layout for two-way and one-way rules could certainly be improved.

Bug: T49411
Change-Id: I5ce29e4bf47abf509afde0a57f64b5d1189f5185
2017-09-15 09:24:33 -07:00
Ed Sanders 31122758bb Remove unused polyfills from EasyDeflate lib
Base64 and TypedArrays polyfills were required to
support IE9, but VE now requires IE10.

* http://www.caniuse.com/#feat=atob-btoa
* http://www.caniuse.com/#feat=typedarrays

Change-Id: I311a16f98fb1d091f55dda52d97bebfc012e2a14
2017-09-15 15:57:55 +01:00