Commit graph

13329 commits

Author SHA1 Message Date
James D. Forrester 58750e2d1b Update VE core submodule to master (f2e03ee6f)
New changes:
bab55c44c Use absolute URLs in diff tests
fb367a07e Localisation updates from https://translatewiki.net.
ef248756c TriggerRegistry: Remove ⌘+M shortcut for removing styling on Macs

Bug: T167898
Change-Id: Iefab4deb66621cc62bb48b368061b30a4eecd1c1
2017-06-16 08:39:21 -07:00
Bartosz Dziewoński 624211a60f Use Parsoid data for template names rather than detect from wikitext
We were incorrectly handling transclusions with trailing
newlines after the template name.

This also improves handling of non-template transclusions,
e.g. parser functions like `{{int:mainpage}}`, which are
no longer mangled as if they were page names.

ve.dm.MWTransclusionNode#isSingleTemplate will now match
a template even if it's name is itself template-generated.

Logic for turning Parsoid's hrefs into page names stolen
from ve.dm.MWImageNode.prototype.getFilename.

Bug: T167613
Change-Id: Ibecf71338eb37bb3da81a7372e4ed41140a9af57
2017-06-14 23:15:18 +00:00
Bartosz Dziewoński 433e7b5069 ve.ui.MWEducationPopupTool: Remove unnecessary manual popup positioning
OOjs UI Popups position themselves automatically relative to their
$floatableContainer these days.

Also added explicit `$floatableContainer: this.$element` in the config
(although not strictly needed, since the parent node is used by
default, this makes the code more robust in case we move the popup
somewhere else in the DOM).

Bug: T167751
Change-Id: Id4267fce6499a4c217f7dc1d18871c02dd078aee
2017-06-14 23:19:09 +02:00
Bartosz Dziewoński 9dcf6dcddc ve.init.mw.DesktopArticleTarget: Remove some hacks
No longer needed after I2ede6c88be569224c0b2a4e388a133ad98b86a7b
in VisualEditor core.

* 'transform: none' from 049a32c60a
  (that change does not describe what the issue was, but clearly
  it wasn't a complete fix and I see no problems without it).
* 'z-index: 4' from 6fff13b898 (I can't
  reproduce the issue there after removing it).

Bug: T167616
Change-Id: I7e0d603af2668269e5587eaa5e4761166a1b4097
2017-06-14 22:25:25 +02:00
Bartosz Dziewoński 39b82f7b00 Revert 032fb292, a97eacd0
Reverting a new weird hack for an issue and bringing back the
old, tried and true hack that was removed in the mistaken belief
that if a bug is marked as fixed, it is really fixed.

* Revert "MWTransclusionDialog: size footer correctly"
  This reverts commit 032fb2924e.
* Revert "Remove dialog height hack tagged against resolved bug"
  This reverts commit a97eacd05b.

Bug: T93290
Bug: T167483
Change-Id: If1cc07837892bb0248c74025d5403f9698e77705
2017-06-14 20:38:38 +02:00
jenkins-bot 5fbe84a4e6 Merge "MWTransclusionDialog: size footer correctly" 2017-06-14 11:39:41 +00:00
Translation updater bot 98568e734f Localisation updates from https://translatewiki.net.
Change-Id: I751ac55b2a10f014c1db8df1d6915d71711ee5c9
2017-06-13 22:51:12 +02:00
Brad Jorsch 7ec68ed168 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I642895c0e77dabfde3a7cdc744c5de4df9489aa5
2017-06-13 13:27:52 -04:00
David Lynch 032fb2924e MWTransclusionDialog: size footer correctly
Changing label means a refresh is needed.

Bug: T167483
Change-Id: Ie4b35696bdf21d2a74e786875615d8753a57972d
2017-06-13 11:48:38 -05:00
Translation updater bot 2dc77148cb Localisation updates from https://translatewiki.net.
Change-Id: I182b53a98bb4d7c5e471b23a4665c1c3a84c8b46
2017-06-12 22:52:07 +02:00
James D. Forrester 6c201ae51a Update VE core submodule to master (8b8bc2f70)
New changes:
74b7e109b Allow special character items to be marked as source mode only
c0cd7624f Localisation updates from https://translatewiki.net.
edb1f05d8 [DEPRECATING CHANGE] Make Target#parseDocument static
a3348fdad Fix check for CSS overflow on focusable nodes
f6cbe23fc ve.fixupBase: handle Safari behavior

Bug: T154113
Bug: T166593
Bug: T167438
Change-Id: Ia5739d5eda2e71da889de34a3a5dcc759512ce70
2017-06-12 12:33:34 -07:00
jenkins-bot 4ce3744469 Merge "Update VE core submodule to master (aec7813fb)" 2017-06-12 18:57:53 +00:00
jenkins-bot 7e892bbc97 Merge "MWParameterPage: Fix missed remove -> trash icon name rename" 2017-06-12 18:55:05 +00:00
jenkins-bot b170e81d83 Merge "Fix i18n TODOs in CollabPad" 2017-06-12 18:51:31 +00:00
jenkins-bot 27c6f624ae Merge "[DEPRECATING CHANGE] Make Target#createModelFromDom static" 2017-06-12 18:50:38 +00:00
jenkins-bot 076a7feef2 Merge "Add filename to gallery dialog page" 2017-06-12 18:46:48 +00:00
James D. Forrester a7d48228dc MWParameterPage: Fix missed remove -> trash icon name rename
Bug: T167598
Change-Id: I1701bd426ea66a40937bcc69183c697a8e39710d
2017-06-12 11:39:50 -07:00
Translation updater bot 678949a23d Localisation updates from https://translatewiki.net.
Change-Id: Ia2bd46f3bbe52d17c6ea187dbd8a516de564adf8
2017-06-11 22:48:17 +02:00
Translation updater bot a84164a38b Localisation updates from https://translatewiki.net.
Change-Id: Ia38f09ce88980b0954a81b72ff32954e286fed23
2017-06-11 00:39:40 +02:00
Ed Sanders 23c0b6997e Fix i18n TODOs in CollabPad
Change-Id: Ifa802773881e2f2763578223bc76ca2798a08b17
2017-06-10 12:48:09 +01:00
Translation updater bot 44d0e3336b Localisation updates from https://translatewiki.net.
Change-Id: I3d19d4fed087b2f3b2fea902f2a223e765eceddd
2017-06-09 23:04:23 +02:00
Ed Sanders 75d583a0d9 Use static parseDocument method
Change-Id: I545a58ffcbf1c7c57c197f4858958de835a40394
Depends-On: I5b36e187a5e8bb68b47b2fccf5b46c08b81b01d9
2017-06-08 14:43:09 +01:00
Ed Sanders f178061117 [DEPRECATING CHANGE] Make Target#createModelFromDom static
Change-Id: I019689f87ac0f7f40a8a7600029b5ce1bc92e77f
2017-06-08 14:35:31 +01:00
jenkins-bot e97393434a Merge "Give extensions a fallback icon when invisible" 2017-06-07 23:34:20 +00:00
Ed Sanders 8fb56b8d75 Give extensions a fallback icon when invisible
Bug: T166526
Change-Id: I5eafbef3b751a83cef353c8a9f09d90820fa9409
2017-06-07 22:29:19 +01:00
Translation updater bot 94be609bb4 Localisation updates from https://translatewiki.net.
Change-Id: I881fdd18a2a6eda2af0f9b48d0e93ba05b845ee0
2017-06-07 22:56:46 +02:00
James D. Forrester 295744b071 Update VE core submodule to master (aec7813fb)
New changes:
7989d8c27 Rename local variables to distinguish between DM nodes and orderedNodes
fde924971 Localisation updates from https://translatewiki.net.
f07dede07 DiffElement: Pass through config argument
f4b755c4c Fix mixing in of TableCellableNode to AlienTableCellNode
f0f5692eb Remove unused table editor CSS
975bb09b8 Remove unused MWImage-specific CSS
baddb48dc Remove unused filibuster CSS
38baa16a2 Don't let jQuery 3 remove top-level text nodes from generated content

Bug: T167150
Bug: T167335
Change-Id: I51911e404ca32292a9db4bd5d8b0627368177df4
2017-06-07 13:38:24 -07:00
L10n-bot 46bcf496fe Merge "Localisation updates from https://translatewiki.net." 2017-06-06 21:03:23 +00:00
Translation updater bot 6c802d059f Localisation updates from https://translatewiki.net.
Change-Id: I927c7fe0f0c1dae63d337245a6e40723a69fd379
2017-06-06 22:50:16 +02:00
jenkins-bot 7774f2bee1 Merge "dm.MWTransclusionNode: Move mixin comment, remove duplicated static property" 2017-06-06 15:44:25 +00:00
Ed Sanders 9ccdf15695 dm.MWTransclusionNode: Move mixin comment, remove duplicated static property
Change-Id: Id8f8205db92a70dde7ba22b39e90e37590efb3d1
2017-06-06 16:28:01 +01:00
jenkins-bot 010197f1b8 Merge "Don't try to i18n-parse JSON string" 2017-06-06 15:08:16 +00:00
Ed Sanders 4a163020a8 Add filename to gallery dialog page
Also add fieldset headings consistent with media dialog.

Bug: T167049
Change-Id: I8112b70d8e3ba19079fdab0806ad343b233c9c18
2017-06-06 15:48:24 +01:00
Ed Sanders 4484f5c316 Don't try to i18n-parse JSON string
Bug: T167051
Change-Id: Idf07ba51d2681f0f5d275f2a732d77cd85e63d03
2017-06-06 11:12:41 +01:00
Translation updater bot 3830d2d864 Localisation updates from https://translatewiki.net.
Change-Id: Ib2dc866df76ca62367f5fbc76d0dd75831bf3968
2017-06-05 23:20:13 +02:00
Translation updater bot 507fdb73fc Localisation updates from https://translatewiki.net.
Change-Id: Ief77af837492f4171aebd118d3d07277adcdf8cf
2017-06-04 23:37:19 +02:00
Translation updater bot b7ef971cbf Localisation updates from https://translatewiki.net.
Change-Id: I670fd45d44a881de24917d40d4d4eea047cee185
2017-06-03 22:54:52 +02:00
Translation updater bot 748d301680 Localisation updates from https://translatewiki.net.
Change-Id: I9fe85ad034bd1784867bf9bbeb5b93d0d568e95d
2017-06-02 22:51:08 +02:00
James D. Forrester 5f40a9404a Update VE core submodule to master (05375f324)
New changes:
c70177952 Update for deprecation of OOjs UI openWindow/closeWindow promise

Change-Id: I33a9b5206f05a88bcfeaa6f5ceac8c5381d9a4e3
2017-06-01 17:32:52 -07:00
jenkins-bot c5bdd39a63 Merge "Update for deprecation of OOjs UI openWindow/closeWindow promise" 2017-06-02 00:32:39 +00:00
James D. Forrester 3617154f5a Add the alerts, content and interactions icon packs overall
Change-Id: Id52921b31046e0a594a16dbcd059d7c343870ddd
2017-06-01 17:10:24 -07:00
Bartosz Dziewoński 4f55d8066e Update for deprecation of OOjs UI openWindow/closeWindow promise
Bug: T166729
Change-Id: I95b85a8c0d488993c11da74e1d856fef6cf0ebb4
2017-06-02 00:21:58 +02:00
Translation updater bot 87b90944c8 Localisation updates from https://translatewiki.net.
Change-Id: I2c7721a9dc5b4abe2151ebe6604bd1b4d7715999
2017-06-01 23:21:13 +02:00
jenkins-bot f01577ffa8 Merge "ve.ui.MWTemplateDialog: Use normal #getReadyProcess instead of custom stuff" 2017-06-01 18:08:21 +00:00
jenkins-bot a506627f57 Merge "Correct numbers in visualeditor-dialog-meta-settings-toc-help" 2017-06-01 17:49:21 +00:00
David Lynch 7f8f188187 Correct numbers in visualeditor-dialog-meta-settings-toc-help
Bug: T166029
Change-Id: Ic15834218bed8a78ad2d9de6c0838988ca65cd4b
2017-06-01 10:46:02 -05:00
jenkins-bot 3667b6c2a5 Merge "ext.visualEditor.articleTarget: Depend on 'layout' for the menu icon" 2017-06-01 15:05:05 +00:00
jenkins-bot 13967209c6 Merge "Update VE core submodule to master (cd4e0fa2d)" 2017-06-01 15:05:04 +00:00
James D. Forrester b960dddee1 ext.visualEditor.articleTarget: Depend on 'layout' for the menu icon
Change-Id: Idd496f2caca7e026cd67a1d307f0647941cff983
2017-06-01 14:53:22 +00:00
jenkins-bot 1a80348e8b Merge "Guard against mwdata.body being null" 2017-06-01 14:52:57 +00:00