Small Python script to run an interactive Scribunto session in your terminal, using Scribunto's API module:
https://gist.github.com/atdt/5382043/raw/d083ff757066200728c0b50992ab6c7bb10...
:)
-- Ori Livneh
On Sunday, April 14, 2013, Ori Livneh wrote:
Small Python script to run an interactive Scribunto session in your terminal, using Scribunto's API module:
https://gist.github.com/atdt/5382043/raw/d083ff757066200728c0b50992ab6c7bb10...
:)
-- Ori Livneh
Very cool. It would be awesome to eventually have an interactive tutorial with a REPL in the browser, ala Try Ruby and others.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org javascript:; https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Le 2013-04-14 12:25, Ori Livneh a écrit :
Small Python script to run an interactive Scribunto session in your terminal, using Scribunto's API module:
https://gist.github.com/atdt/5382043/raw/d083ff757066200728c0b50992ab6c7bb10...
:)
Thanks,
It may me think, it would be nice to be able to develop on desktop and push the code when ready. I heard that git enable to add "porceleins" to extend what it manage. Did anyone already thought about a "gid mw" to interacte with a mediawiki article? I think that may be particularly usefull for code development, but even for normal article editon could benefit of such a tool.
kind regards, mathieu
I wrote a small little tool ages ago to help with Gadget development:
http://github.com/yuvipanda/mwuppet
It lets me write on Vim and push to the wiki whenever I want. I've the following line in my .vimrc that makes this simple:
command Mw :w | :! mwuppet %
I'm sure this can be extended easily to support more things. -- Yuvi Panda T http://yuvi.in/blog
Le 2013-04-15 10:09, Yuvi Panda a écrit :
I wrote a small little tool ages ago to help with Gadget development:
http://github.com/yuvipanda/mwuppet
It lets me write on Vim and push to the wiki whenever I want. I've the following line in my .vimrc that makes this simple:
command Mw :w | :! mwuppet %
I'm sure this can be extended easily to support more things.
Really interesting, thank you. :)
Le 15/04/13 09:53, Mathieu Stumpf a écrit :
It may me think, it would be nice to be able to develop on desktop and push the code when ready. I heard that git enable to add "porceleins" to extend what it manage. Did anyone already thought about a "gid mw" to interacte with a mediawiki article? I think that may be particularly usefull for code development, but even for normal article editon could benefit of such a tool.
The git project has a mw-to-git gate system that let you interact with an article using git.
It is included in git distribution under contrib/mw-to-git
The doc (NOT the code) is maintained on a github wiki: https://github.com/moy/Git-Mediawiki/wiki
User manual: https://github.com/moy/Git-Mediawiki/wiki/User-manual
Basically, once installed, you can do something like:
git clone -c remote.origin.pages="Module:String" \ mediawiki:https://www.mediawiki.org
Or even all the Modules:
git clone -c remote.origin.categories='Module' \ mediawiki:https://www.mediawiki.org
Go ahead and give it try.
Trivia: it has been written by a team of french students \O/
wikitech-l@lists.wikimedia.org