Commit graph

15227 commits

Author SHA1 Message Date
Bartosz Dziewoński f67dfea29d Remove #ca-edit from required skin elements on edit pages
I suppose technically you don't need it if you're already on an
?action=edit page, since that will cause the editor to load as well.
At a glance nothing seems to break if it is missing (other than the
fact that there is no way to launch the editor, obviously).

Bug: T179427
Change-Id: I3c221ded302702b881857930da5dc41630680c02
2018-09-25 20:39:12 +02:00
James D. Forrester 5d00bca4e7 Update VE core submodule to master (2f27b1a2c)
New changes:
2915330a9 Avoid JSON strings in built demo files
62b0b1298 Move server files to /src
ddd99ab0c MediaSizeWidget: Add #updateDisabled() for disableable sub-widgets

Bug: T204185
Change-Id: Ied5b39608683ba7c9f056430a0a248f41e089d5a
2018-09-25 08:36:40 -07:00
jenkins-bot bb6afe3e8b Merge "MWTemplateSpecModel: Factor out getLocalValue, avoid isPlainObject" 2018-09-24 18:48:50 +00:00
Ed Sanders e2a5bfd224 MWTemplateSpecModel: Factor out getLocalValue, avoid isPlainObject
Change-Id: I0fe009c899e8b6f44658253bf5c21c3b767067da
2018-09-24 18:36:31 +00:00
jenkins-bot a4d73025e3 Merge "Turn off CSS transforms after toolbar has been opened" 2018-09-24 16:38:00 +00:00
jenkins-bot c68b0d9ea0 Merge "Update VE core submodule to master (2d668bdbb)" 2018-09-24 16:07:22 +00:00
jenkins-bot add7b4d96f Merge "Change type from 'frame' to 'thumb' when resizing" 2018-09-24 16:07:19 +00:00
jenkins-bot 5a679ed8f4 Merge "Use renamed ve.visibleWhitespaceCharacters utility" 2018-09-24 15:37:03 +00:00
jenkins-bot 5e1c0030a4 Merge "Update comment" 2018-09-24 15:36:58 +00:00
Ed Sanders 1631a35c18 Update VE core submodule to master (2d668bdbb)
New changes:
2d668bdbb Separate node classes into individual files

Bug: T205231
Change-Id: Ib628149732e40b139876404867253d0ffa1fb0d0
2018-09-24 08:27:23 -07:00
Ed Sanders 78a3c0dfb6 Provide platform when tracking mwedit.ready for tempWikitextEditor
Bug: T205241
Change-Id: Icf77ad9028e7e87c0189ef2b4cad5dbea20cb2f1
2018-09-24 16:03:55 +01:00
Ed Sanders 985a94777a Change type from 'frame' to 'thumb' when resizing
Bug: T204185
Change-Id: If40c70a074263b870aee4e5c87c3f4b5e98d0c4b
2018-09-24 15:31:58 +01:00
Thalia bbed4307d7 Separate node classes into individual files
Bug: T205231
Change-Id: I84a6f2f7a842ab44e1f7103c0f288deda0451e79
2018-09-24 12:44:45 +01:00
Ed Sanders 253e7e6c59 Update comment
Change-Id: Ie6b2b3512fb9e31014040c3cd0f9c75d7330ccbe
2018-09-24 12:41:58 +01:00
Ed Sanders a2c04973a2 Use renamed ve.visibleWhitespaceCharacters utility
Change-Id: I2df52341009cbc715c801accdf59cc5d5ce2e9ff
2018-09-24 12:41:13 +01:00
Translation updater bot cd98e6a99a Localisation updates from https://translatewiki.net.
Change-Id: Ifb17606e1a668a89c86bb02803874167308d0a35
2018-09-24 09:18:29 +02:00
James D. Forrester a70051d75e Update VE core submodule to master (7c9ceb939)
New changes:
bdd52111a Collapse this.getSurface().getView() to this in ve.ce.Surface
012f77c87 Localisation updates from https://translatewiki.net.
c40692bf5 Use rooms instead of namespaces
31360982e Fix author list when reconnecting
c176f8bba Remove $.isPlainObject warning
ad9edb87a Separate core module into model/view/ui
4475785d5 Merge author name/color data, make naming consistent
8601509c4 Move whitespaceHtmlCharacters to ve.utils.js and rename
361e5d646 Call parent in DimensionsWidget#setDisabled
3a53ca899 Update eslint-plugin-html to 4.0.6
5f88a02bc Allow '/' in path
2ad8dc94d Separate out client-specific utils from ve.utils.js
e8eb8dc97 Fix ve.sanitize to only depend on utils
cdcd7f19b Update UnicodeJS to v0.2.2
689baa436 Report html indent errors
d613e9d48 Create get/setSessionObject methods for JSON storage

Bug: T195111
Bug: T205096
Bug: T205123
Change-Id: Ia519138734ca0c174c20fec2d42f1437c903b82d
2018-09-23 13:53:29 -07:00
Translation updater bot 6ebbec4824 Localisation updates from https://translatewiki.net.
Change-Id: I4be8f6e92a96f805d7d2ffe4c85564c9866da9c2
2018-09-23 10:27:39 +02:00
Translation updater bot 0321937d2a Localisation updates from https://translatewiki.net.
Change-Id: I9c29b30f89b2f7839f7723c8f2bc3d7f65dd5cbc
2018-09-20 09:59:37 +02:00
Ed Sanders 327f600ca1 Fix special page override
Bug: T204873
Change-Id: I463cbbbc5b6f284aa2794ceb2652911ef7053c2e
2018-09-19 21:26:49 +01:00
James D. Forrester 6944faff25 Update VE core submodule to master (2093bd6f0)
New changes:
32b018075 Localisation updates from https://translatewiki.net.
bc640d904 Allow applyTo to guess a selection for undo
c94b51516 Scroll cursor into view after resize on mobile

Bug: T204197
Bug: T204388
Change-Id: Ie24708f0ef875fb9494debf0eeb97e1108c5fd30
2018-09-18 09:40:18 -07:00
jenkins-bot ae037e77ca Merge "Use mw.Title.isTalkNamespace" 2018-09-18 15:00:34 +00:00
jenkins-bot 1917945588 Merge "ve.init.mw.MobileArticleTarget: Simplify margin/padding for debug bar" 2018-09-18 10:58:08 +00:00
Translation updater bot 6b1003f1bd Localisation updates from https://translatewiki.net.
Change-Id: I93c7de6495a3a2996f50f89859e982c7f7a9f51b
2018-09-18 09:52:43 +02:00
Bartosz Dziewoński 165fe4ad45 ve.init.mw.MobileArticleTarget: Simplify margin/padding for debug bar
Requires I28278449512ed1e5e8c4ac6ae390334a26d1bad6 in
mediawiki/skins/MinervaNeue to be merged at the same time.
There should be no visual change if both are merged.

Change-Id: Ia13f758a6870be2e6c89fd11f2ee3544ac61a1d7
2018-09-17 21:47:46 +00:00
jenkins-bot b1cab3e06c Merge "ve.init.MWVESwitchConfirmDialog: Fix gap above dropdown on MonoBook" 2018-09-17 21:44:49 +00:00
jenkins-bot 93664630a9 Merge "ve.init.mw.MobileArticleTarget: Fix keyboard shortcuts to be hidden" 2018-09-17 21:41:33 +00:00
Bartosz Dziewoński 5badbfed10 ve.init.MWVESwitchConfirmDialog: Fix gap above dropdown on MonoBook
In WikimediaUI theme, the height of the toolbar is defined with
'padding-top', but in Apex theme, it is defined with 'height'.
Set both properties to make this work with both themes.

Remove unused styles for the dropdown. It is now positioned by OOUI
(since T192505). This should have been done at the same time as
e1635fdc52.

Bug: T194120
Change-Id: I9cac0c9458ae8cc26c5f056bb26686f8ad50c493
2018-09-17 22:22:48 +02:00
Bartosz Dziewoński 14777e89ad ve.init.mw.MobileArticleTarget: Fix keyboard shortcuts to be hidden
This should have been done at the same time as
e1635fdc52.

Bug: T203659
Change-Id: I4aef8f5755b2e3dece33125ec9d354e58985c525
2018-09-17 22:18:32 +02:00
jenkins-bot 742127ad8d Merge "dm.MWTableNode: include paragraph in suggestedParentNodeTypes" 2018-09-17 20:14:46 +00:00
jenkins-bot 997957af6e Merge "CollabPad: Show current sub-page as separate tab" 2018-09-17 16:49:22 +00:00
Ed Sanders 164ccecf4d CollabPad: Show current sub-page as separate tab
Change-Id: I15da5a3122e7a0dfeb5131e528efa498a7cd1356
2018-09-17 16:25:42 +00:00
David Lynch e050bb9ecf dm.MWTableNode: include paragraph in suggestedParentNodeTypes
This allows cleanup of empty paragraphs following block-level insertions to
work.

Bug: T201573
Change-Id: Id537d86c72c01ab2c71d2043e906f4c32ef755eb
2018-09-17 09:26:38 -05:00
Translation updater bot 45d52d7d5f Localisation updates from https://translatewiki.net.
Change-Id: I0b6a93f27395e53f000782fb16bfb4f81fb34a83
2018-09-17 10:19:08 +02:00
Ed Sanders 8ea820ab43 build: Update devDependencies
grunt-mocha-test     0.12.7  →  0.13.3
 grunt-stylelint      0.10.0  →  0.10.1
 jimp                 0.2.28  →   0.5.0

Change-Id: Ic2b1bcefdce6e8f71c623eec877151b7233c9556
2018-09-15 21:45:49 +01:00
Translation updater bot fd41ac2ee6 Localisation updates from https://translatewiki.net.
Change-Id: Ib276cd0d2742e324ee03d6efb3847bc0db1f2c47
2018-09-15 09:55:01 +02:00
Ed Sanders 338bccc6f2 Follow-up I6b13dad: Wait for surfaceReady before first focus
Change-Id: I984d8c00489efd013fed6bc18881c1d0606e0cbf
2018-09-15 00:19:54 +01:00
Ed Sanders 3c8bb3801e Turn off CSS transforms after toolbar has been opened
Leaving this property applied seemingly triggers strange
rendering bugs in Safari.

Bug: T202935
Change-Id: I65e742918c3670b99cf05efb4722a0c23a9347f5
2018-09-14 13:48:07 +01:00
Ed Sanders 917645eb27 Use mw.Title.isTalkNamespace
Depends-On: Ie57243bac1aa5e23bc8b1c027bcb1b83090ee433
Change-Id: I303401ff34425831cb3c32d25df635aefa5b5926
2018-09-14 13:37:17 +01:00
Ed Sanders 7eb836adbc Update VE core submodule to master (7420443fe)
New changes:
a273ba69c [BREAKING CHANGE] Implement a SourceConverter

Local changes:
* Use SourceConverter
* Handle `this.doc` being a string in source mode now

Bug: T203114
Bug: T203156
Change-Id: I7bce7b57668e0c1dd511803a54178ae69694a86d
2018-09-14 11:42:34 +01:00
jenkins-bot 20b244e396 Merge "Update VE core submodule to master (d2e64ca7b)" 2018-09-13 19:40:36 +00:00
jenkins-bot b3cc892dad Merge "ve.init.mw.DesktopArticleTarget: Handle deactivate on namespace tab when it's a talk namespace" 2018-09-13 19:20:04 +00:00
James D. Forrester e307356f81 Update VE core submodule to master (d2e64ca7b)
New changes:
70c0aee6a Localisation updates from https://translatewiki.net.
7956e2d7b Check new node diff type in visual diff
6fe18c3af Use FORCE_BODY in sanitizeHtml
0896105b7 FocusableNode: Start listening to position events even if not focused

Bug: T201721
Bug: T203856
Depends-On: I59fa13324083bfd8c77862d0d88b9b3cea1cfeb8
Change-Id: I2c4b4f99a110147c6ac1d0c81dcbf4be84965700
2018-09-13 18:09:26 +00:00
jenkins-bot f8ab6b188e Merge "ui.MWParameterPage: multiline inputs for line if newlines already present" 2018-09-13 12:02:47 +00:00
jenkins-bot a5b84f03b8 Merge "Update VE core submodule to master (465ea4618)" 2018-09-13 12:00:29 +00:00
Bartosz Dziewoński bb5762a0b2 ve.init.mw.DesktopArticleTarget: Handle deactivate on namespace tab when it's a talk namespace
Turns out, talk namespaces are special.

Bug: T204194
Change-Id: Ie9af128edd5874075098f8593e01595da863102d
2018-09-13 11:04:47 +02:00
Translation updater bot 1ffc627532 Localisation updates from https://translatewiki.net.
Change-Id: I6ba9d8ce1805907eee087b47ae89a6b84cfa3fb3
2018-09-13 10:16:12 +02:00
jenkins-bot 1bea2d1eb8 Merge "Revert "Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init""" 2018-09-12 22:05:46 +00:00
jenkins-bot 6a1b16f20c Merge "Replace deprecated 'advanced' by renamed to 'settings' icon" 2018-09-12 17:26:09 +00:00
David Lynch d30e6925bf ui.MWParameterPage: multiline inputs for line if newlines already present
TemplateData doesn't always match up with the way the template is being used.
If a field has the `line` type, but is provided with newlines, we should avoid
mangling it by forcing it into a single-line field. As-is, any edit to the
template, even if the user only thinks they touched unrelated parameters,
would cause this.

Bug: T190191
Change-Id: I4f2a0b6c46532dcc268288cb209d0260b18f3ad7
2018-09-12 12:01:03 -05:00