[e-lang] Convert Walnut to MediaWiki

Mark S. Miller markm at cs.jhu.edu
Sun Dec 10 18:33:47 CST 2006


James Graves wrote:
> Mark S. Miller wrote:
>> [...why we need to use transclusion to gather pages...]
> 
> Hah!  As it turns out, Martin has already fixed all of this.
> 
> There is a way to include wiki pages within others.  And that's exactly
> what he's done.
> 
> So there is no duplication.  All the different versions are actually
> pulling from the same set of "section-split" wiki pages.
> 
> If you look closely at the section edit links, you'll see that they go
> back to the "section-split" versions too.  So everything is pointing
> back to the same source, and you can edit them either way.  Neat.


That's great. I had a look, and it's quite clean. We should be able to use the 
same technique to transclude stereotyped updoc header info at the top of 
updoc-able pages.


>>> We'll still have to manually add "next" and "previous" links to make 
>>> reading Walnut easy.  But that is only a little bit of work.
>>>  [...]
> It would still be nice to have this.  However, we don't really what that
> inter-section navigation to appear on the "chapter-split" and "complete"
> versions of Walnut.
> 
> There's probably a way to do this with templates or something.

Yes, this can wait. What's a template?

-- 
Text by me above is hereby placed in the public domain

     Cheers,
     --MarkM


More information about the e-lang mailing list