Help talk:Transclusion

From Wikisource
Jump to: navigation, search

Header[edit]

Header parameter? VadimVMog (talk) 06:18, 18 August 2012 (UTC)

Yes check.svg Done done. Chris55 (talk) 11:38, 18 August 2012 (UTC)

Labeled Section Transclusion markup[edit]

I see that section transclusion in Wikisource is using a different markup than the default Extension:Labeled Section Transclusion, with things like ## label ## and {{#section}}. How were these introduced? Installing Labeled Section Transclusion and Extension:Proofread Page doesn't produce this behavior, and I've looked through the extension list for Wikisource and don't see any likely candidates. Thanks! ~ Michael Chidester (talk) 02:36, 13 May 2013 (UTC)

It's a gadget. See Wikisource:Scriptorium/Archives/2010-11#Easy_LST. Beeswaxcandle (talk) 02:49, 13 May 2013 (UTC)

Table of contents?[edit]

It looks like transcluding from the Page namespace fails to produce a Mediawiki table of contents. Here is a test case at User:Jerome Charles Potts/draft/test ; if you examine the source HTML, you can search for the various <h (2, 3, 4) tags ; there are enough of them to, i believe, normally produce a TOC. I added the __FORCETOC__ "magic word", but that too failed. Is this a bug, or a feature ? --Jerome Charles Potts (talk) 02:46, 17 January 2016 (UTC)

This is correct behaviour. Works mostly come with their own TOC and we don't want the Mediawiki one as well. If a work doesn't have a TOC and it would be useful, then we use {{AuxTOC}}. Beeswaxcandle (talk) 03:21, 17 January 2016 (UTC)
Thank you much for the answer. I think that i deplore this feature, as i suppose that a __NOTOC__ would solve the "problem". --Jerome Charles Potts (talk) 07:26, 17 January 2016 (UTC)
@Jerome Charles Potts: we are also reproducing a work, not updating it to our version of what we think that it should be. That said, we do have means to add ToC through use of templates see Category:TOC templates. These would be added to the Notes section, and often link to various components. Quite useful for adding to Indexes when we want to get to specific letters. So while we would not do ToC for all works, if you can present a case for a specific work, then we always happy to see how that will aid navigation, etc. To also note that many 19thC works have chapter ToC as part of their design, do feel that you can add anchors to those, though I haven't seen that approach widely taken. — billinghurst sDrewth 01:53, 18 January 2016 (UTC)