Commit graph

705 commits

Author SHA1 Message Date
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
Translation updater bot a57a20af5a Localisation updates from http://translatewiki.net.
Change-Id: I5fe4eb9a2d18c2ad9ce1ada6d54ba706a543d0be
2012-10-07 20:31:21 +00:00
Translation updater bot e613b599a0 Localisation updates from http://translatewiki.net.
Change-Id: I1e00ee1605a164d104059238455857707733e079
2012-10-02 13:37:45 +00:00
Translation updater bot 31f5f66bba Localisation updates from http://translatewiki.net.
Change-Id: I0f873a7533aeea280a84462dd1fca00242ebfc46
2012-09-26 19:41:50 +00:00
Translation updater bot 2aa27e6899 Localisation updates from http://translatewiki.net.
Change-Id: Ia88634b1cb1f5667e1e6717494633de554b3d9a2
2012-09-24 19:13:22 +00:00
Translation updater bot 4cc75cac78 Localisation updates from http://translatewiki.net.
Change-Id: I4d2b6def42253f738380d26bc56da7169c2763c3
2012-09-23 19:01:58 +00:00
Translation updater bot 9b28233975 Localisation updates from http://translatewiki.net.
Change-Id: I039f78decdd8b8956566337acca62d9582398f89
2012-09-13 20:41:00 +00:00
Translation updater bot 48ab40773f Localisation updates from http://translatewiki.net.
Change-Id: I95c3ac17a2c5f2cd86b23ba965b6d0fc1a33daed
2012-08-21 20:06:21 +00:00
Translation updater bot 9e4ff54f52 Localisation updates from http://translatewiki.net.
Change-Id: Iffb2c713a385328ddb783ddfeed595b2e2714fed
2012-08-20 19:18:04 +00:00
Translation updater bot d0dd2755e1 Localisation updates from http://translatewiki.net.
Change-Id: I07ef0fc45b12e0c67e96fe12dcb3930039730b3f
2012-08-16 20:20:35 +00:00
Translation updater bot 8e3af24469 Localisation updates from http://translatewiki.net.
Change-Id: If26f57978b881ee13ce240439188bd6a27915662
2012-08-14 19:35:12 +00:00
Tim Starling 880d1bb0e5 Merge "Allow core functionality of CodeEditor to be disabled." 2012-08-14 05:09:05 +00:00
Tim Starling 1787861005 Allow core functionality of CodeEditor to be disabled.
Scribunto requires that the CodeEditor extension be installed, but I
haven't reviewed CodeEditor for its primary use case, i.e. CSS and
JS. The automatic brace close feature in JS mode might be annoying for
some. I'm ready to deploy Scribunto but the CodeEditor core
functionality will need to be deployed separately.

Change-Id: I0d423563cc13f9f8ec00590c8e16273d10f1dbce
2012-08-14 15:04:20 +10:00
Translation updater bot df5d52ad83 Localisation updates from http://translatewiki.net.
Change-Id: Ia6e154d7b627d5553bf463f1aa42480ac9adebb7
2012-08-12 20:11:29 +00:00
Tim Starling 4fb277c607 Fix unbind call in disableCodeEditor
Presumably the unbind was meant to refer to the event which was bound in
setupCodeEditor(), not a nonexistent function. It appeared to work because
passing an undefined value as the second argument to unbind() causes all
event handlers to be unbound.

Change-Id: I51b8e7de5e95cb17b595a6b8022a6216048cdb41
2012-07-13 16:31:23 +10:00
Translation updater bot e9b26bb22b Localisation updates from http://translatewiki.net.
Change-Id: Ic7227569becab14a27bd0b8f2f18cf36a1deafab
2012-07-11 07:06:11 +00:00
Tim Starling 4bb8a4c984 Updated Ace
Updated Ace to the latest version of my fork on Github, i.e.
approximately 0.2.0 plus some improvements to the Lua indenting module.
I have submitted a pull request, so hopefully the next update will be
from upstream.

The suffixed file names (*-uncompressed, *-noconflict) have disappeared
from upstream, replaced by conditional compilation in separate build
directories. There's not much point in maintaining two unused copies of
the entire source tree, so I deleted them. To avoid migration issues, I
re-added symlinks in place of the suffixed files which were previously
referenced from MediaWiki.

Change-Id: Ic9d2450528769539dfea59bdde7620dbec903604
2012-07-09 02:13:50 +00:00
Translation updater bot f4c18de28c Localisation updates from http://translatewiki.net.
Change-Id: I7f6df5d9c417a399cd2bb1b9bc1d24c9d5b59d6b
2012-07-05 19:43:46 +00:00
Tim Starling 84cdb4f4bf Remove automatic edit summary
Remove the "using CodeEditor" automatic edit summary. Maybe this makes
sense for a gadget, but it certainly doesn't make sense as an extension
enabled by default for all JS, CSS and Lua pages.

Change-Id: If3b29d3878f5b8b43727ae34e4b5e3a2f4137a6f
2012-07-03 13:19:56 +10:00
Tim Starling c41ec784f9 Depend on ext.wikiEditor.toolbar
Depend on ext.wikiEditor.toolbar instead of just ext.wikiEditor since
both are needed, and under certain circumstances the module would try to
initialise before the toolbar component was loaded.

Change-Id: Ie6a725513399815670ff0d24fa394c0b3b3a2a7e
2012-07-03 13:19:43 +10:00
Translation updater bot 79bd275867 Localisation updates from http://translatewiki.net.
Change-Id: Iede70d8d79a81d1cb7d55ebab5e1b16d0c974b78
2012-07-01 13:49:45 +00:00
Translation updater bot 406ce081d4 Localisation updates from http://translatewiki.net.
Change-Id: Id647953a11d29ac104a342997a273ee3e000ad5b
2012-06-14 19:47:03 +00:00
Translation updater bot 41f4d2ada2 Localisation updates from http://translatewiki.net.
Change-Id: I690ec1b2fcb651a4a8c81abf1793b725cad511f2
2012-06-03 10:47:51 +00:00
Translation updater bot 0747949b69 Localisation updates from http://translatewiki.net.
Change-Id: Iddef61e1a95923f7a6d9509a78df0b1dfbd45334
2012-05-22 22:40:28 +00:00
Reedy 0a4722e739 Add .gitignore
Change-Id: I410d9ae4a58f2d9b69332cfd9c1a02820203ac90
2012-05-21 01:31:34 +01:00
Translation updater bot c98d68f974 Localisation updates from http://translatewiki.net.
Change-Id: Ib7343d57f01aaeae8b938cb565c485c855d9b042
2012-05-12 17:46:07 +00:00
Chad Horohoe 98ebe1b806 Adding .gitreview
Change-Id: I388d4c6b41ff772af8e5536bb7b2ef001802810a
2012-04-27 14:44:07 -04:00
Raimond Spekking 5b42ac0249 Localisation updates from http://translatewiki.net. 2012-04-26 19:25:17 +00:00
Raimond Spekking 660d93e780 Localisation updates from http://translatewiki.net. 2012-04-25 19:37:34 +00:00
Raimond Spekking 507bc50db5 Localisation updates from http://translatewiki.net. 2012-04-24 19:49:20 +00:00
Erik Moeller c7f2db557e Change "Toggle syntax highlighting" to "Toggle code editor"
Since the code editor adds line numbers, support for tab indentation,
code folding, and other features, summarizing this as "syntax highlighting"
is misleading.
2012-04-23 23:58:30 +00:00
Tim Starling 8fe95e1469 Fixed a couple of minor issues in r115010:
* Scroll up a few lines so that the user can see the error context
* Defer processing of the fragment until the load event, otherwise the code editor is not fully initialised and does not properly respond to the navigateTo() call.
2012-04-23 11:40:43 +00:00
Tim Starling 7fc4552a8d Allow links to specific lines of code using a special fragment syntax 2012-04-23 04:09:47 +00:00
vvv 96c24596bb Fix a very stupid copy-paste-caused typo. 2012-03-09 11:16:23 +00:00
Sam Reed b9810d4e4a More image compression of extensions with WMF interest 2012-02-29 22:02:03 +00:00
vvv 26988117ca Remove some commented-out code commited by accident in r110794. 2012-02-06 22:00:31 +00:00