Page MenuHomePhabricator

Enable CodeEditor extension on Schema namespace on Meta-Wiki
Closed, ResolvedPublic

Description

I think it'd be nice to enable the CodeEditor extension on the Schema namespace on Meta-Wiki. The namespace is housing JSON using tabs, apparently, so the CodeEditor extension would make life easier. Plus the extension could generally use some stress-testing (it's currently only deployed to the Scribunto namespace on MediaWiki.org, as far as I know).


Version: unspecified
Severity: enhancement
URL: https://meta.wikimedia.org/wiki/Meta:Babel#CodeEditor_extension_deployment_on_Schema:

Details

Reference
bz42561

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:07 AM
bzimport set Reference to bz42561.
bzimport added a subscriber: Unknown Object (MLST).

swalling wrote:

If there are no potential nasty interactions with the integrity of the schema and their validation, don't see why not. Would generally make things easier.

I think the extension also applies to JS on MediaWiki.org as well, so there is perhaps potential to apply it to JS on Meta too?

I opened a discussion on meta. to confirm the choice.

(In reply to comment #0)

(...) Plus the extension could generally
use some stress-testing (it's currently only deployed to the Scribunto
namespace on MediaWiki.org, as far as I know).

I confirm.

And it's not currently possible to enable all extension options:

// Don't enable core functionality until it has been reviewed and approved
$wgCodeEditorEnableCore = false;

The CodeEditor extension is currently only used as a dependency for the Scribunto extension.

[ +shellpolicy. Setting local discussion URL. ]

ori added a comment.Dec 1 2012, 4:26 AM

Gerrit change 36343 enables JSON support in CodeEditor, a prerequisite for enabling the extension for the Schema namespace on Meta.

Gerrit change 36343 has been merged.

I7914cc6a7602fc11a186bfaa3aeea9c315f67a24 for reference.