Template talk:Cite wikisource
Template:Cite wikisource is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
|
|
This page has archives. Sections older than 28 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Multiple scan pages?
editAt 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)
Problems using plainchapter= without chapter=
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- Completed. P.I. Ellsworth , ed. put'r there 21:14, 17 September 2022 (UTC)
- Thanks! ‑‑YodinT 21:17, 17 September 2022 (UTC)
- my pleasure! Paine 21:30, 17 September 2022 (UTC)
- Thanks! ‑‑YodinT 21:17, 17 September 2022 (UTC)
Icon issues
editthe 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)
- Always provide real-life examples so we can see what you are seeing.
- —Trappist the monk (talk) 19:00, 31 July 2024 (UTC)
- 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)
- 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]]}}
- Wikisource. (in Chinese). 1992 – via
- —Trappist the monk (talk) 22:14, 31 July 2024 (UTC)
- 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)
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)
- 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)
- 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)
- 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?:
- 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)
Issue with adding access date (and broader documentation/peramater clean issues)
editIt seems everytime I try to add a access date, whether I'm attempting to add it using |access-date=
and |accessdate=
, both of them cause an error because there's nothing in |url=
. I thought this was a bit odd as there was already the link in |wslink=
. I wasn't sure if I was using the correct access date para so I cylced through |accessdaymonth=
|accessmonthday=
|accessday=
|accessmonth=
|accessyear=
all of which seemed to result in a error claiming that they're unsported paras.
I'm not quite sure how to resolve this issue. I would simply not include a access date, but given wikisource is also a wiki, I don't think that's a good idea. If anyone knows how to sort this it'd be greatly appricated. I'm not sure if it makes a difference but I'm using the visual editor
In adition, the documentation for it needs to be updated with non-existent paras removed and it stated which paras are legacy/depriciated---particularly in the documentaion that shows up for the visual editor when using this template). I'm not confident enough to do this sadly, and would greatly appricate anyone doing this accordingly Bejakyo (talk) 03:52, 13 October 2024 (UTC)
|access-date=
requires a value in|url=
. Typically,|access-date=
is used when the content at the|url=
target is dynamic. Wikisource is not considered to be a dynamic source; books, periodicals, whatever at Wikisource don't change day-to-day. Here is the real|access-date=
documentation (in this case at{{citation}}
but the same at all other cs1|2 templates –{{cite wikisource}}
is a wrapper around{{citation}}
.- Yes,
|accessdaymonth=
,|accessmonthday=
,|accessday=
,|accessmonth=
, and|accessyear=
are not supported; they have not been supported for a very long time. - —Trappist the monk (talk) 17:00, 13 October 2024 (UTC)