Commit graph

13796 commits

Author SHA1 Message Date
Translation updater bot 906956aae7 Localisation updates from https://translatewiki.net.
Change-Id: I81e6aa591bec1ac4ca53a4ab0b4f0e3a31af20fb
2017-12-20 23:23:06 +01:00
Ed Sanders ba6082d6f8 Don't depend on ArticleTarget for source editor
Change-Id: Iaf1aefcbf94e4548b45e7c55f0af57d15235e8f5
2017-12-20 13:18:01 +00:00
Translation updater bot 90cdac7b46 Localisation updates from https://translatewiki.net.
Change-Id: I7c7ae2a3327ad676a4db0461d871dd2d276ac86d
2017-12-18 23:07:22 +01:00
jenkins-bot 5457615129 Merge "Add section id to URI fragment on save" 2017-12-18 10:55:35 +00:00
Translation updater bot 99ae04623a Localisation updates from https://translatewiki.net.
Change-Id: I327e05ba73228d31ad373408c93c9b40a6bfe0b0
2017-12-17 22:26:19 +01:00
David Lynch 6f2c829bd9 Add section id to URI fragment on save
Bug: T181075
Change-Id: Iea63112301bfa0860c3d68efc35648a5af7e4ae6
2017-12-15 00:03:52 +00:00
jenkins-bot e99ef1da02 Merge "ArticleTargetEvents: Track editor mode on save events" 2017-12-14 22:51:04 +00:00
David Lynch 5bbda2b8c8 ArticleTargetEvents: Track editor mode on save events
Bug: T182610
Change-Id: I8b58bea8e4444478cde4c1340d13ddf97aab8f01
2017-12-14 16:23:08 -06:00
Translation updater bot dbbbdbd86d Localisation updates from https://translatewiki.net.
Change-Id: Icc0b85cd1433255d8c9be2f098e0bbe861f52444
2017-12-14 23:12:35 +01:00
James D. Forrester af8428e861 trackSubscriber: Add timing data for 'loaded' state
Change-Id: I771764e5f40adcfc67d181cda68f60fc283a9cb2
2017-12-13 11:20:09 -08:00
David Lynch e66d58076f trackSubscriber: data isn't required
Editor-fixing caused errors on some events which don't pass data in.

Introduced in 8f612fbe64.

Change-Id: I5c9471e6ffe4cdda0bf5455c80ef70251690e20f
2017-12-13 11:56:35 -06:00
C. Scott Ananian fde0c180aa Interwiki links are a type of external link
Bug: T97093
Change-Id: I13325075deba127dc620adb0ad1d18ef99352ab2
2017-12-13 15:56:58 +00:00
C. Scott Ananian d2d6d23522 Bump Parsoid HTML version to 1.6.0
It's a brave new world.

https://www.mediawiki.org/w/index.php?title=Parsoid/Deployments&oldid=2644817#Tuesday,_Dec._12,_2017_around_11:45_am_PT:_Y_Deployed_741fc5d

Change-Id: Ib22dc5370cd01bf5becdd639cc12d6a5ccc653a3
2017-12-13 00:10:16 +00:00
Translation updater bot aaabd8d84b Localisation updates from https://translatewiki.net.
Change-Id: I2606d7b77cec575907fe57d540326bf1069f14a1
2017-12-12 22:53:01 +01:00
C. Scott Ananian b85caca493 Strip legacy section IDs from inside headings
We emit <span id="..." typeof="mw:FallbackId"></span> inside headings
when necessary to provide backward compatibility with pre-HTML5
section ids.  These are mostly harmless inside VE --- they become hidden
alienated nodes, which are then safely ignored by Parsoid during html2wt
even if they manage to migrate outside of a heading --- but it's a
little safer to strip them.

Change-Id: I07d0fcf54427ab02d4930cff183d3e5579a99306
2017-12-12 12:15:05 -05:00
jenkins-bot a5a3b0c97a Merge "Enable spellchecking on media caption inputs" 2017-12-12 17:04:38 +00:00
Ed Sanders 8a356b19d7 Enable spellchecking on media caption inputs
Bug: T182393
Change-Id: I23d3f1b37225f9e5a9a9651b6e7b590d38dc99b3
2017-12-12 16:42:55 +00:00
Translation updater bot 28bc31f58a Localisation updates from https://translatewiki.net.
Change-Id: Ia5bfd03dc41406dc3ea9344c93f73d6a3309dd99
2017-12-11 23:39:09 +01:00
jenkins-bot 84e3cfaa0f Merge "Pass editor mode (visual/source) to tracking code" 2017-12-11 17:51:15 +00:00
jenkins-bot db142d34f8 Merge "Track action=loaded for consistency with WikiEditor" 2017-12-11 17:49:17 +00:00
Translation updater bot db453a74fb Localisation updates from https://translatewiki.net.
Change-Id: I428b0455d4f87c5bd451aac088ccbf68592e5069
2017-12-10 22:33:31 +01:00
libraryupgrader 6ace86ab9f build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I6d1580c277b3de0320bcdf7f4478f7765c6db8e7
2017-12-10 00:28:27 +00:00
Translation updater bot c6476a33fd Localisation updates from https://translatewiki.net.
Change-Id: Iac2cdc9cd52b46e12b166676bce5f5384a53e1ef
2017-12-08 22:37:37 +01:00
Translation updater bot 18f8cd0b1d Localisation updates from https://translatewiki.net.
Change-Id: I1e4452deddf816b6a2a1007d40a64dcb668fb9a0
2017-12-07 23:08:05 +01:00
James D. Forrester efaf914617 Update VE core submodule to master (cd6bce192)
New changes:
8f9a3d713 Localisation updates from https://translatewiki.net.
2d9987ade Update RuboCop Ruby gem
3c7276672 Use rel="noopener" on links targeted at new windows
2a1316fcc Don't execute commands twice
3c547f413 Localisation updates from https://translatewiki.net.

Bug: T180878
Bug: T180932
Bug: T182270
Change-Id: Ifdbf40d4bc27f10c30e2e5d03fb569eef754defb
2017-12-07 08:07:39 -08:00
Ed Sanders 8f612fbe64 Pass editor mode (visual/source) to tracking code
Change-Id: Iba5d3c66ecbd2872d76ea12f795ef3bebaae9d81
2017-12-07 11:14:00 +00:00
David Lynch 7a260ad1b7 Track action=loaded for consistency with WikiEditor
Change-Id: I1b92996e63dd85416755377dc14a5a997aac6657
2017-12-06 11:32:01 -06:00
jenkins-bot 59a57b17a9 Merge "Use rel="noopener" on links targeted at new windows" 2017-12-06 11:18:42 +00:00
jenkins-bot 890d47868c Merge "MWTable: Cleanup events and prevent fire after teardown" 2017-12-05 15:34:05 +00:00
Translation updater bot 3d931296df Localisation updates from https://translatewiki.net.
Change-Id: I456d50609430beaa80ac687259f0807a419b3e91
2017-12-05 09:42:06 +01:00
Ed Sanders 28ed1a6b97 MWTable: Cleanup events and prevent fire after teardown
Bug: T181767
Change-Id: I9b86d810269f3e3e15ba4736d264dbf48c9a0fe3
2017-12-03 14:46:47 +00:00
Translation updater bot 61365625b7 Localisation updates from https://translatewiki.net.
Change-Id: I343fc3f0ae5fb7852bc75d8278f5d39823eec5d4
2017-12-02 22:53:00 +01:00
James D. Forrester 9b51a3615b Update VE core submodule to master (789451511)
New changes:
f91a80008 build: Bump Ruby cruft to avoid security warnings for old rubocop
c89c238dc Fix insertion annotations in source mode

Bug: T181726
Change-Id: I92dd60ec3adbe261ce4c47942150bff162b8149a
2017-12-01 15:49:56 -08:00
Translation updater bot 7883f423ac Localisation updates from https://translatewiki.net.
Change-Id: I2037bd6b5a9cae019e13dbf3ceddd62086c5cbce
2017-12-01 00:01:48 +01:00
David Lynch 7777f69e7b Use rel="noopener" on links targeted at new windows
Bug: T180932
Change-Id: I93bda6aaebf97727a187774cccbeba4f27fcddd5
2017-11-30 13:15:38 -06:00
jenkins-bot 5dce34ee1c Merge "ui.MWSaveDialog: consistent handling of preview category links" 2017-11-30 15:45:35 +00:00
Translation updater bot 212200f4be Localisation updates from https://translatewiki.net.
Change-Id: If104f2835eee1566891974f24f9d213969a38d32
2017-11-29 22:56:41 +01:00
jenkins-bot 20d41a7721 Merge "build: Bump Ruby cruft to avoid security warnings for old rubocop" 2017-11-29 20:13:23 +00:00
David Lynch efbfcd8b35 ui.MWSaveDialog: consistent handling of preview category links
Category links weren't being checked for redlink status, and weren't opening
in a new window.

Bug: T179913
Change-Id: Ic665583128bf51710178c5674cd35c273f5f207e
2017-11-29 11:24:32 -06:00
James D. Forrester 763e5f8078 Update VE core submodule to master (49b182123)
New changes:
3fa757520 ce.Surface: support formatted google docs paste content again
52d849e6b ce.Surface: more tests for Google Docs pasting
49b182123 Update OOjs UI to v0.24.3

Bug: T145252
Change-Id: I5ceeeae946873cd1fdc692ce37c81b22e1973a89
2017-11-28 16:45:42 -08:00
jenkins-bot 7dd9cec01e Merge "DesktopArticleTarget: enable spellcheck on sectionTitle" 2017-11-29 00:38:47 +00:00
David Lynch 396ce6eb6b DesktopArticleTarget: enable spellcheck on sectionTitle
Tell browsers we explicitly want spellchecking on the section title. If
unspecified this is browser-dependent, so it was inconsistent.

This won't actually have an effect until the next OOjs-UI release (v0.24.3),
as this was a new feature added to TextInputWidget.

Bug: T179654
Depends-On: Ifdd44ead7d782288aaef0979322f0943f7304835
Change-Id: I588874efcff91c5be03da2fc03c268f883b718e2
2017-11-29 00:06:20 +00:00
Translation updater bot 085ec49a66 Localisation updates from https://translatewiki.net.
Change-Id: I42b3a5b87ece5c12f42489d98a3ee25aa5c5a332
2017-11-28 22:50:36 +01:00
James D. Forrester 673aff0f2d build: Bump Ruby cruft to avoid security warnings for old rubocop
So. Much. Cruft.

Change-Id: I27299ac709aa6ba772b2fc5ee9dc976ad4bb07d3
2017-11-28 12:09:20 -08:00
James D. Forrester 15d3a771e9 Update VE core submodule to master (56cfb5d6f)
New changes:
00589df33 ce.ContentBranchNode: Move setNotUnicorning into detach
70a56d30a Destroy CE nodes on removal by onSplice

Bug: T179574
Change-Id: Ib0217c0f089dc9423776805f1bf31f1f16c68beb
2017-11-28 09:54:42 -08:00
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