Commit graph

503 commits

Author SHA1 Message Date
Fomafix 7ac2322b23 Reorder functions to avoid forward references
The eslint-disable-next-line no-use-before-define are removed.

Change-Id: Ifad97ac467b7bf4b1051015129eca3e2f5a32807
2017-10-16 06:20:19 +02:00
Translation updater bot abd9f077c9 Localisation updates from https://translatewiki.net.
Change-Id: Ib4ba0b43851f564e7e4bddb430a58b21778f826d
2017-10-15 22:35:24 +02:00
Translation updater bot 350552532e Localisation updates from https://translatewiki.net.
Change-Id: I9452fd8378f84de8dc238587495693bf915f1a1b
2017-10-13 22:32:53 +02:00
jenkins-bot 36c096c86f Merge "Remove call codeMirror.save()" 2017-10-13 01:55:20 +00:00
Translation updater bot d2205c8aa8 Localisation updates from https://translatewiki.net.
Change-Id: I7f2985d6e3281cd5acc971179489175a0da018f2
2017-10-09 22:43:36 +02:00
Translation updater bot 4833ee606f Localisation updates from https://translatewiki.net.
Change-Id: Ieca5d6ac7f502fcbe2aee0bda96065f526f3cb2d
2017-10-06 22:30:50 +02:00
Translation updater bot c005c90df4 Localisation updates from https://translatewiki.net.
Change-Id: If1f116b6643cf2f7c6de653255d4e09102c3a429
2017-10-05 22:32:34 +02:00
jenkins-bot 61bd4d7c92 Merge "Disable spellchecking for Firefox users on non-Mac systems" 2017-10-04 23:55:03 +00:00
jenkins-bot 02062173b6 Merge "Turn on native CodeMirror spellcheck feature" 2017-10-04 23:54:32 +00:00
Niharika Kohli 29f6b48eeb Disable spellchecking for Firefox users on non-Mac systems
Bug: T95104
Change-Id: I86dbee82def94a38156f090d519f969f221c72e1
2017-10-04 15:37:02 -07:00
jenkins-bot ca3ff81fc1 Merge "Remove reference to editfont-default" 2017-10-03 18:48:23 +00:00
Translation updater bot c2e4b52cbf Localisation updates from https://translatewiki.net.
Change-Id: I6561a130c61776ee2fe9844d91124437fe49d441
2017-09-30 22:34:19 +02:00
jenkins-bot 76671dc662 Merge "Respect beta feature in new wikitext editor" 2017-09-29 05:37:46 +00:00
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