Commit graph

12900 commits

Author SHA1 Message Date
Translation updater bot 662789bb13 Localisation updates from https://translatewiki.net.
Change-Id: Ib90e3f4f0482f1642fe8dde53dd0f601d3e942cc
2017-01-28 22:56:32 +01:00
James D. Forrester 6de2bb21d9 Update VE core submodule to master (e5dffec)
New changes:
e3027e1 RebaseServer: use a separate class for document state
c76dce2 Detect node type/attribute changes in the visual diff
e98547f VisualDiff: Remove redundant length check
5d8c85d Add test for non-semantic whitespace diff
c352e8f Add i18n for 'No changes' message
e3669dd VisualDiff: Add node insertion/removal tests
d4a8973 VisualDiff: Add paragraph moving tests
fba5d0c VisualDiff: Add table column tests
af891bf Localisation updates from https://translatewiki.net.
7fb299b Follow-up c352e8f: Don't use i18n key clashing with archaïc usage
b63bf47 Fix annotation of nodes in document insertion
dea4c82 Handle home/end/pageup/pagedown keys when on focusable nodes

Bug: T151404
Bug: T151589
Bug: T156376
Bug: T156463
Change-Id: I99c3590279b94e4a5219cb990b52f928b85a91f4
2017-01-27 17:56:37 +01:00
jenkins-bot 46d839a127 Merge "Add .idea to .gitignore" 2017-01-27 16:34:49 +00:00
Translation updater bot 0383c3c61b Localisation updates from https://translatewiki.net.
Change-Id: I19e481d7151511014ac3fabd241cdf01932a937e
2017-01-27 15:00:35 +01:00
WMDE-Fisch dc1ef61334 Add .idea to .gitignore
Change-Id: Id5b1717610caba765d270e0ba2e5b33766558827
2017-01-27 13:16:58 +01:00
jenkins-bot 44e87ade70 Merge "Add missing return in doc block" 2017-01-27 10:29:25 +00:00
WMDE-Fisch 5852080e74 Add missing return in doc block
Change-Id: Ia1f23c19c3ae26fce45d7ebdaafe91012b1684f1
2017-01-27 11:11:40 +01:00
jenkins-bot 19c0dd3aa4 Merge "MWSaveDialog: only focus summary if we're on the save panel" 2017-01-27 07:25:31 +00:00
David Lynch 60866eade2 Override ui.CommentInspector so that copying from it sets text/x-wiki
Bug: T154837
Change-Id: I3413c955aa23d34683e1a028a581b1ea34d55d49
2017-01-27 01:13:41 -06:00
David Lynch b976f2cf38 MWSaveDialog: only focus summary if we're on the save panel
Firefox throws exceptions when trying to focus hidden inputs. Using the
"preview" keyboard shortcut entirely bypasses the save panel, but the ready
process assumes it'll always be opened first.

Bug: T153958
Change-Id: Ifb3861116565e77c30b3874fe47889298c3ace6d
2017-01-27 00:51:33 -06:00
jenkins-bot fb48db7227 Merge "Ignore section edit links when no action present" 2017-01-26 14:13:24 +00:00
Ed Sanders 1df022a6d6 Ignore section edit links when no action present
BUg: T156282
Change-Id: If3d039da36db946dcbba123d3cdc4e99c45f6a4e
2017-01-25 18:13:56 +00:00
L10n-bot 5c91e5d673 Merge "Localisation updates from https://translatewiki.net." 2017-01-25 13:49:25 +00:00
Translation updater bot dc7ce167b3 Localisation updates from https://translatewiki.net.
Change-Id: Ie1b9552f69f104a50f0b317d1c6db4d046526ffc
2017-01-25 14:49:37 +01:00
Ed Sanders fdec767003 Update VE core submodule to master (f1ed206)
New changes:
95ce4ad Check dataTransfer.items exists before iterating
c113207 Include oojs-ui-core.js in debugging pages
6d7f0f4 Localisation updates from https://translatewiki.net.
d5a0891 DatetimeAnnotation: flesh out model with datetime attribute
57ea466 Fix demo style regression introduced by new OOUI
34410a9 Fix a typo in visual diffs
089e6e1 ve.ce.Surface: Use toString, not String constructor

Bug: T103723
Bug: T155836
Change-Id: Ibd58b07b138b5b01c8e92978a20407290a4001fd
2017-01-25 13:36:42 +00:00
jenkins-bot fb1d1cdfaf Merge "Use target=_blank for link in template 'extra description'" 2017-01-25 12:53:03 +00:00
jenkins-bot 7d9d6b35d2 Merge "Update actions on live inspectors and preview dialogs" 2017-01-23 23:33:44 +00:00
Translation updater bot 23bce58071 Localisation updates from https://translatewiki.net.
Change-Id: Ib31aa19ef33f7b5017bf3ed49684cae670fd50c7
2017-01-23 22:50:30 +01:00
Ed Sanders 133da969ce Use target=_blank for link in template 'extra description'
We already do this for 'missing description'.

Bug: T155879
Change-Id: Iccf48070ab2b5890d6891856be4ee5cce5308d0d
2017-01-23 13:07:53 +00:00
Translation updater bot 07f877d476 Localisation updates from https://translatewiki.net.
Change-Id: I6a51ed82a750a1fd6c3bb5697bb9b69067b2e96d
2017-01-22 22:45:16 +01:00
Translation updater bot e821a8e24b Localisation updates from https://translatewiki.net.
Change-Id: Ib7a453738fc26748d5b202c7598db1009d72b145
2017-01-21 22:46:51 +01:00
Thalia 43c2865f90 Update actions on live inspectors and preview dialogs
Make inspectors inheriting from MWLiveExtensionInspector
and dialogs inheriting from MWExtensionPreviewDialog
update their 'done' action every time updatePreview is
called. Since both mix in ExtensionWindow, two new methods,
updateActions and isModified are added there.

This should make it more difficult to insert an empty node
accidentally or create a transaction just by opening and
closing an inspector or dialog.

For more complicated dialogs, or inspectors or dialogs
that don't live-update, this behaviour will have to be
implemented separately.

Bug: T155330
Change-Id: Iacafa01fcd419faaec9b112c96be86693a57d561
2017-01-21 18:29:18 +00:00
Ed Sanders 171286c120 Fix typo in target config
Change-Id: I5815ce5b0e05ce166e02bfcced520e3770f5453d
2017-01-20 23:15:23 +00:00
Ed Sanders f58d00b110 Move #getWikitextFragment up to ArticleTarget
Change-Id: Ice4b04db4a45c07ccffc3892e6db5d814c2ec37b
2017-01-20 23:15:17 +00:00
Ed Sanders e5555d6d85 Remove MWMobileSurface & Context
The hacks contained within context were ancient and no
longer used, and thanks to a typo in mw.MobileArticleTarget
neither of these classes was being used anyway.

Change-Id: I52f2b6d5aa5ddbcc45ac6107eaf9407570b73672
2017-01-20 23:15:11 +00:00
Ed Sanders 1ae5c13cb9 Update VE core submodule to master (f0dcedb)
New changes:
5b448fa [BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface
2d8959b Localisation updates from https://translatewiki.net.
7eee772 Follow-up 2d8959b: Fix build for added language 'io'
f0dcedb ve.dm.TableMatrix: Really indent ASCII-art comments

Change-Id: I62708f7caeb03b16cd318aab0b0ee3c674e75a26
2017-01-20 14:35:39 -08:00
Translation updater bot 015017376e Localisation updates from https://translatewiki.net.
Change-Id: Id8ab05872453edaf2c54c841dcc6abf7b7e68f32
2017-01-20 09:46:04 +01:00
James D. Forrester c908dbdece Update VE core submodule to master (6eba2e2)
New changes:
a38905d ui.AnnotationInspector: Don't assume previousSelection exists
fdbeef4 ui.AnnotationInspector: In source mode, provide fallback insertionData
a1a7ea7 build: Bump grunt-css-url-embed to latest
de4e5bc Localisation updates from https://translatewiki.net.
d37b453 Update OOjs UI to v0.18.4
8a3f09b ve.dm.TableMatrix: Indent ASCII-art comments
b2538e1 build: Bump grunt-css-url-embed to 1.9.0
9759f3f Fix minimal demo

Bug: T152781
Bug: T153378
Change-Id: I020083725c4e9663e2e468a3e68ecc237604c256
2017-01-18 14:13:18 -08:00
Translation updater bot c549b370fa Localisation updates from https://translatewiki.net.
Change-Id: I1e6889a7d649cc1fcceab4ee748c8eafece4b40b
2017-01-18 22:20:13 +01:00
Translation updater bot b0944d5ad3 Localisation updates from https://translatewiki.net.
Change-Id: I08914c4a309c016d8ceff90da41328d3c3b12110
2017-01-17 22:17:40 +01:00
jenkins-bot 1e32b1d31d Merge "Re-order all meta code to put categories first" 2017-01-17 02:39:55 +00:00
jenkins-bot faaf7d2b4f Merge "Fix correct default page for meta dialog in NWE" 2017-01-17 02:38:44 +00:00
Ed Sanders 96a3d38cf9 Re-order all meta code to put categories first
For consistency.

Change-Id: Ia5e9728ca4f727f4ce30d5f0c88ac9df8c4d21d0
2017-01-17 00:19:38 +00:00
Ed Sanders 1aeec314d5 Fix correct default page for meta dialog in NWE
Bug: T154639
Change-Id: I49d0f2295b071ae667e111562e30d04b0174c251
2017-01-17 00:17:51 +00:00
jenkins-bot 9c3f3646c8 Merge "Correct comment in MWBlockImageNode" 2017-01-16 20:24:45 +00:00
Translation updater bot 6a449d29ba Localisation updates from https://translatewiki.net.
Change-Id: I12814771ed6d7d2005c5c09543e30f1e635a3289
2017-01-16 14:32:09 +01:00
David Lynch 00fea964c6 Update VE core submodule to master (538c3a2)
New changes:
c0c5ca9 ce.Surface: Don't hardcode string types for paste

Change-Id: I97e8d5be9086749caeb9e4aa8f347bab5353d66f
2017-01-14 21:27:43 -06:00
Thalia 8c4b8e55e5 Correct comment in MWBlockImageNode
Change-Id: I99058f97ac74b57c648be51cdb267d24a197b16a
2017-01-14 18:38:20 -08:00
jenkins-bot e54e52f95b Merge "Bypass warming red link cache for wikitext requests" 2017-01-15 00:28:41 +00:00
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