Talk:China: Its History, Arts, and Literature/Volume 2
Add topicTranscluding the appendix on chapter subpages
[edit]@Pokechu22: I noticed you reverted my edits on Chapter 1 and Chapter 3. However, I think we should still NOT transclude the appendix on chapter subpages. Instead, I think we should just link to the appendix directly (as it's already transcluded). If we want, we can even use {{anchor+}}, so that we can link to a specific note. This has the benefit of transcluding each page on separate pages in mainspace (as opposed to transcluding appendix pages multiple times in mainspace), and also simplifying the wikitext quite a bit since <ref follow>
is now unnecessary. Duckmather (talk) 05:33, 29 December 2024 (UTC)
- I feel like the anchor approach would have worked initially, but I've already set up the transclusions for everything and switching to use anchors would require editing every footnote (in all of the volumes of both Japan and China, apart from volume 1 of China since that doesn't have an appendix and only has two footnotes (in chapters 12 and 14), or alternatively having some volumes be set up differently from other volumes.
- I think as a reader, it's much more useful to be able to click the superscript footnote text, read the footnote, and then click the up arrow to go back to where the footnote was, compared to needing to click the superscript footnote text, follow a link to the appendix, read the footnote there, press the browser back button, and then click the up arrow. If there was a practical way to link back from the appendix to the original footnote, that'd resolve most of this concern, though.
- I agree that the
<ref follow>
stuff is complicated on the transclusion side (especially with the need to not have a newline between resulting in HTML comments); it was a bit of a pain to create at first, though I've gotten fairly good at it (and again, already done it for all of the volumes, even the ones that haven't been proofread yet). Now that it's done I don't feel like removing it helps much, though; it's fairly easy to tell that the footnotes are transcluding the correct content just by looking at them. - That information is duplicated in the mainspace in the chapters and the appendix is a slight issue, but I feel like it's more useful to the reader to present it this way than to force navigation to a separate page (we're already putting all of the footnotes at the end of the chapter due to how MediaWiki works, so print limitations don't apply). Pokechu22 (talk) 05:58, 29 December 2024 (UTC)
- @Pokechu22: I feel like it would be more confusing than helpful though. If I were a naive reader, seeing the footnotes at the bottom would make me think that the notes were part of the chapter itself rather than the appendix, which is wrong. If you really want to transclude the appendix, I think we would have to at least put that into a separate annotation box. Duckmather (talk) 18:54, 29 December 2024 (UTC)
- I feel like the automatically displayed page numbers make it fairly clear where they came from in the book. I'm not sure how much a naive reader would care as to whether the notes were notes at the end of the chapter or in an appendix (and it's obvious once you see the appendix).
- I did try Template:AuxBox for this, and it looks like it would work. What do you think of it? --Pokechu22 (talk) 03:07, 30 December 2024 (UTC)
- @Pokechu22: I feel like it would be more confusing than helpful though. If I were a naive reader, seeing the footnotes at the bottom would make me think that the notes were part of the chapter itself rather than the appendix, which is wrong. If you really want to transclude the appendix, I think we would have to at least put that into a separate annotation box. Duckmather (talk) 18:54, 29 December 2024 (UTC)
AuxBox sample
|
---|
Text.[1][2] Text.[3] Text.[4][5]
|
- @Pokechu22: Your formatting doesn't work, it generates misnested HTML, Please recode your example. ShakespeareFan00 (talk) 19:49, 30 December 2024 (UTC)
- Looks like ref tags always produce spans. I'm not sure what if anything can be done about that. I feel like I've spent enough time on all of these and don't really want to do more work on this if there's no easy fix. --Pokechu22 (talk) 20:06, 30 December 2024 (UTC)
- @Pokechu22: Your formatting doesn't work, it generates misnested HTML, Please recode your example. ShakespeareFan00 (talk) 19:49, 30 December 2024 (UTC)