Commit graph

2757 commits

Author SHA1 Message Date
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 6ce2210222 Toolbar: Make save button progressive, not constructive
Bug: T86507
Change-Id: I082d1b4ba09abf74e4c6438ef8b93fcc7de7a41b
2015-01-12 17:50:45 -08: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
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
Translation updater bot 971c6f5008 Localisation updates from https://translatewiki.net.
Change-Id: I8157bd61e0de7daafc8115f975ab45d19cbebe8e
2015-01-09 22:11:58 +01:00
jenkins-bot 7e6cfdf21d Merge "Fix styling of MWCategoryWidget to match MW theme" 2015-01-09 16:36:52 +00:00
Translation updater bot 560cd3edf7 Localisation updates from https://translatewiki.net.
Change-Id: Idce084c8d64bef11dcef790d2c545e5f5cb31965
2015-01-08 22:48:32 +01:00
Ed Sanders 144132bd01 Fix styling of MWCategoryWidget to match MW theme
Having MWCategoryInputWidget inherit from ButonWidget makes things a lot easier.

The mousedown behaviour and the positioning of the popup need work but
that is unrelated to this patch.

Bug: T78039
Change-Id: Ic43e64a6a74b8679a15aa8031207ab722e061ab4
2015-01-08 12:40:15 +00:00
jenkins-bot a84aff99f5 Merge "Work around $.parseHTML( '' ) returning null" 2015-01-07 20:06:38 +00:00
Roan Kattouw f71054d67d Work around $.parseHTML( '' ) returning null
$.parseHTML() always returns an array, except in this one case,
so checking .length of the return value almost always works except
when it blows up in your face.

Filed upsteam as https://github.com/jquery/jquery/issues/1997

Bug: T86056
Change-Id: If133a9df4d573b41b0ecb5bde47b3e6ada053921
2015-01-07 21:02:17 +01:00
jenkins-bot 9b11db5f18 Merge "Use ParsoidVirtualRESTService" 2015-01-07 01:51:06 +00:00
Alex Monk f8e09abdc8 Use ParsoidVirtualRESTService
Breaking change: Introduces new dependency on php5-curl package.

Relies on Id658d925 which introduces this class into core.

Bug: T1218
Change-Id: I2342fa5b0a185f3e8d46d1ba8fa08278970cafb0
2015-01-07 01:43:46 +00:00
jenkins-bot d4aa0aef7f Merge "Add classes to toolbar UI elements" 2015-01-06 20:02:45 +00:00
Alex Monk 9966298593 Re-focus edit summary input when save dialog is ready
I thought this was already being done elsewhere and so removed it back in Ifb8fd9be

Bug: T75675
Change-Id: Ia015c96ec8332af75428f156e4ed7a25184db96b
2015-01-06 00:54:02 +00:00
Translation updater bot afb0ba2eb1 Localisation updates from https://translatewiki.net.
Change-Id: I9c079b997f247fdef38631d1246842f50fab3c80
2015-01-05 23:09:03 +01:00
jenkins-bot d3194051e7 Merge "MWSaveDialog: Correct whitespace" 2015-01-05 21:09:08 +00:00
Bartosz Dziewoński 74db35b93c MWSaveDialog: Correct whitespace
Change-Id: I9f2ad375bc04e798aa4d2f2a8097a4af0a2b2e4d
2015-01-05 22:05:42 +01:00
jenkins-bot edad08090d Merge "Fix save dialog styling for MediaWiki theme" 2015-01-05 19:33:18 +00:00
Ed Sanders 85988c67ce Fix save dialog styling for MediaWiki theme
* Remove rounded corners.
* Change which borders are used as they change colour on focus.
* Fix margins.

Change-Id: I44f725dfeec5c26f95ba5368ca3848272d66e5be
2015-01-05 19:20:30 +00:00
jenkins-bot 178fdf284c Merge "Fix teardown order of MWAlienExtensionsInspector" 2015-01-05 18:18:54 +00:00
Ed Sanders 9a3c03b553 Fix teardown order of MWAlienExtensionsInspector
Local teardown process was jumping to the front of the queue
resulting in the attributeInputs being emptied before they
were read in updateMwData.

Bug: T85818
Change-Id: I24cb490996048e514895c359dedf5945acdecb0a
2015-01-05 17:58:31 +00:00
jenkins-bot d68c2daa86 Merge "Don't break "Edit source" link after VE has closed" 2015-01-05 13:28:42 +00:00
jenkins-bot 472e149e4b Merge "Update bugzilla links to phabricator" 2015-01-05 12:07:36 +00:00
Translation updater bot deaa5e5cd3 Localisation updates from https://translatewiki.net.
Change-Id: Ibdecb2cc7d096863ec5540b87e40c4516ff5ddd1
2015-01-04 21:52:03 +01:00
Translation updater bot 1653fcc5eb Localisation updates from https://translatewiki.net.
Change-Id: Ic7c6d5c09ff4ac961ee21ca8ce55a317576e4636
2015-01-03 23:06:07 +01:00
Translation updater bot 3ca91ba1d7 Localisation updates from https://translatewiki.net.
Change-Id: I1a2c3fd79e011161ee7895ef73708f8c1f37294b
2015-01-02 22:39:24 +01:00
Alex Monk b539bcd4af Update bugzilla links to phabricator
Bug: T75733
Change-Id: I4bf870b19feac0ee10677829daeb3d46eba3d9d6
2015-01-02 15:47:28 +00:00
Alex Monk 9600d28ebc Don't break "Edit source" link after VE has closed
Bug: T85552
Change-Id: I6db6fcff24110e749e3a0c1aa7c0528527b53d44
2014-12-30 21:07:04 +00:00
Translation updater bot 80b39cd2d1 Localisation updates from https://translatewiki.net.
Change-Id: I25f7afc115e59f7c84f2db939b6c8867206001d8
2014-12-30 21:15:14 +01:00
Amir E. Aharoni cd4bd7a73c Add classes to toolbar UI elements
This cleans up the selectors for the elements on the toolbar
so that they can be tested.

Class names in the form of ve-test-* are added to elements
that have words for labels: 'Paragraph', 'Cite', 'Insert'.
There is no other way to look up these elements in the DOM
except using the UI text, but it is different in different languages,
so this is unusable for the language_screenshots job,
which is multilingual by its nature.

Bug: T76143
Change-Id: Ib0cb67151d893a5d2efccf798d6b25d197ed34d2
2014-12-30 12:16:44 +00:00
Amir E. Aharoni 84629d1b6c Clarify a comment and correct its spelling
Change-Id: Idd1334d60822a1bfaae2354bca6cb277016f81f7
2014-12-28 00:51:52 +02:00
Translation updater bot cad2056fc9 Localisation updates from https://translatewiki.net.
Change-Id: I2071d84053b2d3465bc66018fc1cbd9bc603d769
2014-12-27 19:55:21 +01:00
Translation updater bot d8e22ca0a0 Localisation updates from https://translatewiki.net.
Change-Id: I48159d5b2b76b993e7308639a84759111e68284e
2014-12-26 09:48:42 +01:00
Translation updater bot 1d73f6b19f Localisation updates from https://translatewiki.net.
Change-Id: I1b29109b8a6ed00d52b7c46ca062394c9f792e57
2014-12-23 21:43:58 +01:00
Translation updater bot fc5451f68b Localisation updates from https://translatewiki.net.
Change-Id: If171c89cdcb8ae66743560d72833590ba4976034
2014-12-22 22:48:38 +01:00
Translation updater bot 0458bd4be3 Localisation updates from https://translatewiki.net.
Change-Id: I0bf3cc41c2cb942c30c9a2ff58744e3ee8253ae8
2014-12-20 22:29:34 +01:00
Cmcmahon 2ebbd0f038 [BrowserTest] This test is unreliable in any version of Chrome
The issue is that when running automatically, upon loading the
page to be edited a second and third time, the cursor ends up
in a random place within the existing text of the article.

The test expects the cursor to always be at the start of the
article text, and this happens in Firefox.

I did a cursory check and I could not reproduce the issue of random
cursor placement upon multiple edits to the same article. There
may be a bug here, but it is not trivial to reproduce.

So let's take this test out of the Jenkins builds in the service
of more reliable green tests.

Change-Id: Ie3dd76c5b40f3035d43e6f0a06327adb70900f60
2014-12-19 09:34:20 -07:00
Translation updater bot a5d417f43f Localisation updates from https://translatewiki.net.
Change-Id: I2f9bb82c98b8091a4150c2b457a815b0576da4ba
2014-12-18 23:24:17 +01:00