[Mediawiki-l] Move TOC

nevio carlos de alarcão nevinhoalarcao at gmail.com
Wed Nov 18 19:02:55 UTC 2009


Dear Giuseppe,
just out of curiosity, could you translate that latin quote under your
message ("Alme Sol,...")?
thanks, Nevio

2009/11/18 Giuseppe Briotti <g.briotti at gmail.com>

> > Message: 6
> > Date: Tue, 17 Nov 2009 19:58:32 -0600
> > From: Walter Mazza <wjmazza at gmail.com>
> > Subject: [Mediawiki-l] Move TOC
> > To: MediaWiki announcements and site admin list
> >        <mediawiki-l at lists.wikimedia.org>
> > Message-ID:
> >        <35ca058b0911171758p3da48004he1e9d1bce42e0cff at mail.gmail.com>
> > Content-Type: text/plain; charset=UTF-8
> >
> > Is it change the location of the TOC 1) specific to a skin, 2) despite
> where
> > the user places __TOC__, 3) without using JavaScript, 4) without changing
> > the core code of MediaWiki, and 5) output it somewhere other then the
> > bodytext section.
> >
> > Basically, I would like to have the rendered HTML output to be something
> > like this:
> >
> > <div id="bodyContent">
> > <!-- Page Content goes here -->
> > </div>
> > <div id="sidebar">
> > <!-- TOC goes here -->
> > </div>
> >
> > I see that in "includes/parser/parser.php" that Parser -> formatHeadings
> > takes care of creating the TOC but I do not want to change the actual
> core
> > code of MediaWiki (as this will affect other skins).
> >
> > Any thoughts? Ideas?
> >
> > Thanks all :)
>
> I'm not sure I understood... are you talking about moving the TOC as,
> for instance,
> in this page?
>
> http://www.usnb.it/wiki/index.php?title=Pagina_principale
>
> (the TOC is placed on top right side)
>
> This can be achieved by a template with a div and __TOC__ magic word
>
>  G.
>
>
> --
>
> Giuseppe Briotti
> g.briotti at gmail.com
>
> "Alme Sol, curru nitido diem qui
> promis et celas aliusque et idem
> nasceris, possis nihil urbe Roma
> visere maius."
> (Orazio)
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>



-- 
{+}Nevinho
Venha para o Movimento Colaborativo http://sextapoetica.com.br !!


More information about the MediaWiki-l mailing list