Commit graph

866 commits

Author SHA1 Message Date
Pavel Astakhov e727726d2a Fix word jumping (option+arrow key) for Mac
Bug: T175378
Bug: T174055
Change-Id: I7f648691ec3b36f9abe1c5c7fbe5c97e142f500e
2017-09-11 13:56:00 -07:00
jenkins-bot f87ebd5c80 Merge "Improve some parameter docs" 2017-09-11 20:27:40 +00:00
jenkins-bot 9ba136850c Merge "Join the popup label into one message" 2017-09-11 20:19:03 +00:00
jenkins-bot fdb006a17c Merge "Fix home/end behavior" 2017-09-11 20:17:38 +00:00
jenkins-bot ef1d9c2be9 Merge "Update CodeMirror library version to 5.29.0" 2017-09-11 20:17:22 +00:00
jenkins-bot dba972cf9c Merge "Simplify setTimeout" 2017-09-11 18:57:43 +00:00
Fomafix f740a5cb2f Execute codeMirror.save() on beforeunload
This allows the browser to store the textarea on history changes.

Bug: T175509
Change-Id: I8cb2c492582e77bde0e666cd363d31e28bf960e4
2017-09-11 20:26:13 +02:00
jenkins-bot 612e7cae74 Merge "Render everything as long as user doesn't start typing/moving cursor" 2017-09-11 18:00:01 +00:00
Pavel Astakhov 701cdca90b Fix home/end behavior
Bug: T174514
Change-Id: I0f07ac1f4f3bc3a42c620ce88be026fdf42450c6
2017-09-11 21:01:43 +06:00
Fomafix eca881d11f Simplify setTimeout
* Use setTimeout instead of window.setTimeout.
* Directly call function and avoid anonymous function.

Change-Id: Ic396ef744d58fb722761a66f38390d2bb4848c2d
2017-09-11 16:19:55 +02:00
Sam Wilson b4b9da7e51 Join the popup label into one message
The popup label was being styled as two words from two different
i18n messages, each a different colour. This combines them into
one, moves the identifing class name up to the outer span, and
colours both words blue (the outer braces are left black).

Bug: T174219
Change-Id: Id1166f48ae4b3b8daff29be56dd92ef330dd9cef
2017-09-11 10:23:22 +08:00
Umherirrender b1ef6a7f2c Improve some parameter docs
Change-Id: Iaabc83e52c97bc6d33a89208a4ce512ec944b57d
2017-09-09 18:52:39 +02:00
Niharika Kohli 279103fea9 Render everything as long as user doesn't start typing/moving cursor
Bug: T174480
Change-Id: I106b1d0d2a68e8ba2b346fd6aaf06b530d18f8d4
2017-09-08 14:11:01 -07:00
Translation updater bot 8fd002756a Localisation updates from https://translatewiki.net.
Change-Id: Id3f04e0609cc413f43b504cd6cc4cc724a1b045e
2017-09-07 23:18:20 +02:00
Translation updater bot d11626ead5 Localisation updates from https://translatewiki.net.
Change-Id: Ibcf5df190f525947793c6226403611cde568b633
2017-09-05 22:40:45 +02:00
Pavel Astakhov 0ea00f2b0e Update CodeMirror library version to 5.29.0
Bug: T174731
Change-Id: I048270eea67945d959559f68468a39976d777410
2017-09-05 09:39:06 +06:00
Translation updater bot b723eb3d8a Localisation updates from https://translatewiki.net.
Change-Id: I4fbfcd1770ce142075e0280a0bc3589890ea54bc
2017-09-04 22:27:33 +02:00
Pavel Astakhov 41e83d2984 Take out gray background behind indenting bullet in syntax highlighting
Bug: T165001
Change-Id: I51576f46a8d204784755ef645bb5daf1930fe74e
2017-09-04 16:03:10 +06:00
jenkins-bot 94a08e27d6 Merge "Do not redefine the browser history navigation keys Alt-Left and Alt-Right" 2017-09-04 09:06:57 +00:00
Pavel Astakhov f71d17d8d1 Fix for function mw.toolbar.insertTags in chrome and IE
Bug: T164905
Change-Id: I15b60944a95f94b4a2e3b929fe4d00fe757961bd
2017-09-04 14:54:26 +06:00
Pavel Astakhov e1eaac762d Fix cursor position after extension loads
Bug: T174547
Change-Id: I8ce2c61884410c4ca47bd8cbc11d0902df7f1d4a
2017-09-04 13:49:06 +06:00
Translation updater bot f68339da7f Localisation updates from https://translatewiki.net.
Change-Id: I2c38ebbaa44057c6c50ca422624dd2dafd183967
2017-09-03 22:14:37 +02:00
Translation updater bot eb86efbf26 Localisation updates from https://translatewiki.net.
Change-Id: Iddfeff7d41c0ab22817cea61b0e05bf4f78fe9ac
2017-09-03 08:51:28 +02:00
libraryupgrader bd0b0bc463 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: If29f88179f0824902c313c4b64e2ed1a5f084292
2017-09-01 04:46:37 +00:00
Ed Sanders f5210867ba Respect beta feature in new wikitext editor
Bug: T173480
Change-Id: I2ca5a33f09aefe0c3d31082270869a13cee14fc4
2017-08-30 22:53:55 +01:00
Translation updater bot 3af36ed329 Localisation updates from https://translatewiki.net.
Change-Id: Iaece348de29358da39565f40a310bd356ec69304
2017-08-30 10:34:02 +02:00
jenkins-bot ba091f4ee8 Merge "Add RTL support in VE source editor mode" 2017-08-29 15:59:28 +00:00
Translation updater bot 1c8acd94fb Localisation updates from https://translatewiki.net.
Change-Id: I8ac00eea479ac5a58565ea178ea8d7cf80e71e52
2017-08-29 08:39:33 +02:00
jenkins-bot 9def9da73f Merge "Use MyLanguage for betafeature info link." 2017-08-28 17:36:02 +00:00
jenkins-bot 1e1a55600e Merge "Don't assume action=edit/submit is the old wikitext editor" 2017-08-28 10:44:41 +00:00
Translation updater bot f6f2287a8c Localisation updates from https://translatewiki.net.
Change-Id: I08e1840ad7ad65ebf73ee4be31788296b3fce648
2017-08-28 11:59:45 +02:00
Quiddity f418853e8d Use MyLanguage for betafeature info link.
Bug: T145904
Change-Id: I093d3b0fa859b1e7616edf7749af94ddcc902b85
2017-08-26 23:57:39 +00:00
Translation updater bot 385f08ceb4 Localisation updates from https://translatewiki.net.
Change-Id: I86792bb48d790e729200da2285bd41fcb96cdf1b
2017-08-26 08:44:15 +02:00
Max Semenik 54c032d732 Fix exception on some combination of quotes
Bug: T174060
Change-Id: Ie53b7260a98519f45d38d2a705b900142c77c801
2017-08-25 16:05:55 -07:00
jenkins-bot 13a4780879 Merge "Remove $wgCodeMirrorEnableFrontend" 2017-08-25 18:31:20 +00:00
Ed Sanders 439628712b Remove reference to editfont-default
Bug: T170223
Depends-On: I1ace59c980740fc785ccbd500e19cc8b71d46a5b
Change-Id: I1e0dcab462aaa8c924b49d42f8679359a449a62e
2017-08-25 18:46:01 +01:00
Ed Sanders 41f57b2184 Don't assume action=edit/submit is the old wikitext editor
VE will hijack action=edit, and not render the textarea.
Instead check for the textarea directly.

Change-Id: I024d130cd64dd755321f044c372bdcc8b7cdb5f2
2017-08-25 15:14:37 +01:00
Translation updater bot 5e029adb54 Localisation updates from https://translatewiki.net.
Change-Id: I89f45bf8225bc612d6cf7a59879e3986bc0b9986
2017-08-25 09:19:16 +02:00
Fomafix ae8696fea6 Do not redefine the browser history navigation keys Alt-Left and Alt-Right
Bug: T174055
Change-Id: I1e2acb927dfcc0799b78b2dc045c0208246ba111
2017-08-24 20:00:01 +02:00
jenkins-bot a997fd8f36 Merge "Add dependency to module 'mediawiki.user'" 2017-08-24 16:37:25 +00:00
Brad Jorsch a676e88ced Remove execute mode from non-executable
Change-Id: I9b75cd46e6179bd9166c5f3f8ccb09b61313e663
2017-08-24 11:56:59 -04:00
Florian Schmidt 00a0baf8b6 Remove $wgCodeMirrorEnableFrontend
Not needed/used anymore.

Bug: T172470
Change-Id: I9aa03c97bd775248f3a2cfb316df77eb7ef86457
2017-08-24 17:55:08 +02:00
Fomafix 93844520cc Add dependency to module 'mediawiki.user'
ext.CodeMirror.js uses mw.user.isAnon from module 'mediawiki.user'.

Change-Id: If1a98914ad58e9ed004089a6c2ebf3295974712b
2017-08-24 11:12:33 +02:00
L10n-bot 9fa2c817ff Merge "Localisation updates from https://translatewiki.net." 2017-08-24 07:09:58 +00:00
Translation updater bot 447cbf0fab Localisation updates from https://translatewiki.net.
Change-Id: I9286d6c39e8aef8255dd73a32fe143ad8fe13bed
2017-08-24 09:09:48 +02:00
jenkins-bot 36dbd245f0 Merge "Remove leading spaces" 2017-08-24 07:00:13 +00:00
niharika29 c6ab876fe7 Update the CodeMirror icon in NWE to the highlight icon, like in the other editors
Change-Id: I92c61c0bb21fc80ee6ab3ffd521d59764e757f7c
2017-08-23 17:22:23 +00:00
jenkins-bot 60f6efeb47 Merge "Don't use tab indenting between array items" 2017-08-21 21:14:14 +00:00
jenkins-bot fc5eec669b Merge "Add padding support for other skins" 2017-08-21 20:02:47 +00:00
Reedy 5cd288b203 Don't use tab indenting between array items
Change-Id: Ifbc293c5075c6518edbefd5d7c4b6ce2cd71ace3
2017-08-21 19:53:52 +01:00