Ed Sanders
2948d0b324
Browser tests: Update link inspector tests
...
Change-Id: I5e902b4ab3215450a4374fb7327159d3edfc5ef2
2015-10-14 21:29:14 +01:00
Esanders
60e3b55393
Revert "[Browser tests] Wait for save button to be enabled"
...
This reverts commit 122be9c95a
.
Change-Id: Ia79636d5fdcf3f1a224c93688c164bf1030c3bee
2015-10-14 21:27:21 +01:00
Translation updater bot
b6546f0bc3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9b9643f7774b9adb6b1ebf4f46903f4a416bf700
2015-10-14 21:57:12 +02:00
jenkins-bot
41b168b0ec
Merge "[Browser tests] Wait for save button to be enabled"
2015-10-14 19:08:23 +00:00
jenkins-bot
d9788db376
Merge "Browser tests: Add API URLs to environments.yml"
2015-10-14 17:28:17 +00:00
Ed Sanders
36652a721a
Browser tests: Add API URLs to environments.yml
...
Change-Id: I524eb984cf04baeacfc131f482b2a773636dc87f
2015-10-14 17:42:49 +01:00
Ed Sanders
4943127cde
Link inspector: Show redlink in suggestions
...
This feature was accidentally dropped when the widget was moved to core.
Change-Id: I302b4b001f1db64b023dae73e36c85e491617e92
2015-10-14 17:24:53 +01:00
Ed Sanders
122be9c95a
[Browser tests] Wait for save button to be enabled
...
In some tests the save button won't be available for a few ms
until the latest transaction has been pushed to the undo stack.
Change-Id: If03f03b033a21a039a322ca32983d0302e44efbb
2015-10-14 15:28:14 +00:00
Prateek Saxena
d1bf196f68
Media upload: Initialize booklet before setting file on drag drop
...
Calling initialize will clear all fields including the
OO.ui.SelectFileWidget that was just set.
Follows up I521909d27c390faad7d62f717f2b97b7676e5a63.
Bug: T40031
Change-Id: Ibc7ddafae9cb7718372520245a356938f4731479
2015-10-14 12:49:31 +00:00
Ed Sanders
e1f9adebfe
Rename ImageTransferHandler to MediaTransferHandler
...
Change-Id: If68e2e4a9dbff4707fb9cbbadcd69a7ff8375a4b
2015-10-14 12:41:25 +00:00
Ed Sanders
a6c4c3b3e1
Follow-up Id473b45: Call getResults on input widget
...
Bug: T115448
Change-Id: I8bfbb3092aa49750930c6437b0526a8b900722f1
2015-10-14 11:34:36 +00:00
jenkins-bot
cbddb00638
Merge "Stop using raw HTML for 'visualeditor-dialog-transclusion-no-template-description'"
2015-10-14 02:39:50 +00:00
Translation updater bot
9aaf5c933e
Localisation updates from https://translatewiki.net .
...
Change-Id: I2d386399a32f2c20034fce0e96921f578b01a813
2015-10-13 22:14:15 +02:00
Ed Sanders
7f2d9d0042
Media upload: Use new setFile method
...
Depends on I30ec98be0 in MW core.
Change-Id: Ied82ac8fd25a1c4b9818029429231ce2f39916d4
2015-10-13 18:25:09 +00:00
Ed Sanders
557340426f
Media upload: Initiate upload process on image drop
...
Bug: T40031
Change-Id: I521909d27c390faad7d62f717f2b97b7676e5a63
2015-10-13 11:24:34 -07:00
jenkins-bot
3efea1d05e
Merge "MWLinkAnnotationInspector: Close inspector when a search result is clicked"
2015-10-13 16:07:33 +00:00
jenkins-bot
7ac49bcfd9
Merge "ReferenceContextItem: Factor out getReferenceNode and use correct node"
2015-10-13 12:16:01 +00:00
Translation updater bot
de900b63ee
Localisation updates from https://translatewiki.net .
...
Change-Id: I144099a28ac3120780306ef4e610584b4ab0da54
2015-10-12 21:07:07 +02:00
jenkins-bot
1da509937d
Merge "[BrowserTest] Use English if i18n file does not exists to convert the text"
2015-10-12 15:21:35 +00:00
Vikas S Yaligar
0d282a5e32
[BrowserTest] Use English if i18n file does not exists to convert the text
...
Bug: T111525
Change-Id: Iaf557114df0bcdca3f82fc0ba0bcb752f5cb2c3d
2015-10-12 15:13:48 +00:00
Translation updater bot
34ce74e044
Localisation updates from https://translatewiki.net .
...
Change-Id: I7933389827e2e2b99aeddfc7a1222ee06a5e96dc
2015-10-11 21:24:43 +02:00
jenkins-bot
caaf0bd3cd
Merge "MWLinkAnnotationInspector: Use IndexLayout for internal/external"
2015-10-11 12:42:02 +00:00
jenkins-bot
676fd50aa3
Merge "Media upload: Hide tabs after first stage of upload booklet"
2015-10-11 12:41:43 +00:00
jenkins-bot
1d8450bf94
Merge "Media upload: Only reset upload booklet on dialog setup"
2015-10-11 12:41:40 +00:00
jenkins-bot
821f478d98
Merge "MediaDialog: Rename bookletLayout to mediaSettingsBooklet"
2015-10-11 12:41:38 +00:00
Translation updater bot
19beb645f7
Localisation updates from https://translatewiki.net .
...
Change-Id: I6a69972203990c251baac3dba14c88d1f11f65de
2015-10-10 22:45:25 +02:00
Ed Sanders
d5766c2d5f
Media upload: Hide tabs after first stage of upload booklet
...
Change-Id: Ie0cd0fe7761b3937de685ed18b96cc95b8ca4d4f
2015-10-10 16:52:35 +01:00
Ed Sanders
aa5f0c2faf
Media upload: Only reset upload booklet on dialog setup
...
Bug: T115059
Change-Id: I4ee9b408624ee3b0dfc3079f02ebbaf2e66f3fa3
2015-10-10 16:52:25 +01:00
Ed Sanders
afb556813a
MediaDialog: Rename bookletLayout to mediaSettingsBooklet
...
Change-Id: I04dbdfd14daedf614e8a47992231d48d72f7ff33
2015-10-10 16:26:40 +01:00
Ed Sanders
f1f75bf511
MWLinkAnnotationInspector: Close inspector when a search result is clicked
...
Change-Id: Id473b45a222d53f6bca0168dad4adf536ccdf97a
2015-10-10 15:49:45 +01:00
Ed Sanders
fff96cdc8f
MWLinkAnnotationInspector: Use IndexLayout for internal/external
...
As originally intended, but avoided because of since-fixed CSS issues.
Change-Id: I60186c8f8a13eb9a7708716329dc959e1913665d
2015-10-10 13:02:16 +01:00
Translation updater bot
25f08228cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cc88f7e10e751f1ce2ac47109706b29ac9bfa13
2015-10-09 22:34:54 +02:00
Bartosz Dziewoński
2e5a31d66a
Stop using raw HTML for 'visualeditor-dialog-transclusion-no-template-description'
...
The bug in jqueryMsg that required this is now fixed. Depends on
I56d8f7ec03a70f5c2360d9c5099496ecb2f668ad and
Icc360724c75755a6ffc31792d8439cba142642ae in MediaWiki core.
Changes to messages were done with search-and-replace:
<a $2> ---> [[{{ns:template}}:$1|
</a> ---> ]]
{{GENDER:$3 ---> {{GENDER:$2
Bug: T87131
Change-Id: I67475edb75fb5192a76fbe629d735d1f2dcd1d48
2015-10-09 13:10:00 +02:00
Vikas S Yaligar
df2c17bfd2
[BrowserTest] Load i18n messages from MediaWiki to browser tests
...
* translate method can be called to translate a particular string to a
specific language.
Bug: T90577
Change-Id: I7852ee0b0009e70bd9decef0dd317055d91a06a6
2015-10-09 09:49:37 +00:00
Translation updater bot
fbd83f2d4b
Localisation updates from https://translatewiki.net .
...
Change-Id: I0c9e54c4255a64ac9c487c92e84b1ec0a80068ba
2015-10-08 23:10:21 +02:00
Ed Sanders
8ac173894d
MWParameterPage: Focus value input when focussing page
...
Logically depends on I6a439cb13e in OOUI.
Bug: T114562
Change-Id: Ic9ad6ceca8e8f6cb7b1a0f56cd6ed858e39e1dfa
2015-10-07 14:33:55 -07:00
Translation updater bot
02fcbd4959
Localisation updates from https://translatewiki.net .
...
Change-Id: I41f962ec577ec186b0b598e0e791924aa36ce641
2015-10-07 22:04:25 +02:00
jenkins-bot
df8d63c66b
Merge "Fix typo in MWMediaDialog"
2015-10-07 18:38:09 +00:00
Ed Sanders
fcc9be4fa4
Fix typo in MWMediaDialog
...
Change-Id: Id8133f9eee523a7cd237d4ca2814b29bce02fa0d
2015-10-07 19:34:21 +01:00
Ed Sanders
9fb6977e52
Update VE core submodule to master (363adf2)
...
New changes:
63c5f67 [BREAKING CHANGE] GeneratedContentNode: Introduce new hash for rendering
6dd1cb2 Add ve.dm.Surface#selectLastContentOffset
Local changes:
* Use new getHashForRendering in GeneratedContentNode users
As we no longer have a model hash, remove the originalIndex check
and just rely on the deep comparison of mwData (trading a deep copy
for a hash computation should result in similar performance).
Bug: T114689
Change-Id: Ida0ee0234418408b735232c633d41908a424a9ff
2015-10-07 15:00:32 +00:00
jenkins-bot
b83511ac54
Merge "Add image upload tab to media dialog"
2015-10-07 01:54:20 +00:00
Ed Sanders
97ddc8af2b
Add image upload tab to media dialog
...
Uses the ForeignStructuredUpload BookletLayout.
Bug: T40030
Change-Id: I103044210e714d99350a28a48619beacefb43eaa
2015-10-06 18:40:19 -07:00
jenkins-bot
f764155edc
Merge "Don't error when trying to re-use a reference as itself."
2015-10-06 21:58:06 +00:00
jenkins-bot
45468b992a
Merge "ve.init.mw.Target: Remove jqueryMsg hacks in #saveErrorNewUser"
2015-10-06 21:09:58 +00:00
Translation updater bot
8285ddf2a5
Localisation updates from https://translatewiki.net .
...
Change-Id: I11980fb1fc52f010da55800457e0ee1be0690229
2015-10-06 22:04:06 +02:00
Bartosz Dziewoński
c684e2c682
ve.init.mw.Target: Remove jqueryMsg hacks in #saveErrorNewUser
...
The bug in jqueryMsg that required this is now fixed.
Bug: T87219
Change-Id: Ib7ef7e6a0451539099c12ae32d02b50c269c7529
2015-10-06 19:04:10 +02:00
Alex Monk
9d6fbc894e
Educational popups and highlights for links+citations
...
Bug: T108620
Change-Id: I42b0e06f50aca5cb783d88f79a080461e745ceee
2015-10-06 14:33:57 +01:00
jenkins-bot
cd29e0376d
Merge "Add error element to MWLiveExtensionInspector"
2015-10-05 22:53:20 +00:00
Translation updater bot
e75fb6a2da
Localisation updates from https://translatewiki.net .
...
Change-Id: Icbf09f06f978d791208bc9ac37f56524700e7a97
2015-10-05 22:17:32 +02:00
Ed Sanders
3f2a885e3e
Ensure full error message is shown when inspector is closed
...
Applying staging doesn't emit an update event on the node, so
forcefully emit one with 'staged' equal to false, so the full
error is rendered (if present).
Logically depends on I8ebb26d4bc in core.
Bug: T114480
Change-Id: I7ba54b67982fc5b10839426cdc216e14c0e33c01
2015-10-05 17:15:40 +00:00
jenkins-bot
aaaded172b
Merge "Toolbar config: Prevent 'Table' from moving after menu expand"
2015-10-05 15:14:47 +00:00
jenkins-bot
4878313bea
Merge "Consistently use spaces inside brackets in CSS"
2015-10-05 15:02:25 +00:00
Ed Sanders
2c9b9e4d73
ReferenceContextItem: Factor out getReferenceNode and use correct node
...
Use the node from the parent dm document, not the internal list document.
Change-Id: Ieeb0a63bd40de7a8a2944322ba800feec7a7f4dd
2015-10-05 16:01:54 +01:00
jenkins-bot
7c0f17c2cf
Merge "ve.ui.MWParameterPage: Use more natural DOM order for text field and buttons"
2015-10-05 11:55:04 +00:00
Thalia
9307fa7095
Add error element to MWLiveExtensionInspector
...
As part of the plan to render extension errors in the
inspector instead of the view, append an element to
contain the error. More specifically, the element is
a div that contains a LabelWidget (in which the error
message is displayed) and a ButtonWidget (to expand
and collapse the error).
Initially the error element is hidden, but if Parsoid
returns an error, the element will be shown. If the
error is longer than 1 line, it is truncated but can
be expanded. On closing the inspector, any remaining
error is collapsed and hidden.
Depends on I6002d9870d2b to work
Bug: T113172
Change-Id: Ie84130d4ac0da9a738bf98ad0a3677d47566d585
2015-10-05 00:22:22 +01:00
Translation updater bot
4eb7a0554b
Localisation updates from https://translatewiki.net .
...
Change-Id: I1574aa4164e8e530740112596120b44b1707d562
2015-10-04 22:20:56 +02:00
jenkins-bot
291065459c
Merge "Use ve.setProp to set new pages list in MWTemplateTitleInputWidget#getLookupRequest"
2015-10-04 19:54:45 +00:00
Bartosz Dziewoński
205beb2b49
ve.ui.MWParameterPage: Use more natural DOM order for text field and buttons
...
OO.ui.BookletLayout does not respect tabindices when trying to focus
the first focusable element after a page is switched. Remove the need
for manually set tabindices in ve.ui.MWTemplateDialog by using natural
DOM order and absolutely positioning things to keep current design.
Bug: T114562
Change-Id: I7a18a455f9fa80eb3d2ea17bff8139e0194c0fbf
2015-10-04 20:39:16 +02:00
Ed Sanders
1eb0ef2011
Consistently use spaces inside brackets in CSS
...
Change-Id: Ie63a50cb16cb89dac7060857220485d7d23f2fe3
2015-10-04 18:33:43 +01:00
Ed Sanders
7337eb1d7e
Toolbar config: Prevent 'Table' from moving after menu expand
...
Change-Id: I9f472668e0cf8f3014c681f6f2430e685bf50534
2015-10-04 13:28:55 +01:00
Translation updater bot
5124a7075b
Localisation updates from https://translatewiki.net .
...
Change-Id: I751798608f4e54a643b4cb488d9217bfcb704266
2015-10-03 22:14:37 +02:00
Translation updater bot
815a729780
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d72901cb61d21af1ff710c1be8d3cc9150ca75c
2015-10-02 23:51:15 +02:00
Ed Sanders
d63dce138d
MWExtensionNode: Fix selector to find dimension-less images
...
Change-Id: Idf219636f9b2b58e30b1a155c052ada4c60e6ec9
2015-10-02 14:18:13 +01:00
Alex Monk
a46b7a819e
Hack to stop logging edit events for non-desktop targets
...
Mobile target, for example, has events logged in the MobileFrontend extension instead
(which covers both the wikitext editor there and the VE integration)
Bug: T110272
Bug: T109525
Change-Id: I521f1825dc9c0a135db54cd005cda723908f14bc
2015-10-01 23:48:10 +00:00
jenkins-bot
e14c8e11cf
Merge "Change a bunch of parsoid references to acknowledge that RESTBase is sometimes in the middle"
2015-10-01 16:14:29 +00:00
jenkins-bot
1bbfcf23c6
Merge "MWExtenionNode: Ensure objects are deep copied when used in the hash"
2015-10-01 15:28:01 +00:00
Thalia
34f6e11a19
Call updatePreview when closing the LiveExtensionInspector
...
Call updatePreview in insertOrUpdate node, when closing the
inspector. If edits have only been made to attributes that
don't affect the rendering, updatePreview will not have been
called, so the model won't have changed. Therefore
updatePreview should be called every time the inspector is
closed to make sure such edits are applied.
Bug: T113078
Change-Id: I48fb291487f76fc515f122646d205366a60dca62
2015-10-01 15:58:20 +01:00
Ed Sanders
c5c88482b9
MWExtenionNode: Ensure objects are deep copied when used in the hash
...
We don't expect users not to alter the hash (subclasses may delete items)
so make a copy of any objects we put in it.
Change-Id: I6274f47e02b9f2d53864d4a2ae80df42e6c89867
2015-10-01 15:57:49 +01:00
Ed Sanders
50de745afd
MWExtensionNode: Copy mw data before modifying
...
Otherwise we are directly modifying model.element.attributes
which is very bad.
Change-Id: Icf066a5848b9c67c2c4b3fcafd72d0142996e48d
2015-10-01 13:34:01 +01:00
jenkins-bot
1b455ac201
Merge "Call afterRender whether or not images emit 'load'"
2015-09-30 21:00:13 +00:00
Thalia
53f4aa64d9
Call afterRender whether or not images emit 'load'
...
MWExtensionNodes currently don't call afterRender if the image
is already loaded, which can happen if we decide not to rerender
after an update (e.g. when the response is an error).
Change-Id: Ic9c11e446a7cc789bb20680466709ff2ad5cb22e
2015-09-30 21:47:40 +01:00
Translation updater bot
d6f09eb3b0
Localisation updates from https://translatewiki.net .
...
Change-Id: I661c0b37dce0b8e30c960dad2bfa0600e9920d83
2015-09-30 22:12:21 +02:00
Translation updater bot
c1f26c0922
Localisation updates from https://translatewiki.net .
...
Change-Id: I53bf43111c86cabfb668f0bd3d05b57611e78bb1
2015-09-29 22:10:19 +02:00
Ed Sanders
074f7bcefe
Follow-up If556afa10: Fix typo: nodeType -> nodeName
...
Change-Id: I19915647981787f7bbf2c86fc7bd02308d5da218
2015-09-29 17:35:23 +01:00
Roan Kattouw
0d4b30f927
MWInlineExtensionNode: Don't assume responses are always <p>-wrapper
...
For the Score extension they aren't, and this causes JS errors in production.
Change-Id: If556afa1046f460d7fdd29cb1c50ac93dad88fde
2015-09-28 19:36:48 -07:00
jenkins-bot
ce8107ec0b
Merge "Autodisable preference"
2015-09-28 23:46:59 +00:00
Alex Monk
97e70ba3cc
Autodisable preference
...
We want to flip the default of visualeditor-enable to true, but don't
necessarily want to turn it on for users who already have contributions but who
haven't already enabled it. Therefore we're considering adding such users to
this autodisable preference which they can self-remove (by explicitly enabling
VE) or we can target later, separate from betatempdisable users.
Bug: T112352
Change-Id: I1ce5e6c92055e30fdc82bc912a767e913b190ef6
2015-09-29 00:30:27 +01:00
jenkins-bot
3aee082548
Merge "MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget"
2015-09-28 21:10:54 +00:00
Translation updater bot
d17197696f
Localisation updates from https://translatewiki.net .
...
Change-Id: I89a27eeb175bfcf2f4cb3dd4beba38a664def4d8
2015-09-28 22:51:02 +02:00
jenkins-bot
f9247ce087
Merge "MWLinkAnnotationInspector: Update actions when changing tabs"
2015-09-27 22:07:23 +00:00
Ed Sanders
f814ea719b
MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget
...
Depends on I335bd912d in MediaWiki core.
Bug: T101169
Change-Id: I2932c9df5444d1363af5af9b438bb905ed298148
2015-09-27 14:03:52 +01:00
Ed Sanders
a04d2ff52b
MWLinkAnnotationInspector: Update actions when changing tabs
...
Change-Id: I825531683eeb8b7e21b741f1dc5d338abc9d347a
2015-09-27 14:03:29 +01:00
Translation updater bot
a60f360ae0
Localisation updates from https://translatewiki.net .
...
Change-Id: I081accdb1ac5a8d321b05bed986862f161a9bd99
2015-09-26 21:18:17 +02:00
jenkins-bot
2e4a70e082
Merge "Add scroll padding equal to the document height for iOS"
2015-09-26 16:39:26 +00:00
Ed Sanders
6769860adb
Add scroll padding equal to the document height for iOS
...
Allows users to edit the end of the document in iOS without
the keyboard obscuring the content.
Change-Id: I72f1de97e61a0c0d8acac2e58b36b3ece58fca89
2015-09-26 17:06:37 +01:00
jenkins-bot
763b9c8058
Merge "Update VE core submodule to master (27fc244)"
2015-09-26 13:38:42 +00:00
jenkins-bot
03d4e08a83
Merge "Allow autolinking ISBN/PMID/RFC inside list items"
2015-09-26 13:38:37 +00:00
jenkins-bot
81282a7769
Merge "Autolink of magic links should create node not annotation"
2015-09-26 13:38:34 +00:00
Ed Sanders
6ed5877c69
Update VE core submodule to master (27fc244)
...
New changes:
18e46b6 [BREAKING CHANGE] LinkAnnotationWidget: Abstract .text property to getTextInputWidget
Local channges:
* MWLinkAnnotationInspector: Use new getTextInputWidget method
Change-Id: Ia33797d612be7b4521e7212047a38480ee2520df
2015-09-26 12:27:56 +01:00
Alex Monk
3386f66770
Save dialog: Make review/resolve actions work in mobile
...
Depends on Ic92378b7
Bug: T111894
Change-Id: I5ca5f803642dd12db4e9fb213dc6478701661528
2015-09-26 00:08:31 +01:00
Translation updater bot
6b25f41b95
Localisation updates from https://translatewiki.net .
...
Change-Id: I40f2f7202c5b1a6eadaaa99f4cc2fa33419a3d51
2015-09-25 22:38:27 +02:00
C. Scott Ananian
92bfa93e4e
Autolink of magic links should create node not annotation
...
Depends on: I9679cf0fd550c9b156370fc88953414460c801a4
Bug: T112675
Change-Id: I97a1750b3424c09e181976029f10ee161129b166
2015-09-25 14:21:33 -04:00
jenkins-bot
a5d3a4dfae
Merge "Adjust uses of renamed PreviewWidget to PreviewElement"
2015-09-25 09:41:03 +00:00
Thalia
b7bdf2d867
Adjust uses of renamed PreviewWidget to PreviewElement
...
Depends on I516b87f3be in VE core.
Change-Id: I9ad4bab3fff0bf0fb8a79673dbe67be4a9b2c363
2015-09-25 09:37:34 +00:00
C. Scott Ananian
07f67bdb22
Allow autolinking ISBN/PMID/RFC inside list items
...
Depends on I18b73514e5a3d967cce02d9706a11e30ede71d9a in ve core.
Bug: T113535
Change-Id: Ifc749951a6e92e19a7eb27ed631f8ba11d88a5cf
2015-09-25 10:35:18 +01:00
Alex Monk
03a1d04bde
Don't error when trying to re-use a reference as itself.
...
Bug: T90476
Change-Id: I0e2cafa885f5606c4f6611529f11de4fa6f7aedf
2015-09-24 22:58:30 +01:00
Alex Monk
0fb38cc824
Use ve.setProp to set new pages list in MWTemplateTitleInputWidget#getLookupRequest
...
Bug: T113647
Change-Id: I537a235064cf8e95b0e1cde46f3079e0af082e7c
2015-09-24 22:35:38 +01:00
Translation updater bot
6904180054
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c31c5b04ed1fb784d837a112da0e3a6cd04d7c7
2015-09-24 21:33:13 +02:00
Bartosz Dziewoński
89b118daaf
ve.init.mw.LinkCache: Update comment about Disambiguator extension
...
Disambiguator extension adds the .mw-disambig CSS class to internal
disambiguation links since 8cc16d021410f49fa12a2f35c97cdac51adf4380.
Change-Id: If32bcb8867a874ee4127593f58619d059fe691b0
2015-09-24 19:20:12 +02:00
Translation updater bot
f72b6a9dfc
Localisation updates from https://translatewiki.net .
...
Change-Id: I4ca58193916dee109a915191576d0e9529651018
2015-09-23 21:37:12 +02:00