Commit graph

11852 commits

Author SHA1 Message Date
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
Translation updater bot 565a10da61 Localisation updates from https://translatewiki.net.
Change-Id: I937839d0970a94312dfa12aa2aa282b45a4d9d80
2015-10-25 22:09:01 +01:00
Timo Tijhof 51369ab9ab mw.TargetLoader: Avoid private mw.loader#moduleRegistry property
Follows-up 28f3a02e56.

* Use mw.loader#getState() instead of private 'moduleRegistry'.
  This property is not a supported API and may change at any time.

* Use plain push() instead of splice(). The order of modules
  is insignificant as dependencies are enforced by module registry
  only. Besides, the order is additionally normalised both
  client-side and server-side by ResourceLoader.

Change-Id: Id9291c97c3bfc01c4cf203aa7b15629fb8412f5b
2015-10-24 22:26:14 +01:00
James D. Forrester 3893ba87ca build: Upgrade mediawiki-codesniffer from v0.4.0 to v0.5.0
Change-Id: I7962490104cfd007abc726c81fa5039bae09a801
2015-10-23 08:41:19 -07:00
jenkins-bot bc5e827ffb Merge "AceEditorWidget: Use showLineNumbers instead of showGutter" 2015-10-22 23:24:53 +00:00
jenkins-bot 724aeb9b33 Merge "Add theme-specific drop shadows to target loading bar" 2015-10-22 23:06:58 +00:00
jenkins-bot a67c62a754 Merge "Create separate skinStyles for target loading bar" 2015-10-22 23:06:56 +00:00
Ed Sanders 21aec73795 AceEditorWidget: Use showLineNumbers instead of showGutter
The gutter is still useful even if line numbers are hidden.

Change-Id: Ia85ce7cd4987eb0b7022dc35cfd1029fbe78e3dc
2015-10-23 00:04:57 +01:00