Derk-Jan Hartman
2de765b86c
JSHint: fix the last jslint/hint failures
...
Change-Id: I3695d0da964ee607d91510c490793aca1ace5d58
2014-01-11 12:11:57 +01:00
Derk-Jan Hartman
85fdb01d00
Enable ACE webworkers
...
Now that the RL path is set correctly we can enable the webworkers
This adds syntax checker and linting
Change-Id: Ie9177d4acae45f2aadb1dfd3e66049195056bca0
2014-01-11 08:39:31 +00:00
jenkins-bot
9603214b8b
Merge "Use page ContentModel to choose editor language"
2014-01-10 15:43:42 +00:00
Derk-Jan Hartman
f7b689d9f0
Use page ContentModel to choose editor language
...
Bug: 42593
Change-Id: I894afc3119719bfb3feff2677df12842bdf47ef8
2014-01-10 11:58:24 +01:00
Derk-Jan Hartman
a6e4d82b58
Remove extraneous border in CodeEditor
...
Change-Id: Iedfed3e8722cb8440797d692739322d7fdf05b43
2014-01-09 22:26:19 +01:00
Derk-Jan Hartman
62da94ce68
Remove trailing commas
...
Also submitted upstream as:
https://github.com/ajaxorg/ace/pull/1742
Change-Id: Ia71b4e35a7168ea4c437ae728de71e5b0fe03bbe
2014-01-09 18:01:43 +00:00
Derk-Jan Hartman
05e6be051c
CodeEditor: Update to package 12.02.2013 (December 2013)
...
ACE defaults to a white background now. I have no preference in
this, but it is caused by a change in the TextMate theme. There is a
bugreport (Bug 55423) about the old blue background.
This fixes an annoying problem with Safari 7, where characters are no
longer properly measured by ACE.
https://github.com/ajaxorg/ace/issues/1534
Fixes double-click to select:
https://github.com/ajaxorg/ace/issues/956
Set proper basePath so that require works, allowing conditional loading
of ACE resources. Need for Find to work after this update
Bug: 55423
Bug: 45876
Bug: 58521
Change-Id: Ia64b67b4553f77c6ba3d2aefec4bab62d111deb7
2014-01-02 11:11:32 +01:00
Siebrand Mazeland
daf1aee4e8
Combine var statements
...
Change-Id: If005690ab8ecf21e64399781acbecd1ec3b02172
2013-12-31 18:44:56 +01:00
Siebrand Mazeland
2d121364d3
Update formatting of JavaScript files
...
Change-Id: I7a18b7f76f7c0a064645f23974f1fe09dafc4ca2
2013-12-31 13:03:11 +01:00
Siebrand Mazeland
37e2ec1286
Fix some JSHint issues
...
Change-Id: I46ae3ce2f39b35af6d75a94b5132eea0e6672064
2013-12-31 12:58:35 +01:00
Translation updater bot
407ea7a1c4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ieeb142443c7c88370a31077b11c1845ea27ac586
2013-12-07 01:34:11 +00:00
Translation updater bot
655b8c4083
Localisation updates from https://translatewiki.net .
...
Change-Id: I4008d81e07994dde269c9ab1e431fa499282f2ee
2013-11-27 19:25:47 +00:00
Translation updater bot
cb992bb83f
Localisation updates from http://translatewiki.net .
...
Change-Id: I25e5f0649c19934c0781b0edae017a825249687a
2013-10-08 19:03:42 +00:00
Translation updater bot
9c2e0563b8
Localisation updates from http://translatewiki.net .
...
Change-Id: I8810aaca6673c00f50ba3b0a79deb94abac4f3d5
2013-10-08 00:51:53 +00:00
Translation updater bot
e5578f9303
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie010035dfcc5be3516c3107395fa99c274c4470b
2013-10-06 18:25:14 +00:00
Translation updater bot
3adac6d3de
Localisation updates from http://translatewiki.net .
...
Change-Id: I99b879b2da38f61fd8d9dbea14110d2f6704d9fd
2013-09-29 19:54:03 +00:00
Translation updater bot
963fad36db
Localisation updates from http://translatewiki.net .
...
Change-Id: I46f93640a32a443c122bb24eccc29d56d12e0640
2013-09-21 19:36:39 +00:00
Translation updater bot
c32f4eae3c
Localisation updates from http://translatewiki.net .
...
Change-Id: Id277ad78730da8c987519d1fcb03183e19eaca39
2013-09-05 20:22:27 +00:00
Translation updater bot
78a8480cb7
Localisation updates from http://translatewiki.net .
...
Change-Id: Ifde471bcad49a9f05b9536699dcfa24e2c3b594b
2013-08-30 19:22:55 +00:00
jenkins-bot
2ce7afebbd
Merge "Explicit dir="ltr" for code"
2013-08-26 20:47:32 +00:00
Krenair
7a9b6a5168
Save real tabs and allow configuration by users via JS hook
...
Bug: 39616
Change-Id: I64c3b9b53f1265f5b9c19edb480040113fa85590
2013-08-25 18:45:16 +01:00
Amir E. Aharoni
54c5b35bc3
Explicit dir="ltr" for code
...
Change-Id: Ia7d6958a10481c39abb1406b67210cac998818e7
2013-08-24 11:19:30 +03:00
Translation updater bot
7adc7b1a8b
Localisation updates from http://translatewiki.net .
...
Change-Id: I98abcd7a0c80dee830a25de93959d5cd72b5bf5a
2013-08-18 19:31:59 +00:00
Translation updater bot
1ebd8c2be4
Localisation updates from http://translatewiki.net .
...
Change-Id: I2bf7fd9425eeb9dff43248ef8ff4f3343da4aecc
2013-08-05 19:34:49 +00:00
Translation updater bot
eb962f4235
Localisation updates from http://translatewiki.net .
...
Change-Id: I1c611d6bd218494713c6c69047b6ee60b3e1a350
2013-07-14 19:14:54 +00:00
Translation updater bot
a740c83534
Localisation updates from http://translatewiki.net .
...
Change-Id: I79f0cf02bce2d8fddf7f24ef478674b205128406
2013-07-10 21:27:03 +00:00
jenkins-bot
63ff4e1750
Merge "Adjust after changes in core"
2013-07-04 22:03:07 +00:00
jenkins-bot
b670511574
Merge "Use CodeEditor for user css/js subpages"
2013-06-10 17:41:44 +00:00
Translation updater bot
70b2d942c3
Localisation updates from http://translatewiki.net .
...
Change-Id: Icb6e74b374f3d938053ab6e56e723861556f9e99
2013-06-03 18:19:21 +00:00
Translation updater bot
1ee6b5cdcb
Localisation updates from http://translatewiki.net .
...
Change-Id: I7860cb8a0f7e369c48c9777a0bd220b272da37f1
2013-06-03 11:40:58 +00:00
Translation updater bot
eeaf2083f9
Localisation updates from http://translatewiki.net .
...
Change-Id: Id08cd79f9af28a08cb62c72548d91dc99c940819
2013-05-21 05:48:20 +00:00
Brad Jorsch
ce1cfd6a0e
Use CodeEditor for user css/js subpages
...
The test for $title->isCssJsSubpage() seems to have gotten lost in
the refactoring in r110794, so enabling CodeEditor for core only
affects the MediaWiki namespace. This restores that test, so user css/js
subpages also get CodeEditor when $wgCodeEditorEnableCore is true.
Change-Id: Id02825f922a1ed0aace7c9ffd940fe8d29bb5d79
2013-05-20 20:56:50 +00:00
MatmaRex
d841459c2e
Adjust after changes in core
...
I6a6c12a9, Id27555c6.
Change-Id: I2e93cfffd7b31b090c93f7911e1e45f2a6619371
2013-05-17 22:04:51 +02:00
Brad Jorsch
b802deafbf
Make CodeEditor cooperate with the experimental live preview
...
LivePreview takes the text from the textarea and sends it to the server
via an Ajax call to handle preview and diff. But CodeEditor hides that
textarea, and only updates it when the form is submitted or the "disable
CodeEditor" button is used.
Fortunately, LivePreview already provides a custom JavaScript event to
indicate when it is about to pull the textarea contents. So all we have
to do is listen for that and update it.
Bug: 47235
Change-Id: Iba1b727c55aabcd31afc06cec99618fcdce207d8
2013-05-07 11:08:47 -04:00
Translation updater bot
8cad4501ac
Localisation updates from http://translatewiki.net .
...
Change-Id: I225f414ae5a7ee64df498d75e1543711bdfa4416
2013-03-25 19:34:07 +00:00
Ori Livneh
1848feb329
Merge "Disable background linting using WebWorkers"
2013-02-20 10:57:06 +00:00
Translation updater bot
d98a0faf1b
Localisation updates from http://translatewiki.net .
...
Change-Id: Ia2388945d38d0788e352c5874aa683448587cd14
2013-02-19 20:36:05 +00:00
Ori Livneh
8ee19004b3
Disable background linting using WebWorkers
...
Ace uses JavaScript Web Workers for linting code. Ace's attempt to load workers
in JS and JSON modes runs into the mismatch between its require()
implementation and ResourceLoader, resulting in a request for
/worker_<lang>.js, which 404s.
Change-Id: Ia60ef2122c015635ef0ad963a956b4f77cd6f7e8
2013-02-14 19:05:45 -08:00
Translation updater bot
76b4b6e80d
Localisation updates from http://translatewiki.net .
...
Change-Id: Ie3a781aa1dc442de894293f0d033304385a9fb1c
2013-01-21 20:46:17 +00:00
Translation updater bot
75378095a8
Localisation updates from http://translatewiki.net .
...
Change-Id: Ibc289523891d622fab6e7e51d39c71175ca3cbe1
2012-12-31 20:35:03 +00:00
Translation updater bot
bb240010d5
Localisation updates from http://translatewiki.net .
...
Change-Id: I792f2e8682c749c79891fceeb006279da029792e
2012-12-29 19:36:51 +00:00
Ori Livneh
920f6b7060
Merge "(Bug 42561) Enable Ace's JSON mode"
2012-12-29 08:32:32 +00:00
Translation updater bot
d0301440bd
Localisation updates from http://translatewiki.net .
...
Change-Id: I4c96d4a5570cb4dd45a087de2ba78207242130ff
2012-12-26 21:02:15 +00:00
Translation updater bot
69cadfdee2
Localisation updates from http://translatewiki.net .
...
Change-Id: Ifa4731953b08ce7cf3e79b666d2e04eb2e44dd8c
2012-12-25 20:01:39 +00:00
Translation updater bot
440d27f629
Localisation updates from http://translatewiki.net .
...
Change-Id: I21f535d563e27c90e2bdd04f7a4a4e3c70d1ff67
2012-12-23 21:46:18 +00:00
Translation updater bot
6c6b90b471
Localisation updates from http://translatewiki.net .
...
Change-Id: I16d94b02f285ce51d9294c0fd6da731c90f44f9f
2012-12-21 20:14:49 +00:00
Ori Livneh
4ae61874af
(Bug 42561) Enable Ace's JSON mode
...
MZMcBride suggested CodeEditor should be deployed to Meta, citing the
need for a JSON-aware interface for editing articles in the new
Schema: namespace, which are JSON-encoded. The bundled distribution of
ACE supports JSON, but the extension does not include it as one of the
file formats it supports.
Change-Id: Ice63dece67c732b76c23abc617782332435427cf
2012-12-01 01:09:55 -08:00
Translation updater bot
33178edcee
Localisation updates from http://translatewiki.net .
...
Change-Id: I6c6ca6c6220cefd1329a93a4296ffedb00723f71
2012-11-28 20:13:50 +00:00
Translation updater bot
374cedd883
Localisation updates from http://translatewiki.net .
...
Change-Id: I90e405fc0a52bd00ffa258185ec3c9f466fb7e1b
2012-11-08 21:07:23 +00:00
Translation updater bot
d221a0f341
Localisation updates from http://translatewiki.net .
...
Change-Id: I3c3fc39e87aa0ea5578963cdf928e5c1a6ed9f5f
2012-10-22 01:10:32 +00:00