[OLPC library] Overweight Wiki Page

drew einhorn drew.einhorn at gmail.com
Wed Feb 20 18:26:42 EST 2008


If I understand what you are suggesting:

    after I use the <noinclude> ... </noinclude>
    to prune all the text
I   end up with at TOC with links into a TOC without links, not very useful.

I'd be happy to link into right place in the right template.
No need for scrolling out of the bottom of one template
into the top of the next, and vice versa.

mediawiki bot?  Could you point me to the skeleton?


On Wed, Feb 20, 2008 at 4:10 PM, Jameson Chema Quinn
<jquinn at cs.oberlin.edu> wrote:
> Making a mediawiki bot is not too hard - all the skeleton exists in python,
> you only have to flesh it out with your own logic.
>
> As for the TOC, the template idea is that you use <noinclude> ...
> </noinclude> around all the parts of the templates that are NOT headers (or
> you can start the noinclude after one paragraph, to give the idea). The
> problem is, then you need a way to go from the main page to the right
> section of the corresponding subpage, and from one subpage to the next - it
> may be possible, I haven't done it
>
>
> On Wed, Feb 20, 2008 at 4:46 PM, drew einhorn <drew.einhorn at gmail.com>
> wrote:
>
> >
> >
> >
> > Hi,
> >
> > I've got a couple variations on a way overweight wiki page.
> >
> > It began as a MS Word file, and it's been through Open Office,
> > shell, sed, perl, awk, python and the result is not too shabby.
> >
> > Should publish it, but really ought to rewrite it all in python first.
> >
> > Is there a way to use the command line to open a .doc file in
> > Open Office and save it as html an can add to my polyglot
> > assortment of scripts, in the meantime?
> >
> > The first version at:
> >
> >    http://wiki.laptop.org/go/VistA_Monograph_Wiki
> >
> > gets:
> >
> > WARNING: This page is 246 kilobytes long; some browsers may have
> > problems editing pages approaching or longer than 32kb. Please
> > consider breaking the page into smaller sections.
> >
> > I've been looking at breaking it up and reassembling it using
> > templates and there is a partial version at:
> >
> >    http://wiki.laptop.org/go/WV_VM
> >
> > Is there a easy way to transfer all 70 some pieces at once,
> > instead of doing them one at a time using
> >
> >    http://wiki.laptop.org/go/Special:Upload
> >
> > But wait that's only for Images not for Pages.
> >
> > And when the templates all get reassembled it's going to
> > be just as big, if not a little bigger.
> >
> > What I really need is a syntactic variant, that builds a
> > combined Table of Contents, but does not put all the
> > pieces together into a combined wiki page, the links
> > in the Table of Contents take you the right spot in
> > one of the component pages.
> >
> > Does that capability exist, or am I just dreaming?
> >
> > --
> > Drew Einhorn
> > _______________________________________________
> > Library mailing list
> > Library at lists.laptop.org
> > http://lists.laptop.org/listinfo/library
> >
>
>



-- 
Drew Einhorn


More information about the Library mailing list