Commit graph

6381 commits

Author SHA1 Message Date
Alex Monk de2d5bd31b Don't confirm if there's no changes when switching to edit source mode through the page options menu
Also use a simpler way to discard changes

Bug: 68229
Change-Id: I1efc40f14fca0f743df699a4f3aadd4ba3a249e2
2014-07-23 00:23:53 +00:00
Roan Kattouw 3424721aac Followup b6cc76d4: call parent's onSetup/onTeardown
Otherwise .data( 'view' ) doesn't get set.

Bug: 68415
Change-Id: Id4d8351f6d1d3193de6279bddcfe18d09b3db245
2014-07-22 17:15:13 -07:00
jenkins-bot f7c7efbad7 Merge "test: Move mw into the global list of globals for VE-MW" 2014-07-23 00:02:22 +00:00
James D. Forrester 413f6e82fa Mention at the top of the MW-specific ve.ce.Surface.test file what it is
Change-Id: Icadbf6afbb7d1b9f3bf7bc65ac3d505b4c091275
2014-07-22 23:41:27 +00:00
jenkins-bot 016c93c29b Merge "Auto-open "Add parameter" part of template dialog when tabbed to or opening with no required/suggested params" 2014-07-22 23:37:41 +00:00
jenkins-bot dec052a4d3 Merge "Deprecate 'live' event in favor of 'setup' and 'teardown' in MW" 2014-07-22 23:36:38 +00:00
Moriel Schottlender b6cc76d49a Deprecate 'live' event in favor of 'setup' and 'teardown' in MW
See also Ieddbf5c684eb0edc3130034de64eb284aeaebbda

Bug: 55505
Change-Id: Ib48ef4f62ac53d41abb69f275f51da3d8b85ce0e
2014-07-22 23:34:32 +00:00
jenkins-bot a602c268d8 Merge "Put "re-use reference" in the toolbar "Cite" menu, and give it an icon" 2014-07-22 21:30:33 +00:00
Translation updater bot 16dccdb527 Localisation updates from https://translatewiki.net.
Change-Id: I1636b3550f51933ad3faf35d69317fd0484b8889
2014-07-22 23:03:10 +02:00
James D. Forrester a9356992d8 Put "re-use reference" in the toolbar "Cite" menu, and give it an icon
Bug: 68201
Change-Id: I9fc61e498748fb086c3e506959bee2438b8cbea6
2014-07-22 13:10:06 -07:00
jenkins-bot 107ce12f9d Merge "Fix heights of Reference, ReferenceList and Template dialogs" 2014-07-22 16:11:39 +00:00
Vikas S Yaligar e0e1b38f13 [BrowserTest] Language screenshots are uploaded every 5 seconds
Change-Id: I25b7842b827b9d9366aeafb423b1884271bb39f0
2014-07-22 19:09:06 +05:30
Alex Monk 42db347213 Auto-open "Add parameter" part of template dialog when tabbed to or opening with no required/suggested params
Bug: 55925
Change-Id: I8475074e25de3969717a6d4dbb88bbb0000ebb4e
2014-07-21 22:38:05 +01:00
Translation updater bot a7e395f0b9 Localisation updates from https://translatewiki.net.
Change-Id: If6a2f2596eecea1d3d8848435277cba23da12da1
2014-07-21 21:42:28 +02:00
Cmcmahon 7b7d8c02a4 [BrowserTest] update Save button locator
Change-Id: I2383a279ab170c382f465d3a7c2f4a3e6b275c48
2014-07-21 09:19:55 -07:00
Ed Sanders d4cd816b6f MWReferenceSearchWidget buildIndex optimisations
* Each item builds an MWReferenceModel which creates a document
  slice clone. This is very expensive and we only use the model
  for getting basic attributes, so defer the evaluation of the
  document.
* $.show is expensive and, in this case, unnecessary.

Change-Id: I99abc4c1b17f05559a9cae68b15121a8be6d23fb
2014-07-21 14:44:58 +01:00
Ed Sanders 9bc8d07486 Fix reference dialog focus
Wasn't migrated to processes.

Change-Id: Idb5f614c172378aad5d37bf8f726adad338c3eb1
2014-07-21 13:58:48 +01:00
vikassy 365453f2b3 [BrowserTest] Added @login tag to language screenshot feature
Change-Id: I31f58d4321d8dd251d1a0fcb641ca939a60b1aa0
2014-07-21 17:47:44 +05:30
Translation updater bot aa5c6e9293 Localisation updates from https://translatewiki.net.
Change-Id: Id01027bb596eb6274fee0bbb108f53809b16c18d
2014-07-20 21:11:13 +02:00
Translation updater bot c28a48e7fd Localisation updates from https://translatewiki.net.
Change-Id: I09ff4c6b858071ce4d7488c0ddf781f1ac7ca3eb
2014-07-19 22:08:00 +02:00
James D. Forrester c2f37a0450 test: Move mw into the global list of globals for VE-MW
Silly to have 38 MW-specific files needing to declare that they're using mw.

Change-Id: I97891ed922fe0c37d8c96425a4d23bd15098438b
2014-07-19 17:42:45 +00:00
James D. Forrester ed82afc14c Fix heights of Reference, ReferenceList and Template dialogs
Bug: 68226
Bug: 68232
Change-Id: I93916875a6b4b1e7b837efce33a9aa20857f227a
2014-07-18 19:14:30 -07:00
James D. Forrester cc089d6bd3 Scrap the cancel button from the toolbar
It's unnecessary, big and ugly, way too close to an actually useful button, and
adds oodles of complexity to the mire that is VPT without significant user benefit
whilst taking up an unjustifiably huge amount of the already-over-burdened space.
This means that the minimum browser width for English on default Vector to show
the toolbar correctly is now 945px, down from 1029px.

Bonuses: fix MWCancelConfirmDialog's cancel button to be destructive (it is) and
remove a now-recently-fixed comment asking for the save button to be styled using
a generic class (provided by the constructive flag).

Change-Id: I30dc7020121f0dd6907b61ef674a7cb14eb00652
2014-07-18 16:38:17 -07:00
Translation updater bot 83b65db414 Localisation updates from https://translatewiki.net.
Change-Id: I944856f8e79dcd05e1f49af9b6d2663d3e138df3
2014-07-18 21:30:58 +02:00
jenkins-bot 23a0fcb249 Merge "[BrowserTest] Updated random page step to language screenshot page" 2014-07-18 12:46:45 +00:00
vikassy 06f15fb7eb [BrowserTest] Updated random page step to language screenshot page
Change-Id: Ica2ae78afcba264d222b02923863b8f23452e259
2014-07-18 18:06:23 +05:30
vikassy 8e1c3de801 [BrowserTest] Fixed failing Media Icon test
Change-Id: I1d07398f1b8f999c76dc278ed8950778ba1e8fd9
2014-07-18 11:01:11 +00:00
Translation updater bot e151d32054 Localisation updates from https://translatewiki.net.
Change-Id: Ie60ce37f1516f55b32631eabf712bb5848b6b562
2014-07-17 23:00:51 +02:00
Cmcmahon cda44f8a9e [BrowserTest] support for Chrome
Chrome is strict about z-index stuff

Change-Id: Icc477891ce1a9ad0fa75a77bcdd387bf6ca13c48
2014-07-17 12:08:16 -07:00
vikassy f58d98fcb9 WIP [BrowserTest] Modified conflicting step: I go to the (.*?) page
Change-Id: Ie0ff326890efddf255320da62a2dd1ec46ffae20
2014-07-17 17:09:47 +00:00
Cmcmahon dc4db46539 [BrowserTest] Chrome needs to wait for the inspector
Change-Id: Iface30b72959b75d04beb54aa76d5798920a881e
2014-07-17 09:28:31 -07:00
jenkins-bot a69ab13cf1 Merge "[BrowserTest] Added lots of new scenarios for language screenshot" 2014-07-17 14:40:59 +00:00
Cmcmahon 406a4c31ae [BrowserTest] update locator for correct page text
Change-Id: Ida8ce2da1061d557520654d2a45369828eefad42
2014-07-17 07:00:28 -07:00
vikassy 27390478b9 [BrowserTest] Added lots of new scenarios for language screenshot
Bug: 62737
Change-Id: If30a9acbe772b76f8a2656ccf3f219dbede9853c
2014-07-17 18:48:53 +05:30
jenkins-bot 20205b1e99 Merge "Set title of page to use if discarding changes when changing to the wikitext editor" 2014-07-17 00:08:58 +00:00
Trevor Parscal 49ffef5a0f Close the save dialog on teardown only, not on save
Closing a dialog with specific data means closing it again with
potentially different data, while the dialog is already closing, means
someone wins and someone looses. Silently failing in this case is bad,
because if the first close call was a cancel, producing no side effects,
but the second close call would have produced some side effect, the side
effect would never occur.

The problem here really was that the save dialog needs to be closed
before we can destroy the surface so we can uphold the assumption that
hold and teardown processes are operating on an attached DOM.

The solution is to automatically close the save dialog on teardown,
rather than on save. Since save triggers teardown, this has and identical
user experience.

Bug: 68048
Change-Id: I669448739f168737d4eddd6496189a819ce894b1
2014-07-16 23:51:58 +00:00
James D. Forrester 040ef014bd Update VE core submodule to master (8bb3848)
New changes:
8bb3848 Bring back global/local specific CSS classes

Local changes:
Use global overlay class to target the z-index hack for the Vector skin.

Bug: 68066
Change-Id: If1b6ba0c9035ff32b61d34ee779a95554883a2ec
2014-07-16 23:48:07 +00:00
Moriel Schottlender 2a114815ab Listen to widget changes in MediaDialog
Attach event listener to the alternate text and the media size widget
in the MediaDialog, so that when either of those are changed the
'Apply Changes' button is enabled.

Related to I88c3f3dcc7667b3ffdd2a8a8433cb47b82ba1531

Bug: 67684
Change-Id: I03efbed2f9b2909b055d96b9ae1e27b6d5e2bdbf
2014-07-16 22:46:47 +00:00
jenkins-bot e5fba68036 Merge "[BrowserTest] update switch-edit-mode test for new UI" 2014-07-16 22:43:56 +00:00
jenkins-bot ccbee28161 Merge "Update VE core submodule to master (ad18102)" 2014-07-16 22:43:51 +00:00
Trevor Parscal 1be1c469de Enable mwreference, mwtransclusion modules on all targets including mobile
Bug: 67701
Change-Id: Icdf2a208c9efa7abd897d48aed02bf923328d53c
2014-07-16 22:40:00 +00:00
Cmcmahon d0b8f62276 [BrowserTest] update switch-edit-mode test for new UI
Also add new checks for switch-modal Discard and
Cancel options

Change-Id: I228b0dee1d110f6a72be4966bbc5918f294ab717
2014-07-16 15:38:52 -07:00
Moriel Schottlender e94a185fda Update VE core submodule to master (ad18102)
New changes:
65042de Fix alien test data
83dccbe Add toolbar menu labels to each group for consistency
2e40ef9 Move 'language' tool from the insert to the styling menu, like in VE-MW
6fb21b2 Add toolbar action section to SA demo with keyboard shortcuts tool
f3eb000 ve.ui.Toolbar: Optimise onSurfaceViewKeyUp performance
eb4e9eb Make sure the document is focused when setting a selection
48584d3 Fixes to getRelativeOffset and getRelativeRange		
fcc427f [BREAKING CHANGE] Remove generatedContents argument from afterRender
825e4be Documentation fixes in test utils		
dbbbe0b Unit tests for showSelection		
1ba9234 Don't handle up/down on focusableNodes even if backwards
a667b87 Remove label from 'insert' menu, and instead use a large plus icon
88885b1 Localisation updates from https://translatewiki.net.		
1f3b79f Initialize data first		
18369b1 Add 'clone' and make 'getDimensionsFromValue' static in ve.dm.Scalable		
92e6b7b Switch to 'custom' when MediaSizeWidget updates		
d0cd87e Localisation updates from https://translatewiki.net.		
1ee21ff Remove lies from documentation		
164f07f Safely ignore requests to open unrecognized windows

Local changes:
Work on a cloned scalable when editing images

Make sure the image model handles a cloned copy of the node's
scalable object, which is then shared with the media size widget.

Bug: 67687
Change-Id: Ie3676b715f5bae3d83da03d667cef3a6a847e212
2014-07-16 22:38:09 +00:00
Alex Monk c1c80f6985 Set title of page to use if discarding changes when changing to the wikitext editor
Turns out it's a bad idea to do most testing on the default page

Bug: 68121
Change-Id: Ie9729dba4e8ca690625a6553703e9ff30cb5106e
2014-07-16 23:15:26 +01:00
jenkins-bot de9491ea0e Merge "Make a message dialog for cancelling VE" 2014-07-16 20:45:28 +00:00
jenkins-bot 1ff53d1b77 Merge "Don't allow document save if we're already tearing down the surface" 2014-07-16 20:45:24 +00:00
Translation updater bot 2c390f41ec Localisation updates from https://translatewiki.net.
Change-Id: Ifdf8cb5fa2726e419277638ae1f0c06978345c6c
2014-07-16 22:02:30 +02:00
Cmcmahon ea96b33c2c [BrowserTest] update template test
Change-Id: I0956bf58e15b1998b995bbcaddbe2514a8d7a058
2014-07-16 12:21:57 -07:00
jenkins-bot bb213db797 Merge "[BrowserTests] update References test for new UI" 2014-07-16 18:27:03 +00:00
Cmcmahon 48044d0ec5 [BrowserTests] update References test for new UI
Change-Id: I9c91a195cb42136422dec59e22d4a3164deaa8d9
2014-07-16 11:24:37 -07:00
Cmcmahon 0791e5c761 [BrowserTests] update Options test for new UI
Change-Id: If435620bc730a3b9d04918fcd4181e08d286e5a1
2014-07-16 11:12:46 -07:00
Alex Monk b9ad2fb406 Don't allow document save if we're already tearing down the surface
Otherwise you get "Uncaught TypeError: Cannot read property 'messages' of null"
if you press the save button late enough in the saving process. The bug refers
to a different error which I have not been able to reproduce.

Bug: 68073
Change-Id: Ia8fa325f1450329b6e0e4ee9af5302aa4857d637
2014-07-16 17:52:00 +01:00
jenkins-bot 97d286aa0f Merge "[BrowserTest] update links test" 2014-07-16 15:27:24 +00:00
Cmcmahon a8c33dfdd7 [BrowserTest] update links test
This may not be the last update, I want to see how this works in
the Jenkins build

Change-Id: Ib2123d030bc13e84099601a858a5f69aee3a03a4
2014-07-16 08:24:22 -07:00
Cmcmahon 8d39658d6c [BrowserTest] update media test for new UI
Change-Id: I35f75b8cb0fac27167d4f949069c48baac499b02
2014-07-16 07:37:36 -07:00
jenkins-bot 726fae1cc8 Merge "Rename "test" folder to "tests"" 2014-07-16 01:06:02 +00:00
Željko Filipin f850ddf73b Rename "test" folder to "tests"
All other repositories have tests in “tests” folder. For more
information see:

http://lists.wikimedia.org/pipermail/qa/2014-July/001663.html
http://lists.wikimedia.org/pipermail/qa/2014-July/001667.html
http://lists.wikimedia.org/pipermail/qa/2014-July/001672.html

Change-Id: Ib1e4fa4b7203bd8217615db1ceac23a329c081f1
2014-07-15 18:00:32 -07:00
jenkins-bot 1c099f4184 Merge "Always initialize data before use" 2014-07-16 00:52:09 +00:00
Cmcmahon 2786af8625 [BrowserTest] Update edit test for new UI
Change-Id: Ib126e2f429695d812bc2af566e21b2934b0f0fe9
2014-07-15 17:21:49 -07:00
Alex Monk 54a1a85e6e Make a message dialog for cancelling VE
Confirm dialog was replaced in refactor, so until this is merged the 'Cancel'
button is broken.

Bug: 68068
Change-Id: I77d1c82bf0d68013eef361174a134860a197cd44
2014-07-16 00:07:24 +01:00
Cmcmahon c9646604b0 [BrowserTest] Update bullets test for new UI design
Change-Id: I2dd9076bea844116ca5cb30f7d290081102ed859
2014-07-15 15:54:54 -07:00
Bartosz Dziewoński 5ed43c266a MWLinkNodeInspector: Actually preserve annotations when converting to link annotation
This was implemented, but didn't work because the node was removed
before its annotations were copied.

Also fixed:
* Don't do an unnecessary transaction to change attributes of a node
  we're going to remove anyway.
* Apply the same link href fixups when converting as when not
  (previously, changing the href to 'example.com' and clicking "Add
  label" would break the link in interesting ways).
* Do a single transaction from replacement instead of removal+insertion
  when possible.

Bug: 67377
Change-Id: I0318ae62c799300fb7696506a9736b839e2c8578
2014-07-16 00:50:23 +02:00
Trevor Parscal f30336bc2e Always initialize data before use
LinkNodeInspector was broken when you clicked away/pressed escape, because data was not set.

Normalizing on data being initialized at the top of get*Process methods if used.

Change-Id: I89728ac558545a6f2c325014b6f457ec6bef17b8
2014-07-15 15:49:51 -07:00
jenkins-bot 6f54034e68 Merge "MWImageModel unit tests" 2014-07-15 22:12:13 +00:00
jenkins-bot a9b757a174 Merge "MWTitleInputWidget: Remove prefixColon option and use relative title instead" 2014-07-15 22:10:42 +00:00
jenkins-bot a7f9e955c6 Merge "ve.ce.MWExtensionNode: Don't escape content of wikitext tags on preview" 2014-07-15 22:09:10 +00:00
jenkins-bot a5e1cfcf78 Merge "ve.ui.MWExtensionInspector: Prevent from setting impossible content" 2014-07-15 22:09:06 +00:00
Translation updater bot b37a947f78 Localisation updates from https://translatewiki.net.
Change-Id: Ie46b8801476574031135d86cfda2d75e811111be
2014-07-15 22:08:39 +02:00
jenkins-bot 5a367aec52 Merge "Simplify visualeditor-help-title and visualeditor-timeout" 2014-07-15 18:31:31 +00:00
jenkins-bot 74786a31cb Merge "[BrowserTest] Added support for page elements in iframe" 2014-07-15 13:30:43 +00:00
vikassy e3ecff4dcb [BrowserTest] Added support for page elements in iframe
Bug: 62737
Change-Id: Id60c7268dd6e3e4e755bdc53fef7e7d714d4ab0b
2014-07-15 13:26:09 +00:00
Moriel Schottlender 537e751abe MWImageModel unit tests
Change-Id: I87d1383b383e2a7cd6cb38ed51710cc36a59f63e
2014-07-15 12:47:32 +01:00
Trevor Parscal 8ebea5a75b Close the citation dialog after the apply changes button is clicked
Change-Id: If3976389f0a1574fce993f5b79b9b18067a88878
2014-07-14 17:09:24 -07:00
Federico Leva 760fc0e6ca Simplify visualeditor-help-title and visualeditor-timeout
The less repetition and the less undefined concepts where possible,
the more clarity. Suggestions thanks to James' explanations at
* https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Visualeditor-timeout/en
* https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Visualeditor-help-title/en

Change-Id: I05857e5287f5f15f0206a8faa46922e7aa7c3c1b
2014-07-15 00:00:59 +00:00
James D. Forrester fbdff76263 Update VE core submodule to master (f2277ea)
New changes:
56de6f5 Localisation updates from https://translatewiki.net.
f8bda64 Widgetise demo menu
6ac48d8 Localisation updates from https://translatewiki.net.
365e131 builderloader: Omit value for boolean "disabled" attribute per HTML5
706e4b3 Prevent double counting of DM nodes in getNodeAndOffset
b141a7d Update OOjs UI to v0.1.0-pre (d2451ac748)
c5b3921 Localisation updates from https://translatewiki.net.
1606983 Update reference to ConfirmationDialog to use MessageDialog

Deletions:
* Styles for ve.ui.MWBetaWelcomeDialog - not needed anymore because
  OO.ui.MessageDialog provides them
* Styles for ve.ui.MWGalleryInspector - not needed anymore because
  ve.ui.MWExtensionInspector provides part of them and the rest are being
  replaced by programatic sizing

Modifications:
* ve.ui.MWLinkTargetInputWidget - Added support for validation and href
  getter
* Split message between tool and dialog title for ve.ui.MWEditModeTool
  and ve.ui.MWWikitextSwitchConfirmDialog

General changes:
* Updated inheritance.
* Added manager param to constructors of dialogs and inspectors.
* Updated use of show/hide with toggle.
* Added meaningful descriptions of dialog and inspector classes.
* Configured dialog and inspector sizes statically.
* Configured dialog action buttons statically.
* Interfaced with OO.ui.ActionSet to control action buttons.
* Moved applyChanges code into getActionProcess methods.
* Always using .next in setup/ready process getters and .first in
  hold/teardown process getters.

Change-Id: Ia74732e6e32c0808eee021f0a26225b9e6c3f971
2014-07-14 23:24:45 +00:00
Translation updater bot 73beda2c10 Localisation updates from https://translatewiki.net.
Change-Id: I1f6a557082525ae68b261079a3b7a890be0e26b2
2014-07-14 22:03:53 +02:00
jenkins-bot 5e5e3680df Merge "[BrowserTest] Fixed language screenshot upload script" 2014-07-14 10:00:32 +00:00
vikassy 7ca18bacb2 [BrowserTest] Fixed language screenshot upload script
Bug: 62737
Change-Id: I7be433f711b422c156da863dbcbd30e089cc67c7
2014-07-14 11:58:07 +02:00
Translation updater bot 1ed589eccd Localisation updates from https://translatewiki.net.
Change-Id: I106d07e16120881cafcd59a0c3cbcd30d44a0e96
2014-07-13 22:25:27 +02:00
Translation updater bot ba3ccd46f8 Localisation updates from https://translatewiki.net.
Change-Id: Ia0436f75950d914826f2bb14b82b4a2e6a8a2d6d
2014-07-12 23:25:05 +02:00
Translation updater bot 9524a58bea Localisation updates from https://translatewiki.net.
Change-Id: I33438e5fb2f431d5d48f2ee78efdb55819db57da
2014-07-11 21:58:18 +02:00
jenkins-bot 8b25cb9717 Merge "generateContents -> generatedContents" 2014-07-10 21:58:42 +00:00
Ed Sanders b1fb9c1b82 generateContents -> generatedContents
Change-Id: Idfe609d0830ba2b29901211f56dd355ddf8ab96e
2014-07-10 22:47:48 +01:00
Alex Monk 3acca7cdf5 Fix cite/template dialogs
I1a7fc7f2 broke cite/template dialog - onDescriptionClick is not defined.
I can't find it anywhere in the VE-MW or OOUI source.
Before my change, it was simply a no-op. But now we try to bind it in a way
that breaks everything. This commit just removes that line since it was
apparently not doing anything.

Bug: 67814
Change-Id: I0b9c3318b3de8530e0ba9e355cd73eb7f70a6b5a
2014-07-10 21:37:07 +01:00
Amir E. Aharoni 8e3b544479 [BrowserTest] Rename *langauge* to *language*
Change-Id: I29886571ae9a0a81f977e75a4c1ae4f4ec69dc7b
2014-07-10 15:15:41 +00:00
jenkins-bot 6d8e900d57 Merge "Replace ve.bind( fn, ... ) calls with fn.bind( ... )" 2014-07-10 14:11:43 +00:00
Alex Monk 5054ee94f8 mw.ViewPageTarget: Remove vesection from URL on save/cancel
Bug: 66237
Change-Id: I1cc34176322cb768d1cb9711407ecdf91b3ca767
2014-07-10 14:02:44 +00:00
jenkins-bot f3d183ddfa Merge "MWTemplatePage: Account for template.title being null" 2014-07-10 13:59:01 +00:00
Alex Monk 51142e8b11 Replace ve.bind( fn, ... ) calls with fn.bind( ... )
Bug: 62762
Change-Id: I1a7fc7f27fa737d17f5c6b3d084ef4a35e4bebc0
2014-07-10 13:54:07 +00:00
Timo Tijhof fd83cafa4b MWTemplatePage: Account for template.title being null
Example:
* Transclusion with html comment in target
  {{ Unsigned <!-- ignored -->  |Example}}.
* Transclusion with wikitext expression as target
  {{ {{echo|Unsigned}} <!-- ignored -->  |Example}}.

The first case was handled already (Parsoid strips the comment
when it normalises the target title). The second case, however,
is not handled and ends in template.title being null.

This was already documented (MWTemplateModel#getTitle returns
{string|null}), but not used correctly.

The title of the dialog is unaffected as it fallsback to
displaying target.wt instead of target.title.

Bug: 66724
Change-Id: Ib6696ac3538f6cb9e93da2f6f8666f373247eeb4
2014-07-10 13:49:41 +00:00
Amir E. Aharoni c970f03b1a [BrowserTest] Add screenshots to .gitignore
It's a directory that is created by the language screenshots scenarios.

Change-Id: Iae7dad5836f0abf22bf7f5f947268295aadddfbd
2014-07-10 13:45:50 +00:00
Translation updater bot 9e26fdf0f7 Localisation updates from https://translatewiki.net.
Change-Id: I06a869c905e84dcd41877a370dd98b0f7ca7843c
2014-07-09 20:37:22 +00:00
jenkins-bot 70d0e1487d Merge "Rephrase visualeditor-parameter-search-more" 2014-07-09 16:58:53 +00:00
Amir E. Aharoni 566a5deddf Rephrase visualeditor-parameter-search-more
"More" is usually used in such context and not "other".

Change-Id: I21f70961761e22bef8dce9f58a2f3b0f88c84b28
2014-07-09 09:49:48 -07:00
jenkins-bot b15f090675 Merge "[BrowserTest] Added support for uploading the language screenshots" 2014-07-09 08:58:03 +00:00
vikassy c41b631348 [BrowserTest] Added support for uploading the language screenshots
To use this script:

*Create an environment variable MEDIAWIKI_API_UPLOAD_URL having API URL
of the site where the images are to be uploaded. (Eg: http://commons.wikimedia.beta.wmflabs.org/wiki/api.php)

*LANGUAGE_SCREENSHOT_CODE environment variable should be set.

Run the upload script by: bundle exec ruby upload.rb

Bug: 62737
Change-Id: I1937aa5f02e3bf587ac65d8d11c3ebbb8b1d0528
2014-07-09 14:22:11 +05:30
Translation updater bot 95fe019286 Localisation updates from https://translatewiki.net.
Change-Id: I816d64f9f3d8aee0beb65387c12381f246744c17
2014-07-08 21:03:07 +00:00
Moriel Schottlender c2c046620b Apply 'original size' to images and enable apply button in ve-MW
Depends on core change I243cff5a2d56db48882c343a8bb91153edd96a43

Bug: 66863
Change-Id: If7914c254b70f4b2b9e2788f5755550eb020b21c
2014-07-08 13:11:07 -04:00
Alex Monk 2669f12289 MWTitleInputWidget: Remove prefixColon option and use relative title instead
See Ie554adef which implements this as a method on mw.Title instead.

Bug: 67386
Change-Id: I0d768fac338aed04fd2c0e4e8da8d556f94a4287
2014-07-07 21:59:12 +00:00
Translation updater bot f30c4d6e8d Localisation updates from https://translatewiki.net.
Change-Id: I3e9a17ff64db4c67ce7de914aedb7933c7a04bf6
2014-07-07 20:22:35 +00:00