[Mediawiki-l] Section Transclusion

Thomas Dalton thomas.dalton at gmail.com
Fri Jun 22 13:45:50 UTC 2007


> I'm trying to transclude a section in a given document, with something like
>
> {{:Article#SectionA}}
>
> However, I get the entire contents of Article, not just SectionA.  Am I
> missing something?  I'm running MediaWiki 1.8.2.

If that's the only section you want to transclude (ie. the other
sections aren't transcluded elsewhere) then you should be able to get
what you want by putting <onlyinclude></onlyinclude> around that
section (or possibly includeonly... I might be remembering them the
wrong way around).



More information about the MediaWiki-l mailing list