Commit graph

7771 commits

Author SHA1 Message Date
Ed Sanders 71395e1fa4 Wait for onDocumentFocus to happen before setting section range
Bug: 65928
Change-Id: If76408b6b89541f0ecb065d4860e0652b6bdebb5
2014-06-15 13:07:32 +01:00
Translation updater bot 1c0f331c70 Localisation updates from https://translatewiki.net.
Change-Id: I521ac84afbfbbca298d81321c9f0ec9a709c17bc
2014-06-14 19:17:46 +00:00
Moriel Schottlender e2105be50b Insert inline image inside list to the existing paragraph
When converting from block to inline image inside a list, insert
the image into the existing paragraph instead of wrapping it in
a new paragraph.

Bug: 65924
Change-Id: Iefbb2a9ae536f51987bdd1aa8b7269bf6245d2b0
2014-06-13 18:07:24 -04:00
Translation updater bot a55c322ecd Merge "Localisation updates from https://translatewiki.net." 2014-06-13 20:52:58 +00:00
Translation updater bot d99a9e8a88 Localisation updates from https://translatewiki.net.
Change-Id: I8df8b7c3ef7f2a56e0bca988dca29401c3f99994
2014-06-13 20:52:02 +00:00
Ed Sanders 8bbd8f6d47 Add targets missing from jquery.i18n libraries
Bug: 66594
Change-Id: I6e1024b0f636b3a18d1073f5c38b9feea340b583
2014-06-13 18:53:02 +01:00
Cmcmahon a006cf0724 [BrowserTest] update ruby gems
This is to pick up the latest mediawiki-selenium gem. We have
removed the HTTP:Persistent gem, which should make builds
slightly slower but also more reliable.

Change-Id: I8d6bfb32e2ed4196186db563838bc025d4c378f6
2014-06-13 08:36:08 -07:00
Amir E. Aharoni 241fb7f26c Add more authors from git shortlog -s -n
Change-Id: I1a7e0c00118d16e9dc2734a274e13f57a907748a
2014-06-12 14:58:28 -07:00
Translation updater bot a1984590b3 Localisation updates from https://translatewiki.net.
Change-Id: Ib68a8d95cdf59d9a629597de027a9938d683b84d
2014-06-12 21:40:14 +00:00
Krenair dedc89b5ff Update displaytitle on save
Also fix a couple of missing param docs

Bug: 50341
Change-Id: I1e73153dca5eb9343bbcda1fc2f9799e72f6f03c
2014-06-12 22:21:35 +01:00
Ed Sanders 0791d86b77 Update VE core submodule to master (4d919d2)
Implement new language platform functions.

Also remove unused MWLanguageSearchDialog and MWLanguageSearchWidget.

New changes:
4d919d2 [BREAKING CHANGE] Move language functions to the platform

Change-Id: I54c0a8e5816a3c81851f95f1d3062a6091a9f4a3
2014-06-12 19:42:35 +00:00
jenkins-bot a20e54c20a Merge "Update VE core submodule to master (356f325)" 2014-06-12 19:38:59 +00:00
jenkins-bot 82696bcc5d Merge "Provide a script to automatically list recent commits for pre-deployment review" 2014-06-12 19:36:23 +00:00
Roan Kattouw ad2793f6e6 Update VE core submodule to master (356f325)
New changes:
d36f233 Don't refocus the document in onModelSelect
d22d183 Rebuild .html files for ContextWidget addition
1035ecc Update OOjs UI to v0.1.0-pre (c5ae888f67)
356f325 Improved layout of language input widget

Change-Id: I9620d8dc985ec4aceedf70ee342e0537c44dfceb
2014-06-12 12:35:34 -07:00
James D. Forrester 967d69c930 Provide a script to automatically list recent commits for pre-deployment review
Change-Id: I248ff783e5686d1646fb0814651d8f48d906230f
2014-06-12 12:29:18 -07:00
Ed Sanders 1169ebf801 Update eg-iframe with build script
Change-Id: Id8c943d14f9292cba33a4a06c319bfa83a9e344f
2014-06-12 20:27:54 +01:00
jenkins-bot f716ba7314 Merge "[BrowserTest] create a Template at run time" 2014-06-12 17:05:49 +00:00
Cmcmahon d82a0eabd8 [BrowserTest] create a Template at run time
For the case of a bare wiki, make a page Template:Seleniumtest
so that something will show up when typing into the lookahead
box in the Template inspector

Note that it may take a small amount of time for the new
Template to be available to VE. If this test fails on
the first run in a bare wiki, it should pass on the
second run ,once the Template is indexed by the
search back end.
Change-Id: I70d1ff39c2fd01bb0aeee89d3c090d372b427f5b
2014-06-12 09:24:08 -07:00
Krenair 638ad9e985 Wrap external URL protocols regex in brackets.
Bug: 65547
Change-Id: Ie69bfa2bbf3db01b89242655c8aa36c2483e7265
2014-06-12 17:05:43 +01:00
Krenair 0abbc2b02b Allow VE users to change displaytitle in advanced settings dialog
Some parts of this are heavily based on how the existing defaultsort stuff works.

Relies on I9bb80b01 and Iba2fff95

Bug: 56868
Change-Id: I5f0ce2ec36e82b04d9e1357b14046867c1dd3b60
2014-06-12 01:27:57 +00:00
Trevor Parscal 06f00d73ae [BREAKING CHANGE] Update VE core submodule to master (43a48cb) for window process cleanup
* Update size of save dialog earlier on, and swap back to save panel in
  save dialog on setup instead of ready to avoid scaling and sizing
  simultaneously
* Update use of closing/closed/opening/open events to use
  setup/ready/teardown events instead

New changes:
43a48cb [BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (9f4f250f88) for window process cleanup

Bug: 65705
Bug: 65343
Bug: 60843
Change-Id: Idf6f85ae12f6ca80fde57a400cb5b11270938c1a
2014-06-12 00:42:13 +00:00
Roan Kattouw 7575ee6db3 Update VE core submodule to cf1945f60e3d1d7bc54c9ef5f90ac3ebd1f3d42b
New changes:
6fecd98 Better measurement of focusable node for context menu
9166bcd Special case for shielding of generated content wrappers
77903da Centre callout on context menu for small focusable nodes
1f8ac6d Make highlighting of context widget items less loud
48c57d3 Localisation updates from https://translatewiki.net.
a00d8ac Check language's direction rather than global direction in LanguageAnnotation description
7923e6d toLowerCase language code when searching for autonym
8eb4a71 Re-enable apply button in action dialog on close

Change-Id: I56bd961110d9fa505db1d7472caa1fd93519d284
2014-06-11 17:32:52 -07:00
jenkins-bot 134b4255b4 Merge "Remove setValue call from live extension setup" 2014-06-11 23:45:41 +00:00
jenkins-bot 502e02e360 Merge "[BrowserTest] Update login tests to use api" 2014-06-11 23:27:26 +00:00
jenkins-bot 968bec0a40 Merge "[BrowserTest] remove experimental cursor test" 2014-06-11 23:26:55 +00:00
Cmcmahon 81ee97ba54 [BrowserTest] remove experimental cursor test
This never did work properly, it was kept around as a toy

Change-Id: I1787b274cdd9297e906f9076b7d4135f7a29782b
2014-06-11 16:24:38 -07:00
jenkins-bot 0898f8e7c6 Merge "Set traditional galleries to inline-block to get correct width" 2014-06-11 22:28:11 +00:00
jenkins-bot 860b535bda Merge "Fix terrible Hiero CSS" 2014-06-11 22:27:22 +00:00
jenkins-bot 672b27fcfc Merge "[BrowserTest] Ignore puppet-managed configuration" 2014-06-11 22:19:03 +00:00
Dan Duvall 65acd49edf [BrowserTest] Ignore puppet-managed configuration
Change-Id: I19011c41a91d0cd3d4116ed6ae75894c232e970e
2014-06-11 14:51:58 -07:00
Translation updater bot 439461fefb Localisation updates from https://translatewiki.net.
Change-Id: I54aee9a37c9274259df173e9f842ae7bdeddd0f4
2014-06-11 20:41:50 +00:00
Ed Sanders 26535382e5 Remove setValue call from live extension setup
It's already done by the parent, and done in a more complex manner
(with whitespace preservation) which this destroys.

Change-Id: I0385abe4093223b1804b11d77222cf8212a6360f
2014-06-11 20:30:47 +01:00
Ed Sanders f4de32e56c Fix terrible Hiero CSS
Makes calculating shields much easier.

Change-Id: Icf61b4bf6df7f7cc4a9650e8da972eca369cadf2
2014-06-11 20:20:21 +01:00
Roan Kattouw 10cda9359a Update VE core submodule to master (fc52878)
Remove RelocatableNode mixins for new FocusableNode.

New changes:
fc52878 [BREAKING CHANGE] Merge RelocatableNode into FocusableNode

Change-Id: Id8ce497b0fd1ff7732f68aa1ae8af4f4f8f9db0f
2014-06-11 11:14:46 -07:00
jenkins-bot 4ba3268498 Merge "Don't select contents of textarea in extension inspector" 2014-06-11 17:46:48 +00:00
Timo Tijhof 792e7db351 ve.dm.Converter.test: Use teardown to restore mw.config instead of ad-hoc
Follows-up I90273786ac186d.

QUnit.newMwEnvironment() is a utility provided by MediaWiki core
that returns an object with 'setup' and 'teardown' that automatically
provides a new sandboxed mw.config before each test and restores
the original after each test.

Change-Id: I24ac5d8be278df7070093fb84bcbe3720be18791
2014-06-11 18:19:53 +02:00
Cmcmahon e9cc4b441b [BrowserTest] Update login tests to use api
This should make it possible to run all of the VE test suite
against an arbitrary wiki (with VE installed) including
the latest vagrant image with VisualEditor role enabled

Tested on the vagrant image and on beta labs

Change-Id: Ib249e4ffb607210756bb110187c7e2864b0c83f5
2014-06-11 09:14:17 -07:00
Cmcmahon a6b8d755fa [BrowserTest] Remove obsolete test
Uses old version of api call and doesn't actually do much useful

Change-Id: Idfd831a89ed77e475e26925d23f8b62a8e4aa50e
2014-06-11 08:12:11 -07:00
Ed Sanders ab2af54ff9 Set traditional galleries to inline-block to get correct width
Prevents over-sized shields.

Functionally (but not logically) dependent on I8a532b20 in core.

Change-Id: I12a1a76a6dbef9b365035ad8c577243a3420b967
2014-06-11 14:31:27 +01:00
Ed Sanders c0221066d7 Don't select contents of textarea in extension inspector
Assume this was copied over from annotation inspector
but doesn't really make sense for a large textarea.

Change-Id: If731d22d09fc4c5636301a3da3089096555a9dc1
2014-06-11 14:26:38 +01:00
Ed Sanders 55bab0d77c Fix typo in class name
Follow up to Ia10987fb which fixed some but not all the typos
and in so doing broke functionality.

Change-Id: Idce901e04f09b2b34c45081d622ee161036e6c90
2014-06-11 14:21:25 +01:00
Roan Kattouw 310601ef47 Update VE core submodule to master (e1b0e33)
Remove ProtectedNode mixins for new FocusableNode.

New changes:
e1b0e33 [BREAKING CHANGE] Merge ProtectedNode into FocusableNode

Change-Id: Ie515704163c24317739fd34d35094b9ada6bfa66
2014-06-10 16:52:49 -07:00
jenkins-bot f7f0f7127b Merge "Update VE core submodule to master (ba8872e)" 2014-06-10 20:55:24 +00:00
jenkins-bot bbe51a8bee Merge "Disable/Enable alignment select widget with checkbox" 2014-06-10 20:52:46 +00:00
Roan Kattouw 1455c72a35 Update VE core submodule to master (ba8872e)
Replace instances of target.$document, which was removed
in VE core.

New changes:
8083623 [BREAKING CHANGE] Remove $document cache from target
9256158 Cleanup target properties
cc0d71f Multi-surface fixes
ba8872e Localisation updates from https://translatewiki.net.

Change-Id: Ibff83cae770c056ed64bcf438ed74b44d929cdc0
2014-06-10 13:52:34 -07:00
Translation updater bot cda3220842 Localisation updates from https://translatewiki.net.
Change-Id: I3c88217b3e34782e74d167bcd33644dd8d38fed2
2014-06-10 20:45:47 +00:00
Moriel Schottlender 80d1240734 Disable/Enable alignment select widget with checkbox
The test of whether to update the model should only apply to model
and not GUI operations.

Change-Id: I594793cbf69b41cd8fe02067e9985dd1030af95c
But: 66288
2014-06-10 15:18:36 -04:00
Moriel Schottlender 9f2d31cfa0 Disable the size widget for 'frame' images
Frame images are not resizable; disable the media size widget when
the frame type is selected.

Depends on the change in ve-core:
Id1010798d30e2928358acb5694c429b9ab68ad57

Bug: 66353
Change-Id: I8c8da8933c51ba709a834731425d19445009673f
2014-06-10 18:43:25 +00:00
jenkins-bot 5f063f4e5d Merge "Initialize 'default' size properly in media edit dialog" 2014-06-10 18:41:46 +00:00
Trevor Parscal 26186c3c6f Update VE core submodule to master (8f8d29a)
New changes:
84a2e6f Reorganize initialization of default size in MediaSizeWidget
e8d0e8c Update OOjs UI to v0.1.0-pre (99068355d6)
f0e9ad9 Allow for the disabling of the MediaSizeWidget
25c4fce Tighten up context menu items

Change-Id: Id6c97cc3713d22490c7afd806eb9eee282fefd85
2014-06-10 11:25:57 -07:00