[e-lang] Convert Walnut to MediaWiki

James Graves ansible at xnet.com
Fri Dec 8 19:38:45 CST 2006


David Hopwood wrote:
> Mark S. Miller wrote:
>> Martin Scheffler wrote:
>>
>>> http://www2.deltamobile.com/wiki/index.php/Walnut
>>>
>>> OK, I've split by sections now. Should I split these pages further down?
>>> Some of the pages are gigantic.
>>> I built the pages as subpages to Walnut/. Maybe I should extract the
>>> sub-sections as top level wiki pages?
>> Another issue with splitting Walnut. Prior to the split, Walnut as a whole 
>> passed updoc <http://www.erights.org/elang/tools/updoc.html>. As separate 
>> pages, they do not individually pass updoc. The problem may be easily repaired 
>> simply by placing a
>>
>>      ? pragma.syntax("0.9")
>>
>> in a <pre> section near the top of each page. In any case, should we require 
>> all the pages at wiki.erights.org to pass updoc?
> 
> If that were enforced on all edits, it might make it difficult for people who
> are relatively new to E (or even experts if the code is complicated) to make
> changes to pages with E code. But if a page doesn't pass updoc, then it would
> be helpful for there to be a warning at the top of the page.

Can we create an command-line option for updoc so that it can be given a 
file which contains code prefixed to anything being tested?

So you just have:

updoc.e -p prefix.e http://foo.com/vector.html

Where the file prefix.e contains:

? pragma.syntax("0.9")

--------------------------------------------------------------------------

Alternatively, we can create a robot that periodically scans the wiki 
for pages containing E code.

If it doesn't find a pragma statement, it will add one.

This can be done remotely (over the web interface) or by something that 
has direct access to the MediaWiki database.

There are already bunches of bots that do work on Wikipedia:

   http://en.wikipedia.org/wiki/Wikipedia:Bots


James


More information about the e-lang mailing list