Overweight Wiki Page

Samuel Klein meta.sj at gmail.com
Thu Feb 21 03:34:56 EST 2008


Having a way to generate an aggregate table of contents for a set of
pages without transcluding the text of those pages could be useful.  I
don't believe it has been written; as far as I know this would be the
first magic word[1] in MediaWiki that parses the text of another
wikipage and outputs some function of that in the current page.

Note that a common workaround is to make such a table of contents by
hand, not to make it too finely grained, and to update it by hand when
subpages change.  See for instance the [[HIG]] header.


[1] http://meta.wikimedia.org/wiki/Help:Magic_words

On Wed, Feb 20, 2008 at 5: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
>  _______________________________________________
>  Devel mailing list
>  Devel at lists.laptop.org
>  http://lists.laptop.org/listinfo/devel

More information about the Devel mailing list