Commit graph

9324 commits

Author SHA1 Message Date
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
James D. Forrester 9625bd2c99 MWSaveDialog: Make the diff screen a larger rather than large size
Bug: T78823
Change-Id: If14acbeb8449e27e692bc52556c1d31305b4c54a
2015-01-16 16:04:05 -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
Alex Monk 1e8929993d MWLinkTargetInputWidget: Check title is valid in MediaWiki
Bug: T86709
Change-Id: Ia399d3e8847d520b5d57baa302de8197fdea0787
2015-01-16 02:46:22 +00:00
Bartosz Dziewoński 6de4ed2f26 Change uses of LookupInputWidget to LookupElement
Also moved around some code from MWCategoryInputWidget to
MWCategoryWidget to be a bit less evilly interdependent.

Change-Id: I0b8a58fb669e232a990b19c4b7f872a320bfab58
2015-01-15 18:26:30 -08: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
Bartosz Dziewoński 4cce592cce Don't rely on 'user' and 'site' modules working correctly
I think somebody somewhere pointed to this as the reason why VE
wouldn't load when user's common.js has syntax errors, but I actually
can't reproduce that. Not sure if this is needed, but looks like a
good idea anyway.

(Once more, with feeling. Reverted broken attempt: aa531488.)

Change-Id: I252c5c20f75b3bbea51200560408dc4cfc7174f6
2015-01-13 19:18:54 +00: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
Translation updater bot dd318fc581 Localisation updates from https://translatewiki.net.
Change-Id: Ic824b48cbadb9038feb580deaab3309b27198c30
2015-01-12 22:40:30 +01:00
Moriel Schottlender cc293dc4c4 SurfaceWidgets should listen to history
The history event reflects actual changes, rather than the transact
event that masks staged changes done to the document.

Bug: T85845
Change-Id: I1faeb97677540f08c512b48b47fafe28b1072579
2015-01-12 11:51:44 -08:00
jenkins-bot 213c0a2367 Merge "Revert "Don't rely on 'user' and 'site' modules working correctly"" 2015-01-12 19:00:28 +00:00
Jforrester c17e3f89c6 Revert "Don't rely on 'user' and 'site' modules working correctly"
This reverts commit aa53148852.

Bug: T86550
Change-Id: Id97dec739939312caaa10d36197f105a595c1365
2015-01-12 18:49:39 +00:00
James D. Forrester 05eb66c264 Don't load OOjs UI i18n strings as core does this already
Change-Id: I7e0a311701f1ee8141bba457acba097b79bdc810
2015-01-12 09:27:36 -08:00
jenkins-bot 2b9dc1a129 Merge "Don't rely on 'user' and 'site' modules working correctly" 2015-01-12 04:00:15 +00:00
jenkins-bot 474ef13158 Merge "ve.dm.{MWTransclusionModel,MWTemplateModel}: Remove unused parameters" 2015-01-12 01:17:26 +00:00
Translation updater bot c27bd6f881 Localisation updates from https://translatewiki.net.
Change-Id: I9febe4590309b6f4ff6ace943a541f075781ae31
2015-01-11 22:17:51 +01:00
Bartosz Dziewoński 9e5ec5cefb ve.dm.{MWTransclusionModel,MWTemplateModel}: Remove unused parameters
The 'origin' parameter to the constructors has been removed in 51e096d6.

Change-Id: I885f75c381cea013d32d408c7b26de0fa00629c2
2015-01-11 19:25:17 +01:00
Bartosz Dziewoński aa53148852 Don't rely on 'user' and 'site' modules working correctly
I think somebody somewhere pointed to this as the reason why VE
wouldn't load when user's common.js has syntax errors, but I actually
can't reproduce that. Not sure if this is needed, but looks like a
good idea anyway.

Change-Id: I3abecacf083c1c9dfb2ea30207a9911eeea54b50
2015-01-11 19:01:56 +01:00
Translation updater bot a9f3abbead Localisation updates from https://translatewiki.net.
Change-Id: Ie1981123c61c1129c6488118360c89d665a8bb3d
2015-01-10 22:04:08 +01:00
James D. Forrester bf34ebf692 Update VE core submodule to master (535dcb3)
New changes:
5db5254 Localisation updates from https://translatewiki.net.
6abb968 Remove redundant rows/cols after cell merge
794f6ec Localisation updates from https://translatewiki.net.
0deeed3 Localisation updates from https://translatewiki.net.
535dcb3 Update OOjs UI to v0.6.2

Change-Id: I6d4d1d87c15d8bcb214e419e30e7c361a22f95cf
2015-01-09 17:54:35 -08:00