Commit graph

13712 commits

Author SHA1 Message Date
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
jenkins-bot 0034fb3c65 Merge "CollabTarget: Disable submit button when input is invalid" 2017-09-15 00:22:12 +00:00
Ed Sanders 35be4f4757 CollabTarget: Disable submit button when input is invalid
Change-Id: Id8b3c098fc2fbec778b0d4cf98fa7cc35202d95b
2017-09-15 00:16:27 +00:00
jenkins-bot 6b9d84a082 Merge "Update VE core submodule to master (05439f5b7)" 2017-09-14 23:01:01 +00:00
jenkins-bot a53971681f Merge "ApiVisualEditorEdit: Make tryDeflate public and static" 2017-09-14 22:00:28 +00:00
Ed Sanders 0b0d8d6266 ApiVisualEditorEdit: Make tryDeflate public and static
So other extensions can use it, e.g. ContentTranslation.
Eventually we could upstream some of these document
editing APIs.

Change-Id: I1e4925c7302fbe90ab4f9380c5efb83c9c379609
2017-09-14 14:48:18 -07:00
Translation updater bot 253d0b2e09 Localisation updates from https://translatewiki.net.
Change-Id: Idc7a04710edbde1341c8fd87ab50d74a4ea87dd2
2017-09-14 23:36:51 +02:00
James D. Forrester f07b6e72cb Update VE core submodule to master (05439f5b7)
New changes:
8c64fe2b5 VisualDiff: Show minimal moves in diff
85a6489ee Localisation updates from https://translatewiki.net.
c20e589d5 Fire position event when direction is changed
32bc67544 Fix AuthorListPopupTool's surface setting
7ff9a3a4e Correct inheritance for CommentInspector actions
05439f5b7 ui.TableLineContext: fix z-index for menu

Bug: T169389
Bug: T171451
Change-Id: Ib8046bd830572829541946f3539a9fcb447cf76f
2017-09-14 14:24:03 -07:00
jenkins-bot 4740424fa9 Merge "Remove use of deprecated EditPage::getCheckboxes()" 2017-09-14 19:20:21 +00:00
C. Scott Ananian 26df4dca33 Doc update: use the full class name so JSDuck hyperlinks it correctly
Change-Id: I2c6f6a6c5b497767d7f7731c86cc145ed60b1deb
2017-09-14 11:07:07 -04:00
Ed Sanders 405afdce70 Strip RESTBase IDs from historical diffs
Change-Id: I911d529204a97003ed233464709737b018918634
2017-09-14 13:45:10 +01:00
Translation updater bot 9dfe4bbdc7 Localisation updates from https://translatewiki.net.
Change-Id: I2195f7cb1d274f73a32a35237f6e0b9b23e29749
2017-09-13 22:56:59 +02:00
jenkins-bot 1809344c8a Merge "URL decode file names in gallery, as in PHP parser" 2017-09-13 18:00:56 +00:00