Commit graph

8023 commits

Author SHA1 Message Date
jenkins-bot 3b277a7a28 Merge "Fix bad jquery 'append' calls" 2014-08-12 22:58:54 +00:00
Moriel Schottlender c4c5add175 Fix bad jquery 'append' calls
There are several incorrect usages of jquery .append() method that
uses an array instead of an argument list. This isn't the proper use
of the method and while it does work now, according to Krinkle,
this might stop working in the near future.

Also see I76decb67db086bb387 for the same fix in ve-core.

Change-Id: I78a0d54ad76ab5401bc0532e636a9aaa2c0c0e04
2014-08-12 22:57:11 +00:00
Roan Kattouw bea40f6a93 Update VE core submodule to master (f443f90)
New changes:
c23d345 Localisation updates from https://translatewiki.net.
2662be5 Localisation updates from https://translatewiki.net.
f04910e Set selection before focusing document
31fc043 Localisation updates from https://translatewiki.net.
b4eed30 Localisation updates from https://translatewiki.net.
40016d7 Disable basic reference on mobile
e4bad2e Localisation updates from https://translatewiki.net.
e476e79 Fix `Transaction.isNoOp` test
3cfccf8 Update OOjs UI to v0.1.0-pre (0e50d2e336)
55d1d03 Add bidi isolation to language annotations
3f2a1c6 Localisation updates from https://translatewiki.net.
a399aee Actually check annotations in paste test
b3b7d67 Add missing messages from MW
c327e1f Localisation updates from https://translatewiki.net.
d52a40a Show metadata in the debug bar
d9c3b90 build: Switch from qunit directly to karma for code coverage reports
b421ac3 tests: Fix some minor issues flagged up by karma and related MW references
35f76d1 Fix bad jquery 'append' instances
7766751 Localisation updates from https://translatewiki.net.
f443f90 Followup 95ee357: make remapStoreIndexes() work again

Change-Id: I04e2ad1ecc31aefc482e81724e28271704fbfd35
2014-08-12 14:57:47 -07:00
Translation updater bot f5681d4900 Localisation updates from https://translatewiki.net.
Change-Id: I8e86d5dcaa3204893733734acf1439414656fc0f
2014-08-12 21:40:40 +02:00
Translation updater bot 306451a7bd Localisation updates from https://translatewiki.net.
Change-Id: I73db49fee0cb6504c640b2c4a7959790a8742be1
2014-08-11 23:15:23 +02:00
Translation updater bot 27e3b03781 Localisation updates from https://translatewiki.net.
Change-Id: Ia9aadb80e468d07e38c28195e9896f0d719bfeb6
2014-08-09 23:31:50 +02:00
jenkins-bot 623b59e4a5 Merge "[BrowserTest] Browser can now zoom out whenever required" 2014-08-07 08:56:49 +00:00
Vikas S Yaligar d6836f1ac5 [BrowserTest] Browser can now zoom out whenever required
Change-Id: I50c3a0a0473d487249fbf7c830cf7d9f5fc528bc
2014-08-07 14:11:42 +05:30
jenkins-bot 402a47044e Merge "[BrowserTest] Added support for highlighting the page object elements" 2014-08-06 14:01:51 +00:00
Vikas S Yaligar 69c665979f [BrowserTest] Added support for highlighting the page object elements
Sample screenshot => http://www.mediawiki.org/wiki/File:VisualEditor_Media_Insert_Menu-en.png

Change-Id: I92e204db4c3e4101bc8a88093359ce199d3dbba1
2014-08-06 13:49:55 +00:00
Amir E. Aharoni 268c8677ee Flip direction buttons in media dialog in RTL
Flip the order of the buttons in the alignment widget
so that they display the directions correctly in both
ltr and rtl.

Bug: 69165
Change-Id: I7bd1d6c89aaef09492ae07eadababd68305b245e
2014-08-06 14:09:43 +01:00
James D. Forrester 48fd057775 Kill off two references to there being a Cancel button
Change-Id: I36f13b2fffcb442c0a4b27d64d388f24c3c3766e
2014-08-06 11:11:12 +01:00
Translation updater bot fce9297b32 Localisation updates from https://translatewiki.net.
Change-Id: Icbd246229cf88a36d82361b4c8d5718e5039b03a
2014-08-05 21:59:55 +02:00
Alex Monk e74e32b5af Tear down meta dialog pages when cancelling
Currently it's only being done when applying, caused by Ia74732e6. We
need the teardown event to reach the page so they can do things like
clear categories.

Bug: 68484
Change-Id: I6c31229121c1477a55ce955354770ed7cdde470d
2014-08-05 16:24:26 +00:00
jenkins-bot 82e979ef87 Merge "Don't send API requests to preview empty (or whitespace-only) edit summaries" 2014-08-04 17:50:34 +00:00
jenkins-bot 7a60841fec Merge "Blacklist annotating link node with more links" 2014-08-03 20:47:27 +00:00
Translation updater bot b360786e97 Localisation updates from https://translatewiki.net.
Change-Id: Ia3d32677f46448d525fd3b7bd018856d5b5adee4
2014-08-03 22:12:44 +02:00
Roan Kattouw c9e04f2211 Don't send API requests to preview empty (or whitespace-only) edit summaries
Change-Id: I1b75a012eebececa5fd53d5ceedb9221648182fb
2014-08-02 19:12:25 -07:00
Translation updater bot 0279f8b512 Localisation updates from https://translatewiki.net.
Change-Id: I3c58c4d41cbfe08951e0b07d4d209f387f21bad3
2014-08-02 22:25:17 +02:00
Bartosz Dziewoński 694c454dcd Blacklist annotating link node with more links
Previously one could select over a link node and linkify the
selection, with tremendously funny results.

Change-Id: Ic5a2132b2d18280099a6024bc4ec2b1333eca98f
2014-08-02 12:34:30 +02:00
jenkins-bot c66bd9f9f2 Merge "Update VE core submodule to master (8a5945c)" 2014-08-01 19:39:17 +00:00
Translation updater bot 2c89820009 Localisation updates from https://translatewiki.net.
Change-Id: I25ed91e2852192fbb946f8abf33f865499623c74
2014-08-01 21:35:18 +02:00
Roan Kattouw c66c9edeec Update VE core submodule to master (8a5945c)
New changes:
96331bf Localisation updates from https://translatewiki.net.
ba0ba78 Followup 23a949844: fix typo in class name for WhitespacePreservingInputWidget
8a5945c Have LanguageInputWidget return lang+dir, not an annotation

Change-Id: If05f29a8680e9475e6b749d82db30a20859f1c41
2014-08-01 12:25:01 -07:00
Inez Korczyński bd716eea55 Fix ve.init.mw.TargetEvents.js to subscribe to events that actually exist and are emitted
Change-Id: I63ea39d0628d33e5d1ced4650b1a166003e362d3
2014-07-31 23:23:00 +00:00
Translation updater bot a1cf2df677 Localisation updates from https://translatewiki.net.
Change-Id: Ie4cf529947723dcc60ccb1fd3fe4eb50f7e7ef09
2014-07-31 22:18:48 +02:00
palerdot 0e3ccfaf94 MWLinkTargetInputWidget: Add styles for invalid link titles
This color is chosen because it is already present as a warning color in
other mediawiki elements like remove button in Link Inspector. A font
weight of bold is also given to make it more prominent.

Things done for this commit:
* A new CSS file 've.ui.MWLinkTargetInputWidget.css' is added.
* Warning text style is added to the class
  '.ve-ui-mwLinkTargetInputWidget-warning' in this file.
* The CSS file is included in the style resources in the
  file 'VisualEditor.php'.

Tested in latest stable firefox, chrome in Ubuntu 14.04.

Bug: 62761
Change-Id: I89e96e0444f8505123f3c653cf2dd6b74fc83623
2014-07-31 18:45:03 +00:00
jenkins-bot ee56ea0ed9 Merge "Use whitespace preserving text input in extension inspector" 2014-07-31 17:38:37 +00:00
jenkins-bot 06e883f66b Merge "ve.ui.MWMetaDialog: Really *ALWAYS* return to normal tracking behavior" 2014-07-31 07:51:26 +00:00
Bartosz Dziewoński bcd9c56701 ve.ui.MWMetaDialog: Really *ALWAYS* return to normal tracking behavior
This #getActionProcess method is kinda weird… introduced in fbdff762.

Bug: 68901
Change-Id: I5007a379445b286884814557a85c6efea5e5d4cc
2014-07-31 09:30:00 +02:00
Moriel Schottlender e095b773b9 Use $.when() in MediaSearchWidget
Use $.when() to check if there were results to the search. This
also makes sure that the 'results not found' message only appears
when it actually should.

Bug: 65321
Bug: 67438
Change-Id: I437ef639918ace1041bb8c9f7fdd04a4e83885eb
2014-07-30 18:35:01 -07:00
James D. Forrester 678cad00bd Update VE core submodule to master (6c2c474)
New changes:
8cab432 ve.ui.AnnotationInspector: Allow content insertion without annotating
f5cbd05 ve.ui.AnnotationInspector: Stop truncating fragments to 255 elements
13d9f5e Update OOjs UI to v0.1.0-pre (dd294dc785)
50c4efd Set a default language for ve.dm.Document if we can't guess it otherwise
b28f2f1 Disable tools other than links and references on mobile

Change-Id: Ib4178c3c7e67135806046decff0bde05a2702f7d
2014-07-30 18:06:52 -07:00
jenkins-bot e8b49ad0b6 Merge "Unselect currently selected item in re-use citation dialog when reopening" 2014-07-31 00:40:39 +00:00
jenkins-bot d449c42058 Merge "Follow-up I569098: Rebuild reference list when reopening as it can change" 2014-07-31 00:39:39 +00:00
Alex Monk 3532497fa2 Follow-up I569098: Rebuild reference list when reopening as it can change
Filed bug 68890 for fixing the performance regression from this.

Bug: 68869
Change-Id: I0564c7a9c61d33cdc8b61b2e69d01733b06de32f
2014-07-31 00:37:33 +00:00
Ed Sanders daf79d9984 Use whitespace preserving text input in extension inspector
Depends on I019b37dc1 in core.

Change-Id: I4e0424b01b10910ad3e05bd9d41776059e1e9653
2014-07-31 00:01:05 +00:00
jenkins-bot e89c64df19 Merge "Update VE core submodule to master (5fdb204)" 2014-07-30 23:59:56 +00:00
Alex Monk 1b873a8ed2 Don't clone internal item node element used for references in re-use citation dialog
It won't be ready at this point

Bug: 67342
Change-Id: Ic1bdc3df8f159cef736b00fbefc6f879a7dcd658
2014-07-31 00:54:06 +01:00
James D. Forrester c6b07fcd50 Update VE core submodule to master (5fdb204)
New changes:
bf5ed78 Fix expandRange( 'root' ) to not include the internal list
1aeb5ce Use native style property names instead of jQuery's css map
2106806 Greatly simplify ve.ce.Surface#getSelectionRect
23a9498 Create a whitespace preserving TextInputWidget and use in CommentInspector
e8d4c45 Update OOjs UI to v0.1.0-pre (3d8475c0b3)
5fdb204 Localisation updates from https://translatewiki.net.

Local changes:
* Add ve.ui.WhitespacePreservingTextInputWidget.js

Change-Id: Icdb5d5d3041512558dce31e56cf58ea992e4f686
2014-07-30 16:36:42 -07:00
Alex Monk 95d0d2c055 Unselect currently selected item in re-use citation dialog when reopening
Bug: 68582
Change-Id: I81cb6fe901cde5a0e4669c741a0a7c317f1c8ed9
2014-07-30 22:42:36 +01:00
Translation updater bot 3dd63f751a Localisation updates from https://translatewiki.net.
Change-Id: Ifd4a8694a42a8f941320dc7f9e1a6b283473899f
2014-07-30 22:00:06 +02:00
jenkins-bot fac659d46c Merge "Reduce bottom margin of reference names" 2014-07-30 19:14:41 +00:00
Amir E. Aharoni f4d6892fe4 Bidi-isolate the version in the help panel
Bug: 68688
Change-Id: Iaad230d64d923713c273bbbe2fefd94681e13a2d
2014-07-30 10:36:22 -07:00
jenkins-bot 06f29e6895 Merge "Remove redundant setting of title in link nodes" 2014-07-30 17:22:49 +00:00
jenkins-bot 2ab168efe7 Merge "MWMediaSearchWidget: Use json/jsonp for local/foreign api respectively" 2014-07-30 17:13:42 +00:00
Ed Sanders 18a9f95f5b Use extension name in context menu for alien extensions
We already use this for the inspector title.

Change-Id: Iac157fd3c6f1a23f2bf7b68e2b6ebe55f49a25d5
2014-07-30 14:14:12 +01:00
Ed Sanders c451656d6d Remove redundant setting of title in link nodes
Also cleanup redundant overrides, documentation and
unused messages.

Depends on If22a5197 in core.

Change-Id: I533235f4eb5d703783a8fb45dff5e7be465f4ebb
2014-07-30 10:32:49 +01:00
jenkins-bot ccdc215a98 Merge "Don't show PostEdit message if we made a null edit" 2014-07-30 00:45:08 +00:00
Alex Monk 1468ab8277 Don't show PostEdit message if we made a null edit
Bug: 51243
Change-Id: I63b2405c854e2953976dc8ca7a5a136308a7dcf0
2014-07-29 17:42:57 -07:00
James D. Forrester 1fcc9fa035 Update VE core submodule to master (61dea59)
New changes:
76bbf3b [BREAKING CHANGE] Fix camel-casing of countNonInternalElements

Local changes:
Use renamed countNonInternalElements function

Change-Id: Ib5f86ea5cfeb5e577f61349ed4bbb231ea155638
2014-07-29 17:15:35 -07:00
jenkins-bot 9ebd388e28 Merge "Remove old message" 2014-07-30 00:09:16 +00:00