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 365 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Issue with adding access date (and broader documentation/peramater clean issues)
[edit]It 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)
Obey CS1 config citation mode
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please replace the line:
|mode = {{{mode|cs1}}}
with the line:
|mode = {{{mode|{{#invoke:Citation mode|main|cs1}}}}}
Explanation and documentation is at Module:Citation mode. Daask (talk) 21:49, 23 December 2024 (UTC)
No italics
[edit]How do I cite a work where the title should not be rendered in italics? It should be possible to show Wikisource. as "Ode to Cynthia" – via Wikisource. -- Michael Bednarek (talk) 12:49, 31 December 2024 (UTC)
- This template wraps {{citation}}, which applies its own formatting logic. It looks like you can get what you need by setting
|work=
, i.e.{{cite wikisource|title=Ode to Cynthia|work=Collection of poems in six volumes|first=Martha|last=Peckard|volume=5}}
→- Peckard, Martha. Wikisource. . Collection of poems in six volumes. Vol. 5 – via
- Is that satisfactory? — hike395 (talk) 14:05, 31 December 2024 (UTC)
- Thank you very much; that'll help in most situations. I'm aware of
{{Citation}}
's behaviour, but I couldn't get{{Cite wikisource}}
to link to Wikisource without italics for a short work that wasn't really part of a larger work, but your example gave me some ideas how to work around that. Thanks again. -- Michael Bednarek (talk) 15:53, 31 December 2024 (UTC)
- Thank you very much; that'll help in most situations. I'm aware of
contribution-contributor
[edit]The following throws an error, even though |contribution=
and |contributor=
are both present
{{cite wikisource
|first=Knud |last=Rasmussen |author-link=Knud Rasmussen
|date=1908
|title=The People of the Polar North
|contributor=Maisanguaq
|contribution=The Sun, the Moon, and the Stars
|pages=173–174
|wslink=The People of the Polar North/Chapter 22
}}
Rasmussen, Knud (1908). . . pp. 173–174 – via Wikisource. {{citation}}
: |contributor=
requires |contribution=
(help) Eievie (talk) 19:06, 14 April 2025 (UTC)
- The error happens because in
{{cite wikisource}}
,|contribution=
is nothing more than an alias of|chapter=
. As such, Module:Citation/CS1 never sees it. Perhaps what you want can be achieved by writing a{{cite book}}
template:{{cite book |first=Knud |last=Rasmussen |author-link=Knud Rasmussen |date=1908 |contributor=Maisanguaq |contribution=[[s:The People of the Polar North/Chapter 22 |The Sun, the Moon, and the Stars]] |editor-first=G. |editor-last=Herring |title=The People of the Polar North |title-link=s:The People of the Polar North |location=London |publisher=Kegan Paul, Trench, Trübner & Co |pages=173–174}}
- Maisanguaq (1908). Rasmussen, Knud. Herring, G. (ed.). London: Kegan Paul, Trench, Trübner & Co. pp. 173–174. . . By
- This, by the way, correctly links to the contribution whereas in
{{cite wikisource}}
, the contribution link is 404. - —Trappist the monk (talk) 22:01, 14 April 2025 (UTC)
Adding class=noviewer to the Wikisource icon image
[edit]I notice that Template:Sister project uses class=noviewer
on its inline image to prevent that image from showing up in the page's list of images (like, when you click to view an image larger, and then you can use left/right to page through all the other images on the page: using class=noviewer
stops a specific image from cluttering up that interface). It would be nice if Template:Cite wikisource would do the same.
However, it looks like Template:Cite wikisource doesn't add its inline image manually — instead, it relies on [[s:
markup. Which [[s:
doesn't do by default in running text; but I gather that adding the icon is a hidden feature of Module:Citation/CS1.
Could someone who understands all the code behind this (i.e. not me) perhaps figure out a way to add class=noviewer
to the icon images generated by Template:Cite wikisource and/or by Module:Citation/CS1 in general? --Quuxplusone (talk) 13:17, 1 August 2025 (UTC)
- Where are you seeing this? The wikisource icon is not an 'image' but is created as a background via css. See Module:Citation/CS1/styles.css lines 59–66. Backgrounds aren't displayed in the image viewer; if they were, every external link icon () would be displayed in the viewer.
- —Trappist the monk (talk) 13:55, 1 August 2025 (UTC)