[Mediawiki-l] Wikitext grammar

Katharina Wolkwitz wolkwitz at fh-swf.de
Thu Aug 5 12:58:38 UTC 2010


Hi,

there might be an occurrence of __TOC__ or __NOTOC__ before the first "real"
paragraph.

Good luck with finding all exeptions. :)
Katharina

Am 05.08.2010 14:10 schrieb lmhelp2:
> 
> Hi,
> 
> Thanks to all of you for your answers.
> 
> I have decided (in the light of what you told me)
> to read the "Wikitext" line after line.
> 
> I must "ignore" leading:
> - templates (including the ones which span
>   over several consecutive lines like "infoboxes"): {{...}},
> - isolated internal links: [[...]].
> 
> I return the first line which is not one of the two
> "things" above.
> 
> Of course, I hope I am not forgetting any other
> "things" which could appear at the begenning of
> the "Wikitext". I have examined several articles 
> at random and I saw nothing else...
> If I am forgetting something please tell me... :)
> 
> All the best,
> --
> Lmhelp




More information about the MediaWiki-l mailing list