Commit graph

10006 commits

Author SHA1 Message Date
James D. Forrester a8629c0008 Update VE core submodule to master (b4dcdf8)
New changes:
a9bcaad Localisation updates from https://translatewiki.net.
1fc7638 Follow-up a9bcaad: Re-fix the build by adding the new 'luz' language
2b34805 Localisation updates from https://translatewiki.net.
b4dcdf8 Update OOjs UI to v0.11.6

Change-Id: Ibdff2d103b2795948cfa2f45a374b70620c71f93
2015-06-24 11:19:04 -07:00
Translation updater bot 2e6060e5c7 Localisation updates from https://translatewiki.net.
Change-Id: I65119d7d69d07d0c9b363dbab9d73043b83262c0
2015-06-23 21:29:39 +02:00
jenkins-bot b76c424af5 Merge "Update VE core submodule to master (7b7b3d8)" 2015-06-23 15:29:29 +00:00
jenkins-bot 0ee0a2bfe0 Merge "build: Don't run jsonlint on lib" 2015-06-23 15:28:53 +00:00
James D. Forrester 0cea3084a6 Update VE core submodule to master (7b7b3d8)
New changes:
08f9fe5 Update OOjs UI to v0.11.5
7b7b3d8 Localisation updates from https://translatewiki.net.

Change-Id: I4cff595e24d29b0552848cd5fdc0ecb8b7d13fab
2015-06-23 15:26:34 +00:00
James D. Forrester 049c14c6ef build: Don't run jsonlint on lib
Change-Id: Ic15cc817feaef41bd43cc222402d3c4d9898c2a4
2015-06-23 08:20:21 -07:00
Timo Tijhof 87f2d0bc2a Make ext.visualEditor.mwalienextension mandatory (no longer experimental)
This module is required in order to alienate all extension blocks
by default. Otherwise they are interpreted as plain divs which
allow content editable.

Bug: T103455
Change-Id: I08f6b9a516ba6bee6ed18256222108116eceee1e
2015-06-23 03:45:50 +01:00
Translation updater bot 610868d8ba Localisation updates from https://translatewiki.net.
Change-Id: Id569662ba4e278a6f43fba8506a0c52f4eecd59c
2015-06-22 21:19:54 +02:00
Translation updater bot 5931b6edeb Localisation updates from https://translatewiki.net.
Change-Id: I3aaf0d4cbdedf862de827d249f55e9e5bb77af6b
2015-06-21 20:07:01 +02:00
jenkins-bot 4c7bc4a811 Merge "build: Updating development dependencies" 2015-06-19 22:17:21 +00:00
Bartosz Dziewoński cd8307351a build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.8.0 → 0.9
* mediawiki/mediawiki-codesniffer: 0.2.0 → 0.3.0

Change-Id: Ic4a5fd50cd1403da11c6b0be75eaa290524d8b0a
2015-06-19 23:32:37 +02:00
Amir E. Aharoni b5a15be16a [BrowserTest] Update the commons_upload gem
Change-Id: Ie3d11bf980f2d828e20663ce264418fcfe8c49f4
2015-06-19 13:19:33 +03:00
jenkins-bot bb9f9f9fb4 Merge "Converting an error image (red link) from block to inline does not lose its error state" 2015-06-17 17:28:03 +00:00
suchetag f7026d5e5b Converting an error image (red link) from block to inline does not lose its error state
Bug: T101085
Change-Id: I521be8fbcbab27d712ec408ea7048dca2eaab198
2015-06-17 22:41:41 +05:30
Translation updater bot 86aacedf6f Localisation updates from https://translatewiki.net.
Change-Id: I9c820dd7de908d8509ddba195fc2ce6062cf91d9
2015-06-16 22:43:24 +02:00
jenkins-bot 104859c1c7 Merge "mw.ViewPageTarget: Ensure canonial view url is restored" 2015-06-16 15:51:21 +00:00
James D. Forrester 3f60c4f1a5 Update VE core submodule to master (2e03ab7)
New changes:
2e03ab7 Check if newRange is not null

Change-Id: I1630a3a5775f9d50b490f24a5455cd9aebb980ed
2015-06-16 08:45:10 -07:00
jenkins-bot 4984df9331 Merge "Improve readability of license text in save dialog" 2015-06-16 00:19:03 +00:00
James D. Forrester 3fe71f63ce Update VE core submodule to master (259f8b2)
New changes:
05c0293 Allow DM-identical range changes to cause a rerender
409fb99 build: Add explicit dependency upon grunt-cli
f1fd489 build: Update grunt-banana-checker to 0.2.2
1441659 Language annotation fixes
395d402 Localisation updates from https://translatewiki.net.
b3582c4 demos: Fix fatal "Debounce undefined" error in eventLogger.html
a6b8aea build: Configure jsonlint
8c92404 Follow-up 8dc8b266761d: if whitespace stripping empties an annotation node, drop it

Change-Id: Icd9b31b51c2c5f043967257a218afff4886302ca
2015-06-15 16:33:26 -07:00
Translation updater bot 0147a742a6 Localisation updates from https://translatewiki.net.
Change-Id: I6c0d9372ed09007fdbe2c5701674f1d91f65a51a
2015-06-15 22:55:50 +02:00
Timo Tijhof e1ce49509c mw.ViewPageTarget: Ensure canonial view url is restored
When loading VE by clicking Edit on a view url, this naturally
works (we temporarily append our query, and remove it when ready).

When loading VE from a permalink (e.g. Open in new tab) or any
other source linked from HTML pages, then we're not in control
over adding the query (it's already there); we're only in control
over restoring the view url afterwards.

Bug: T102363
Change-Id: I4912ff1c6b28ac987517760ffed481a4cd3bd1ca
2015-06-15 13:28:35 +01:00
Translation updater bot 3c5ae91490 Localisation updates from https://translatewiki.net.
Change-Id: Ica2a4117a9328605fb6d83cea6cc8b2c7153278b
2015-06-14 21:17:31 +02:00
jenkins-bot e4fdfd4951 Merge "build: Configure jsonlint" 2015-06-14 01:26:45 +00:00
Translation updater bot 170d3be0bd Localisation updates from https://translatewiki.net.
Change-Id: Icc975a78a632c1310f7901bfd613aab13ba0f794
2015-06-13 22:34:12 +02:00
Kunal Mehta f41310ab4c build: Configure jsonlint
Change-Id: I25a0010aa023bc3b70f24e9f30ffef3be88f965f
2015-06-13 01:14:38 -07:00
Translation updater bot f540b0d662 Localisation updates from https://translatewiki.net.
Change-Id: Ib18381d17a0b3ceca5935ddb65bbfa3ebeb798a7
2015-06-12 21:56:41 +02:00
Kunal Mehta c0ae346320 Add missing callback to set namespaces
Change-Id: I19e7f35ea9e219a31a7e7017faa7bc1571a4d7a0
2015-06-11 15:46:13 -07:00
Kunal Mehta 3302f2e32f Sync extension.json with VisualEditor.php
Change-Id: I129f6bc9e742b3cf8611b5b6f3e07d4651e0aec9
2015-06-11 15:38:36 -07:00
Translation updater bot 8572638ab7 Localisation updates from https://translatewiki.net.
Change-Id: I0e8f0afb392b4976038166548b44868510a8b3e8
2015-06-11 21:17:00 +02:00
jenkins-bot 08e78969c3 Merge "MWMediaResourceProvider: Use exist instead of bool check on API values" 2015-06-11 16:36:01 +00:00
Mark A. Hershberger 7d5e5ec9a9 MWMediaResourceProvider: Use exist instead of bool check on API values
In the MediaWiki API, booleans exist or don't exist (with an empty string),
you can't check "if (bool)..." since that will always be false.  The API has
a newer formatversion=2 that fixes this but we're not using that yet.

Also update the defaultSource placeholder to match the API response. If one
would only update defaultSource without the 'if'-fix, one can reproduce T66822
on a local wiki (JSON-P request instead of JSON).

Bug: T66822
Change-Id: I5a8ab1136325c33c62982c0869fa14ca2fb26034
2015-06-11 17:29:36 +01:00
Alex Monk 9f17ac1518 Remove .jsduck/generate.sh symlink to removed file
Was removed in Ie8ddb165

Change-Id: Icc6a3dcf7f4204271578f6d67e7c5c02a17b9383
2015-06-11 16:33:28 +01:00
Glaisher 8a134783bd Improve readability of license text in save dialog
Previously, it failed in WCAG contrast ratio tests. To make
it pass, font size has been slightly increased and color
has been darkened.
Increased the line height to match increased font size

Bug: T100017
Change-Id: I073ca96c64d5e3af3c01936d34e9e83e9384b4b5
2015-06-10 14:41:16 -07:00
C. Scott Ananian 85b86fb45d Stop using deprecated aliases for OO.ui.mixin.*
These classes were renamed in OOUI v0.11.4.

Change-Id: Ie932eb3bf5e65866ae4ba3bf2317facb1e740d3b
2015-06-10 20:25:04 +00:00
James D. Forrester df79ed8c4b Update VE core submodule to master (5befc34)
New changes:
3368c4c Remove some assumptions about the state of the context
79918af Move contexts to subfolder
820eaec Tests for some drag/drop functionality
e5f0e3e Convert CE surface tests to use a mock UI surface
c81dbcf Localisation updates from https://translatewiki.net.
7561ff3 Create a mock UI surface that only contains a model for model-only action tests
ad60333 Convert test timings on APIResultsQueue from seconds to milliseconds
b52d7df Table cursoring tests
3f8e821 Localisation updates from https://translatewiki.net.
9c737df Update OOjs UI to v0.11.4
5befc34 Stop using deprecated aliases for OO.ui.mixin.*

Change-Id: Ida6d4ba724686d8189975c55a18c4a6c2cfe4875
2015-06-10 12:44:55 -07:00
Translation updater bot be03474ba3 Localisation updates from https://translatewiki.net.
Change-Id: I6fcb4a1d32a509cdb51f9c017dd679ba8b01b470
2015-06-09 22:52:52 +02:00
Andrew Green 598e1fd1c1 Update VisualEditorDataModule::getDependencies method signature
This change is for compatibility with Iee61e5b527 in MediaWiki.

This patch increases the minor minor version number due to said requirement.

Change-Id: I0ac775ca286e64825e31a9213b94648e41a5bc30
2015-06-09 02:24:20 +01:00
Translation updater bot 5b03e7fcab Localisation updates from https://translatewiki.net.
Change-Id: If1c40bd7541bddf975babe26e01addca07a5e649
2015-06-08 22:02:13 +02:00
jenkins-bot 27ea306b0f Merge "Omit extension attributes with an undefined value" 2015-06-08 19:42:36 +00:00
Timo Tijhof 2e050ff498 VisualEditorDataModule: Use definition summary instead of time tracking
The current approach matched historical RL conventions, but was quite
fragile. It used memcached to track hashes of all (or most?) factors
that influence the generated script.

Now that RL uses version hashes instead of timestamp, just hash the
script directly. Currently ResourceLoader falls back to hashing
the generated timestamp. Let's bypass this.

As a bonus, this also gets rid of the getMessages() hack which was
causing all messages to load twice and the module to be almost
twice a big as it could be.

It loaded messages once as part of getScript, via ve.init.platform.addMessages.
And a second time via getMessages() for which mw.loader calls mw.messages.set.

Bug: T94074
Change-Id: Ib8e688bf3a9c151cbb18016e10230c3a4bab46b8
2015-06-08 18:27:27 +00:00
James D. Forrester 91187d5a8d Update VE core submodule to master (f821c6e)
New changes:
1518f13 Fixing the behaviour of resizable images so that redlinked images, inline and block, can be represented properly
a325247 Insertions: heed cursor position relative to annotations
b43b746 FindAndReplaceDialog tests
afc3e08 At empty matches, don't assume lastIndex is unchanged
44593ae Localisation updates from https://translatewiki.net.
ee41fca Localisation updates from https://translatewiki.net.
042645b Localisation updates from https://translatewiki.net.
f821c6e Fix 'open' button on link inspector

Change-Id: Ia09d7fe754c3e0bca6b441ad2ea88644e275ea6b
2015-06-08 08:28:52 -07:00
Ed Sanders 160a673e7c Omit extension attributes with an undefined value
Change-Id: I0abad51eb392644159d1845ef3a35986dc5cb79b
2015-06-08 16:03:47 +01:00
jenkins-bot b24a4529c5 Merge "Empty all inputs on link inspector teardown" 2015-06-08 14:37:26 +00:00
Translation updater bot 9c57bdbf30 Localisation updates from https://translatewiki.net.
Change-Id: Id15a54207ef791722c00360b22a2610039ace4a6
2015-06-07 22:33:41 +02:00
Translation updater bot f1a9d02101 Localisation updates from https://translatewiki.net.
Change-Id: I320c9034aaf046f0d5147b352c7e88dd3fcfe011
2015-06-06 22:25:41 +02:00
Bartosz Dziewoński abbb62fe8e ve.ui.MWTitleInputWidget: Restore 've-ui-mwTitleInputWidget' CSS class
've-ui-mwTitleInputWidget-menu', too. Removed in
b3d2e9013f, but we actually
use these classes in styles and in browser tests.

Bug: T101600
Change-Id: I40dae9c68bbcba2f980c307fe0dfa0956b4eb78a
2015-06-06 13:17:32 +02:00
Kunal Mehta 852ac522d7 build: Updating development dependencies
* grunt-banana-checker: 0.2.1 → 0.2.2

Change-Id: I4bbf9709c48f22550ec8e36af11b737ebf6b92c2
2015-06-06 00:11:02 +00:00
Translation updater bot 01a082a0c2 Localisation updates from https://translatewiki.net.
Change-Id: I94a4851b9b46a1748cdbc6e9a442c9f919588c22
2015-06-05 21:16:43 +02:00
Ed Sanders 5ac580e18b Empty all inputs on link inspector teardown
The parent class only nullifies the active input, but for completeness
we should nullify both.

Change-Id: I3017ef0ca61753fefde1c23b43178d46c6308e9f
2015-06-05 16:17:29 +01:00
jenkins-bot 236e02aed6 Merge "Account for MWTitleInputWidget having been moved into MW core" 2015-06-04 23:11:01 +00:00