Commit graph

9036 commits

Author SHA1 Message Date
James D. Forrester 9f574bc96b Update VE core submodule to master (e56f537)
New changes:
3122891 Add keyboard commands for find next/replace
6b2969c Localisation updates from https://translatewiki.net.
65c1419 Fix resizeable CSS layers
6fc57d4 Don't use .hide() in ve.ui.Context constructor
7bbfc4e Re-implement ve.ce.ResizableNode#showHandles using CSS
3e004f6 Localisation updates from https://translatewiki.net.
a926617 ce.GeneratedContentNode: Import DOM elements into target document early

Change-Id: I45ce461da1a650c75e5bc1a24b4c38fafe456f9e
2015-01-26 10:38:02 -08:00
Roan Kattouw 6623ff4197 Use DOM rather than jQuery for <base> resolution
Avoiding a Sizzle context switch, see https://github.com/jquery/sizzle/issues/311

Bug: T87416
Change-Id: I40dd2cb17f9c3d14d0ee1aa5b542263775feedb7
2015-01-26 10:00:32 -08:00
Roan Kattouw 711c509f81 dm.MWBlockImageNode: Use DOM methods rather than jQuery
To avoid triggering state thrashing in Sizzle
( https://github.com/jquery/sizzle/issues/311 )

Also account for the fact that missing attributes are returned
as undefined by jQuery but null by .getAttribute().

Bug: T87416
Change-Id: Ib3bc7971920c084568abb6ea0bd822d763b276f2
2015-01-26 09:46:55 -08:00
jenkins-bot fd6a2c0f74 Merge "ce.MWReferencesListNode: Remove unnecessary .show() call" 2015-01-26 06:30:55 +00:00
Translation updater bot 2eaf4bc7f1 Localisation updates from https://translatewiki.net.
Change-Id: I7d4da590bc19bc83e64b99a31ee5762c28bb1180
2015-01-25 21:52:03 +01:00
jenkins-bot e49a75a6cf Merge "Focus the add template input in the template dialog" 2015-01-24 03:24:43 +00:00
Moriel Schottlender 34f93bef08 Focus the add template input in the template dialog
Focus the page in the booklet layout so the add template
input is also focused at the opening of the template dialog.

Bug: T85484
Change-Id: Id9ae4653dc2a2e1d1dc16c83c540e22e30f4ea55
2015-01-23 17:55:26 -08:00
Roan Kattouw 154d2cb118 ce.MWReferencesListNode: Remove unnecessary .show() call
ce.InternalItem used to .hide() its .$element, but it doesn't
do this any more, so we don't need to counteract this with
.show() any more either.

Bug: T87160
Change-Id: Ic367508d821cc5c65678d4c878edc84911fd8178
2015-01-23 15:08:50 -08:00
Translation updater bot fb6eba3028 Localisation updates from https://translatewiki.net.
Change-Id: Iec49a3b85c54c8bf208e663887504243fe5a4e26
2015-01-23 22:31:26 +01:00
James D. Forrester 80e930ac98 Update VE core submodule to master (8b83816)
New changes:
751a65c Localisation updates from https://translatewiki.net.
77047b6 Localisation updates from https://translatewiki.net.
82679b9 Kill grey border on find-and-replace dialog in MediaWiki theme
15ae875 Localisation updates from https://translatewiki.net.
a279340 Localisation updates from https://translatewiki.net.
8b83816 Update OOjs to v1.1.4

Change-Id: Ibafcd3e47e445a3509122bdaea3b678ee226e0fa
2015-01-23 12:36:21 -08:00
Moriel Schottlender d0f1a02aec Increase the space between the title and text in media dialog
Make the spacing between the image title and the description
the same as the space between the description and the metadata.

Bug: T87451
Change-Id: I0d0051cd66072861019b904980c405fa05145b2b
2015-01-23 12:19:51 -08:00
Alex Monk 34e4c6a51b Check for venotify on page load, not when VPT is created
Not sure what could have broken this or when. Or if it ever worked to be honest...

Bug: T58921
Change-Id: I069b5ccb4a78a6790e5791354402503676faa7fa
2015-01-22 23:50:02 +00:00
Translation updater bot c9f6bfbbfa Localisation updates from https://translatewiki.net.
Change-Id: I7f7750931f23b1b569a6926f863ce18c90f8d81a
2015-01-22 23:24:06 +01:00
Translation updater bot c6f3da6d46 Localisation updates from https://translatewiki.net.
Change-Id: I3a7f7e1e0130bffe5ac246cb1e52926a38ee0c51
2015-01-20 22:01:56 +01:00
jenkins-bot d7c80d4cf2 Merge "MWMediaDialog: Make the dialog bigger when searching for media to insert" 2015-01-20 19:52:11 +00:00
jenkins-bot 9db4e1ffd9 Merge "Don't load OOjs UI i18n strings as core does this already" 2015-01-20 16:54:31 +00:00
jenkins-bot dc7248031d Merge "Don't add __STATICREDIRECT__ whenever the user sets up redirect details" 2015-01-20 01:09:52 +00:00
Alex Monk d94c25a5b1 Don't add __STATICREDIRECT__ whenever the user sets up redirect details
OO.ui.CheckboxInputWidget#getValue was returning strings "true" or "false"
We want to use isSelected (and setSelected to set things instead of setValue,
I guess.)

Bug: T86827
Change-Id: I0b4b8dca00a4aeae4498a30d73e5eaa7c804115f
2015-01-19 23:32:55 +00:00
Alex Monk f0f2912c9d Actually perform interwiki check in MWLinkTargetInputWidget
Fixes my idiocy in I4b08f1c6

Bug: T72504
Change-Id: I1a7f14fc7f7169ac85eacd4e12a56acff1fe32ae
2015-01-19 22:49:38 +00:00
Translation updater bot e2d953449b Localisation updates from https://translatewiki.net.
Change-Id: Ief7e3f530425a52b78da8099bab104bafc86808d
2015-01-19 22:05:44 +01:00
Translation updater bot 037d49c4ac Localisation updates from https://translatewiki.net.
Change-Id: I1d27554446b015c5192ff7295dd82f0fc7d19b40
2015-01-18 22:23:12 +01:00
James D. Forrester 6730d48d2b Update VE core submodule to master (916d1b9)
New changes:
28d2c33 Localisation updates from https://translatewiki.net.
916d1b9 Unwrap slug wrappers when converting to a real paragraph

Change-Id: Ib517646da3dfd238267e7723c7ae6113246316fa
2015-01-16 18:09:12 -08:00
jenkins-bot f7c41fe181 Merge "Revert "Temporarily disable JSON content type on visualeditor-cite-tool-definition.json"" 2015-01-17 01:00:57 +00:00
James D. Forrester 7daf17fadc MWMediaDialog: Make the dialog bigger when searching for media to insert
Bug: T86397
Change-Id: I40e78441dd555dff837516220653b1c54bf5af92
2015-01-16 16:29:26 -08:00
Jforrester a1293e5161 Revert "Temporarily disable JSON content type on visualeditor-cite-tool-definition.json"
This reverts commit 74a3933572.

Now that the issue is fixed in MW-core, this is not longer needed.

Change-Id: I4d3468a5abfed9299ba180342e1a8d904d06e723
2015-01-16 22:04:10 +00:00
Translation updater bot e9e44ac3b8 Localisation updates from https://translatewiki.net.
Change-Id: I436fb1af5eeddbeb5212134bb1551731971c8f16
2015-01-16 21:22:10 +01:00
jenkins-bot f82b486e74 Merge "Mark interwiki links as known in LinkTargetInputWidget" 2015-01-16 19:18:47 +00:00
Moriel Schottlender 061925be87 Add filename to the media dialog
Show the currently used filename at the top of the media dialog so
it can be copied and used in other pages if needed.

Bug: T54459
Change-Id: Ib1844c997189f7ead0656c5a811d3cab70030f89
2015-01-16 17:40:40 +00:00
Ed Sanders e3284dd078 Tweak margins on media info page
Change-Id: I5434c3ade332de22f6b6cf058dc2f1e402524959
2015-01-16 13:34:25 +00:00
jenkins-bot 2ebdf34c29 Merge "Transform the search widget to show image details" 2015-01-16 13:26:25 +00:00
Moriel Schottlender 4947420650 Transform the search widget to show image details
Add an info panel to the MediaDialog to show the user information
about the chosen file from the new extmetadata API.

Also, change the way results are viewed:
* Present the search results with their proper ratio.
* Use masonry fit for the search results.
* Change the resizeToBoundingBox method in ve.dm.MWImageNode to accept
  a specific side constraint, either 'width' or 'height'. This is also
  going to be useful for adding and calculating 'scale' considerations
  that affects the image height.
* Add info panel with details from extmetadata including author, license,
  date of upload and creation, etc.
* Get descriptions and data according to wiki language.

Bug: T78161
Bug: T74061
Change-Id: I7b4d019825aa89dd178665bd9492a07af15954ac
2015-01-16 13:22:54 +00:00
jenkins-bot 0e11587d52 Merge "Temporarily disable JSON content type on visualeditor-cite-tool-definition.json" 2015-01-16 03:34:32 +00:00
James D. Forrester 81030a4c87 Update VE core submodule to master (8b28b37)
New changes:
89c15ca Localisation updates from https://translatewiki.net.
df471c4 ToolbarDialogWindowManager: Don't pollute parent's .static.sizes
d6a939b Increase z-index of page select dropdown in demo
1581b43 Localisation updates from https://translatewiki.net.
8b28b37 Update OOjs UI to v0.6.3

Change-Id: I286ccd73ccaa044cf15ba27aee248ab12ecdcad3
2015-01-15 18:20:21 -08:00
James D. Forrester 74a3933572 Temporarily disable JSON content type on visualeditor-cite-tool-definition.json
Change-Id: I606db30d706c8a051b9b090deff23044ae05ad10
2015-01-15 18:18:01 -08:00
Translation updater bot 1a4c821dad Localisation updates from https://translatewiki.net.
Change-Id: I4464b2cedef4d2700d017a17bdc32cb2fed24629
2015-01-15 22:51:46 +01:00
Translation updater bot 3a5f538e38 Localisation updates from https://translatewiki.net.
Change-Id: I5a7293e28d87145ab7d9f1af6adc3cad11e4c20e
2015-01-14 22:43:04 +01:00
jenkins-bot 049b5798f2 Merge "[BrowserTest] Add test for missing parameter error msg" 2015-01-14 16:14:42 +00:00
Cmcmahon 295f9f81b1 [BrowserTest] Add test for missing parameter error msg
Test checks for 'Required parameter missing' message, 'Go back'
and 'Continue anyway'.

Paired with Rummana writing this

Change-Id: I9c3aab7f7af9ccde8f0dadd2839a7a698f7341ee
2015-01-14 16:04:12 +00:00
jenkins-bot 75f0d37466 Merge "[BrowserTest] update Cite test for new Journal fields" 2015-01-14 16:03:02 +00:00
James D. Forrester 43dce58872 Update VE core submodule to master (65dcbaf)
New changes:
7f99547 Localisation updates from https://translatewiki.net.
cff4f8d Emit position after opening/closing a window
650bbed Create separate message for find-and-replace-done
18b0f50 build: Bump copyright notices to 2015
dce233a Localisation updates from https://translatewiki.net.

Change-Id: I598da3198bd44188b15af91ca41983174ca0930e
2015-01-13 18:25:30 -08:00
Cmcmahon 7b9cf21dec [BrowserTest] update Cite test for new Journal fields
Maintenance

Change-Id: I36d0c8b438e8fa1847c3947ad52e15d2aadbcfb6
2015-01-13 15:14:26 -07:00
jenkins-bot c878a3e7e9 Merge "build: Bump copyright notices to 2015" 2015-01-13 16:21:37 +00:00
jenkins-bot 4e5d279b85 Merge "Toolbar: Make save button progressive, not constructive" 2015-01-13 15:35:46 +00:00
Amir E. Aharoni 7c128f9a4a [BrowserTest] Make the Save page element language independent
This element used the English label. It should just use
the class to be language independent.

I tested by running VisualEditor_save_dialog scenario
in language screenshots for the Persian language. It fails
on master because of the English label and passes with this commit.

Change-Id: I77955b3dfabbf6a15885c085e3fbdd447b04b4db
2015-01-13 13:05:35 +02:00
jenkins-bot 19270a31d0 Merge "[BrowserTest] Change the Heading menu item from a to span" 2015-01-13 10:25:31 +00:00
Amir E. Aharoni 7a4ec947fa [BrowserTest] Change the Heading menu item from a to span
Change-Id: I214f8dbc73e38073f6e8dedfb61d75b1e829fa38
2015-01-13 12:21:10 +02:00
Amir E. Aharoni 919d62e66c [BrowserTest] Remove the page settings scenario from language screenshots test
It will be fixed later. It needs better element definition
to run successfully, and until it's properly fixed
it should be disabled to let other jobs pass.

Bug: T86634
Change-Id: Id41d1329d22679b6a61201ceafc81eafa222d909
2015-01-13 12:14:44 +02:00
James D. Forrester 2f8b3e0d96 build: Bump copyright notices to 2015
Change-Id: Ie92dab7411116d3410195c3fb0a3513c664c0c30
2015-01-12 20:34:19 -08:00
James D. Forrester 6ce2210222 Toolbar: Make save button progressive, not constructive
Bug: T86507
Change-Id: I082d1b4ba09abf74e4c6438ef8b93fcc7de7a41b
2015-01-12 17:50:45 -08:00
jenkins-bot abbbdd268c Merge "Update ApiResult handling for mediawiki/core change I7b37295e" 2015-01-13 01:10:14 +00:00