Commit graph

860 commits

Author SHA1 Message Date
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
Reedy abb754a4e6 Remove leading spaces
Change-Id: I1acf3d018ac2cf55e9cbe1a410445bc74c418a4c
2017-08-21 19:41:18 +01:00
Umherirrender fee338e719 Use json extension for .stylelintrc
Bug: T173516
Change-Id: Iacceced4b25b59e32f38e53b9ec2dd9df8193477
2017-08-19 09:40:58 +02:00
Ed Sanders 29680aceb7 Add padding support for other skins
Change-Id: Ia7494545f2dda36bc2798c23ff8a2855212b77aa
2017-08-13 12:38:40 -04:00
Ed Sanders 659e0963f1 Separate out CodeMirror config data and add to VE mode
Bug: T172958
Change-Id: I2d7969782ee9f02347f7aa0c7f0eebb2d592904d
2017-08-13 12:06:41 -04:00
Ed Sanders 11f592ba54 Add RTL support in VE source editor mode
Bug: T170001
Change-Id: I7223a57969a2299a86d73cfd57336e8d56086520
2017-08-13 11:10:54 -04:00
Kunal Mehta c031b00321 build: Updating jakub-onderka/php-parallel-lint to 0.9.2
Change-Id: If37d37df6e03066b6bfa72bf96f36b54a4a2f21b
2017-08-12 23:33:50 -04:00