Ed Sanders
b980150df4
Update link cache to use new descriptions API
...
Bug: T191333
Change-Id: If1e7f50208a44bda6c30ff1d6c60a085f9da74e7
2018-05-07 15:59:02 +01:00
Ed Sanders
4b00c765ff
Add an 'api' parameter to ApiResponseCache
...
Change-Id: Ie68b70472447a4bb2c9be8ed505a91f24858059d
2018-05-07 11:53:23 +01:00
Ed Sanders
5eb89cdc51
Remove references to global singleton inside LinkCache
...
Use 'this' instead.
Change-Id: Ie3138f2c62ff4e4938e8ed21e79b3433d98e2737
2018-05-07 11:53:23 +01:00
Ed Sanders
8bddec44e3
Create an MWSurface and move langChange handling there
...
Change-Id: I8a75b5f431f454b66441fc301b90e5f28636612e
2018-05-07 11:53:23 +01:00
Translation updater bot
e5c3a73e27
Localisation updates from https://translatewiki.net .
...
Change-Id: I3e4513e9b4de1f52ff152061ef1286d8fb62e15f
2018-05-06 22:23:05 +02:00
Translation updater bot
9b9182b3ad
Localisation updates from https://translatewiki.net .
...
Change-Id: Iadc4cff4c5c634c4cddd67da516b21a50119a923
2018-05-05 22:15:46 +02:00
Ed Sanders
478b0bcbb9
Create getters for localised APIs (getContentApi/getLocalApi)
...
Pass through the current document when available, otherwise
assume the current surface's document.
Also add a getter for getPageName, so that can vary based
on the target document.
Bug: T193856
Change-Id: Ifdc951fdc6a43b924d102e3fcd7e59e52023757b
2018-05-05 14:32:55 +01:00
Ed Sanders
b54f427078
Remove unused overrides in internal link annotation inspector
...
Removes an unused call to mw.util.getUrl.
Change-Id: I3988311b7160af628ea4ceeafcfdc3cc0a7a3774
2018-05-05 14:32:55 +01:00
Ed Sanders
3b4923fa74
Use ve.resolveUrl in MediaContext/Dialog
...
Change-Id: I53e28d6cec13ac77718ba3cae425c4c43c96e174
2018-05-05 14:04:15 +01:00
jenkins-bot
1f6cf4883d
Merge "ve.init.mw.DesktopArticleTarget.init: Edit the latest revision when viewing a FlaggedRevs-stable one"
2018-05-05 01:03:04 +00:00
Bartosz Dziewoński
192a232410
ve.init.mw.DesktopArticleTarget.init: Edit the latest revision when viewing a FlaggedRevs-stable one
...
When the user is viewing the last stable revision of a page which has
newer unreviewed revisions, FlaggedRevs wants us to open the latest
(unreviewed) revision of the page for editing.
Use the JS config variable 'wgFlaggedRevsEditLatestRevision', provided
by FlaggedRevs since change I4c9804fe2c4924e28770807881379ddca4fd8b76.
Also add an extra comment about loading latest revisions in general.
Bug: T165283
Depends-On: I4c9804fe2c4924e28770807881379ddca4fd8b76
Change-Id: Ic47491e690153d0ad87ce64bfc9e7a28a06fc6e2
2018-05-04 22:04:02 +00:00
jenkins-bot
829089008f
Merge "DesktopArticleTarget: track mwedit.ready even if skipping temp editor for new sections"
2018-05-04 21:59:27 +00:00
Ed Sanders
ebcf1e1151
Check imageModel exists in #checkChanged
...
Bug: T193879
Change-Id: Ic6eda7a056e5207042b575609b9da1869e3a759e
2018-05-04 14:52:03 +01:00
Translation updater bot
972a1832cc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib5c5b4b3416140b052a8c42958926aea6d01bf09
2018-05-03 22:21:58 +02:00
jenkins-bot
3d6d56697c
Merge "Use Tool.$link.focus() for highlighting now OOUI styles :focus"
2018-05-03 15:11:01 +00:00
David Lynch
3f91a27809
DesktopArticleTarget: track mwedit.ready even if skipping temp editor for new sections
...
Bug: T193206
Change-Id: I78555b84bde3d5bd14b032862e5a020121fc5c2e
2018-05-02 11:35:42 -05:00
jenkins-bot
228ab9ce66
Merge "MWBlockImage: Make zoom link unclickable"
2018-05-02 16:12:01 +00:00
jenkins-bot
b02c44e59c
Merge "Rebaser: Add more aliases for special page"
2018-05-02 16:07:10 +00:00
Ed Sanders
1a4158f6d2
Use Tool.$link.focus() for highlighting now OOUI styles :focus
...
Change-Id: Ia5b4c68cb49e3954aae7de9a8907f1fb9f205e2c
2018-05-02 12:52:17 +01:00
Ed Sanders
6da4529811
Rebaser: Add more aliases for special page
...
Copied from i18n messages.
Change-Id: I1118fca8e409fb26fbacbffaf31f784f8ee6fd05
2018-05-02 12:02:11 +01:00
Ed Sanders
e49b5628d8
MWBlockImage: Make zoom link unclickable
...
As it sticks out beyond the focus shield we
need to disable it manually.
Change-Id: I92baf24e6bb9294e46821311805ca0bb77f892a6
2018-05-02 11:57:33 +01:00
Translation updater bot
dfbfac6ba2
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia88bac78c9933d161cd5718e8ff1729aa5a692e1
2018-05-01 22:12:38 +02:00
Ed Sanders
c059082a8f
Rebase: Use i18n for subpage title
...
Change-Id: Ibea75035cc1af0c1c215f6038435ca9657c44984
2018-05-01 10:29:51 +01:00
jenkins-bot
f9cac9f0ce
Merge "ve.init.mw.DiffPage.init: Do not duplicate diff table header"
2018-04-30 21:26:55 +00:00
jenkins-bot
42fbb98374
Merge "VisualEditorDataModule: Remove origin restriction"
2018-04-30 20:36:32 +00:00
L10n-bot
71da308b11
Merge "Localisation updates from https://translatewiki.net ."
2018-04-30 20:25:51 +00:00
Translation updater bot
00b84f415d
Localisation updates from https://translatewiki.net .
...
Change-Id: I85275cf2e181c1488535b0a5843055a55ce7bf24
2018-04-30 22:22:41 +02:00
Ed Sanders
3dd3073bd2
Update VE core submodule to master (a8e0eef6d)
...
New changes:
a8e0eef6d Simplify usage of dummy target
Local changes:
Simplify usage of dummy target, ceating an MWDummyTarget, extending
DummyTarget instead of mw.ArticleTarget.
Depends-On: I01a6860387087db8149c73793e9bd4294d33aea8
Change-Id: I227486159fe416c219e2c37a1d054201084fe285
2018-04-30 13:05:02 -07:00
Bartosz Dziewoński
4efc2f876d
VisualEditorDataModule: Remove origin restriction
...
"ORIGIN_USER_SITEWIDE" indicates "sitewide module generated from
user-editable files, like MediaWiki:Common.js". In this case the
JavaScript generated by this module is not directly editably by wiki
users. It includes localisation messages editable by users, but that
is considered safe because we correctly escape them when including
them in the JavaScript code.
Without this change, VisualEditor would no longer load in safe mode
(T185303) because this module would be missing.
Bug: T185303
Change-Id: I6d097ccbf1dc2462843219adcf96bf8313e30289
2018-04-30 21:58:18 +02:00
Bartosz Dziewoński
6d4a7f932e
ve.init.mw.DiffPage.init: Do not duplicate diff table header
...
The duplicate header, especially the duplicate elements with identical
IDs, were difficult to handle for other scripts.
Now instead of hiding the entire wikitext diff, we only hide the
"content" rows but keep the header, and adjust our attributes on the
header back-and-forth when switching diff modes.
Bug: T192755
Change-Id: I3a6bb4730fefd81f533b786ec3b20241c4cb8d13
2018-04-30 19:23:16 +02:00
Ed Sanders
1bd430c9d1
Convert most uses of isForClipboard to doesModeNeedRendering
...
Depends-On: I0f1b90056e9d1a4fa0e188700604709297593924
Change-Id: I6fa1cde51ffc859b57ab557e3ddf8a76d92bf94f
2018-04-30 16:10:27 +00:00
James D. Forrester
f4fdcf6be0
Update VE core submodule to master (099902ddb)
...
New changes:
d30ef0e92 [BREAKING CHANGE] Replace isForClipboard with tri-state clipboard mode
397279cf3 Use comment HTML helper in all tests
4613d34c0 Use CE rendering when showing comments in preview mode (e.g. visual diff)
b1ded0d27 Copy attribute values when building transactions
6d0be15f5 Localisation updates from https://translatewiki.net .
41b612148 Fully disable the surface before teardown
8cc1237f6 ve.ce.Surface: Control-drag should keep the dragged text in original location
099902ddb Use clipboard API if paste context wasn't all cleaned up
Bug: T170134
Bug: T192605
Bug: T193062
Bug: T193103
Bug: T193110
Change-Id: I3cf0a6e221766b6a52f3f3cb93279639abbeda7d
2018-04-30 09:08:18 -07:00
jenkins-bot
ffac6b14dd
Merge "Check link 'host' in onEditSectionLinkClick"
2018-04-30 15:17:45 +00:00
jenkins-bot
f4f78d3384
Merge "Follow-up Iea7ad832: Fix context in MWPopupTool"
2018-04-30 15:06:06 +00:00
Ed Sanders
f8cebb8f51
Follow-up Ib7e769e: Fix typos in static method calls
...
Also move desktop-only methods to DesktopArticleTarget.
Bug: T193217
Change-Id: Icc2bb6602a62057da9f841793d8fe06d9814230e
2018-04-30 11:05:43 +01:00
Ed Sanders
ad170023e6
Check link 'host' in onEditSectionLinkClick
...
Bug: T193323
Change-Id: Id67798e5689af9d528bf29bb1b42047adaedaabd
2018-04-30 10:57:45 +01:00
Ed Sanders
8fdc1f7085
Follow-up Iea7ad832: Fix context in MWPopupTool
...
Bug: T193043
Change-Id: I2b035a50543093988a291ea8c8958a3a7cc9e7ba
2018-04-29 21:45:10 +01:00
Translation updater bot
4c3cdc5bf7
Localisation updates from https://translatewiki.net .
...
Change-Id: Idec898cf95b97417a67c26eb20542c07f0db1af7
2018-04-29 22:31:23 +02:00
jenkins-bot
c2bc4ee44e
Merge "Set surface's $overlayContainer in DesktopArticleTarget"
2018-04-29 13:13:20 +00:00
jenkins-bot
8149cc5b43
Merge "Update VE core submodule to master (e673ad6de)"
2018-04-29 13:13:17 +00:00
Translation updater bot
c06466f1ae
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife02ea0e41d6c7f68c1ac1334a6769cdc36e1c0e
2018-04-28 22:33:02 +02:00
Ed Sanders
cddf206f5b
Set surface's $overlayContainer in DesktopArticleTarget
...
Logically depends on Ia96b1a89dd9582303b80be85b3971cf3341cad24.
Bug: T166217
Change-Id: Icc54f87bac46d39e8c49010ed052e1db66827f06
2018-04-27 21:55:12 +00:00
James D. Forrester
3fb49c5957
Update VE core submodule to master (e673ad6de)
...
New changes:
cb74329aa [BREAKING CHANGE] Remove ve.Range#clone and ve.dm.Selection#clone
8fe148fa2 Allow surfaces to change context popup's container
a7f4e9759 ce.Surface: Don't attempt to activate a disabled surface
b39f1535f Pass toolbarConfig.$overlay property to 'actions' toolbar as well
Bug: T122910
Bug: T166217
Bug: T192671
Change-Id: Ife4a23be3bf46284edd1b62e7abb7c5ad925870d
2018-04-27 14:46:49 -07:00
jenkins-bot
ead7168a42
Merge "Get rid of mwdiffing module"
2018-04-27 21:39:13 +00:00
L10n-bot
74e338ee61
Merge "Localisation updates from https://translatewiki.net ."
2018-04-27 20:28:03 +00:00
Translation updater bot
abc757c8a1
Localisation updates from https://translatewiki.net .
...
Change-Id: I78d5ac19facfa8301c82b79510272103a8f60f30
2018-04-27 22:26:25 +02:00
Ed Sanders
4346e339f6
Get rid of mwdiffing module
...
No longer needed now visual diffs are out of beta.
Change-Id: I75cc7a6f3ecd3c5a547685aa4db586abfa482f2d
2018-04-27 21:09:07 +01:00
Ed Sanders
95258a9969
Visual diff: Describe redirect changes
...
Change-Id: Id31e8399556dab9b47bc1d21c62cb82af3a0e7bb
2018-04-27 21:07:41 +01:00
Translation updater bot
39360917c6
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b2845d6972c79e3c570083ea5dae3556f77c7a8
2018-04-26 22:17:00 +02:00
James D. Forrester
e1ebdfe66d
Update VE core submodule to master (174890b5e)
...
New changes:
1d2569556 [DEPRECATING CHANGE] Deprecate ve.Range#clone and ve.dm.Selection#clone
Bug: T192671
Change-Id: Ic70e6d63728ed0b6b957d93308c81164a06c7d8c
2018-04-26 08:56:48 -07:00