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
6dd7576941
AceEditorWidget: Add method to clear undo stack
...
After the widget is initialised the caller will probably
want to clear the undo stack, so that the first state
is the initial value provided.
Bonus: Add documentation for the widget.
Change-Id: Ia331acc4177e32784061cae55c450eb0f83fd744
2015-11-03 13:41:09 -08:00
Translation updater bot
a9befc64b3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9dd2d16b514a0f576f6b886ba16c4db8fc112069
2015-11-03 21:54:34 +01: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
Alex Monk
07c6c17e5c
Unbreak loading of VE in the read page
...
Change-Id: Ic3e4e65296fa63b3a7d5114366f2859f4ce3f21d
2015-11-03 18:16:47 +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
jenkins-bot
36e2e85e53
Merge "Update VE core submodule to master (062cb26)"
2015-11-03 10:59:23 +00:00
James D. Forrester
c714eb173c
Update VE core submodule to master (062cb26)
...
New changes:
6cae77b ElementLinearData: Add another case to hasContent
d2e15f2 SurfaceFragment: Improve handling of delete all
16db2a3 Return 'null' instead of null in ve.Filibuster observers
24de6b2 Introduce key down handlers to separate logic from ce surface
f77fe99 Localisation updates from https://translatewiki.net .
062cb26 Localisation updates from https://translatewiki.net .
Change-Id: I61c94983c7898af219266af3022761638c7578b7
2015-11-03 10:36:53 +00:00
jenkins-bot
adb0c427ef
Merge "[PULL THROUGH] Remove resize detection now that TextInputWidget implements it"
2015-11-03 01:47:41 +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
56af2bb742
Merge "MWSaveDialog: Fix styling of border radii"
2015-11-03 01:28:30 +00:00
jenkins-bot
cfef14dd4a
Merge "Tags: Switch 'VisualEditor' out for 'the visual editor' as elsewhere"
2015-11-03 01:24:38 +00:00
jenkins-bot
097482bbff
Merge "MWEducationPopupTool: Changes to the dot"
2015-11-03 01:24:35 +00:00
Ed Sanders
926d39d54d
MWSaveDialog: Fix styling of border radii
...
Remove bottom border radii from the <textarea> and apply to
the options bar instead.
Apply different values for Apex and MediaWiki themes.
Change-Id: If727863a87547692ee499d2141c0418658609412
2015-11-03 01:20:52 +00:00
jenkins-bot
ab42a490d9
Merge "AceEditorWidget: Preserve selection on setValue"
2015-11-03 01:17:18 +00:00
Alex Monk
5eaa211d43
MWEducationPopupTool: Changes to the dot
...
Make the dot more like the one in the designs, with two circles etc.
Change-Id: Ic3e1b2dcd846c5825455b68697acab44016ee598
2015-11-03 01:15:44 +00:00
Ed Sanders
e582fae840
[PULL THROUGH] Remove resize detection now that TextInputWidget implements it
...
This depends on the OOUI release which contains Iaadaf1f9f.
Change-Id: I24d3756d627fc3514d8b476f9af87fdecbaa1e09
2015-11-03 01:13:26 +00:00
jenkins-bot
a0a0f0e2c0
Merge "Allow switching from wikitext to VE"
2015-11-02 23:18:33 +00:00
Translation updater bot
05ce5efbdf
Localisation updates from https://translatewiki.net .
...
Change-Id: I78ab1b44b18ed3080ee1a1e9ceca58501544abf7
2015-11-02 22:40:02 +01:00
Alex Monk
85b745666f
Allow switching from wikitext to VE
...
Just by pressing the VE tab for now
Requires a relatively new version of restbase
Bug: T49779
Change-Id: I2a5294345f5e0f469c1dd1bdd29dbce211571a4e
2015-11-02 20:55:19 +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
jenkins-bot
df5eff257c
Merge "Add mediawiki-specific sequences to the command help dialog"
2015-11-02 17:33:52 +00:00
jenkins-bot
54782884d5
Merge "[BrowserTest] Select English when LANGUAGE_SCREENSHOT_CODE environment variable is not set"
2015-11-02 12:22:39 +00:00
Vikas S Yaligar
0971054f40
[BrowserTest] Select English when LANGUAGE_SCREENSHOT_CODE environment variable is not set
...
Bug: T111525
Bug: T90577
Change-Id: I421c4c0ce7bcf7be757d31481940ada58e4c9f20
2015-11-02 12:18:07 +00:00
Translation updater bot
6096916701
Localisation updates from https://translatewiki.net .
...
Change-Id: I1c0c5dd11c8a900da883c4e53d554fcd9d4ac1a8
2015-11-01 21:41:46 +01: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
Translation updater bot
3791e5658a
Localisation updates from https://translatewiki.net .
...
Change-Id: I75b45bcfab4a86d785dfd8052c950ad5edd4e4f3
2015-10-31 21:08:22 +01:00
Translation updater bot
8303873ced
Localisation updates from https://translatewiki.net .
...
Change-Id: I86d151740c187a018a7e33afc88c601e614f8dd7
2015-10-30 21:51:06 +01:00
Ed Sanders
bd22be33db
AceEditorWidget: Preserve selection on setValue
...
Also avoid calling setValue when the value hasn't changed
so as not to pollute the undo stack.
Change-Id: I07fc5db0480a8583b361d472723f863ca90046f7
2015-10-30 16:14:09 +00:00
Alex Monk
9f3864723f
Register the preference to hide education popups
...
This is needed for logged in users
Bug: T117083
Change-Id: I8e214ef2f043c97e387b65f47db6b8d234c55339
2015-10-30 02:10:46 +00:00
Thalia
7731508134
Make new error element
...
Bug: T114754
Change-Id: I5839ba62fe4b4708ff51dc549c5294189d7f8843
2015-10-29 22:32:42 +00:00
Translation updater bot
a3dc541e0c
Localisation updates from https://translatewiki.net .
...
Change-Id: I2fdbb79b00eec6579f53e66c7395998d209424d2
2015-10-29 21:27:15 +01:00
jenkins-bot
fa9afc603e
Merge "AUTHORS: Update for October 2015"
2015-10-29 19:29:23 +00:00
James D. Forrester
21318c6dc7
AUTHORS: Update for October 2015
...
Change-Id: I2b1837ffe523d365e161963b9de48e2a6934ea31
2015-10-29 15:02:04 -04:00
David Lynch
338aaf4064
Make jsonlint ignore more node_modules
...
Right now jsonlint only ignores the top-level node_modules. If you've
built docs, there'll be a node_modules folder somewhere in there...
containing the highly-problematic jsonlint test suite. So, ignore all
node_modules directories no matter where they are.
Change-Id: Ie6f3b8c5749036dae60551d7f07c1ae6ab72d722
2015-10-29 12:26:47 -05:00
Ed Sanders
2c2f8c8a04
MediaSearch: Order search results correctly
...
Bug: T117036
Change-Id: Ia11f3486214425f203695a6060e304a90eba7734
2015-10-29 12:51:22 +00:00
jenkins-bot
1a92da4a58
Merge "Update VE core submodule to master (ec09198)"
2015-10-28 22:27:57 +00:00
James D. Forrester
39574d0116
Update VE core submodule to master (ec09198)
...
New changes:
e0e3096 Remove selectionStart and selectionEnd events
af34d54 ve.dm.Selection: Add getter for name static property
6c16485 DataTransferHandlerFactory: Fix documentation
34542f3 Remove non-existent browser prefix
956db1c Update OOjs UI to v0.13.0
53d53e3 FindAndReplace: Start search at current offset
Change-Id: I40d728af44b7dc98756b44f392c623c8aa3b4b89
2015-10-28 22:33:14 +01: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
Translation updater bot
3583645f59
Localisation updates from https://translatewiki.net .
...
Change-Id: I949f0feecd93fb5d5de5427b760240c9432a3704
2015-10-28 21:56:56 +01:00
Translation updater bot
bd80afd598
Localisation updates from https://translatewiki.net .
...
Change-Id: I803c50fa52067ed7912adb800b84dc28f27a9d8b
2015-10-27 21:33:59 +01:00
Ed Sanders
def886b845
AceEditorWidget: Make setters chainable and support invalid flag
...
Change-Id: I78f395459f526164c0c506beec62a0083817e64b
2015-10-27 19:02:17 +00:00
Ed Sanders
b222696675
DesktopTarget: Fix opacity of #siteSub and #contentSub
...
siteSub and contentSub are both children of bodyContent so
no need to give them opacity directly.
Bonus: Make them user-select:none to avoid confusion as they
are in the edit area.
Bug: T116755
Change-Id: Iea4c35abc1eedb892e02c54b61e40726fa2b096e
2015-10-27 14:41:45 +00:00
Krinkle
59f55fbb9b
Revert "DesktopArticleTarget.init: Tolerate missing wgRelevantPageName"
...
Shouldn't be needed once T116693 is fixed.
This reverts commit 39bb635a60
.
Change-Id: I545a9eba85f15dcae00c5f117939960acf4113d2
2015-10-27 01:07:47 +00:00
Roan Kattouw
39bb635a60
DesktopArticleTarget.init: Tolerate missing wgRelevantPageName
...
For some reason this happens on some zhwiki pages.
Bug: T116693
Change-Id: I2880b8e7f2ed933928b155dd8727012f79854e1d
2015-10-26 16:31:44 -07:00
Translation updater bot
4245756344
Localisation updates from https://translatewiki.net .
...
Change-Id: I6877fd0a9b91bc25e162dd45d366018e7b05e2af
2015-10-26 21:05:19 +01:00
James D. Forrester
0fbebacb9f
Update VE core submodule to master (d33328d)
...
New changes:
2fc5122 Ellipsis placeholders when not enough room
6d66479 Reapply the cursor after delete to kill browser preannotations
3ccc9e2 Unicorns: Apply styles with classes, rename variables
14287df Localisation updates from https://translatewiki.net .
0ac1cff Localisation updates from https://translatewiki.net .
d0c4726 Fix right-click copy on table cells
Change-Id: Ibb9ff9db525dcff7d948bb536cbd1b9823eec197
2015-10-26 17:22:01 +01:00
Ed Sanders
35b9c4119a
AceEditorWidget: Use mw.loader#getState instead of private moduleRegistry
...
Change-Id: I845651af837ccc042b6193876e17ba2b571dfe9c
2015-10-26 09:31:37 +00:00