jenkins-bot
0b9d39f3cb
Merge "Simplify Hooks section in extension.json"
2019-12-18 10:31:56 +00:00
jenkins-bot
0d0ef6071f
Merge "Remove an unused piece of code from ApiVisualEditor"
2019-12-18 10:30:22 +00:00
Thiemo Kreuz
8e4dc67ec7
Fix unchecked array access in ApiVisualEditor
...
I'm not sure if this qualifies as an actual fix. I don't really know
what this code is supposed to do. Maybe the bad array access is a hint
for a completely different error somewhere else. All this patch really
does is silencing the bad array access.
This line of code was introduced with I1b35b28 in May already. Why does
it start failing now?
Bug: T240961
Change-Id: I5ec2dc453e5d8db5d2f9e49058eda001ed021d3d
2019-12-18 08:22:25 +01:00
Thiemo Kreuz
326944402d
Simplify Hooks section in extension.json
...
It is possible, but very rare to have more than a single hook handler
per hook in a single extension. The value can be an array or string in
both version 1 and 2 of extension.json.
Change-Id: Idab5bb1ee606fe07c0886c8f6ae180bad1f9a4e3
2019-12-18 08:20:28 +01:00
Thiemo Kreuz
0f4918e3e3
Remove an unused piece of code from ApiVisualEditor
...
Change-Id: I5ca2ad9df0decfada199d44366de8efc9f2b26ac
2019-12-18 08:17:01 +01:00
Ed Sanders
5a24e78616
Prefix document titles with wgWikiID
...
This allows one rebase server to serve multiple wikis.
Change-Id: I212e6d0eca99a5d5a0d1634078f63e63e0574506
2019-12-17 14:55:05 +00:00
Translation updater bot
dd9a833c5b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ife7e259be3ebf8142f567b468d3484fe8f3136d3
2019-12-17 10:09:34 +01:00
jenkins-bot
f6a4a11401
Merge "ArticleTargetLoader: Check apiXhr exists"
2019-12-16 20:52:18 +00:00
jenkins-bot
3badb4db44
Merge "Update VE core submodule to master (c0fbb063a)"
2019-12-16 17:58:47 +00:00
jenkins-bot
49c32c1221
Merge "Localisation updates from https://translatewiki.net ."
2019-12-16 11:24:32 +00:00
Translation updater bot
80c8656fad
Localisation updates from https://translatewiki.net .
...
Change-Id: I57a5e8c3e0c017c598474f599b222e17b1061c43
2019-12-16 12:16:02 +01:00
libraryupgrader
c8de97fcd2
build: Updating mediawiki/mediawiki-phan-config to 0.9.0
...
Change-Id: Iaaea284190aa9306177b3ee945a75da631a89b93
2019-12-16 10:11:47 +00:00
Ed Sanders
a725643aa1
ArticleTargetLoader: Check apiXhr exists
...
Change-Id: I891d642728094af9c5a550a814d322822436a9e5
2019-12-16 09:53:57 +00:00
James D. Forrester
25268454a2
Update VE core submodule to master (c0fbb063a)
...
New changes:
69d9cef91 Localisation updates from https://translatewiki.net .
f6dc62913 ve.ui.FragmentInspector: Remove unnecessary Chrome hack
Bug: T126027
Change-Id: Icd3936aa97052aa39877e05c830b6d95261b978f
2019-12-15 19:40:19 +00:00
Bartosz Dziewoński
5f1c68945d
Use mw.Api#getErrorMessage instead of custom handling
...
Bug: T240519
Depends-On: Ie18666b41f4aff1ab4bcf93f9df6e3000ac7b500
Change-Id: I69d9432162f195dcfe9470485b549a1b007617ff
2019-12-14 17:01:35 +00:00
Ed Sanders
e6bb954edd
Don't bother fetching metadata for diffs
...
Only HTML content is used for building diffs
Change-Id: I4f9af162792c27e7771838b6294c106bc9dc359a
2019-12-13 18:18:36 +00:00
jenkins-bot
f213e370f7
Merge "Update VE core submodule to master (b1617fdca)"
2019-12-13 17:22:33 +00:00
James D. Forrester
60721584fe
Update VE core submodule to master (b1617fdca)
...
New changes:
d4a21a7e7 Localisation updates from https://translatewiki.net .
0e99d907a Update OOUI to v0.36.0
c422b8313 Localisation updates from https://translatewiki.net .
b1617fdca Update OOUI to v0.36.1
Local changes:
* Rename onLookupMenuItemChoose → onLookupMenuChoose
(deprecated in OOUI v0.36.0)
Change-Id: If66f3f16c0e882e99b0d768a3cf4170d24e7093e
2019-12-13 18:06:59 +01:00
jenkins-bot
cee6e3e6a9
Merge "ve.ui.MWEducationPopupTool: Respect default preferences for anon users"
2019-12-13 16:23:24 +00:00
jenkins-bot
bb94043f34
Merge "ve.init.mw.ArticleTargetSaver: Fix exception when handling errors"
2019-12-13 16:14:15 +00:00
jenkins-bot
f3833f4906
Merge "ve.init.mw.DesktopArticleTarget: Remove dead error handling code"
2019-12-13 16:14:12 +00:00
jenkins-bot
af333be75f
Merge "ve.init.mw.MobileArticleTarget: Don't close overlay when showing error"
2019-12-13 16:14:09 +00:00
jenkins-bot
af700cd536
Merge "ApiVisualEditorEdit: Normalize newlines in wikitext"
2019-12-13 15:42:50 +00:00
jenkins-bot
95a46f1666
Merge "Exactly match collapsible logic of jquery.makeCollapsible"
2019-12-13 15:42:46 +00:00
jenkins-bot
7c745c32c2
Merge "ve.init.mw.ArticleTargetLoader: Fix promises to be abortable again"
2019-12-13 15:41:01 +00:00
Ed Sanders
1d3386b8ac
Wikitext links: File/Category support
...
Change-Id: I282141c23738ca6fa1e634da9bf02912032e12ff
2019-12-12 01:34:40 +00:00
Ed Sanders
a007781e81
Support wikitext link editing
...
Depends-On: I3eb2d5ee0da52942db1de75ef9f8b0ae2632657e
Change-Id: I7ad61899a221a198a06e206614d907a331861dbb
2019-12-12 02:33:35 +01:00
Bartosz Dziewoński
f41f499a2e
ve.init.mw.ArticleTargetSaver: Fix exception when handling errors
...
TypeError: Cannot read property 'onCacheKeyFail' of undefined
(found when working on Ice92fafb1f546510dab28e3f8aa7d2280668965a)
Change-Id: I2a731cb273401074e65f9283c1f629dbdb272002
2019-12-11 05:55:59 +01:00
Bartosz Dziewoński
a2b556ed56
ve.init.mw.DesktopArticleTarget: Remove dead error handling code
...
The .statusText and .status properties belong to the XMLHttpRequest
object, and are not present on the API response data object. I think
these checks were left over "just in case" when this code was ported
to use mw.Api instead of XMLHttpRequest directly.
MediaWiki API should never return just 'error' as the error code.
Change-Id: Iac6f721881b9405919d3397df6606e54f182bc59
2019-12-11 05:55:25 +01:00
Bartosz Dziewoński
ef8ff1723a
ve.init.mw.MobileArticleTarget: Don't close overlay when showing error
...
We've just displayed an error message in it, so don't close it.
I'm not sure if this code matters at all though. Usually when
there's an error during loading, code in MobileFrontend will close
the overlay and display an error message in a different way, so our
message won't be visible to the user. But maybe there's some case
I'm missing, and it's harmless. Closing the overlay was messing with
the MobileFrontend code though.
(found when working on I5146b726c5ce213992febb23f24c5937db0b9bfe)
Change-Id: Id1ea44d7bf6ef0f4fc0285e9e606dd415ed0a947
2019-12-11 05:55:25 +01:00
Bartosz Dziewoński
571bec41d1
ve.init.mw.ArticleTargetLoader: Fix promises to be abortable again
...
Cancelling the loading of the editor should stop the network requests.
Broken in 0498c03191
. Forwarding the
'abort' function manually is the worst.
(found when working on I5146b726c5ce213992febb23f24c5937db0b9bfe)
Change-Id: Ifa7c11a433cb5ed3545fa2f3d9fae2800bcae7d7
2019-12-11 01:27:33 +01:00
Translation updater bot
66ba383d3e
Localisation updates from https://translatewiki.net .
...
Change-Id: I608d508005e9d89f000aa8527dee779f78962b32
2019-12-10 09:31:22 +01:00
Translation updater bot
801050ba5b
Localisation updates from https://translatewiki.net .
...
Change-Id: I6e4410830ead7a986caa7df0d8a638feaaa70162
2019-12-09 09:37:30 +01:00
Translation updater bot
4d4bee2eb0
Localisation updates from https://translatewiki.net .
...
Change-Id: I73391b0ffde3fca6fd77c58e777ecc2b2179ba5c
2019-12-06 09:35:35 +01:00
Translation updater bot
f1dbf95639
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia9943451a96450305ca0414513af9a849bd264ed
2019-12-04 09:30:07 +01:00
James D. Forrester
015f796b63
Update VE core submodule to master (3b3dcad84)
...
New changes:
7017efbce Sanitize HTML on paste
Bug: T239209
Change-Id: I5f59d537d39b64838a222ab0637957429860508f
2019-12-02 17:26:58 -08:00
James D. Forrester
42334f5609
Update VE core submodule to master (5c4b2eec8)
...
New changes:
3eaba6d96 Localisation updates from https://translatewiki.net .
1324cf759 Localisation updates from https://translatewiki.net .
5c4b2eec8 Localisation updates from https://translatewiki.net .
Change-Id: Icfde040914af973dcd450280379b953907533dff
2019-12-02 11:50:15 -08:00
jenkins-bot
90bbfb5683
Merge "ApiVisualEditorEdit: Simplify diff handling a bit more!"
2019-12-02 11:18:52 +00:00
jenkins-bot
9dbd6ce391
Merge "MWSaveDialog: Fix error handling for diffs"
2019-12-02 11:18:49 +00:00
Translation updater bot
7662ae2b8e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia0fc0bafe27ddbb5aa5a0f3d43b73d5cca6dfef6
2019-12-02 09:24:34 +01:00
jenkins-bot
51ed492d0b
Merge "Don't reject activatingDeferred on loadFail"
2019-11-28 19:47:43 +00:00
Translation updater bot
4254430274
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib25204bb357f601fc61c9da0c68698d0b6763c90
2019-11-26 09:18:05 +01:00
Translation updater bot
9b43981011
Localisation updates from https://translatewiki.net .
...
Change-Id: I49d4049f2da893393a977f37ce32b269c17cf182
2019-11-25 09:11:34 +01:00
Bartosz Dziewoński
9779336403
ApiVisualEditorEdit: Simplify diff handling a bit more!
...
Dealing with `result: 'nochanges'` is annoying. Just return an empty
diff to indicate no changes.
Change-Id: I192caa67ec85224500a6919efd370cf7b5c1c592
2019-11-24 09:51:54 +00:00
Bartosz Dziewoński
092d0c332b
MWSaveDialog: Fix error handling for diffs
...
In case of HTTP errors we'd crash and show no message.
Change-Id: Ideeff4ce75e7ca82ce63bf7ede6dff03eaa1c5d7
2019-11-24 09:51:43 +00:00
Ed Sanders
e1db46612c
Paste plaintext if conversion fails
...
Change-Id: I3891888f5d1d1de0c47e7bbcb1897d23b49bfa00
Depends-On: I3e9d5e167274440a424a47c266d8af67574c70b5
2019-11-24 09:37:40 +00:00
Bartosz Dziewoński
65f0264bcf
Update VE core submodule to master (9d0ef183a)
...
New changes:
ea3136678 Add vendor prefixes for tab-size
d39e15064 Allow the afterPaste promise to reject
Change-Id: I2ef20357bf622dd9b65e959f708d273dd2304035
2019-11-24 10:36:51 +01:00
Translation updater bot
48912b3138
Localisation updates from https://translatewiki.net .
...
Change-Id: If23cf12f6a7d6435c78ac3da9c031288903b1fd9
2019-11-22 09:15:55 +01:00
jenkins-bot
e9644ab918
Merge "Set tab-size to 4 in TempWikitextEditorWidget"
2019-11-20 17:27:03 +00:00
Ed Sanders
02d6709b1e
Set tab-size to 4 in TempWikitextEditorWidget
...
Depends-On: Ic4a5ab803c89b3671f452579bca0da08b779bdfe
Change-Id: If6b87b9a86031b846a03d67cd8e05afd7ec0a888
2019-11-20 12:11:43 -05:00