Commit graph

627 commits

Author SHA1 Message Date
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
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