Commit graph

13751 commits

Author SHA1 Message Date
Ed Sanders 77773df985 Create MW tables with captions by default
Bug: T181173
Change-Id: Ib17331e0e8478ba67c1ecbbee4a284d9993cb552
Depends-On: Ieb668d282f7afa9332cead94c95f19f652102af1
2017-11-27 16:37:24 +00:00
James D. Forrester 11993d8822 Update VE core submodule to master (6c0b7407f)
New changes:
c56a4eef5 Localisation updates from https://translatewiki.net.
71da5d798 Localisation updates from https://translatewiki.net.
36811a12e TableAction: Add option for creating a table with a caption
7979ceb97 DebugBar: Debounce onHistory handler
505f06d2e Highlight table caption when table cells selected
3f1cc6cb0 Localisation updates from https://translatewiki.net.

Bug: T181173
Change-Id: Id8999ac2cb15484e9eed7a1db194152d56816420
2017-11-27 08:35:25 -08:00
jenkins-bot 65a27b48ce Merge "Fix template rendering" 2017-11-27 15:36:02 +00:00
Ed Sanders 471e40e8bb Fix template rendering
* Look inside first child for autoGenerated (as reflists can be wrapped)
* Unwrap Parsoid sections
* Discard leading and trailing whitespace

Bug: T179618
Change-Id: Ib9ead28173360f0f1d5a4dc66c33a75d70ef34b3
2017-11-27 15:02:31 +00:00
Translation updater bot 7da82260e7 Localisation updates from https://translatewiki.net.
Change-Id: I6e77cc8b6a0e7b7378a70632d59705594a21703e
2017-11-26 22:54:54 +01:00
Translation updater bot 8e1a60e93b Localisation updates from https://translatewiki.net.
Change-Id: I73e2bf2377229edac438917df4ddc638fd01e2d2
2017-11-25 22:58:16 +01:00
Translation updater bot 3c388da5e9 Localisation updates from https://translatewiki.net.
Change-Id: Ie032d167e7d9f30fff049ff3a98af2ca86ba67b0
2017-11-24 23:27:50 +01:00
Translation updater bot 643466f4c2 Localisation updates from https://translatewiki.net.
Change-Id: Iea540f004fe2491cf5e7e7f2f85590fe96b4ffe4
2017-11-23 23:51:47 +01:00
jenkins-bot 861c48db77 Merge "Unwrap Parsoid sections" 2017-11-23 20:02:43 +00:00
Ed Sanders 267d60f61a Unwrap Parsoid sections
Section wrapping will be introduced in I0f4c19f7.

Change-Id: I43ced131d07a20318af37e830318e30db2eb451f
2017-11-23 12:19:57 +00:00
Translation updater bot b33d86d1df Localisation updates from https://translatewiki.net.
Change-Id: I44df9fd1eb29e1a4bf4b160491554e49d28e4774
2017-11-22 22:47:15 +01:00
Prateek Saxena b7541717ff Update colors of betafeatures icon
Grays: Base80, Base70, Base50

Old: https://phabricator.wikimedia.org/F10934877
Old: https://phabricator.wikimedia.org/F10934879
New: https://phabricator.wikimedia.org/F10934876
New: https://phabricator.wikimedia.org/F10934878

Bug: T180427
Change-Id: I1d40411993918e2b060094d7e1e099647d42a6af
2017-11-22 17:21:12 +05:30
Ed Sanders 38dba57e95 Follow-up I80d82ad87: Only add linebreak to non-empty documents
This is the same behaviour as the old editor, and
unbreaks editors that use placeholders.

Change-Id: I7b5a18f1fb0d41c5dc08d1b893c90db2bf3dbd86
2017-11-21 17:14:08 +00:00
jenkins-bot 26e78ea946 Merge "Move source mode newline hack down to ArticleTarget" 2017-11-20 22:32:20 +00:00
Translation updater bot 16ae17dd2e Localisation updates from https://translatewiki.net.
Change-Id: Idcfa0a5032f801b5ce589ac960badedf294efaf7
2017-11-20 22:47:55 +01:00
Translation updater bot f295eb7384 Localisation updates from https://translatewiki.net.
Change-Id: I5784a828b8aa69c84222b48a4b36f9c594f9ede2
2017-11-19 22:41:33 +01:00
jenkins-bot db7b5b3c6d Merge "Update VE core submodule to master (cca896ac3)" 2017-11-19 18:50:08 +00:00
Translation updater bot c482d9ebaa Localisation updates from https://translatewiki.net.
Change-Id: Id8ad8acef84dedbc9395ff5643bdef0b518d4756
2017-11-18 23:03:55 +01:00
Translation updater bot a4bdca88c7 Localisation updates from https://translatewiki.net.
Change-Id: I8a5785bfd53a429dbe01e3869429fb1578edc4b6
2017-11-17 23:03:28 +01:00
Roan Kattouw f37caa6a6f Move source mode newline hack down to ArticleTarget
We need this hack when visually editing articles, but not in e.g. the
Flow integration. Move it down so that mw.Target has a clean
parseDocument method that can be used by Flow without undesirable
newlines being introduced.

Change-Id: I52bba88b3d33c3d6d16c4cf832f23f970a243abf
2017-11-17 13:15:27 -08:00
James D. Forrester 40b118e642 Update VE core submodule to master (cca896ac3)
New changes:
c7ef30a30 Get a ve.ce.BranchNode position's corresponding DOM position
5f9b3f5d1 Localisation updates from https://translatewiki.net.

Change-Id: I3456a20420153b1c31fa39b0541f6b93b7d582ec
2017-11-16 16:07:52 -08:00
James D. Forrester cad54feb77 Update VE core submodule to master (7d7966df9)
New changes:
b879aeea1 git.wikimedia.org removals
f76f117ed Revert "git.wikimedia.org removals"
2f9ce8de8 ce.Surface: on paste, make sure clipboardKey spans don't show up
8d55f4ac9 Localisation updates from https://translatewiki.net.
c82f7171f Localisation updates from https://translatewiki.net.
d9059cd50 Fix visual diff timeout
f1dd4ce13 Update RangeFix 0.2.3 -> 0.2.6
51d90bd19 Update UnicodeJS to v0.2.0
7d7966df9 Follow-up 51d90bd1: Also update README.md

Bug: T121588
Bug: T139089
Bug: T177378
Change-Id: If90a6fee33759be9355d966f9ccd648d2a12003d
2017-11-15 15:07:47 -08:00
Translation updater bot b7c747a5e9 Localisation updates from https://translatewiki.net.
Change-Id: I141cdcd5db751610fdd3c78e40e8e82ea0905c2a
2017-11-15 22:43:25 +01:00
Translation updater bot 42de11dd9c Localisation updates from https://translatewiki.net.
Change-Id: I137712b96f6223945d6f2fb14a865c2779601095
2017-11-14 22:43:04 +01:00
Translation updater bot 6cdf04d839 Localisation updates from https://translatewiki.net.
Change-Id: I28709c87c0b19b28913468e67250b278c917af23
2017-11-13 22:54:26 +01:00
Ed Sanders ec4053f2da Add screenshot tasks for manual and re-use tabs in Citoid
Bug: T180363
Change-Id: Icf9a370e7b80611b1f5e897e31e0004b656dabac
2017-11-13 17:39:47 +00:00
jenkins-bot 3998651aa2 Merge "Add mw-parser-output to preview elements" 2017-11-13 12:55:24 +00:00
Translation updater bot 9b73200150 Localisation updates from https://translatewiki.net.
Change-Id: I9071a96e4c6bc863a75a1c6b4fa5fc1b24e3b4ba
2017-11-12 22:50:24 +01:00
Translation updater bot 8580fed7da Localisation updates from https://translatewiki.net.
Change-Id: If86bb4a8467aec2ec52823fc230ed946e79c48f2
2017-11-11 22:55:50 +01:00
Translation updater bot 74800a76da Localisation updates from https://translatewiki.net.
Change-Id: I21a85d3a7546005a9464af5a9c3f9a0486abf089
2017-11-10 22:57:49 +01:00
jenkins-bot 9d48142eef Merge "Preserve 'oldid' on custom edit page" 2017-11-10 18:22:29 +00:00
Ed Sanders 57bf86b69e Add mw-parser-output to preview elements
Bug: T180214
Change-Id: I74700061c89ab4004229e3b03353067e92031774
2017-11-10 15:34:51 +00:00
Translation updater bot 625dea5a4b Localisation updates from https://translatewiki.net.
Change-Id: Ia9ec632b3d39b8353619fda55ed5e2191f3b8770
2017-11-08 22:49:19 +01:00
Ed Sanders 4b0eeb5b0a Preserve 'oldid' on custom edit page
Bug: T179994
Change-Id: Ibc7c9c9dc12c94538c5052e6e8ae3c8ae68b3293
2017-11-08 14:41:40 +00:00
James D. Forrester 79c89409f3 Update VE core submodule to master (bf37a87d2)
New changes:
8c9e847f6 Actually use the CE node while waiting for the DM render
bf37a87d2 Update OOjs UI to v0.24.2

Bug: T179870
Change-Id: I41cefdc9d4cfe741193542b3fa48bdae9e65d525
2017-11-07 16:54:11 -08:00
Translation updater bot b9306f6b09 Localisation updates from https://translatewiki.net.
Change-Id: I8144f548d7e71ae260a1abf22729f6ded8d95f83
2017-11-07 22:55:00 +01:00
jenkins-bot adb949c755 Merge "Depend on new mediawiki.editfont.styles module" 2017-11-07 16:32:43 +00:00
jenkins-bot 908205d4ac Merge "ce.MWWikitextSurface#onCopy: Do nothing if selection is empty" 2017-11-07 16:18:21 +00:00
Ed Sanders 1cf2bf4a67 ce.MWWikitextSurface#onCopy: Do nothing if selection is empty
Bug: T179920
Change-Id: I3400f8277a4de6bac216ecbc0ba0d46670e03d11
2017-11-07 16:09:33 +00:00
Ed Sanders d8ff15ec7a Depend on new mediawiki.editfont.styles module
Depends-On: Ifff40f756558e30f6551f29a945a31f0eef4cfed
Change-Id: If78466736d502eb031f7c4f32baf45495430b5fa
2017-11-07 04:31:17 +00:00
Translation updater bot 8209c00cbc Localisation updates from https://translatewiki.net.
Change-Id: If007f038b0472c9ef12fb7e444e9128c890a8564
2017-11-06 23:13:31 +01:00
James D. Forrester 603c4dae09 Update VE core submodule to master (a6b982d8a)
New changes:
fd01de26b Fix typo/spelling (use en-US)
c7ed230f1 Convert empty doc to empty string in convertToSource
00e344e09 Localisation updates from https://translatewiki.net.
837c20ac8 Unify SVG markup

Change-Id: I9a5f471632ac7f908d877fa312b7e5280b1e6ba4
2017-11-06 11:16:34 -08:00
jenkins-bot 2f3dba4222 Merge "Unify SVG markup" 2017-11-06 19:01:14 +00:00
Volker E fdf30c1793 Unify SVG markup
Align SVG markup across Foundation products by:
- unifying XML declaration,
- removing unnecessary `standalone="no"` attribute as it's default,
- removing all SVG editor metadata
- removing all `g` group elements except where necessary for transforms,
- putting attributes on `path`,
- removing unnecessary ids and
- unifying whitespace.

Saving up to 23% file size before gzipping.

Bug: T178867
Change-Id: If0339073a12f24df1a0f8dcc110c35e0ee2d38a7
2017-11-06 10:43:56 -08:00
jenkins-bot e18eacf222 Merge "Fix context menu placement on galleries" 2017-11-06 16:36:39 +00:00
jenkins-bot 45a79b0acd Merge "Update VE core submodule to master (6741337)" 2017-11-06 16:36:37 +00:00
jenkins-bot a6e0c8854f Merge "Convert empty doc to empty string in convertToSource" 2017-11-06 16:36:36 +00:00
Translation updater bot 5777b2c12c Localisation updates from https://translatewiki.net.
Change-Id: I177221e0f068ee12d320dfae6ac11e31568d2a0f
2017-11-05 22:44:09 +01:00
Translation updater bot c7a9996a10 Localisation updates from https://translatewiki.net.
Change-Id: Id90279b9542e6842b3e6c133a6fde8dcbe1bbc6f
2017-11-04 23:00:20 +01:00
Ed Sanders f86766a276 Update VE core submodule to master (6741337)
New changes:
0261c91 Localisation updates from https://translatewiki.net.
5043c49 ve.ui.Surface: Fix documentation for #getDom
d6fece6 Localisation updates from https://translatewiki.net.
5b46356 ve.BranchNode#setDocument: Fix highly misleading comment
0cb8c98 Update OOjs UI to v0.24.1
2b401cf Localisation updates from https://translatewiki.net.
e36f398 Add method for converting plaintext offsets to source-mode offsets
6741337 Fix typo in unit test

Change-Id: I1071faeec586fa2b44be810a35f8044800c8f800
2017-11-04 21:20:19 +00:00