Commit graph

12661 commits

Author SHA1 Message Date
Ed Sanders 3577035825 Bypass warming red link cache for wikitext requests
Wikitext editor doesn't need to know about redlinks
on the page, so this is a waste of time. If the user
switches to VE, they will do a fresh metadata request
at that point.

Change-Id: I57f3fe3fca47dde03bba7905f763abc8a43d0653
2017-01-14 13:42:27 -08:00
jenkins-bot 63cd275299 Merge "Open preview links in new tab" 2017-01-14 18:55:24 +00:00
James D. Forrester c323274d47 Update VE core submodule to master (de003cf)
New changes:
db52f83 Create ve.isClipboardMimeTypeSupported
fce25dd Update RangeFix from 0.2.2 to 0.2.3

Bug: T155218
Change-Id: I5f32c6ffbd989920917c15fd2df81c05389d4fc4
2017-01-13 18:55:19 -08:00
Ed Sanders 337614d142 Open preview links in new tab
Bug: T155159
Change-Id: Idddc6b25303c17382ba1bc763b9001b727e1040e
2017-01-12 16:07:00 -08:00
jenkins-bot a4543a7336 Merge "Allow AceEditorWidget to accept autocomplete word list" 2017-01-12 02:00:14 +00:00
jenkins-bot 46c01316c5 Merge "Update VE core submodule to master (a129536)" 2017-01-12 01:26:24 +00:00
Thalia fc61fb9be0 Allow AceEditorWidget to accept autocomplete word list
Bug: T155107
Change-Id: I2dd752fb55a4d5596dbc8b8dc69eb55083d7ec66
2017-01-11 17:26:16 -08:00
jenkins-bot 0dba415dcf Merge "ApiVisualEditorEdit: Use 'html' format for API errors so we can see them" 2017-01-12 01:23:30 +00:00
David Lynch e369ebacd3 Update VE core submodule to master (a129536)
New changes:
1e4a2a5 Desktop demo improvements
0be3300 Replace abandoned colors with current ones
c3895e4 Warn before deleting a bunch of local files
a21d08d ui.CommandHelpRegistry: fix extending of existing command

Bug: T153486
Change-Id: Ia61714c4941b2b2cf5566a94896a28fb593b8029
2017-01-11 17:15:23 -08:00
James D. Forrester 446b16e71a ApiVisualEditorEdit: Use 'html' format for API errors so we can see them
The Translate extension emits errors when the saved text is in error —

* pt-parse-open,
* pt-parse-close,
* pt-shake-position,
* pt-shake-multiple,
* pt-shake-empty, or
* pt-parse-nested

Switching to 'html' error message format means we pay attention to the top
error, displayed in the user's language. This avoids showing 'editaborted'
generic messages when we can actually help people with specifics.

Change-Id: Id9d7e510e32a3a13cc061648679e01edd68a3868
2017-01-11 16:30:01 -08:00
Volker E 1a7e325eb5 Replace outdated color with current one
Replacing outdated color with `#36c` from overhauled color palette.
Also making focus following common outline-width.

Bug: T153486
Change-Id: I5c76a788fff21c53bd193628bc610f38d388179f
2017-01-11 15:16:59 -08:00
L10n-bot 220b2ef042 Merge "Localisation updates from https://translatewiki.net." 2017-01-11 22:27:03 +00:00
Translation updater bot 1f90679b43 Localisation updates from https://translatewiki.net.
Change-Id: I92917d08fd03456856c1983ab1bd07cd8d46943a
2017-01-11 23:21:18 +01:00
jenkins-bot 7c49a23a33 Merge "ArticleTarget: Give users a specific message when HookAborted errors happen" 2017-01-11 22:21:13 +00:00
jenkins-bot 18ba046361 Merge "ArticleTarget#saveErrorUnknown: Handle the xhr being complete" 2017-01-11 20:37:08 +00:00
James D. Forrester 002b0adef0 ArticleTarget: Give users a specific message when HookAborted errors happen
Change-Id: I7017412dc56200f5bb0adbd901aed15507447846
2017-01-11 10:46:30 -08:00
James D. Forrester 2b502572ec ArticleTarget#saveErrorUnknown: Handle the xhr being complete
Change-Id: I638b5b80c5a404a438ebd357b6e16bbab7871d6e
2017-01-11 10:45:43 -08:00
jenkins-bot 0405f8c80a Merge "DesktopArticleTarget: Prevent infinite while loop if $content is empty" 2017-01-11 18:39:35 +00:00
Ed Sanders 889ffc0efc DesktopArticleTarget: Prevent infinite while loop if $content is empty
Change-Id: I629b2c3f1a4af3441764db7d1d0a7cec96181396
2017-01-11 18:29:16 +00:00
jenkins-bot 442f26aded Merge "API/getLangLinks: Use isset when looking up $langnames" 2017-01-10 22:51:12 +00:00
David Lynch 0a972795e9 API/getLangLinks: Use isset when looking up $langnames
This should just result in an empty `td` for the language name, rather than
any more-severe breakage.

Bug: T154962
Change-Id: I59d429777ab790e922f08e01a1c262fa2b082292
2017-01-10 14:27:25 -08:00
James D. Forrester b11edcb7f9 Update VE core submodule to master (460f16c)
New changes:
a46b26f ui.Surface: scrollCursorIntoView should handle below the screen, too
291cad8 Localisation updates from https://translatewiki.net.
a4b781f Cleanup various sillinesses in unicorn code

Bug: T153628
Change-Id: Icc48b644939d96cef1d5128a7a5babb4b6ca0a89
2017-01-10 10:39:15 -08:00
Translation updater bot 3c943c5817 Localisation updates from https://translatewiki.net.
Change-Id: Ib66f2dc2241016540afa2df19cc4ac36523ae98b
2017-01-09 15:56:06 +01:00
jenkins-bot 70a66d4070 Merge "More error handling fixes" 2017-01-09 02:24:17 +00:00
jenkins-bot 09829ae7b4 Merge "MWMetaDialog: Move categories to the top as they're used most" 2017-01-07 14:56:56 +00:00
Translation updater bot 9d29ec3d9c Localisation updates from https://translatewiki.net.
Change-Id: I37e2fb1213d1db27e24219fba349638f75fc122f
2017-01-06 23:14:55 +01:00
Translation updater bot a0bda5eb51 Localisation updates from https://translatewiki.net.
Change-Id: Ied8c757544363b36e27cfccb4df80a0c22d78ce2
2017-01-05 23:50:18 +01:00
Alex Monk 8fe5bbe39b More error handling fixes
See T154565

Change-Id: I073aae149497342157503ad3f465b7d57aaad4fa
2017-01-05 15:13:02 +00:00
jenkins-bot 50e7fd0653 Merge "Fix MWInternalLinkAnnotation.getTargetDataFromHref's behaviour with URLs containing query parts" 2017-01-05 15:08:33 +00:00
jenkins-bot 4d64196fcb Merge "Fix loadFail parameter handling" 2017-01-04 22:46:27 +00:00
jenkins-bot e91f8f913e Merge "Allow 'T-' prefixed sections, and redirect if section link title isn't current page" 2017-01-04 22:38:34 +00:00
Alex Monk 1bcaa9056c Fix loadFail parameter handling
Rename them while we're at it.

Bug: T151278
Bug: T152429
Change-Id: I435ac148007db87da69e8cf48568fafa646abb71
2017-01-04 22:31:08 +00:00
jenkins-bot 679addb9d6 Merge "ApiVisualEditorEditor#postData: Use isset on oldid post param" 2017-01-04 22:30:41 +00:00
James D. Forrester 7f7ffbb1be ApiVisualEditorEditor#postData: Use isset on oldid post param
Bug: T154559
Change-Id: I83907f7df9360bb6fcc03615ec9e5d1d5856250b
2017-01-04 22:16:42 +00:00
Translation updater bot f2947ed40d Localisation updates from https://translatewiki.net.
Change-Id: I842b0b968551a988d1a848d8b08aa4ace0c10466
2017-01-04 22:39:54 +01:00
James D. Forrester 6795430831 MWMetaDialog: Move categories to the top as they're used most
Bug: T74399
Change-Id: I696d8484ed00c92340f178d5c9dcfe978998dce0
2017-01-04 11:18:00 -08:00
jenkins-bot 74701431dd Merge "Update VE core submodule to master (838df50)" 2017-01-04 17:59:35 +00:00
Ed Sanders 808de2acea Add "templates used" page to meta dialog
Bug: T149009
Depends-On: Id617f9afbddf094140133f9659efc4b4e746148c
Change-Id: I63e663d05aefb47274f1f28bdcafc5317c2fc4f6
2017-01-04 18:30:11 +01:00
Ed Sanders b7dd6077b8 Allow 'T-' prefixed sections, and redirect if section link title isn't current page
Bug: T153176
Change-Id: Ic6fda78d00715777df4a273e7d3e150f20185185
2017-01-04 16:53:03 +00:00
James D. Forrester a815a40446 Update VE core submodule to master (838df50)
New changes:
972cde4 Remove ve.getHtmlAttributes and ve.getOpeningHtmlTag (both unused)
1e21d0d Only consider focusNode/Offset for scrollCursorIntoView
5248f16 Refactor ve.dm.TransactionBuilder#newFromWrap
a6de97a Use the monospace hack consistently
7e21814 build: Bump file copyright notices for 2017
70a946b Update OOjs UI to v0.18.3
838df50 Remove mobile window logic upstreamed to OOUI

Bug: T126029
Bug: T153601
Change-Id: I76f62b12eb78b6dba03c9ac3e0f9355f4f8fbdc2
2017-01-04 08:52:12 -08:00
jenkins-bot cbd88e10ed Merge "Use the monospace hack consistently" 2017-01-03 20:41:03 +00:00
jenkins-bot d816492ca1 Merge "rm stray fileRepoPromise property from media dialog" 2017-01-03 20:24:34 +00:00
jenkins-bot 1ac5ede187 Merge "Don't try to JSON stringify load error messages that are already strings" 2017-01-03 20:22:50 +00:00
jenkins-bot 4abdf21413 Merge "Also allow opening in source mode if VE is unavailable on action=edit" 2017-01-03 20:19:09 +00:00
jenkins-bot 2b913fb10c Merge "Add editintro to notices" 2017-01-03 20:19:06 +00:00
jenkins-bot a973528d67 Merge "Don't block VE/NWE from loading if 'editintro' is specified" 2017-01-03 20:13:29 +00:00
Alex Monk 17ced451f4 MWSaveDialogAction: Don't break on strange accesskey messages
Quietly return instead.

Bug: T153472
Change-Id: I7c325624734f122c9fd939aee1192187c63d9247
2017-01-03 11:37:09 -08:00
jenkins-bot f182d5d223 Merge "When switching check wikitext is a non string, not just empty" 2017-01-03 18:57:48 +00:00
jenkins-bot 8723481005 Merge "Don't allow $section to be unset" 2017-01-03 18:57:46 +00:00
jenkins-bot 78a38ae6ea Merge "Register shortcuts for minoredit/watchlist" 2017-01-03 18:54:26 +00:00