Ed Sanders
42d04b6f47
DesktopArticleTarget: Fix page title (first H1) font size in Vector
...
Change-Id: I87409ad5da3819732d13943a64b2ca22f65f9418
2015-09-22 17:12:23 +00:00
David Chan
5ce6faf020
Zero-width space to avoid empty annotation cursoring bug
...
Add zero-width space to make span-like tags non-empty, so that the browser won't
merge their cursoring positions with the following character.
ve.ce.MWNumberedExternalLinkNode:
* Insert U+200B ZERO WIDTH SPACE inside span (before 'a' tag).
Bug: T96307
Change-Id: Ib07f732043eae4640e3dcfdc06015bcf8897c7b4
2015-09-22 23:45:14 +08:00
jenkins-bot
8a0ead0940
Merge "Allow pressing 'escape' from all pages of save dialog"
2015-09-21 23:06:49 +00:00
jenkins-bot
9beb40c40e
Merge "Make save dialog variable height"
2015-09-21 23:03:42 +00:00
Ed Sanders
7e0d4daf3d
Allow pressing 'escape' from all pages of save dialog
...
Bonus: Add 'Resume editing' button to review changes page
Change-Id: Ief200c8aa2e2c8363bf6c9be3544ec1c56e07ff4
2015-09-21 22:59:21 +01:00
Translation updater bot
8486cbb0a8
Localisation updates from https://translatewiki.net .
...
Change-Id: I0a35c367cad0ce4efd25d6f27f55468d37a86f41
2015-09-21 21:59:21 +02:00
jenkins-bot
14600662b6
Merge "Template placeholder: Don't show delete button if we're the only transclusion part"
2015-09-21 17:27:52 +00:00
Ed Sanders
a1147f764b
Make save dialog variable height
...
Change-Id: I90437b3130d08441e5c93b2a34fd9083106a14b3
2015-09-21 17:52:19 +01:00
jenkins-bot
03ef91fade
Merge "MWReferenceResultWidget: Remove border from last item"
2015-09-21 06:56:12 +00:00
Ed Sanders
ade9bfda4b
Skin specific fixes for external link cartouches
...
Change-Id: I84edb509e7ecaae00befbfdeeee7a75373564536
2015-09-20 23:35:23 +01:00
Ed Sanders
d7adf533ca
MWReferenceResultWidget: Remove border from last item
...
Change-Id: I56c16711d6467647b0bb5b9bdf2d89fff1122ef4
2015-09-20 21:50:11 +01:00
Ed Sanders
7d4692a635
Make gallery icon slightly lighter and smaller by thinning borders
...
Makes the icon more consistent with other VE icons in terms of weight.
Change-Id: I37ad04394e9811c9d44c7c2b3af63e1ae03dd297
2015-09-20 18:23:15 +01:00
Translation updater bot
8472f54d49
Localisation updates from https://translatewiki.net .
...
Change-Id: I9946b374899493c03aaebd4fabdccb4b352d5935
2015-09-19 23:13:04 +02:00
Ed Sanders
8c66e5df75
Load mwgallery on mobile as well
...
It's just as usable as the alien extension inspector which
is currently shown, and has better messages.
Change-Id: Ifbce9df4aff77cf76a8445158987be716ba45302
2015-09-19 18:14:52 +01:00
Translation updater bot
9be39969da
Localisation updates from https://translatewiki.net .
...
Change-Id: I94a2828e01f9bfe87f4dc733df89c434ad86bdcd
2015-09-18 23:27:28 +02:00
jenkins-bot
664e2db006
Merge "MWWelcomeDialog: .html, not .text, as we're inserting HTML"
2015-09-18 21:20:41 +00:00
jenkins-bot
377944f6e9
Merge "Exclude citefromid and cite-(book,journal,...) commands from ref dialog"
2015-09-18 16:05:05 +00:00
Translation updater bot
1094eb83d2
Localisation updates from https://translatewiki.net .
...
Change-Id: I81be3f5e22c33817b1dbe20ed629def4b36934f0
2015-09-17 22:42:45 +02:00
jenkins-bot
467161db91
Merge "Actually get uploader details when querying media info"
2015-09-17 15:46:19 +00:00
jenkins-bot
02897451d2
Merge "Server-side replace Edit=>Edit Source on talk NS"
2015-09-17 01:22:58 +00:00
Alex Monk
736561f3af
Actually get uploader details when querying media info
...
Used in MWMediaDialog's buildMediaInfoPanel function
Bug: T109563
Change-Id: I398957eb0a4610379b29aac1df4234a58e845f28
2015-09-17 00:31:23 +00:00
Alex Monk
2d46e57709
Template placeholder: Don't show delete button if we're the only transclusion part
...
Bug: T95252
Change-Id: I62ebe56a2c5d5a0a39a5d806b2fcb348e25f6a17
2015-09-17 00:31:18 +00:00
jenkins-bot
867c63e9b2
Merge "MWInternalLinkAnnotation: Make protocol matching case-insensitive"
2015-09-16 23:53:09 +00:00
Ed Sanders
8e63c9e991
MWInternalLinkAnnotation: Make protocol matching case-insensitive
...
This was causing a regression in the behaviour that takes you
to the external link tab automatically when 'http://' is typed,
as internally it is normalised to 'Http://'.
Bug: T112158
Change-Id: Id7cff07e89caafe5b350f4fb27b99c6c89498990
2015-09-16 23:49:55 +00:00
James D. Forrester
48c849ca5b
MWWelcomeDialog: .html, not .text, as we're inserting HTML
...
Change-Id: I2cc35af4c6ed59ec1b5df991af1568c85c050fae
2015-09-16 14:54:11 -07:00
Translation updater bot
5ccf6668d4
Localisation updates from https://translatewiki.net .
...
Change-Id: I2023db4ba7e95c2485ed3c297aa6c0ae0a9d01b0
2015-09-16 22:48:56 +02:00
jenkins-bot
75b95173fc
Merge "MWWelcomeDialog: Split text, tweak styling"
2015-09-16 18:42:32 +00:00
Ed Sanders
2007800ce4
MW*LinkAnnotation: Fix class names
...
Link annotations now use $anchor instead of $element for the main <a> tag.
Change-Id: I038ecf97133a71fe86bb0d269a64bbe0ba46bdc2
2015-09-16 19:28:18 +01:00
James D. Forrester
9b0779da9b
MWWelcomeDialog: Split text, tweak styling
...
Change-Id: If15dc9fe4a01e81cf7d85e2670878bbd5899f068
2015-09-16 10:16:44 -07:00
Ed Sanders
0fdf3cbb93
Update VE core submodule to master (9dcfbdb)
...
New changes:
184f952 [BREAKING CHANGE] ve.dm.Converter: Put static things in .static
a4c1e1e Localisation updates from https://translatewiki.net .
Local changes:
* Switch to using Converter's newly-static methods
Change-Id: If30f7b2a0de92c4c7f4d5ca57663251c132eeed2
2015-09-15 17:36:27 -07:00
eranroz
051066ead6
Server-side replace Edit=>Edit Source on talk NS
...
If VE is enabled for consistency edit section links become edit source in all NS.
This patch fixes it to be done on the backend for namespaces where VE is not enabled
(instead of user side) to avoid noticeable flickers on page load.
Bug: T112366
Change-Id: Iba090bfc1b2ff4886fb0cf2b37db7870b6be792d
2015-09-16 00:39:13 +03:00
Translation updater bot
e0a3405399
Localisation updates from https://translatewiki.net .
...
Change-Id: Icf1361dfc3606753fe8db0c52c8f773ce518b52e
2015-09-15 22:51:02 +02:00
James D. Forrester
004ae8570a
MWWelcomeDialog: Switch out graphic for new one
...
Change-Id: I7ca0625e16535cf287161f66aaf1ce7e8db740aa
2015-09-15 10:50:19 -07:00
jenkins-bot
90961a22d2
Merge "WelcomeDialog: Fix vertical spacing"
2015-09-15 13:33:05 +00:00
Ed Sanders
830718ce22
Use ve.resolveAttributes instead of resolveUrl in clipboard conversion
...
This method does the tree traversal for us, and resolves src as well
as href.
Change-Id: Ic3ea47fb9acde9a1dad5caac3ee9c9b63c86d900
2015-09-15 13:44:52 +01:00
Ed Sanders
9ebda54297
WelcomeDialog: Fix vertical spacing
...
Change-Id: I10667512dff829195af43ea47d51d662836512bf
2015-09-15 11:58:20 +01:00
James D. Forrester
e5e1810f02
MWWelcomeDialog: Alter to be welcoming, use a nice image
...
Drop beta-ness as users don't care and it confuses them. Leaving the preference
alone for now.
Bug: T99963
Bug: T112354
Change-Id: I0e039dec54d528fce24226e76b931b593dd13a9e
2015-09-14 18:29:07 -07:00
jenkins-bot
0bba668542
Merge "If init fails once, don't completely break when the user retries"
2015-09-14 21:55:41 +00:00
Alex Monk
82b62896e1
Change a bunch of parsoid references to acknowledge that RESTBase is sometimes in the middle
...
Bug: T112339
Change-Id: I0eac521a89fc399de168408ef55c9143c0db742a
2015-09-14 21:18:01 +01:00
Alex Monk
23691dc861
If init fails once, don't completely break when the user retries
...
The loading progress would not be reset upon failure, causing issues
when you tried to start loading again.
Bug: T96437
Change-Id: I7ec4be82304c101fa1bd634f60bc6b0047e2d53d
2015-09-14 21:13:45 +01:00
Translation updater bot
09f8a24bf3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9214b262c6895a8e00b9939e6cb14279df57b226
2015-09-14 22:08:33 +02:00
jenkins-bot
aa7fcf27e6
Merge "MWSaveDialog: Checkbox vertical alignment tweak"
2015-09-14 14:52:48 +00:00
Ed Sanders
2280b0db20
MWSaveDialog: Checkbox vertical alignment tweak
...
Change-Id: I3741d2d5c9bc5b5500440c053766582cfd298841
2015-09-14 12:14:12 +01:00
Translation updater bot
502d02d3c4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic37e8c3606c0270421658518a9d7f708b8f7c9e7
2015-09-13 22:16:27 +02:00
Translation updater bot
f00867d9ab
Localisation updates from https://translatewiki.net .
...
Change-Id: Id6c3af947d89e1093d23ff3d2af2fc0e0f88a7b1
2015-09-12 20:05:53 +02:00
Translation updater bot
c3c9a255ad
Localisation updates from https://translatewiki.net .
...
Change-Id: Icb28f70bc28395f7ad27183410e9b81470081335
2015-09-12 01:13:17 +02:00
jenkins-bot
85bc110774
Merge "Remove command help height hack"
2015-09-11 18:48:19 +00:00
Ed Sanders
b68099bcb4
Remove command help height hack
...
No longer needed, depends on Ia98a91c8a in core.
Change-Id: I3789e629fef7883984bd944d2c44472d4b89199a
2015-09-11 12:46:10 +01:00
jenkins-bot
92118c5166
Merge "Order template title results by provided index"
2015-09-10 20:03:39 +00:00
Alex Monk
821ceb9920
Order template title results by provided index
...
This only comes back in results from certain modules, so I'm not entirely
sure whether we want to do this in here or mw.widgets.TitleInputWidget.
Bug: T111598
Change-Id: If2916706db359d520c41c2dec7ded44e0d3a56a9
2015-09-10 20:53:35 +01:00
jenkins-bot
f4daf27896
Merge "Resolve image paths when writing to clipboard"
2015-09-09 20:45:38 +00:00
Translation updater bot
cdee3fac88
Localisation updates from https://translatewiki.net .
...
Change-Id: I9598aa304e0abb4f793fa779e0e737915add5af7
2015-09-09 22:06:30 +02:00
jenkins-bot
93c7490597
Merge "Use rendered contents when copying to clipboard"
2015-09-09 16:26:12 +00:00
Ed Sanders
036b6c9edf
Resolve image paths when writing to clipboard
...
Bug: T111927
Change-Id: Idf3b761481454197eecbc0f6cd5cf6199419ca6c
2015-09-09 16:19:18 +00:00
Ed Sanders
d67d110d26
Use rendered contents when copying to clipboard
...
Bug: T111923
Bug: T111924
Change-Id: I04b98e317d0c883fc257c46552476041c7f53679
2015-09-09 08:56:22 -07:00
Ed Sanders
b900adfe74
Exclude citefromid and cite-(book,journal,...) commands from ref dialog
...
So that users can't place references in references.
Change-Id: I7953f8137dc5422ecd0cee648a30e2c181fbb43c
2015-09-09 12:42:39 +01:00
Translation updater bot
a76c3ad66d
Localisation updates from https://translatewiki.net .
...
Change-Id: I46dedc50c43bc858187fb179c387d36fd305f61a
2015-09-08 21:50:34 +02:00
jenkins-bot
aae36abcc1
Merge "build: Upgrade grunt-banana-checker to v0.3.0"
2015-09-08 11:54:51 +00:00
jenkins-bot
3b82179c06
Merge "Initialize actions toolbars"
2015-09-07 19:35:17 +00:00
James D. Forrester
78b415cc69
build: Upgrade grunt-banana-checker to v0.3.0
...
So many old keys not yet removed. Oy. Also, disable disallowDuplicateTranslations
for now as this fails so much.
Change-Id: I52e1555335a6e64b1e9db541ba726cf6ce8c7dd0
2015-09-07 11:59:50 -07:00
Roan Kattouw
36dc5147bb
Initialize actions toolbars
...
Right now .initialize() doesn't do anything other than enable
the window resize handler for toggling the "narrow" styling,
but as a matter of principle we should call .initialize()
on toolbars after attaching them.
Change-Id: I419c943d1d20af2105b84b8f5fbccc7070af601b
2015-09-07 11:30:30 -07:00
jenkins-bot
31bdb77d63
Merge "mw.trackSubscriber: Log platform as phone vs. desktop"
2015-09-07 16:06:08 +00:00
Translation updater bot
4633179b10
Localisation updates from https://translatewiki.net .
...
Change-Id: Idf8a7a575a4bc71a17f8f11d4f275ac09490aa62
2015-09-06 21:43:33 +02:00
James D. Forrester
486bc7e6e3
mw.trackSubscriber: Log platform as phone vs. desktop
...
Change-Id: I71c25f28098c72ed779117da9c243dc3a87e611d
2015-09-05 21:29:03 +00:00
jenkins-bot
f6a2e3658c
Merge "Abstract mwExtension behaviour into MWExtensionWindow"
2015-09-05 21:26:31 +00:00
Translation updater bot
0853d62fa0
Localisation updates from https://translatewiki.net .
...
Change-Id: I05d75e4f420a5915e346a120e51b2e2567a6be56
2015-09-05 21:10:47 +02:00
Ed Sanders
8815d1397f
Abstract mwExtension behaviour into MWExtensionWindow
...
Allows us to create an MWExtensionDialog base class that shares
the logic.
Change-Id: I53c8f1713a3513d2635cfd736ec8fc3f9616d864
2015-09-05 18:18:24 +01:00
jenkins-bot
667d8d9935
Merge "Bump Schema:Edit to revision 13457736"
2015-09-04 21:14:01 +00:00
Translation updater bot
b3bdb8691d
Localisation updates from https://translatewiki.net .
...
Change-Id: Icfa560e58cb0deabd2722c261ec44ce8f3c8d6e4
2015-09-04 21:54:45 +02:00
Alex Monk
6d94d060ac
Bump Schema:Edit to revision 13457736
...
* Remove page.length
* Add action.abort.type = switchnochange
Needs to be deployed at the same time as Ib99700ac
Bug: T111420
Change-Id: I7ee245157d4de6c220d7cdf54cd1dd69ff836f15
2015-09-04 00:51:05 +00:00
Translation updater bot
74a4ad449f
Localisation updates from https://translatewiki.net .
...
Change-Id: I507bee6f5db64823b72e9fb76033640c8f2d59dd
2015-09-03 20:40:48 +02:00
Alex Monk
7c2f6e1f5f
Don't break when you cancel the link inspector
...
Bug: T111241
Change-Id: Iff96aa4d97fe64a2472a58b3bf782085313899c6
2015-09-02 21:30:51 +01:00
Translation updater bot
c503547e47
Localisation updates from https://translatewiki.net .
...
Change-Id: I6aad78decfbb76f3ea704a381971ff73cb5f31cb
2015-09-02 21:39:43 +02:00
jenkins-bot
38a94dd8d5
Merge "Fix cancelling of extension inspectors"
2015-09-02 11:50:18 +00:00
Alex Monk
a02d8573b4
Fix cancelling of extension inspectors
...
* Don't insert/update/remove nodes on cancel in MWExtensionInspector
* Don't forget to popStaging on cancel in MWLiveExtensionInspector
Bug: T110992
Change-Id: I1e30206595e304eb502c7e745bf5e00d145d12d7
2015-09-02 02:32:11 +01:00
Ed Sanders
471df53aaf
MWLinkInspectorTool: Add parent method call to #updateState
...
Bonus: No need to check if fragment is a SurfaceFragment.
Bug: T111099
Change-Id: Ieaa3ee979477175d0f129e30838853bc04937fad
2015-09-01 21:09:13 +00:00
Translation updater bot
2462889843
Localisation updates from https://translatewiki.net .
...
Change-Id: I42f1f5497936b7fb0a5af3050a5955ec1508640c
2015-09-01 21:46:35 +02:00
Ed Sanders
b9183540ef
Remove explicit setting of ce=false on FocusableNodes
...
FocusableNode already sets ce=false so this is redundant.
Change-Id: I4432dd0a5e5dff3f8e909f2d7c1912f3d69e1b70
2015-09-01 18:51:54 +00:00
jenkins-bot
8502d3ea05
Merge "Specialized inspector for ISBN magic links"
2015-09-01 18:34:23 +00:00
C. Scott Ananian
7cc23367f6
Specialized inspector for ISBN magic links
...
Implement a special node type, context item, and inspector for
ISBN/PMID/RFC magic links. Add buttons to the link inspectors
to convert back and forth between "simple" links, and magic links.
Depends on I5d000d8b63dafdfe0a2753069d3f0ac5b03b8829 in Parsoid
for clean round-tripping of localized ISBN magic links.
Bug: T63558
Change-Id: Id5b7a2ae3c80b0e5eed598f0bd024d3e94f7e9aa
2015-09-01 14:25:59 -04:00
jenkins-bot
8f96550044
Merge "<visualeditor-dialog-media-size-section-help>: Fix grammar"
2015-09-01 18:09:53 +00:00
maurelio
febd93b1d4
<visualeditor-dialog-media-size-section-help>: Fix grammar
...
Requested at TranslateWiki.Net:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Visualeditor-dialog-media-size-section-help/en
Change-Id: I8842dbbf57f8be5d4f2fcc320b73a9d8f0a2c6e3
2015-09-01 18:06:00 +00:00
jenkins-bot
61e753ec89
Merge "Implement getUserConfig and setUserConfig in MW"
2015-09-01 17:22:27 +00:00
jenkins-bot
65c073813e
Merge "Rerender extension node immediately if no images exist"
2015-09-01 14:57:41 +00:00
jenkins-bot
6521b4a76e
Merge "Allow trailing punctuation for typed ISBN/PMID/RFC autolinks"
2015-09-01 14:39:29 +00:00
Ed Sanders
519e029298
Rerender extension node immediately if no images exist
...
Bonus: Filter out images which already have width/height defined
Bug: T110314
Change-Id: I9fbd5050bb5d10c9c24a2b761f6248da8179bf72
2015-09-01 09:50:58 +00:00
Ed Sanders
e4c351e362
Implement getUserConfig and setUserConfig in MW
...
Depends on I5704a0e3e0 in core.
Change-Id: I0d6c9317a91dc02566d8877bd1aefae581213cbb
2015-09-01 01:03:38 +00:00
jenkins-bot
c6a70d8f07
Merge "MWReferenceNode: Don't allow cross-VE paste of template-defined ref"
2015-08-31 21:59:48 +00:00
Ed Sanders
c6236b7b77
MWReferenceNode: Don't allow cross-VE paste of template-defined ref
...
The reference body is not available, so it would be useless.
Bug: T110479
Change-Id: I2a40178bc629ca65d7507feb1c5ff062fd591eda
2015-08-31 14:50:19 -07:00
Translation updater bot
3229649d23
Localisation updates from https://translatewiki.net .
...
Change-Id: I1e7c368f463417145afcee2c7bb553760f68de57
2015-08-31 22:29:16 +02:00
Translation updater bot
4a76978933
Localisation updates from https://translatewiki.net .
...
Change-Id: I481726d71efddc6b8f341d186d2f19863634a7fb
2015-08-30 21:11:42 +02:00
Translation updater bot
3f0be19d56
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d2732c724ac3c422eb76a269be789fd0805e62a
2015-08-29 21:47:45 +02:00
Translation updater bot
e0cd477c09
Localisation updates from https://translatewiki.net .
...
Change-Id: Id0806b0e5352b3ef559a8aa02283af0f5155edd6
2015-08-28 21:55:30 +02:00
C. Scott Ananian
3ce4ac25f8
Allow trailing punctuation for typed ISBN/PMID/RFC autolinks
...
Bug: T110690
Change-Id: I7d3b550588a75b08b1a587705f02a86ab7c5806c
2015-08-28 12:41:38 -04:00
Translation updater bot
397c5ce65e
Merge "Localisation updates from https://translatewiki.net ."
2015-08-27 19:40:29 +00:00
Translation updater bot
c0c1b542b3
Localisation updates from https://translatewiki.net .
...
Change-Id: Iefbd74f51a24c9018fed8cd5551e5d2eb0927380
2015-08-27 21:38:37 +02:00
jenkins-bot
64c73a4ac6
Merge "ve.dm.MWReferenceModel: Require parent document"
2015-08-27 15:38:01 +00:00
Roan Kattouw
e4d2d4785e
ve.dm.MWImageModel: Require parent document
...
Add a parentDoc parameter to the MWImageModel constructor and use
it to inherit language, direction and HTML document. Remove
getLang(), setLang(), getDir() and setDir() whose only purpose
was to propagate the language and direction from the parent document
in a hacky way.
Also add a parentDoc parameter to newFromImageAttributes(), replacing
the lang and dir parameters. Remove the unused and ill-conceived
caption parameter.
This causes caption documents to always have an HTML document
for URL resolution. Previously, this worked when editing existing
images because a document generated by cloneFromRange() (which
propagates the HTML document) was passed into setCaptionDocument(),
but it didn't work when creating new images.
Bug: T109599
Change-Id: Ida36862092cd779ffc2f04c0ecbc1164f8d71453
2015-08-27 00:09:21 -07:00
Roan Kattouw
f11fbee278
ve.dm.MWReferenceModel: Require parent document
...
Add a parentDoc parameter to the MWReferenceModel constructor and use
it to inherit language, direction and HTML document. Remove
getLang(), setLang(), getDir() and setDir() whose only purpose
was to propagate the language and direction from the parent document
in a hacky way.
This causes ReferenceModel documents to always have an HTML document
for URL resolution. Previously, this worked when editing existing
references because the newFromReferenceNode() code path calls
cloneFromRange() which propagates the HTML document, but it didn't work
when creating new references.
Bug: T109599
Change-Id: I5d9d34d4343be8428318fa0b795fa54c110e34f4
2015-08-26 23:48:45 -07:00
Roan Kattouw
6eee029159
MWSaveDialog: Use .moveCursorToEnd() instead of ve.selectEnd()
...
ve.selectEnd() removed by I44f43f312c78 in VE core.
Depends on Ia63e6c6a0 in OOjs UI.
Change-Id: Ic7ed8a24abd8288d68cf89839a553a569081e8c7
2015-08-26 23:51:58 +00:00