Commit graph

1190 commits

Author SHA1 Message Date
jenkins-bot ea352c0f95 Merge "Set 'clear: both' on .CodeMirror for compatibility with gadgets" 2017-09-28 16:01:31 +00:00
Translation updater bot b318ec39ff Localisation updates from https://translatewiki.net.
Change-Id: I3c2a282f62fa72ee125460b13c02cb9a82156bbe
2017-09-27 22:20:06 +02:00
Translation updater bot e45579417b Localisation updates from https://translatewiki.net.
Change-Id: Ie3a1839d0b43db824a31cb74ff23dc7f91752e4c
2017-09-26 22:32:22 +02:00
Pavel Astakhov 249d757470 Update CodeMirror library to 5.30.0
Bug: T176685
Change-Id: I551b3b335be9b9ec05625482a14c32cc994f8df1
2017-09-26 09:28:20 +06:00
jenkins-bot 3f226d7223 Merge "Fix cursor position after extension loads" 2017-09-26 00:55:25 +00:00
Translation updater bot ae0077b8f8 Localisation updates from https://translatewiki.net.
Change-Id: Ib2f5dedc272ad663b1fccab4e41b31bfe9177684
2017-09-25 22:28:42 +02:00
Translation updater bot 560b8e9c9b Localisation updates from https://translatewiki.net.
Change-Id: Icf5227e926d7935e40ecb5b3401ce31d84bd8222
2017-09-24 22:33:51 +02:00
libraryupgrader be5b9aeecf build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: Ie3156065b7e4df152dcf1db8d13e494b646f647b
2017-09-24 05:21:32 +00:00
Translation updater bot 2705afaa90 Localisation updates from https://translatewiki.net.
Change-Id: Ic536e3f5aa921a15687dc1d5afa85374f3d99311
2017-09-19 22:47:24 +02:00
Ebrahim Byagowi 975fddb114 Set 'clear: both' on .CodeMirror for compatibility with gadgets
.CodeMirror is supposed to magically replace it. Some gadgets'
interface displays incorrectly without it.

Change-Id: I27e2b5b462aa445a13f50dc99af57b4bb0ad3067
2017-09-19 21:37:05 +04:30
Fomafix 058037bba2 Remove call codeMirror.save()
codeMirror.toTextArea() already calls codeMirror.save().

Change-Id: Ifeb8c482149540832d6389a9337baffbf9ec03fb
2017-09-19 14:10:34 +02:00
Translation updater bot 2c5f383576 Localisation updates from https://translatewiki.net.
Change-Id: Ic398d405d9b896a3742dae7010df38747bfbdf8e
2017-09-16 22:38:56 +02:00
jenkins-bot 1b6637bd43 Merge "Fix for function mw.toolbar.insertTags in chrome and IE" 2017-09-15 23:00:20 +00:00
Translation updater bot a29f7117d0 Localisation updates from https://translatewiki.net.
Change-Id: Ia9bb9f414e7a3b68d12075ef78d346abe703e18f
2017-09-14 23:11:04 +02:00
Niharika Kohli 150cf016b2 Turn on native CodeMirror spellcheck feature
It's not fullproof. There's bugs where it forgets a string is misspelled
after re-rendering. But it's better than nothing.

Bug: T95104
Change-Id: I33718a71ff5734912ac59be2cd9575dd662ec2f7
2017-09-14 12:59:44 -07:00
Translation updater bot b53ead6e3e Localisation updates from https://translatewiki.net.
Change-Id: If4e7aa31d49e7c9739b6d81b4f81f41b5605cab7
2017-09-13 22:33:36 +02:00
jenkins-bot 5128648e0b Merge "i18n: use correct language and direction" 2017-09-13 18:45:12 +00:00
Ebrahim Byagowi a3e4ea6789 i18n: use correct language and direction
Change-Id: I6fd368f923b52a299633acb361748317ec18bdd1
2017-09-13 22:32:46 +04:30
Pavel Astakhov cd4bdebe8b Add highlighting of double underscore Magic Words as __TOC__
For testing:
__NOTOC__
___NOTOC___
____NOTOC____
_____NOTOC_____
______NO!TOC__NOTOC____
______NO{{TOC}}_____
______NO[[TOC]]_____
______NO'''TOC'''_____
__nOtOc__
FFFFF___NOtoc______
'''____________NOTOC______'''
__TOC___TOC__
__TOC____TOC__
___TOC_____TOC___
__TOC___TOC__
___NOTOC___
____NOTOC____
_____NOTOC_____
______NO!TOC__NOTOC____
______NO{{TOC}}_____
______NO[[TOC]]_____
______NO'''TOC'''_____
__nOtOc__
FFFFF___NOtoc______
{{__TOC__|__TOC__}}

Wrong, but not a big problem:
[[__TOC__|__TOC__]]

Bug: T170041
Change-Id: I0b2cfd02550c2685d241bdf3596507c5972878d5
2017-09-13 10:43:41 +06:00
Translation updater bot d8d273b4af Localisation updates from https://translatewiki.net.
Change-Id: I83c2fc4978a2b06aded1d14d9b51ec25fe242e56
2017-09-12 22:28:34 +02:00
Pavel Astakhov 3ce3e5554b Change the sas.js file mode to 0644
Change-Id: I759d135386f98e9eb32ce6fef932f73b4c05fb20
2017-09-12 11:14:10 +06:00
Sam Wilson 0ca61108d1 Change popup label colour to green
This is to stop it looking so much like a link that can be clicked on.

Bug: T174219
Change-Id: Icdae8ddf32aa0c08fe0d708eb289bafe53f9b589
2017-09-12 08:29:49 +08:00
jenkins-bot a8c4d4716e Merge "Fix word jumping (option+arrow key) for Mac" 2017-09-11 21:38:31 +00:00
jenkins-bot 53588392f9 Merge "Take out gray background behind indenting bullet in syntax highlighting" 2017-09-11 21:03:28 +00:00
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