Template talk:Cite wikisource

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.
WikiProject iconWikisource Unassessed (inactive)
WikiProject iconThis article is within the scope of WikiProject Wikisource, a project which is currently considered to be inactive.
???This article has not yet received a rating on Wikipedia's content assessment scale.

Lost apostrophe

<ref>{{cite wikisource |title=Gentleman's Magazine |chapter=Letter from Dr Lettsom |wslink=Gentleman's Magazine/1780/06 |last=Lettsom |first=John Coakley |authorlink=John Coakley Lettsom |date=June 1780 }}</ref>

renders as:

Lettsom, John Coakley (June 1780). "Letter from Dr Lettsom" . Gentleman's Magazine  – via Wikisource.

losing the apostrophe in the title of the magazine in both rendered text and Wikisource link. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:03, 6 December 2020 (UTC)[reply]

Help talk:Citation Style 1/Archive 72 § Apostrophes are stripped from titles
Trappist the monk (talk) 13:28, 6 December 2020 (UTC)[reply]
Thank you. That reports the issue as fixed on 29 October. As can be seen above, it is still - at the time of writing - occurring. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:37, 6 December 2020 (UTC)[reply]
Next module suite update.
Trappist the monk (talk) 13:40, 6 December 2020 (UTC)[reply]

Multiple scan pages?

At Fong Foo Sec, I'm trying to use this template, but the |scan= parameter doesn't seem to be able to hold a link to multiple scan pages for entries that stretch across more than one page. Could this be handled? Cheers, {{u|Sdkb}}talk 23:51, 25 January 2022 (UTC)[reply]

Problems using plainchapter= without chapter=

Currently, if you have |plainchapter= but no |chapter= (or |contribution=) set, then it ignores the |plainchapter= parameter. In order to get around this, you can set the |chapter= with no content (e.g. at The Literary Magnet), but this is not a great workaround. It would be better to allow |plainchapter= to show up, regardless of whether |chapter= or |contribution= has been set.

I've made an edit that will fix this in the template sandbox (diff): please can someone make this edit to the template? ‑‑YodinT 14:29, 17 September 2022 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. put'r there 21:14, 17 September 2022 (UTC)[reply]
Thanks! ‑‑YodinT 21:17, 17 September 2022 (UTC)[reply]
my pleasure! Paine  21:30, 17 September 2022 (UTC)[reply]

Icon issues

the icon is too close to the link, causing problems where they both overlap, especially when as titles are italicised. I noticed this with links to Chinese Wikisource, which first of all, there needs to be a check similar to {{lang}} to prevent non-Latin scripts from being italicised. Juwan (talk) 18:30, 31 July 2024 (UTC)[reply]

Always provide real-life examples so we can see what you are seeing.
Trappist the monk (talk) 19:00, 31 July 2024 (UTC)[reply]
here are some images that demonstrate how it looks: x, x. for context, I am on Firefox. Juwan (talk) 19:58, 31 July 2024 (UTC)[reply]
Using chrome (vector legacy) and edge (vector 2022), both on the current version of win10, the position of the icon does not impinge on the text of the linked title. These observations suggest that Firefox isn't working as it should. Out of curiosity, how does this render? Does the pdf icon impinge on the link title?:
[https://www.example.com/example.pdf ''中华人民共和国测绘法''] – link works but leads to nothing; italics intentional to mimic {{cite wikisource}}
中华人民共和国测绘法
At 'Restrictions on geographic data in China' (permalink), I can confirm that the Chinese text is rendered in italic font. An immediate solution is not obvious. Ideally, {{cite wikisource}} should be modified somehow to support |script-title= (and probably the other |script-something)= parameters). I'll have to think about how best to do that.
A workaround for the example reference might be:
{{cite book |script-title=zh:中华人民共和国测绘法 |title-link=s:zh:中华人民共和国测绘法 |language=zh |date=1992 |via=[[Wikisource]]}}
中华人民共和国测绘法  (in Chinese). 1992 – via Wikisource.
Trappist the monk (talk) 22:14, 31 July 2024 (UTC)[reply]
the PDF is completely separated from the title as seen here. I don't see any reason why you couldn't just substitute it with the other citation templates. Juwan (talk) 22:41, 31 July 2024 (UTC)[reply]
I don't see any reason why you couldn't just substitute it with the other citation templates. Am I to presume that you are asking: why not use the usual cs1|2 templates instead of {{cite wikisource}}? You would have to ask the editors who created and use this template. My part in the template's history was refactoring to make it a bit more standardized and flexible. It exists. There are ~5950 articles that use this template. Replacing all of those with cs1|2 templates would be a big job. If you want to do that, go ahead; I won't be helping. To me it seems easier (and more interesting) to rewrite this template as a lua module. Mayhaps I do that someday...
Trappist the monk (talk) 00:57, 1 August 2024 (UTC)[reply]
sorry, I was a bit unclear. I mean, why not simply use your workaround (at least temporary)? to me it doesn't feel like a bad idea if you were to actually implement it. I would not want to try to update all those pages. instead, just opting to change the template itself. Juwan (talk) 16:43, 1 August 2024 (UTC)[reply]