Commit graph

11577 commits

Author SHA1 Message Date
jenkins-bot d2c995594a Merge "Remove remaining references to csslint" 2016-05-17 12:41:48 +00:00
Ed Sanders 8d749518ec stylelint: Comment uses of 'unsupported' browser CSS features
Change-Id: Ia88575d3fe71c22551cc601f03d8f4dea6d7fe16
2016-05-17 12:28:07 +00:00
Ed Sanders df49e5deb9 Remove remaining references to csslint
Change-Id: I1b5177bf746985a199bcc1ec713f886164c74760
2016-05-17 13:27:47 +01:00
jenkins-bot 224b75472c Merge "build: Replace csslint with stylelint" 2016-05-16 21:46:18 +00:00
Ed Sanders 99d3320573 build: Replace csslint with stylelint
For now just use the rules file in lib/ve, but eventually
this will be a preset.

Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f
Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
2016-05-16 22:30:49 +01:00
jenkins-bot 8aef98d01e Merge "Update VE core submodule to master (12ad256)" 2016-05-16 21:26:59 +00:00
Translation updater bot abe98d1eeb Localisation updates from https://translatewiki.net.
Change-Id: Icba1843fe760a436a980a42d9df31d39f10eca97
2016-05-16 22:46:21 +02:00
James D. Forrester 90fe9c980b Update VE core submodule to master (12ad256)
New changes:
df692b6 SurfaceFragment: Use #getCoveringRange for linear actions
2b1a8f0 SurfaceFragment: Remove clone flag in getSelection
38b9574 build: Use stylelint instead of csslint
ae2e7e6 FindAndReplaceDialog: Check initialFragment is set when closing dialog
fb7e483 Add more colour rules to stylelint
44f0a87 Add font rules to stylelint
396a5f0 Add whitespace rules to stylelint
05453e6 Add single quotes rule to stylelint
6100ea0 Remove -ms-repeating-linear-gradient rules
d03657b Add duplicate property rule to stylelint
5540c99 Add block formatting rules to stylelint
53162ab Add selector whitespace and double colon rules to styleline
29f9c7c Add whitespace rules for media sections
c653d01 Enforce tabs and file-level whitespace (newlines)
6c69798 Disallow duplicate selectors with stylelint
3593be9 Require animations to exist using stylelint
ace2230 Disable browser hacks for unsupported browsers
5f81262 Enforce ascending specificity with stylelint
f4cdf1b Disable !important in stylelint

Change-Id: I10a4e46927fa8ff4545c7ec84a072585f6e9606c
2016-05-16 21:20:41 +01:00
jenkins-bot 7a69ae68ab Merge "[BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node" 2016-05-16 08:27:52 +00:00
Ed Sanders 236e3d1241 [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node
Make some of the methods we currently use to render the node
static so we can re-use them before inserting. We do the evaluation
without inserting the node so as not to dirty the document and
transcation history.

In the unlikely case the request fails, just fallback to inline.

This only handles insertions for now as type changes on edit will be
very rare.

This changes the signature of insertTransclusionNode, which is used
in Cite and Citoid extensions.

Bug: T51784
Change-Id: Ibc2fc66e6866084b0a4deeb082c8a1ca412febb2
2016-05-16 09:19:13 +01:00
Translation updater bot 4ebf9de43a Localisation updates from https://translatewiki.net.
Change-Id: I71d8aebfba03d06e4162c51ac2271685bc35402e
2016-05-15 22:33:06 +02:00
Translation updater bot 069bef2fb4 Localisation updates from https://translatewiki.net.
Change-Id: I32d1429672c6e6a4b4aab07839bab17e86522ab8
2016-05-14 22:46:27 +02:00
Translation updater bot 3d7352b5ec Localisation updates from https://translatewiki.net.
Change-Id: I536105b8a587b2bcbb579f913c904349ff0c1ec8
2016-05-13 22:24:10 +02:00
Ed Sanders 7f0b56ff6c Use new action test runner
Bug: T90370
Change-Id: Ice209791f323c19743c192c5f864b2f8202b5ca9
Depends-On: I9b9275b55b367a1335bf4c4f8f52a68f6aeb9827
2016-05-13 14:21:49 +00:00
Translation updater bot e85419c23c Localisation updates from https://translatewiki.net.
Change-Id: Icc2d0c65cbb083959c86423d440315b55447177d
2016-05-12 22:17:54 +02:00
James D. Forrester 6a98df0886 Update VE core submodule to master (598aa93)
New changes:
dca1ca1 Unify action test runners
f39c8e2 Update OOjs UI to v0.17.2
cafecfd Group optional action test arguments in an options object

Change-Id: Iec008781d081ab10bee21e8dc5ea287024c3fbd7
2016-05-12 09:01:27 -07:00
Translation updater bot c4326346e3 Localisation updates from https://translatewiki.net.
Change-Id: I3fe9c30f546d073f47846c35c304b36497e32e5c
2016-05-11 22:30:19 +02:00
Alex Monk 349b1f5e57 Add WTE welcome dialog
Bug: T133800
Change-Id: I6eb43274e22f647958c3ab1b6d5c12b3dbea388e
2016-05-10 23:28:21 +00:00
jenkins-bot d4cb743dd9 Merge "Fix deactivating VE after user explicitly decideas to discard changes" 2016-05-10 22:57:32 +00:00
Alex Monk 1ba035e053 Fix deactivating VE after user explicitly decideas to discard changes
Bug: T134794
Change-Id: Idf1941793317a6aff9fe57082b85e3ebff0c72b4
2016-05-10 23:39:57 +01:00
jenkins-bot b5e4d51273 Merge "ve.ui.MWParameterPage: Remove non-working 'focus' handler" 2016-05-10 21:50:47 +00:00
Translation updater bot 5ee475d107 Localisation updates from https://translatewiki.net.
Change-Id: I32a7683e187cb466208d7afcae1049e1c7f14844
2016-05-10 22:30:00 +02:00
Bartosz Dziewoński 13a7a4c5f9 ve.ui.MWParameterPage: Remove non-working 'focus' handler
This element is a plain `<div>` with no tabindex, and therefore can't
be focussed. jQuery 'focus' events don't bubble, either, which would
otherwise allow focus events on children to fire this handler.

Change-Id: I68cb7d3bac143565c0a1bdb988312233b2d13ccd
2016-05-10 19:27:52 +02:00
jenkins-bot 6cfed3342c Merge "Attach template form after building" 2016-05-09 23:02:35 +00:00
Ed Sanders 3678b0c38a Attach template form after building
Building DOM trees while attached is much slower. This makes
things about twice as fast.

Remove unused StackLayout wrapper this.panels.

Bug: T134814
Change-Id: Idb269cf3f06c350ffe28b66e2e883c0a7a3348cd
2016-05-09 23:24:22 +01:00
jenkins-bot d155c5c584 Merge "[DEPRECATING CHANGE] Use canonical namespace names for enabling VE" 2016-05-09 21:08:15 +00:00
Translation updater bot a44b71dace Localisation updates from https://translatewiki.net.
Change-Id: I9d6fd18281e2c3d1f1b4652c8ede12af7261b0b3
2016-05-09 22:16:07 +02:00
James D. Forrester 1468699562 Update VE core submodule to master (f335fdf)
New changes:
93ef6ad build: Bump various devDependencies to latest
8891769 Don't write clipboard key to custom clipboard if already in HTML

Change-Id: I0a5b4aeb5e470a4d9c4191bffec7f9fe50b8d9fd
2016-05-09 08:24:47 -07:00
jenkins-bot 95fb16e63f Merge "composer.json mediawiki/mediawiki-codesniffer to 0.7.1" 2016-05-08 22:45:30 +00:00
Translation updater bot 0153870e30 Localisation updates from https://translatewiki.net.
Change-Id: Ieda52ac7aec208e81de8a000d602afe705779145
2016-05-08 22:46:24 +02:00
addshore 7af5372b26 composer.json mediawiki/mediawiki-codesniffer to 0.7.1
Change-Id: Ieea736291bd88aed729c1845e5195a055f42ac39
2016-05-08 19:17:57 +01:00
Translation updater bot 4d9644ea57 Localisation updates from https://translatewiki.net.
Change-Id: I988290e9c8e17a8adefc29d9097142a3e98ba456
2016-05-07 10:59:22 +02:00
James D. Forrester a0eea360d4 Update VE core submodule to master (9038eb6)
New changes:
b40313d Fix empty ContentBranchNode selector
219bd4a Handle about groups correctly in getNodeAndOffset

Change-Id: Ia6d5ec1c10cf7ba8a43ac2f629ba07df454e869c
2016-05-06 12:39:15 -04:00
Translation updater bot 2913bac9bb Localisation updates from https://translatewiki.net.
Change-Id: Id1cc9eef86aecf69aaa8450c028177c21e02e523
2016-05-04 22:25:03 +02:00
Ed Sanders 216ef78cb0 [DEPRECATING CHANGE] Use canonical namespace names for enabling VE
These are more meaningful and the actual namespace IDs used can
vary, especially for extensions.

Change-Id: I781d484d7525ff09b5d348e79b63b161a7a26997
2016-05-04 18:56:00 +01:00
Ed Sanders b25fbd3b7b Remove redundant about attribute stripping code
Change-Id: I2d330c074075734d50d6bf3e0f67e55bade6c072
Depends-On: I8be0a362338ba12d5569e315725386142a66da24
2016-05-04 12:55:36 -04:00
James D. Forrester d0268830b2 Update VE core submodule to master (25be8d5)
New changes:
25be8d5 Generate new about attribute when cloning a node

Change-Id: Idf65cc13370c359b4f85921551a0753164145a70
2016-05-04 12:53:10 -04:00
jenkins-bot 6dc85ae92a Merge "Add regex for detecting labelled external links in pasted wikitext" 2016-05-04 15:56:04 +00:00
Ed Sanders 47508d3245 Add regex for detecting labelled external links in pasted wikitext
Bug: T134227
Change-Id: Icb390cca6f4ee299dd59ec5d15894b734879f394
2016-05-04 16:20:05 +01:00
Ed Sanders f30000ed4c Wikitext paste: Discard autoGenerated items after conversion
Otherwise the reference contents (stored in the reflist) is lost.

Bug: T134228
Depends-On: I718963e3c460a5bed38fba4152b03442bbe6169e
Change-Id: I20171eb97eb1b4757a2c8a25217adb4d680a9057
2016-05-04 10:58:01 -04:00
James D. Forrester 04f1f0ba03 Update VE core submodule to master (4b58bf5)
New changes:
02dd558 Update OOjs UI to v0.17.1
932e232 Don't set internal item orignalHtml when converting from clipboard

Change-Id: I7415326760e4f550aec586be00edcbc924cb9b3e
2016-05-04 09:51:43 -04:00
Translation updater bot e59a008a1e Localisation updates from https://translatewiki.net.
Change-Id: Ib1c3814addf800ff893d224b69812c436f9b27ab
2016-05-03 22:27:39 +02:00
jenkins-bot 2bd7117f89 Merge "Add a hidden link with accesskey=v in SET prefer-wt mode and remember-last wikitext" 2016-05-02 16:16:41 +00:00
Translation updater bot 479b7df11a Localisation updates from https://translatewiki.net.
Change-Id: Iae4463718b77a2f574cd971cb43367ae5df8c441
2016-05-01 23:21:51 +02:00
Alex Monk 3c55bfbb80 Add a hidden link with accesskey=v in SET prefer-wt mode and remember-last wikitext
Try to tidy up a bit of code in DAT.init.js as well

Bug: T116406
Change-Id: Iad1713e14ea1f982886ba06e0b722c554ab2b892
2016-05-01 21:01:57 +01:00
James D. Forrester 1954a87494 Update VE core submodule to master (c63e17d)
New changes:
c63e17d Prevent touch events from focusing nodes after scrolling

Change-Id: I6150aabe9c27e02976e9a12930c6b4059168a46a
2016-04-29 18:49:11 -07:00
Translation updater bot 0bc4aff46c Localisation updates from https://translatewiki.net.
Change-Id: I544b4da2528d98c4f256fc6d6ca1f2e7bbfa0dc3
2016-04-29 22:36:19 +02:00
Translation updater bot 27c4e26684 Localisation updates from https://translatewiki.net.
Change-Id: I7ff3517e0d3a2b63a8e6242b17e39494333fedd4
2016-04-28 23:29:56 +02:00
jenkins-bot 465e5a17db Merge "Update VE core submodule to master (39d281e)" 2016-04-28 16:06:59 +00:00
Ed Sanders ae23f42e14 Add colon to 'Editing mode' label for consistency
Bug: T128839
Change-Id: I8e637b30ed11aaeb1225a911ce83da48ed2829b1
2016-04-28 12:27:35 +01:00