[Mediawiki-l] Parser Output of Individual Sections?

Steve Sanbeg ssanbeg at ask.com
Fri Jun 1 19:41:50 UTC 2007


On Thu, 31 May 2007 15:40:29 -0400, Dan Davis wrote:

> What I want to do is be able to transclude individual sections of pages...
> without having to go back and edit old pages to add <onlyinclude> tags.
> 
> I did find the Labeled Section Transclusion extension (
> http://www.mediawiki.org/wiki/Labeled_Section_Transclusion) but that also
> involved edit old pages.
> 
> Are there any other options?
> 
> Dan

That extension will work; you can use the #section-h parser function to
transclude wiki section headers, i.e. {{#section-h:mypage|section}} or
{{#section-h|mypage|from|to}}






More information about the MediaWiki-l mailing list