Ed Sanders
c516d897d2
Remove icon properties from windows
...
Windows stopped supporting icons a while ago.
Change-Id: I8a63152282a5968dcd17675330e31bd1ebe4b68b
2016-03-29 12:33:42 +01:00
David Lynch
0268e74a7f
Template Dialog: pushPending while the dialog is closing
...
Double-clicking the "insert" button would double-insert the template. Counting
the close as a pending action avoids that.
Bug: T129725
Change-Id: I41af7c051fd54004cecd563d7a6cf8fdb452840f
2016-03-24 11:33:00 -05:00
Ed Sanders
f5873ac1db
CommandHelpDialog: Inherit non-corruptively
...
Change-Id: Ieb497eebe930e58a02552eb9d4305280c91c92c2
2016-03-14 20:03:52 +00:00
James D. Forrester
d8eb68d7b6
Don't give the user the option to discard changes when changing editor
...
Bug: T128585
Change-Id: I02f31e46ae7b2dc7505ed55fc56cd00f538a90e3
2016-03-07 13:39:32 -08:00
Ed Sanders
67c207a6f5
Use abstract target widget creation
...
Change-Id: Ic7e43e80f4f48df99842cee702963d54205e5055
Depends-On: I6a667a641540b347052ea0c645af4e1e59cf333a
2016-03-03 11:49:44 -08:00
David Lynch
7486f74c6f
MWMediaDialog: Only cache relevant information
...
Trim the cached image data from the media dialog down so that it only caches
the same information that would have been fetched for a non-uploaded image.
Consistency!
Bug: T126081
Change-Id: I0f057c111b66f29c6360e27f97256384f5320b75
2016-02-29 10:16:34 -06:00
jenkins-bot
e39d8a744b
Merge "Show welcome dialog on mobile too"
2016-02-29 03:02:03 +00:00
Ed Sanders
8f028813e5
CategoryWidget: Update to work with new DraggableGroupElement
...
Change-Id: Iefac99dba0e6b8ed3eaaa1d5f1d92e402e3cf2db
2016-02-25 16:07:50 -08:00
Alex Monk
ced27f348f
Show welcome dialog on mobile too
...
Bug: T112599
Change-Id: Ie04aab468c80dabc84e1386e7529138e1101450e
2016-02-25 22:03:00 +00:00
jenkins-bot
7bef4c9a20
Merge "Warn for empty summary when edit section used"
2016-02-25 18:56:57 +00:00
wctaiwan
5da37932a2
Warn for empty summary when edit section used
...
Warn the user about an empty edit summary when the "edit section"
link is used to trigger VE.
Re-does Ic7b456ca a different way.
Bug: T114857
Change-Id: I319c9c5bed47140a81eb409d490c9f82b89a49fe
2016-02-23 00:34:12 +00:00
jenkins-bot
74b2489276
Merge "Link to file description pages in media dialog"
2016-02-22 21:07:43 +00:00
Ed Sanders
deb676e73d
MediaDialog: Use CC logo from upstream (ooui-icons-wikimedia)
...
Change-Id: I4fabf5f8d87b9b21623883203b9d6965a0ff33a0
2016-02-21 18:20:30 +00:00
Alex Monk
ca5cab52af
Link to file description pages in media dialog
...
Bug: T125227
Change-Id: I243f5479ab27ab098d41db08ff4a53195d382577
2016-02-21 03:45:37 +00:00
Ed Sanders
b70eb51491
MWMetaDialog: Fix setup of pages
...
Only call setup in ready process, as setup includes setting
focus. Defer fitInput call to category widget until transition
is finished so measurements are correct.
Change-Id: I49a30402cf58e36f16316e3ab04fa3349d19954e
2016-02-18 17:14:45 +00:00
James D. Forrester
1e0486a679
Remove all Extension:Cite code, now moved there
...
Depends-on: I39936ed83d5a60471a0a75da753f498e80aef234
Depends-on: Ifd853bf9f901065798bd0063aeaa786a3761aa71
Depends-on: I32c93c5118eafe5f071252290c58d3de8dacc81a
Change-Id: Iba0f25b3ebe4e5e63377da57afb760d6980f9907
2016-02-05 21:36:56 +00:00
Ed Sanders
db5ed236dd
Add controls for wikitable and sortable to table dialog
...
Bug: T95189
Depends-On: Ife3f3505b845db28dd29a07e9be1533c39726ce1
Change-Id: I1672d8cd2e138df1fad19dcfd948700942e87f2c
2016-02-01 10:58:42 -08:00
jenkins-bot
f78dd8ad72
Merge "MWWelcomeDialog: Let the user switch editors"
2016-01-27 00:20:10 +00:00
James D. Forrester
d8769edd01
MWWelcomeDialog: Let the user switch editors
...
Change-Id: If88942d866278f3012dae7972d464a3d2a6a4f82
2016-01-27 00:14:07 +00:00
Ed Sanders
abb094babd
MWTargetWidget: Add missing indent commands to blacklists
...
Bug: T124619
Change-Id: If2a5d98673db6e2d29fe49f1e7f5307437ba3866
2016-01-26 23:46:12 +00:00
James D. Forrester
ada58df361
build: Bump file copyright notices for 2016
...
Change-Id: I3c618c196e504a80ca297a4132a17f1977a24fb7
2016-01-03 14:57:25 -08:00
jenkins-bot
46c2cafdf6
Merge "ExtensionPreviewDialog: Use a deep copy when preparing sub-doc for editing"
2015-12-16 06:44:45 +00:00
Ed Sanders
f87d92a167
ExtensionPreviewDialog: Use a deep copy when preparing sub-doc for editing
...
Otherwise temporary changes to the previewNode will pollute the original
doc's model tree.
Bug: T121488
Change-Id: I6a6b3d904061b0ce6e0c513ad424aabc3c4472b5
2015-12-15 14:40:07 +00:00
Bartosz Dziewoński
ca81362afd
ve.ui.MWMediaDialog: Make the dialog higher (600px)
...
Avoids a scrollbar for option 4 of the A/B test from T120867.
Change-Id: I3eacb560117219febd6e08066599e2d4d42df219
2015-12-14 20:53:32 +01:00
jenkins-bot
3db4f22ecf
Merge "MWSaveDialog: De-flag the 'return to save' button on diffs"
2015-12-10 21:51:01 +00:00
Ed Sanders
29f33a57d5
Rename mw.Target to mw.ArticleTarget
...
This makes way for a base mw.Target class which is
not specific to articles (e.g. Flow boards).
Bug: T97166
Change-Id: If72650bdf87aa9f195b004da0a4d815f1a8063a3
2015-12-10 16:26:20 +00:00
Ed Sanders
ae26eefb05
Fix typos
...
Add some common ones to typos.json
Change-Id: I3830be4949ab6a5fd998d6937ed83e9f18091c2b
2015-12-09 16:47:13 +00:00
James D. Forrester
ccc087c461
MWSaveDialog: De-flag the 'return to save' button on diffs
...
Change-Id: Icb7c07dae23b7f3ba1b4cdf6c73f17a1bbff1bdf
2015-12-08 13:31:44 -08:00
Ed Sanders
557eb4fe84
MediaDialog: Remove useless empty object arg to media size widget
...
Change-Id: Id85498616f80147cd856d4d12bf5a0e58ad66029
2015-12-07 14:12:56 +00:00
James D. Forrester
3c9a361da0
MWMediaDialog: Add a margin back to the border checkbox
...
This was removed upstream in OOUI as unecessary in general, but clearly
this was the place for which the rule had been designed. :-)
Bug: T119547
Change-Id: I46a1df1141c337b436e66872f1a8cdae026816cd
2015-12-02 18:28:18 -08:00
jenkins-bot
4655ba4c5c
Merge "MWMediaDialog: Use OOUI's 'clock' icon rather than a home-brew one"
2015-11-25 02:53:36 +00:00
James D. Forrester
b68e34fdeb
MWMediaDialog: Use OOUI's 'clock' icon rather than a home-brew one
...
Depends on If4ec151a in OOUI.
Bug: T111100
Change-Id: I90af27a7ba881c588b8a432f1cc1e54ab4c80f79
2015-11-24 18:40:13 -08:00
Ed Sanders
bbdb48abdf
Create MWPreviewElement which adds the mw-body-content class
...
This fixes some rendering issues, and also increases the font
size of reference contexts from 12.8px (interface) to 14px (content).
Bug: T119430
Change-Id: Ib1bae8cd4cfe86903d78406a33db78e1489fde86
2015-11-23 14:28:57 -08:00
Ed Sanders
bd40f62c17
Introduce MWExtensionPreviewDialog
...
An MWExtensionDialog with a PreviewElement for the selected node,
or node to insert.
Depends on Icd622e15cd7 in VE core.
Change-Id: Ia0f46da2d445dd94c8aa50be73508d9f1afcb816
2015-11-18 19:33:32 +00:00
Ed Sanders
e1d14099e0
Image/gallery icons: Rename and use new upstream versions
...
Depends on oojs-ui > 0.13.2.
Change-Id: Iee4cc52b998626e829fd92346d5ee1295c08f26f
2015-11-18 01:49:31 +00:00
jenkins-bot
53dbf3ac2f
Merge "Replace 'source' icon with OOUI's 'wikiText' one"
2015-11-11 01:42:00 +00:00
Ed Sanders
216d0ea7a7
Update CommandHelpRegistry calls for breaking change in core
...
New changes:
281b543 Slugs: Remove vertical alignment hack
d6ddbe4 Localisation updates from https://translatewiki.net .
94bb263 Follow-up d6ddbe4: Fix build for added language 'sd'
bc8579d [BREAKING CHANGE] CommandHelp: Cleanup registry API
Change-Id: I65e2bfc299fbd60d6bdc7a57a030980b6cb8ab18
2015-11-05 07:29:44 -08:00
Ed Sanders
3716682570
CommandHelpDialog: Move registrations to where sequences are defined
...
Change-Id: I031575bbf40cd789252ac5e082bb5fa435eab257
2015-11-04 15:03:58 -08:00
David Lynch
6df227d4e0
MWCommandHelpDialog: update for core changes
...
Also: update VE core submodule to master (61f3fe7)
New changes:
4ef3666 Localisation updates from https://translatewiki.net .
cfa3482 Localisation updates from https://translatewiki.net .
d3486d4 CommandHelpDialog: Rename 'category' to 'groupName'
b5578d1 Localisation updates from https://translatewiki.net .
926595e Update OOjs UI to v0.13.1
61f3fe7 [BREAKING CHANGE] Create CommandHelpRegistry for CommandHelpDialog
Change-Id: If651ed30ab85175c7a262d9ccccc2e1613b0f3d6
2015-11-04 12:01:45 -06:00
James D. Forrester
09800aa249
Replace 'source' icon with OOUI's 'wikiText' one
...
Change-Id: Id66d436b9140604ace7ebfbec1f80dc8f3830a20
2015-11-04 06:15:29 -08:00
Alex Monk
b550323b53
Use mw.loader.using instead of weird hacks to load OOjs UI on action=edit
...
Change-Id: If03dab6130aed7662b04000b809884a514bb2762
2015-11-03 23:55:17 +00:00
Ed Sanders
1b40e6434f
VESwitchConfirmDialog: Set pending on the correct button
...
Button indices were the wrong way around; find the button by
name to avoid future problems.
Change-Id: I778ff11875539d38f5a8905c9ff472fd3bd6baae
2015-11-03 18:58:59 +00:00
Ed Sanders
28a5d0db84
VESwitchConfirmDialog: Use modes to hide 'keep' button
...
Change-Id: I92110ea14ded335db330721c08314c7a20169886
2015-11-03 18:57:15 +00:00
Ed Sanders
17898270ee
CommandHelpDialog: Move insertions into a separate group
...
Also add table and comment insertions.
Change-Id: If87261bf3d01854ab1f7ce1b447589fa8098dcf2
2015-11-03 17:03:56 +00:00
Ed Sanders
91152e2c05
CommandHelpDialog: Use new method for getting access key prefix
...
Change-Id: I85628e9282d7b78a4fdd2ea2f3b0b72019302dcc
2015-11-03 11:06:54 +00:00
Alex Monk
f71a5a5bca
Dialog for switching between wikitext and visual editing
...
Change-Id: I7046ffbe318d046b4baee11f4148ab77fc2af7fd
2015-11-03 01:36:29 +00:00
jenkins-bot
fdafb7e887
Merge "ve.ui.MWMediaDialog: Wait for upload booklet to initialize when setting up"
2015-11-02 19:08:06 +00:00
David Lynch
8bda88f661
Add mediawiki-specific sequences to the command help dialog
...
The extension registers a lot of sequences that don't apply to core
VisualEditor. Pretty much the opposite of the trigger situation, where
almost all are in core. So, merge them into the help dialog.
Update VE core submodule to master (be148ae)
New changes:
7380244 [BREAKING CHANGE] Include sequences in the command help dialog
Bug: T116013
Change-Id: I5ad2939c10140b954fb29e1e50414ab7d79aeab7
2015-10-31 21:28:57 -05:00
Bartosz Dziewoński
0238c53262
ve.ui.MWMediaDialog: Wait for upload booklet to initialize when setting up
...
Depends on I65a92e3915a6844056fb7b3a2758a168eb12e6b8 in MediaWiki core.
Change-Id: If59979f30315c7a2164457108362803544431615
2015-10-28 22:31:45 +01:00
Bartosz Dziewoński
cf6178f3a1
ve.ui.MWMediaDialog: Reset upload booklet when done uploading
...
Bug: T115380
Change-Id: I7c252a08cc2f09385102650e4d437e74d3919e59
2015-10-22 20:30:44 +02:00