Re: [Wikitech-l] wikiCodeEditor - Code Editor for MediaWiki CSS and JavaScript pages

2013-01-14 Thread SIBI
MZMcBride z...@mzmcbride.com wrote:

 Hi.

 Looks neat. :-)  But this is mostly already in progress at
 https://www.mediawiki.org/wiki/Extension:CodeEditor. This extension is
 live on Wikimedia wikis already (including Meta-Wiki and MediaWiki.org),
 but it has some outstanding issues and could definitely use some love
 before more widespread deployment.

 For Wikimedia wikis specifically, the goal is to have CodeEditor enabled
 on user JS and CSS subpages and on site-wide JS/CSS pages soon
 (https://bugzilla.wikimedia.org/39654). I hope you can help out if
 you're interested.

Hi,

Didn't know that it already exists :)

Will try to look on it's code soon.

Sibi

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] wikiCodeEditor - Code Editor for MediaWiki CSS and JavaScript pages

2013-01-14 Thread Daniel Kinzler
On 14.01.2013 00:16, MZMcBride wrote:
 Looks neat. :-)  But this is mostly already in progress at
 https://www.mediawiki.org/wiki/Extension:CodeEditor. This extension is
 live on Wikimedia wikis already (including Meta-Wiki and MediaWiki.org),
 but it has some outstanding issues and could definitely use some love
 before more widespread deployment.

Note that JS and CSS pages now (in 1.21) have their own page content model.
Perhaps it would make sens to hook into, or derive from,
JavaScriptContentHandler resp CSSContentHandler and provide a custom edit action
via the getActionOverrides() method.

On a related note, I have two patches pending review (needs some fixing) that
implement syntax highlighting for JS and CSS in a more generic way. With this in
place, it would be trivial to provide syntax highlighting also for e.g. Lua.
Have a look at https://gerrit.wikimedia.org/r/#/c/28199/ and
https://gerrit.wikimedia.org/r/#/c/28201/.

-- daniel


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] wikiCodeEditor - Code Editor for MediaWiki CSS and JavaScript pages

2013-01-13 Thread Sibi Prabakaran
Hello everyone!

We have developed a Code Editor for Mediawiki CSS and JavaScript pages as part 
of IIT Hackathon which was mentored by Yuvi Panda.

Basic description about the project along with snapshots can be found in this
page: https://github.com/psibi/wikiCodeEditor#readme

Any suggestions/improvements are welcome :)

Regards,
Sibi




___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] wikiCodeEditor - Code Editor for MediaWiki CSS and JavaScript pages

2013-01-13 Thread Paul Selitskas
Hello. It looks fantastic from the first sight, but it has a lot of things
yet to polish. I left some issue tickets in GitHub. And I hope that you'll
see some pull requests soon! :)


On Mon, Jan 14, 2013 at 1:25 AM, Sibi Prabakaran psibi2...@gmail.comwrote:

 Hello everyone!

 We have developed a Code Editor for Mediawiki CSS and JavaScript pages as
 part
 of IIT Hackathon which was mentored by Yuvi Panda.

 Basic description about the project along with snapshots can be found in
 this
 page: https://github.com/psibi/wikiCodeEditor#readme

 Any suggestions/improvements are welcome :)

 Regards,
 Sibi




 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l




-- 
З павагай,
Павел Селіцкас/Pavel Selitskas
Wizardist @ Wikimedia projects
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] wikiCodeEditor - Code Editor for MediaWiki CSS and JavaScript pages

2013-01-13 Thread MZMcBride
Sibi Prabakaran wrote:
We have developed a Code Editor for Mediawiki CSS and JavaScript pages
as part of IIT Hackathon which was mentored by Yuvi Panda.

Basic description about the project along with snapshots can be found in
this page: https://github.com/psibi/wikiCodeEditor#readme

Any suggestions/improvements are welcome :)

Hi.

Looks neat. :-)  But this is mostly already in progress at
https://www.mediawiki.org/wiki/Extension:CodeEditor. This extension is
live on Wikimedia wikis already (including Meta-Wiki and MediaWiki.org),
but it has some outstanding issues and could definitely use some love
before more widespread deployment.

For Wikimedia wikis specifically, the goal is to have CodeEditor enabled
on user JS and CSS subpages and on site-wide JS/CSS pages soon
(https://bugzilla.wikimedia.org/39654). I hope you can help out if
you're interested.

MZMcBride



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l