This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 45 | ← | Archive 47 | Archive 48 | Archive 49 | Archive 50 | Archive 51 | → | Archive 55 |
Here is a search showing instances of "work={{noitalic" (I get about 450 results in article space). The use of {{ noitalic}} in CS1 templates has caused COinS metadata errors for a while, and after the last template update, it causes a red error message, "templatestyles stripmarker in |work= at position 1". Someone with access to AWB should be able to make quick work of these errors.
There are also
about 230 of these errors in |publisher=
, and
about 930 uses overall, if my insource search is working properly. –
Jonesey95 (
talk) 14:05, 23 October 2018 (UTC)
{{noitalic|{{lang|...}}}}
in |authorn=
, |journal=
, |publisher=
, |website=
, and |work=
.|title=
. Or must the title be redundantly supplied?
|script-journal=
, |script-magazine=
, |script-newspaper=
, |script-website=
, |script-work=
, and perhaps others. See these that I found recently in the archives:
{{cite book|title=Reprinted|date=1964|publisher=Gregg|location=Farnborough|hdl-access=free|hdl=2307/4698}}
{{cite book |last1=Armstrong |first1=L. E. |display-authors=0 |title=The Phonetic Structure of Somali |type=Reprint |date=1964 |orig-year=1934 |publisher=Gregg |location=Farnborough |hdl-access=free |hdl=2307/4698}}
'"`UNIQ--templatestyles-0000000C-QINU`"'<cite id="CITEREFArmstrong1964" class="citation book cs1">''The Phonetic Structure of Somali'' (Reprint). Farnborough: Gregg. 1964 [1934]. [[hdl (identifier)|hdl]]:<span class="id-lock-free" title="Freely accessible">[https://hdl.handle.net/2307%2F4698 2307/4698]</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=The+Phonetic+Structure+of+Somali&rft.place=Farnborough&rft.pub=Gregg&rft.date=1964&rft_id=info%3Ahdl%2F2307%2F4698&rft.aulast=Armstrong&rft.aufirst=L.+E.&rfr_id=info%3Asid%2Fen.wikipedia.org%3AHelp+talk%3ACitation+Style+1%2FArchive+49" class="Z3988"></span>
I'm looking at phab:T121470 and wondering whether this might reduce some of the maintenance hassles around these popular citation templates. It's hard to set them up, and then most of the small wikis never update their code again. If they do, then a straight copy of the enwiki templates means that they lose anything (e.g., parameter names) that they translated into the local language.
The global template system would require some dev work (maybe a year's worth of work), and then the template would have to be "marked for translation", to steal a phrase from Extension:Translate. So that's extra work for the template editors. On the other hand, once that happened, you could push an update once, and it would update all the wikis at the same time (well, all the wikis that wanted to use the global template system, but that's probably most of them).
What do you think? (Please ping me. I'd really appreciate it.) Whatamidoing (WMF) ( talk) 17:28, 25 October 2018 (UTC)
Suddenly –
is not being recognized within cite template page ranges. For example, go to
Phineas Gage and search the text ndash in the rendered page. Unless I'm losing my mind this is new.
E
Eng 10:09, 20 October 2018 (UTC)
Why is the bot removing the publisher and publisher location for a cite journal template at [1]?-- Sturmvogel 66 ( talk) 23:39, 27 October 2018 (UTC)
I don't think this is deliberate (maybe it is?) but a script title without a title has no quotation marks:
{{Cite web |last=Белый |first=Антон |date=September 1, 2014 |website=[[Igromania]] |script-title=ru:Игры, которым не нужен игрок |url=https://www.igromania.ru/article/25527/Igry_kotorym_ne_nuzhen_igrok.html |archive-url=https://web.archive.org/web/20170224013506/https://www.igromania.ru/article/25527/Igry_kotorym_ne_nuzhen_igrok.html |archive-date=February 24, 2017 |dead-url=no}}
-> Белый, Антон (September 1, 2014).
Игры, которым не нужен игрок.
Igromania. Archived from
the original on February 24, 2017. {{
cite web}}
: Unknown parameter |dead-url=
ignored (|url-status=
suggested) (
help)
It probably should. -- Izno ( talk) 19:45, 21 October 2018 (UTC)
|script-title=
so that it is distinct from the value assigned to |title=
. Compare {{
cite book}}
with {{
cite web}}
:
{{cite book |script-title=Script Title |title= Title |trans-title=Trans Title |url=//example.com}}
→
Title Script Title [Trans Title]. {{
cite book}}
: Invalid |script-title=
: missing prefix (
help){{cite web |script-title=Script Title |title= Title |trans-title=Trans Title |url=//example.com}}
→
"Title" Script Title [Trans Title]. {{
cite web}}
: Invalid |script-title=
: missing prefix (
help)|script-title=
-absent-|title=
use-case though I have a vague memory of at least thinking that non-Latin scripts don't need markup because they are distinct from Latin scripts.Due to a recent change in the URLs for the IUCN Red List website, there's been a proposal to enhance the functionality of the supposedly-deprecated {{ IUCN}}-family of templates to handle this, and potentially future, changes to IUCN URLs. I have a few questions that I think people here are well equipped to answer:
|doi=
and/or |page=
, which take the necessary text from the DOI and use it to form the URL, as intended by the IUCN. My problem (and perhaps it's only my problem) is that old values of |url=
, which are currently dead in both the wrapper and CS1 templates, will be ignored, and, instead, the wrapper will pass the automatically-generated URL to {{
Cite journal}} or {{
Cite web}}. This produces a disconnect between the citation text (the, unfortunately, dead URL) and the displayed text (a functioning URL). The old |url=
can be removed to solve this secondary problem, but I would prefer to simply update the hard-coded URLs, if possible.So, while useful, something about this doesn't seem Kosher to me, especially since how this fix is decided will determine whether or not we expand, or we continue to curtail our usage of, {{ IUCN}}-family templates. At the very least I think it deserves a discussion wider than WikiProject level. ~ Tom.Reding ( talk ⋅ dgaf) 15:58, 24 October 2018 (UTC)
|mode=
in the wrapper, at least to select between CS1 and CS2, to maintain a consistent citation style as per the MoS.
Peter coxhead (
talk) 16:08, 24 October 2018 (UTC)|mode=
; that same template rewritten to use Module:Template wrapper would get the |mode=
functionality gratis.45199653
is taken from the DOI http://dx.doi.org/10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en
, available at both the 'Temp' and the 'New' links. ~
Tom.Reding (
talk ⋅
dgaf) 16:27, 24 October 2018 (UTC)
My problem (and perhaps it's only my problem) is that old values of|url=
, which are currently dead in both the wrapper and CS1 templates, will be ignored, and, instead, the wrapper will pass the automatically-generated URL to {{ Cite journal}} or {{ Cite web}}. This produces a disconnect between the citation text (the, unfortunately, dead URL) and the displayed text (a functioning URL). The old|url=
can be removed to solve this secondary problem, but I would prefer to simply update the hard-coded URLs, if possible.
{{
IUCN}}
template doesn't that, sort of by definition, remove the old, dead |url=
value and replace it with the new, living |url=
value? This:
| url = http://www.iucnredlist.org/details/{{{id|{{{ID|}}}}}}
| url = https://www.iucnredlist.org/species/13922/{{#invoke:string|match|s={{{doi|}}}|pattern=%u(%d+)%.%a+$|plain=false|nomatch=error}}
disconnect?
{{IUCN}}
in article space may not have |doi=
so until they get |doi=
you want to modify the old, dead |url=
value into the temp |url=
value unless |doi=
is present (and has a value) in which case you want to use |doi=
to make a new |url=
value? Even if this is the case, I still don't see the disconnect.
|url=
parameter would be rendered useless in the wrapper; but perhaps that will be an unlikely scenario, and can be discussed at the template/WikiProject level, if needed.If a user would want to use a different URL, then the |url=
parameter would be rendered useless in the wrapper
Really? In the wrapper, wouldn't this use the editor's url over the url constructed by the wrapper?
| url = {{{url|https://www.iucnredlist.org/species/13922/{{#invoke:string|match|s={{{doi|}}}|pattern=%u(%d+)%.%a+$|plain=false|nomatch=error}}}}}
|url=
happens in the same edit). ~
Tom.Reding (
talk ⋅
dgaf) 21:36, 24 October 2018 (UTC)
|url=
is superfluous – it is in the normal case, but if iucn is not going to support doi any longer then, yeah, I guess you have to rewrite the url.
{{cite journal |author1=Sillero-Zubiri, C. |author2=Do Linh San, E. |last-author-amp=yes |year=2016 |title=''Mungos gambianus'' |journal=[[The IUCN Red List of Threatened Species]] |volume=2016 |page=e.T13922A45199653 |doi=10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en |doi-access=free}}
{{
cite journal}}
: Unknown parameter |last-author-amp=
ignored (|name-list-style=
suggested) (
help)Example
{{cite AV media | author=Yuyama Kunihiko|date=2012-07-14 | script-title=ja:劇場版ポケットモンスター ベストウイッシュ キュレムVS聖剣士 ケルディオ|trans-title=Pokémon the Movie: Kyurem vs. the Sword of Justice|title-link=Pokémon the Movie: Kyurem vs. the Sword of Justice|language=ja | publisher=OLM, Inc.}}
Result: Yuyama Kunihiko (2012-07-14).
劇場版ポケットモンスター ベストウイッシュ キュレムVS聖剣士 ケルディオ [Pokémon the Movie: Kyurem vs. the Sword of Justice] (in Japanese). OLM, Inc.
--
minhhuy (
talk) 04:25, 31 October 2018 (UTC)
I'm a bit confused on how I should use
Template:Cite map with |map=
, |map-url=
and |trans-title=
as I can't get a translated title to work with these.
|trans-title= requires |title=.
|map=
to |title=
, I get |map-url= missing title.
|map-url=
to |map=
, I get |access-date= requires |url=.
|trans-title=
with |trans-map=
, I get Missing or empty |title=.
Any suggestion on how to use Cite Map with these fields? -- Gonnym ( talk) 09:22, 31 October 2018 (UTC)
|title=
, |trans-title=
, and |url=
. When you are citing a map that is part of a larger work, |map=
, |trans-map=
, and |map-url=
apply; these are akin to |chapter=
, |trans-chapter=
, and |chapter-url=
in a {{
cite book}}
template. See the examples at {{
cite map}}
.|title=
to |work=
which is not an alias of |title=
. Restoring the example and adding |trans-map=
:Wikitext | {{cite map
|
---|---|
Live |
OpenStreetMap contributors (26 November 2011).
"E.T. Seton Park" [test] (Map). OpenStreetMap. Retrieved 26 November 2011. {{
cite map}} : |author= has generic name (
help)
|
|trans-map=
, and |trans-title=
doesn't even say that using |work=
is incorrect. Regardless, thanks for clearing this up. --
Gonnym (
talk) 11:04, 31 October 2018 (UTC)
The cite map template is missing a single parameter to be able to fully cite GIS maps. From this website, it seems like it is recommended to cite the software package used to create the map. - Furicorn ( talk) 19:10, 6 November 2018 (UTC)
Could somebody add an option to cite book to display the author's first name before the last name? Kurzon ( talk) 08:15, 9 November 2018 (UTC)
|author=
. –
Jonesey95 (
talk) 08:35, 9 November 2018 (UTC)
|author=
is best used for corporate authors, where the terms last name and first name do not apply.
Jc3s5h (
talk) 11:04, 9 November 2018 (UTC)
|author=
makes that possible. You might not like it, but that's CITEVAR for you (p.s. I don't like it either, but I'm not going to die on that hill.) –
Jonesey95 (
talk) 11:12, 9 November 2018 (UTC)
|author=
with Asian names, because I am dumb and how Asian names are in the west versus the east versus wherever the cited author is from is hard. --
Izno (
talk) 13:24, 9 November 2018 (UTC)footnotes without a bibliography" example Jc3s5h provides is the special case of individual full citations at the foot of a printed page, where they are laid out in European-centric "normal" order. I believe all style guides recommend having lists of citations sorted by the lexicographic key, which is normally the first author's surname ("last name"). (Where styles differ is whether co-authors should have their names inverted. The general and accepted practice here is to invert the co-authors' name same as the first author's name.)
|author=
is bad enough where we are familiar enough with the names to distinguish them, but even worse for unfamiliar names. We need this last/first metadata, and the editor adding a source should sort out the name parts, and put them into the proper parameters. ♦
J. Johnson (JJ) (
talk) 23:37, 9 November 2018 (UTC)I don't like using |author=
because the harv template can't use that parameter.
Kurzon (
talk) 08:38, 10 November 2018 (UTC)
Trying
(note: I actually tried it with the ndash entity but I had to expand out the ampersand into an amp entity to get it to be visible as an entity inside the nowiki) I expected to see the same result as if the ndash entity were replaced by an actual en-dash character, namely
but instead it was spelled out:
{{
cite journal}}
: |last=
has generic name (
help) (live template)Would it be possible to fix this, please? I don't use the ndash entity much myself as I have a Mac keyboard on which the dashes are easy to type, but it's a convenient alternative spelling for editors who use other systems, and it works most of the time but not here where we need en-dashes so frequently. (And in fact I found this in someone else's markup while editing an article, rather than by randomly experimenting myself.) I think the problem is that the semicolon that terminates the entity is getting misinterpreted as normal punctuation and replaced by a comma, which makes the rest of the entity stop looking like an entity to browsers that see the resulting markup. — David Eppstein ( talk) 05:47, 9 October 2018 (UTC)
{{cite journal/new|journal=Journal|title=Title|issue=10–24|first=A.N.|last=Author|year=2018}}
{{
cite journal}}
: |last=
has generic name (
help)|page=
and |issue=
parameter values at commas and semicolons (because editors do use semicolons where commas should be used). —
and –
entities are now converted to their respective characters before the split.Definitely it was broken when I looked at a couple of articles today. This needs to get fixed, since there are probably over a million occurrences of – in Wikipedia articles. Michael Hardy ( talk) 00:09, 12 November 2018 (UTC)
Is it just me who feels that its rather pathetic that this wonderful project has been limited due to it being completely on-wiki, when most serious software development these days take place on dedicated platforms like GitHub? Are there any reasons why we are keeping this here?
The CS1 modules appear to be almost entirely written and maintained by one single editor since around 2013 (though undeniably he has done a great work at that). But there is no collaboration taking place. All edits are saved with the edit summary "sync from sandbox" and the sandbox edits themselves don't have any edit summaries at all. I note that changes are still being recorded through other means, but its nothing like the commit history available on version control systems like git.
The recent issue with ndashes has been brought up brought up four times. The fix, though promptly done by Trappist the Monk, is still in the sandbox and hasn't been deployed. Edits are made in the sandbox and deployed in batches to main module once in a while by the Monk. This wiki-based workflow is quite inferior to the sophisticated pull request mechanism we have on git. Using a system like GitHub, everything is a whole lot easier. Commit messages are helpful in allowing multiple coders to collaborate (which isn't taking place here, and I don't it's due to lack of interested programmers). When two people working on forks make changes to different parts of a same file, the git software merges both versions automatically - the sort of stuff that here would be need to fixed by the nasty process of manually copy-pasting the correct code blocks from both versions.
Moving the development work to GitHub (and having a bot to sync changes from the github repo to the wiki) would help new coders who wish to help out on this project. This is the way popular gadgets and tools like Twinkle, wikEd, AFCH script, etc are written and maintained. SD0001 ( talk) 18:49, 13 November 2018 (UTC)
project has been limited due to it being completely on-wiki?
The Cite AV Media template page needs a lot of work. There aren't many instructions. Which fields to use is confusing. I can see readers getting lost trying to use it as a guide for how to cite DVDs.
Vmavanti (
talk) 19:25, 19 November 2018 (UTC)
{{
cite AV media}}
so someone must have figured out how to use the template; see
Special:WhatLinksHere/Template:Cite_AV_media.|people=
is nothing more than an alias of |authors=
; the 'name (role)' appears to be the way someone (who? don't know) thought that this template should be written. There is no reason that you shouldn't use |lastn=
/ |firstn=
and in fact, that should be preferred but if you choose to do that don't include the person's role in either of those. |format=
applies the the
electronic file format of the source linked by |url=
; |medium=
is the
source's type: DVD, Video tape, LP, CD, etc. Chapters / sections can use |chapter=
or |section=
. |minutes=
, |time=
and |time-caption=
are documented at
In-source locations.|last={{aut|Surname}}
because {{
aut|surname}}
produces this in the citation's metadata:
'"`UNIQ--templatestyles-0000003B-QINU`"'<span class="smallcaps">Surname</span>
assume almost nothingwhile writing about it). This is why every time someone rises to complain about the quality of the documentation here, I ask, as I did of you, that they help to make it better. Rarely, oh so rarely, have any of those whom I've asked done anything to improve the template documentation.
Because of
discussion here, I made some changes to
Module:Template wrapper/sandbox (discussed
here). I was looking for something a bit more complex that could be a test-bed for ideas the the IUCN template inspired and settled on {{
cite wikisource}}
because, when wrapped in Module:Template wrapper for |_template=cite book
, it has some parameters (|at=
, |chapter=
, |publisher=
, |title=
) that are native both to {{cite wikisource}}
and to the working template {{
cite book}}
.
I think that I have resolved all of the issues that would allow rewriting {{cite wikisource}}
to use Module:template wrapper with {{cite book}}
except for one: {{cite wikisource}}
adds wikisource icons to |chapter=
and |title=
by prefixing the content of |chapter=
or |title=
with [[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource link to]]
(which it should not be doing because that corrupts the citation's metadata.
There may be a solution. cs1|2 adds access icons to externally linked |title=
, |chapter=
, various identifiers. I created wikisource icon css in
Module:Citation/CS1/sandbox/styles.css and tried wrapping the content of |chapter=[[wikisource:On_the_Origin_of_Species_(1859)/Chapter_VII|Chapter_VII Instinct]]
with an appropriate <span>...</span>
tag. That worked but didn't work because the icon overlaid the last word of the chapter rendering. I think that this is because the icon image is positioned according to the right-side boundary of the chapter text (the right-most "
mark). There may still be a solution there; I imagine that we might add n number of
characters sufficient to allow proper placement of the icon or perhaps, there is some slick css trick that I don't know about that would do the same.
The solution that I did come up with is to convert [[wikisource:On_the_Origin_of_Species_(1859)/Chapter_VII|Chapter_VII Instinct]]
to https://en.wikisource.org/wiki/On_the_Origin_of_Species_(1859)/Chapter_VII
which uses the space occupied by the normal MediaWiki external link icon (as we do for access icon's):
{{cite book/new |title=On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life |chapter=[[wikisource:On_the_Origin_of_Species_(1859)/Chapter_VII|Chapter_VII Instinct]] |location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
Compare {{cite wikisource}}
:
{{cite wikisource |plaintitle=On the Origin of Species (1859) |chapter=Chapter VII |location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
There is a long-standing
feature request to add {{cite wikisource}}
to the cs1|2 module. I don't think that we should do that but adding a little support to the cs1|2 module that allows the icon and also moves {{cite wikisource}}
away from {{
citation/core}}
is probably a good thing.
— Trappist the monk ( talk) 15:01, 5 November 2018 (UTC)
{{
cite wikisource}}
at
Template:cite wikisource/testcases. I still have to figure out how to support wikisource interwiki links in |title=
and in |title-link=
within cs1|2 templates before I'll be ready to broach the topic at
Template talk:cite wikisource. I don't know if this change should be constrained to {{cite book}}
or if there are other cs1|2 templates that should support this feature.|title=
is linked through |title-link=
:
{{Cite book/new |title=On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life |titlelink=wikisource:On_the_Origin_of_Species_(1859)|location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
|title=
holds an interwiki link:
{{Cite book/new |title=[[wikisource:On_the_Origin_of_Species_(1859)|On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life]] |location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
|via=Wikisource
. {{
AASHTO minutes}} cites Wikisource (for one of its minutes) or Commons (for the rest, for now), and we even added a |v-link=
to turn on a wikilink to the entry in the underlying |via=
:
|via=[[Wikisource]]
is more correct than concatenating [[Wikisource]]
onto the end of |publisher=
as {{
cite wikisource}}
does now.{{
AASHTO minutes}}
uses {{
cite web}}
, it must be given a value in |url=
which causes MediaWiki to apply the external link icon thereby distinguishing it from wikilinks and interwiki links.|page=
, |pages=
, |at=
done. Notices posted at
Template talk:Cite wikisource#new sandbox version that abandons citation/core and
Wikipedia talk:WikiProject Wikisource#proposed changes to cite wikisourceThis is not really relevant to purposes in the thread above, where {{
cite wikisource}}
is just a use case for changes to
Module:template wrapper, but…
I don't think a {{
cite wikisource}}
template makes sense. Wikisource doesn't publish original works, it just reproduces existings works. These works can be books, journals, magazines, newpapers, or encyclopedias (or, of course, parts like chapters, articles, entries, etc.). What Wikipedia cites is the original work, it just happens that we cite the copy extant on Wikisource. This is analogous to databases like
Questia,
JSTOR, or
Project MUSE, and what we have |via=
for.
In view of that, perhaps a better approach would be a |wikisource-link=title
parameter as a convenience shortcut for [[:s:title]]
syntax, and possibly also triggering the display of the Wikisource logo (analog here to the external link icon). --
Xover (
talk) 12:46, 6 November 2018 (UTC)
{{
Gutenberg book}}
(basically a fork of a 2007-ish version of {{
cite book}}
) should be disallowed because
Project Gutenberg just reproduces [existing] works. That template uses this construct to link to a Project Gutenberg title:
[[gutenberg:2383|''The Canterbury Tales and Other Poems'']]
{{
cite wikisource}}
should be using |via=
."Arguing about the significance of newsgroup names and their relation to the way people really think is equivalent to arguing whether it is better to read tea leaves or chicken entrails to divine the future.").A more practical issue, however, is that Wikisource contains all kinds of sources: if, for example,
{{
cite wikisource}}
wraps {{
cite book}}
the output (including metadata AIUI) will be incorrect for a magazine, and so forth. Hence the thought that if we want various special behaviours for citations to works that are reproduced on Wikisource then those behaviours are better triggered by specific parameters (like the mentioned |wikisource-link=
example above) on the main citation templates than by the invoking template. Or perhaps |via=
should accept magic words (i.e. |via=Wikisource
) that trigger such behaviour? --
Xover (
talk) 08:49, 8 November 2018 (UTC)
{{
cite wikisource}}
doesn't explicitly say that the template is to be used solely for books though book-only is implied by the examples it shows. You are correct that, at present, books are all that it supports. We could easily change {{cite wikisource}}
to use {{
citation}}
so that rendering and metadata are determined by the content of the periodical parameters |newspaper=
and |magazine=
. Here is a newspaper cite using {{
cite news}}
:
{{cite news/new |last=Wells |first=H. G. |title=Heroic Airmen are Key to Victory |title-link=s:Heroic Airmen Are Key To Victory |newspaper=Daily Mail |date=9 August 1918}}
{{citation}}
:
{{citation/new |last=Wells |first=H. G. |title=Heroic Airmen are Key to Victory |title-link=s:Heroic Airmen Are Key To Victory |newspaper=Daily Mail |date=9 August 1918}}
{{
cite book}}
:
{{citation}}
:
{{cite wikisource}}
using {{citation}}
we would preset |mode={{{mode|cs1}}}
so that the citations render in the same style as legacy {{cite wikisource}}
. I have tested these changes in {{cite wikisource/sandbox}}
but not yet implemented them.{{
cite wikisource}}
has |class=
which can be set to one of the various values supported by {{
citation/core}}
(these aren't defined anywhere except in the various cs1|2 templates that directly call
Module:Citation/CS1). This
search would seem to indicate that article space has some 400ish instances of {{cite wikisource}}
that include some form of |class=
, most of them |class=dictionary
; this contrary to the template doc that says:
<span>...</span>
tag, |class=
appears be exclusively used in the mind-numbing mess that feeds {{
citation/core}}
's |At=
parameter so doesn't, apparently, drive the correct use of the template's metadata or rendering.Hello, it seems editor-first and editor-last is in Cite encyclopedia's TemplateData twice. Am I right? Could you fix it please? -- Dvorapa ( talk) 13:01, 21 November 2018 (UTC)
|editor-first=
and |editor-last=
entries at
Template:Cite encyclopedia#TemplateData.place: Geographical place of publication; generally not wikilinked; omit when the name of the work includes the location; examples: The Boston Globe, The Times of India. Displays after the title. Alias: location
{{ cite book}}'s documentation could use some clarification on wikilinks and disambiguation. In the case of:
Sure, I wouldn't link New York City, but Oakland, California, is not a major city—when should the place/location be linked? And regardless of whether it's linked, should we use the full disambiguated article title, or would it be sufficient to link as Oakland and Princeton? czar 16:21, 20 October 2018 (UTC)
Cambridge, MA: MIT Pressbut
Cambridge: Cambridge University Press) or if I don't think the average reader would know where a particular city would be (although perhaps I have higher expectations for the general reader since I would think everyone knows where Princeton is but CMoS 17 gives
Princeton, NJ: Princeton University Press). Obviously Wikipedia house style is different from Chicago, but
If the city of publication may be unknown to readers or may be confused with another city of the same name, the abbreviation of the state, province, or (sometimes) country is usually addedprobably works as general advice. For your Princeton example, it seems
omit when the name of the work includes the locationtakes care of that anyway since where else would Princeton University Press be if not Princeton so
|location=
probably isn't even necessary. Just my $0.02 on this.
Umimmak (
talk) 21:28, 12 November 2018 (UTC)
This
edit request to
Module:Citation/CS1/Configuration has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the configuration from,
['event'] = 'Event occurs at',
to,
['event'] = 'Event occurs at time',
to match the current documentation. -- Ans ( talk) 15:03, 21 November 2018 (UTC)
{{
cite av media}}
would suggest that the documentation is in error (the editor who wrote most of the text in {{
csdoc}}
set about to document what the cs1|2 templates did, not what they should do):Wikitext | {{cite AV media
|
---|---|
Live | Title. Event occurs at 1:21:32. |
Sandbox | Title. Event occurs at 1:21:32. |
|time=
:
{{{time|}}}
' – 16:56, 18 September 2007{{{time|}}}
' – 12:29, 20 February 2012{{{time|}}}
' – 17:48, 27 February 2012|time=
as: 'Event occurs at {{{time|}}}
' except during a brief period of 7 days, 5 hours, 19 minutes. The first 1 day, 2 minutes of that period is the only time that I have found where the template and the documentation were in agreement. The static text did not change when we shifted to the module.There are 45 error categories at Category:CS1 errors. Of those 45, 11 do not follow the name style of the 34.
Yesterday, after discovering an inappropriate category link in an article, I hunted about for other articles with the same problem. The hunt reminded me that these 11 have non-standard names. So, today I propose that on the next update to the cs1|2 module suite, we also move these new categories to new, standardized names. Here is a table of current and prospective names; the list also includes the one non-standard maintenance category. Opinions?
current name | proposed name | suggested alt |
---|---|---|
Category:Pages using citations with accessdate and no URL (0) | CS1 errors: access-date | CS1 errors: access-date without url |
Category:Pages with archiveurl citation errors (0) | CS1 errors: archive-url | |
Category:Pages with empty citations (0) | CS1 errors: empty citations | |
Category:Pages using citations with format and no URL (0) | CS1 errors: format | CS1 errors: format without url |
Category:Pages with citations having redundant parameters (0) | CS1 errors: redundant parameters | |
Category:Pages with citations lacking titles (0) | CS1 errors: title | CS1 errors: missing title |
Category:Pages using web citations with no URL (0) | CS1 errors: missing URL | |
Category:Pages with citations having bare URLs (0) | CS1 errors: bare URL | |
Category:Pages with citations using unnamed parameters (0) | CS1 errors: unnamed parameters | |
Category:Pages with citations using unsupported parameters (0) | CS1 errors: unsupported parameters | |
Category:Pages with URL errors (0) | CS1 errors: URL | CS1 errors: url syntax |
Category:Articles with missing Cite arXiv inputs (5) | CS1 maint: arXiv | CS1 maint: cite arXiv with missing parameters |
— Trappist the monk ( talk) 11:50, 29 November 2018 (UTC)
{{
cite arXiv}}
, {{
cite arXiv/sandbox}}
, {{
cite arXiv/new}}
, and {{
cite arXiv/old}}
which populates
Category:Articles with missing Cite arXiv inputs as expected.|format=
).|title=
parameter and using this category to do so.|url=
.|<param>=
missing title|chapter-url=
|contributor=
ignored|contributor=
requires |author=
|contributor=
requires |contribution=
|<param>-access=
requires |<param>=
I guess it goes without saying leave a redirect in case bots etc to avoid breakage. -- Green C 14:33, 29 November 2018 (UTC)
Assuming I understand the design correctly.Since when has anything about cs1|2 ever been 'designed'? (yeah, that's a rhetorical question) cs1|2 has morphed from one thing to another – this hallmark of a wiki development environment bears no resemblance to 'design'.
New style (post April 2007) {{
cite arxiv}} should have a |class=
specified. I suggest we add a test for this
|arxiv=####.####
or |####.#####=
arxiv is present, require |class=
. Create a
Category:CS1 maint: missing class or similar.Old style (e.g. |arxiv=gr-qc/006546
) should not give the error. Or rather give the error when class is specified (
Category:CS1 maint: superfluous class).
Headbomb {
t ·
c ·
p ·
b} 15:11, 30 November 2018 (UTC)
|class=
is optional according to the
template doc and has been since the documentation's
creation. The value assigned to |class=
does not form any part of the url that the module assembles from |arxiv=
or |eprint=
. As such, this does not seem to me to rise to the level of an error message.|class=
is used with old-style |arxiv=
(has done since the September update). These are categorized into
Category:CS1 errors: class:
{{cite arXiv |title=Origin and dynamical evolution of comets and their reservoirs |author=Alessandro Morbidelli |date=2005 |eprint=astro-ph/0512256 |class=astro-ph}}
{{
cite arXiv}}
: |class=
ignored (
help)That's fine, now what's missing is an maintenance category to find newstyle cite arxiv missing class. Headbomb { t · c · p · b} 16:04, 1 December 2018 (UTC)
|class=
is now to be required). Still, if you must require |class=
for {{
cite arxiv}}
you can add something that might look like this:
{{#if:{{{arxiv|{{{eprint}}}}}}|{{#if:{{#invoke:String|match|{{{arxiv|{{{eprint}}}}}}|^%d|||false|}}|{{#if:{{{class|}}}||[[Category:Articles with missing Cite arXiv inputs]]}}}}}}
|class=
.I just notice the strange formatting behavior at Wimpy (restaurant)#Israel that involve the use of Hebrew in one of its citations.
A snippet of code is as follows:
Which is displayed as follows:
׳וימפי׳ פתחה בארץ עוד ועוד סניפים, חברה בריטית לממכר המבורגרים שלא הצטיינו אמנם באיכותם, אך יחד עם משקה ה׳סנפרש׳ גם הם כמו שייכו את ישראל אל העולם הגדול.
Not being familiar with the Hebrew language, is this the best way to display such information in the {{ cite}} template on the English language Wikipedia? If not, this template needs to be patched.
As an aside, is there an easy way to insert an English translation of the quotation shown in the example into the {{ cite}} template? Such a feature would be very beneficial to readers of the article who are not fluent in that language that the actual quote was written in. - 147.202.209.1 ( talk) 20:22, 1 December 2018 (UTC)
|script-title=
. You might rewrite the template this way:
{{cite book |last=Segev |first=Tom |script-title=he:1967 :והארץ שינתה את פניה |trans-title=1967: The country changed its face |location=Jerusalem |publisher=Keter |page=44 |language=Hebrew |quote={{lang|he|׳וימפי׳ פתחה בארץ עוד ועוד סניפים, חברה בריטית לממכר המבורגרים שלא הצטיינו אמנם באיכותם, אך יחד עם משקה ה׳סנפרש׳ גם הם כמו שייכו את ישראל אל העולם הגדול}}.}}
׳וימפי׳ פתחה בארץ עוד ועוד סניפים, חברה בריטית לממכר המבורגרים שלא הצטיינו אמנם באיכותם, אך יחד עם משקה ה׳סנפרש׳ גם הם כמו שייכו את ישראל אל העולם הגדול.
|quote=
simply add the translation to the end enclosed in []
. The Hebrew text in |quote=
might be wrapped in {{
lang}}
as I have shown here (but only the Hebrew text in |quote=
– do not use {{
lang}}
in any other cs1|2 parameter).|script-title=
.This
edit request to
Template:Cite book has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Under Edition, series, volume in Template:Cite book, the edition parameter allows only for abbreviation to "ed." when in fact the word is often abbreviated to "edn" in British English, and in World English, eg according to oxforddictionaries.com. Could the template please be amended to allow for edn (no period). Thank you. JG66 ( talk) 04:46, 14 October 2018 (UTC)
|edition=
takes, as input, a text string to which is appended a space character and the static abbreviation 'ed.' (with a dot). There is no facility in cs1|2 to support any specific variety of English. To accommodate this request would require some sort of new parameter or some special encoding of the value assigned to |edition=
to tell cs1|2 to use 'edn' instead of 'ed.' when rendering.|edition=
be set to allow both "ed." and "edn"?
Galobtter (
pingó mió) 12:03, 14 October 2018 (UTC)
|edition=
: 'ed', ed.', 'Ed', 'Ed.', 'edition', 'Edition' because this text is redundant to the 'ed.' static text that cs1|2 appends to the value prior to rendering. Of course, the 'validation' can be bypassed when the last three characters of the |edition=
value are 'edn'; that is the sort of special encoding I was thinking about.{{
citation}}
since its
creation{{
cite book}}
since it was
modified to use {{
citation/core}}
[don't] give a crap about templates, you are to free construct citations by hand.
"edn" is the acceptable abbreviation for edition in British Englishmight be better phrased 'an acceptable abbreviation'; see the 'ed.' entry at your very well known source.
[What's] the question?The one you posed:
Does anyone object to such a change being made?I accept that there may be an American bias at en.wiki. For those editors who believe that consistency between citations in an article is important, anything that makes one citation's format different from another citation's format (beyond the obvious citing of different sources) has been and will continue to be a point of contention – that was amongst the reasons that we implemented
|mode=
(so that cs1 templates render in the same manner as cs2 and visa versa) and |df=
(so that all dates in a citation render in the specified format).mw.ext.cattools.hasPage()
that will purportedly return boolean indication of a page's membership in a specific category. This extension is not installed on en.wiki{{Use British English}}
(and its eleven redirects). I tried this idea in the past with the {{use ... dates}}
templates to see if we could auto-format dates. That experiment worked for articles with only a handful of cs1|2 templates but failed spectacularly when the article contained more than some number which I no longer remember – the article source had to be reread for almost every template (because almost every cs1|2 template has a date parameter of some kind) so the Lua processing ran out of time. |edition=
is used relatively rarely so for each article parsing, Lua would not need to reread article source all that often.I would object to any change supporting this variance as well. The list by Ttm above is a good list for why. -- Izno ( talk) 15:14, 3 December 2018 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 45 | ← | Archive 47 | Archive 48 | Archive 49 | Archive 50 | Archive 51 | → | Archive 55 |
Here is a search showing instances of "work={{noitalic" (I get about 450 results in article space). The use of {{ noitalic}} in CS1 templates has caused COinS metadata errors for a while, and after the last template update, it causes a red error message, "templatestyles stripmarker in |work= at position 1". Someone with access to AWB should be able to make quick work of these errors.
There are also
about 230 of these errors in |publisher=
, and
about 930 uses overall, if my insource search is working properly. –
Jonesey95 (
talk) 14:05, 23 October 2018 (UTC)
{{noitalic|{{lang|...}}}}
in |authorn=
, |journal=
, |publisher=
, |website=
, and |work=
.|title=
. Or must the title be redundantly supplied?
|script-journal=
, |script-magazine=
, |script-newspaper=
, |script-website=
, |script-work=
, and perhaps others. See these that I found recently in the archives:
{{cite book|title=Reprinted|date=1964|publisher=Gregg|location=Farnborough|hdl-access=free|hdl=2307/4698}}
{{cite book |last1=Armstrong |first1=L. E. |display-authors=0 |title=The Phonetic Structure of Somali |type=Reprint |date=1964 |orig-year=1934 |publisher=Gregg |location=Farnborough |hdl-access=free |hdl=2307/4698}}
'"`UNIQ--templatestyles-0000000C-QINU`"'<cite id="CITEREFArmstrong1964" class="citation book cs1">''The Phonetic Structure of Somali'' (Reprint). Farnborough: Gregg. 1964 [1934]. [[hdl (identifier)|hdl]]:<span class="id-lock-free" title="Freely accessible">[https://hdl.handle.net/2307%2F4698 2307/4698]</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=The+Phonetic+Structure+of+Somali&rft.place=Farnborough&rft.pub=Gregg&rft.date=1964&rft_id=info%3Ahdl%2F2307%2F4698&rft.aulast=Armstrong&rft.aufirst=L.+E.&rfr_id=info%3Asid%2Fen.wikipedia.org%3AHelp+talk%3ACitation+Style+1%2FArchive+49" class="Z3988"></span>
I'm looking at phab:T121470 and wondering whether this might reduce some of the maintenance hassles around these popular citation templates. It's hard to set them up, and then most of the small wikis never update their code again. If they do, then a straight copy of the enwiki templates means that they lose anything (e.g., parameter names) that they translated into the local language.
The global template system would require some dev work (maybe a year's worth of work), and then the template would have to be "marked for translation", to steal a phrase from Extension:Translate. So that's extra work for the template editors. On the other hand, once that happened, you could push an update once, and it would update all the wikis at the same time (well, all the wikis that wanted to use the global template system, but that's probably most of them).
What do you think? (Please ping me. I'd really appreciate it.) Whatamidoing (WMF) ( talk) 17:28, 25 October 2018 (UTC)
Suddenly –
is not being recognized within cite template page ranges. For example, go to
Phineas Gage and search the text ndash in the rendered page. Unless I'm losing my mind this is new.
E
Eng 10:09, 20 October 2018 (UTC)
Why is the bot removing the publisher and publisher location for a cite journal template at [1]?-- Sturmvogel 66 ( talk) 23:39, 27 October 2018 (UTC)
I don't think this is deliberate (maybe it is?) but a script title without a title has no quotation marks:
{{Cite web |last=Белый |first=Антон |date=September 1, 2014 |website=[[Igromania]] |script-title=ru:Игры, которым не нужен игрок |url=https://www.igromania.ru/article/25527/Igry_kotorym_ne_nuzhen_igrok.html |archive-url=https://web.archive.org/web/20170224013506/https://www.igromania.ru/article/25527/Igry_kotorym_ne_nuzhen_igrok.html |archive-date=February 24, 2017 |dead-url=no}}
-> Белый, Антон (September 1, 2014).
Игры, которым не нужен игрок.
Igromania. Archived from
the original on February 24, 2017. {{
cite web}}
: Unknown parameter |dead-url=
ignored (|url-status=
suggested) (
help)
It probably should. -- Izno ( talk) 19:45, 21 October 2018 (UTC)
|script-title=
so that it is distinct from the value assigned to |title=
. Compare {{
cite book}}
with {{
cite web}}
:
{{cite book |script-title=Script Title |title= Title |trans-title=Trans Title |url=//example.com}}
→
Title Script Title [Trans Title]. {{
cite book}}
: Invalid |script-title=
: missing prefix (
help){{cite web |script-title=Script Title |title= Title |trans-title=Trans Title |url=//example.com}}
→
"Title" Script Title [Trans Title]. {{
cite web}}
: Invalid |script-title=
: missing prefix (
help)|script-title=
-absent-|title=
use-case though I have a vague memory of at least thinking that non-Latin scripts don't need markup because they are distinct from Latin scripts.Due to a recent change in the URLs for the IUCN Red List website, there's been a proposal to enhance the functionality of the supposedly-deprecated {{ IUCN}}-family of templates to handle this, and potentially future, changes to IUCN URLs. I have a few questions that I think people here are well equipped to answer:
|doi=
and/or |page=
, which take the necessary text from the DOI and use it to form the URL, as intended by the IUCN. My problem (and perhaps it's only my problem) is that old values of |url=
, which are currently dead in both the wrapper and CS1 templates, will be ignored, and, instead, the wrapper will pass the automatically-generated URL to {{
Cite journal}} or {{
Cite web}}. This produces a disconnect between the citation text (the, unfortunately, dead URL) and the displayed text (a functioning URL). The old |url=
can be removed to solve this secondary problem, but I would prefer to simply update the hard-coded URLs, if possible.So, while useful, something about this doesn't seem Kosher to me, especially since how this fix is decided will determine whether or not we expand, or we continue to curtail our usage of, {{ IUCN}}-family templates. At the very least I think it deserves a discussion wider than WikiProject level. ~ Tom.Reding ( talk ⋅ dgaf) 15:58, 24 October 2018 (UTC)
|mode=
in the wrapper, at least to select between CS1 and CS2, to maintain a consistent citation style as per the MoS.
Peter coxhead (
talk) 16:08, 24 October 2018 (UTC)|mode=
; that same template rewritten to use Module:Template wrapper would get the |mode=
functionality gratis.45199653
is taken from the DOI http://dx.doi.org/10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en
, available at both the 'Temp' and the 'New' links. ~
Tom.Reding (
talk ⋅
dgaf) 16:27, 24 October 2018 (UTC)
My problem (and perhaps it's only my problem) is that old values of|url=
, which are currently dead in both the wrapper and CS1 templates, will be ignored, and, instead, the wrapper will pass the automatically-generated URL to {{ Cite journal}} or {{ Cite web}}. This produces a disconnect between the citation text (the, unfortunately, dead URL) and the displayed text (a functioning URL). The old|url=
can be removed to solve this secondary problem, but I would prefer to simply update the hard-coded URLs, if possible.
{{
IUCN}}
template doesn't that, sort of by definition, remove the old, dead |url=
value and replace it with the new, living |url=
value? This:
| url = http://www.iucnredlist.org/details/{{{id|{{{ID|}}}}}}
| url = https://www.iucnredlist.org/species/13922/{{#invoke:string|match|s={{{doi|}}}|pattern=%u(%d+)%.%a+$|plain=false|nomatch=error}}
disconnect?
{{IUCN}}
in article space may not have |doi=
so until they get |doi=
you want to modify the old, dead |url=
value into the temp |url=
value unless |doi=
is present (and has a value) in which case you want to use |doi=
to make a new |url=
value? Even if this is the case, I still don't see the disconnect.
|url=
parameter would be rendered useless in the wrapper; but perhaps that will be an unlikely scenario, and can be discussed at the template/WikiProject level, if needed.If a user would want to use a different URL, then the |url=
parameter would be rendered useless in the wrapper
Really? In the wrapper, wouldn't this use the editor's url over the url constructed by the wrapper?
| url = {{{url|https://www.iucnredlist.org/species/13922/{{#invoke:string|match|s={{{doi|}}}|pattern=%u(%d+)%.%a+$|plain=false|nomatch=error}}}}}
|url=
happens in the same edit). ~
Tom.Reding (
talk ⋅
dgaf) 21:36, 24 October 2018 (UTC)
|url=
is superfluous – it is in the normal case, but if iucn is not going to support doi any longer then, yeah, I guess you have to rewrite the url.
{{cite journal |author1=Sillero-Zubiri, C. |author2=Do Linh San, E. |last-author-amp=yes |year=2016 |title=''Mungos gambianus'' |journal=[[The IUCN Red List of Threatened Species]] |volume=2016 |page=e.T13922A45199653 |doi=10.2305/IUCN.UK.2016-1.RLTS.T13922A45199653.en |doi-access=free}}
{{
cite journal}}
: Unknown parameter |last-author-amp=
ignored (|name-list-style=
suggested) (
help)Example
{{cite AV media | author=Yuyama Kunihiko|date=2012-07-14 | script-title=ja:劇場版ポケットモンスター ベストウイッシュ キュレムVS聖剣士 ケルディオ|trans-title=Pokémon the Movie: Kyurem vs. the Sword of Justice|title-link=Pokémon the Movie: Kyurem vs. the Sword of Justice|language=ja | publisher=OLM, Inc.}}
Result: Yuyama Kunihiko (2012-07-14).
劇場版ポケットモンスター ベストウイッシュ キュレムVS聖剣士 ケルディオ [Pokémon the Movie: Kyurem vs. the Sword of Justice] (in Japanese). OLM, Inc.
--
minhhuy (
talk) 04:25, 31 October 2018 (UTC)
I'm a bit confused on how I should use
Template:Cite map with |map=
, |map-url=
and |trans-title=
as I can't get a translated title to work with these.
|trans-title= requires |title=.
|map=
to |title=
, I get |map-url= missing title.
|map-url=
to |map=
, I get |access-date= requires |url=.
|trans-title=
with |trans-map=
, I get Missing or empty |title=.
Any suggestion on how to use Cite Map with these fields? -- Gonnym ( talk) 09:22, 31 October 2018 (UTC)
|title=
, |trans-title=
, and |url=
. When you are citing a map that is part of a larger work, |map=
, |trans-map=
, and |map-url=
apply; these are akin to |chapter=
, |trans-chapter=
, and |chapter-url=
in a {{
cite book}}
template. See the examples at {{
cite map}}
.|title=
to |work=
which is not an alias of |title=
. Restoring the example and adding |trans-map=
:Wikitext | {{cite map
|
---|---|
Live |
OpenStreetMap contributors (26 November 2011).
"E.T. Seton Park" [test] (Map). OpenStreetMap. Retrieved 26 November 2011. {{
cite map}} : |author= has generic name (
help)
|
|trans-map=
, and |trans-title=
doesn't even say that using |work=
is incorrect. Regardless, thanks for clearing this up. --
Gonnym (
talk) 11:04, 31 October 2018 (UTC)
The cite map template is missing a single parameter to be able to fully cite GIS maps. From this website, it seems like it is recommended to cite the software package used to create the map. - Furicorn ( talk) 19:10, 6 November 2018 (UTC)
Could somebody add an option to cite book to display the author's first name before the last name? Kurzon ( talk) 08:15, 9 November 2018 (UTC)
|author=
. –
Jonesey95 (
talk) 08:35, 9 November 2018 (UTC)
|author=
is best used for corporate authors, where the terms last name and first name do not apply.
Jc3s5h (
talk) 11:04, 9 November 2018 (UTC)
|author=
makes that possible. You might not like it, but that's CITEVAR for you (p.s. I don't like it either, but I'm not going to die on that hill.) –
Jonesey95 (
talk) 11:12, 9 November 2018 (UTC)
|author=
with Asian names, because I am dumb and how Asian names are in the west versus the east versus wherever the cited author is from is hard. --
Izno (
talk) 13:24, 9 November 2018 (UTC)footnotes without a bibliography" example Jc3s5h provides is the special case of individual full citations at the foot of a printed page, where they are laid out in European-centric "normal" order. I believe all style guides recommend having lists of citations sorted by the lexicographic key, which is normally the first author's surname ("last name"). (Where styles differ is whether co-authors should have their names inverted. The general and accepted practice here is to invert the co-authors' name same as the first author's name.)
|author=
is bad enough where we are familiar enough with the names to distinguish them, but even worse for unfamiliar names. We need this last/first metadata, and the editor adding a source should sort out the name parts, and put them into the proper parameters. ♦
J. Johnson (JJ) (
talk) 23:37, 9 November 2018 (UTC)I don't like using |author=
because the harv template can't use that parameter.
Kurzon (
talk) 08:38, 10 November 2018 (UTC)
Trying
(note: I actually tried it with the ndash entity but I had to expand out the ampersand into an amp entity to get it to be visible as an entity inside the nowiki) I expected to see the same result as if the ndash entity were replaced by an actual en-dash character, namely
but instead it was spelled out:
{{
cite journal}}
: |last=
has generic name (
help) (live template)Would it be possible to fix this, please? I don't use the ndash entity much myself as I have a Mac keyboard on which the dashes are easy to type, but it's a convenient alternative spelling for editors who use other systems, and it works most of the time but not here where we need en-dashes so frequently. (And in fact I found this in someone else's markup while editing an article, rather than by randomly experimenting myself.) I think the problem is that the semicolon that terminates the entity is getting misinterpreted as normal punctuation and replaced by a comma, which makes the rest of the entity stop looking like an entity to browsers that see the resulting markup. — David Eppstein ( talk) 05:47, 9 October 2018 (UTC)
{{cite journal/new|journal=Journal|title=Title|issue=10–24|first=A.N.|last=Author|year=2018}}
{{
cite journal}}
: |last=
has generic name (
help)|page=
and |issue=
parameter values at commas and semicolons (because editors do use semicolons where commas should be used). —
and –
entities are now converted to their respective characters before the split.Definitely it was broken when I looked at a couple of articles today. This needs to get fixed, since there are probably over a million occurrences of – in Wikipedia articles. Michael Hardy ( talk) 00:09, 12 November 2018 (UTC)
Is it just me who feels that its rather pathetic that this wonderful project has been limited due to it being completely on-wiki, when most serious software development these days take place on dedicated platforms like GitHub? Are there any reasons why we are keeping this here?
The CS1 modules appear to be almost entirely written and maintained by one single editor since around 2013 (though undeniably he has done a great work at that). But there is no collaboration taking place. All edits are saved with the edit summary "sync from sandbox" and the sandbox edits themselves don't have any edit summaries at all. I note that changes are still being recorded through other means, but its nothing like the commit history available on version control systems like git.
The recent issue with ndashes has been brought up brought up four times. The fix, though promptly done by Trappist the Monk, is still in the sandbox and hasn't been deployed. Edits are made in the sandbox and deployed in batches to main module once in a while by the Monk. This wiki-based workflow is quite inferior to the sophisticated pull request mechanism we have on git. Using a system like GitHub, everything is a whole lot easier. Commit messages are helpful in allowing multiple coders to collaborate (which isn't taking place here, and I don't it's due to lack of interested programmers). When two people working on forks make changes to different parts of a same file, the git software merges both versions automatically - the sort of stuff that here would be need to fixed by the nasty process of manually copy-pasting the correct code blocks from both versions.
Moving the development work to GitHub (and having a bot to sync changes from the github repo to the wiki) would help new coders who wish to help out on this project. This is the way popular gadgets and tools like Twinkle, wikEd, AFCH script, etc are written and maintained. SD0001 ( talk) 18:49, 13 November 2018 (UTC)
project has been limited due to it being completely on-wiki?
The Cite AV Media template page needs a lot of work. There aren't many instructions. Which fields to use is confusing. I can see readers getting lost trying to use it as a guide for how to cite DVDs.
Vmavanti (
talk) 19:25, 19 November 2018 (UTC)
{{
cite AV media}}
so someone must have figured out how to use the template; see
Special:WhatLinksHere/Template:Cite_AV_media.|people=
is nothing more than an alias of |authors=
; the 'name (role)' appears to be the way someone (who? don't know) thought that this template should be written. There is no reason that you shouldn't use |lastn=
/ |firstn=
and in fact, that should be preferred but if you choose to do that don't include the person's role in either of those. |format=
applies the the
electronic file format of the source linked by |url=
; |medium=
is the
source's type: DVD, Video tape, LP, CD, etc. Chapters / sections can use |chapter=
or |section=
. |minutes=
, |time=
and |time-caption=
are documented at
In-source locations.|last={{aut|Surname}}
because {{
aut|surname}}
produces this in the citation's metadata:
'"`UNIQ--templatestyles-0000003B-QINU`"'<span class="smallcaps">Surname</span>
assume almost nothingwhile writing about it). This is why every time someone rises to complain about the quality of the documentation here, I ask, as I did of you, that they help to make it better. Rarely, oh so rarely, have any of those whom I've asked done anything to improve the template documentation.
Because of
discussion here, I made some changes to
Module:Template wrapper/sandbox (discussed
here). I was looking for something a bit more complex that could be a test-bed for ideas the the IUCN template inspired and settled on {{
cite wikisource}}
because, when wrapped in Module:Template wrapper for |_template=cite book
, it has some parameters (|at=
, |chapter=
, |publisher=
, |title=
) that are native both to {{cite wikisource}}
and to the working template {{
cite book}}
.
I think that I have resolved all of the issues that would allow rewriting {{cite wikisource}}
to use Module:template wrapper with {{cite book}}
except for one: {{cite wikisource}}
adds wikisource icons to |chapter=
and |title=
by prefixing the content of |chapter=
or |title=
with [[File:Wikisource-logo.svg|12px|class=noviewer|alt=Wikisource link to]]
(which it should not be doing because that corrupts the citation's metadata.
There may be a solution. cs1|2 adds access icons to externally linked |title=
, |chapter=
, various identifiers. I created wikisource icon css in
Module:Citation/CS1/sandbox/styles.css and tried wrapping the content of |chapter=[[wikisource:On_the_Origin_of_Species_(1859)/Chapter_VII|Chapter_VII Instinct]]
with an appropriate <span>...</span>
tag. That worked but didn't work because the icon overlaid the last word of the chapter rendering. I think that this is because the icon image is positioned according to the right-side boundary of the chapter text (the right-most "
mark). There may still be a solution there; I imagine that we might add n number of
characters sufficient to allow proper placement of the icon or perhaps, there is some slick css trick that I don't know about that would do the same.
The solution that I did come up with is to convert [[wikisource:On_the_Origin_of_Species_(1859)/Chapter_VII|Chapter_VII Instinct]]
to https://en.wikisource.org/wiki/On_the_Origin_of_Species_(1859)/Chapter_VII
which uses the space occupied by the normal MediaWiki external link icon (as we do for access icon's):
{{cite book/new |title=On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life |chapter=[[wikisource:On_the_Origin_of_Species_(1859)/Chapter_VII|Chapter_VII Instinct]] |location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
Compare {{cite wikisource}}
:
{{cite wikisource |plaintitle=On the Origin of Species (1859) |chapter=Chapter VII |location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
There is a long-standing
feature request to add {{cite wikisource}}
to the cs1|2 module. I don't think that we should do that but adding a little support to the cs1|2 module that allows the icon and also moves {{cite wikisource}}
away from {{
citation/core}}
is probably a good thing.
— Trappist the monk ( talk) 15:01, 5 November 2018 (UTC)
{{
cite wikisource}}
at
Template:cite wikisource/testcases. I still have to figure out how to support wikisource interwiki links in |title=
and in |title-link=
within cs1|2 templates before I'll be ready to broach the topic at
Template talk:cite wikisource. I don't know if this change should be constrained to {{cite book}}
or if there are other cs1|2 templates that should support this feature.|title=
is linked through |title-link=
:
{{Cite book/new |title=On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life |titlelink=wikisource:On_the_Origin_of_Species_(1859)|location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
|title=
holds an interwiki link:
{{Cite book/new |title=[[wikisource:On_the_Origin_of_Species_(1859)|On the Origin of Species by Means of Natural Selection, or the Preservation of Favoured Races in the Struggle for Life]] |location=London |publisher=John Murray |date=1859 |last=Darwin |first=Charles}}
|via=Wikisource
. {{
AASHTO minutes}} cites Wikisource (for one of its minutes) or Commons (for the rest, for now), and we even added a |v-link=
to turn on a wikilink to the entry in the underlying |via=
:
|via=[[Wikisource]]
is more correct than concatenating [[Wikisource]]
onto the end of |publisher=
as {{
cite wikisource}}
does now.{{
AASHTO minutes}}
uses {{
cite web}}
, it must be given a value in |url=
which causes MediaWiki to apply the external link icon thereby distinguishing it from wikilinks and interwiki links.|page=
, |pages=
, |at=
done. Notices posted at
Template talk:Cite wikisource#new sandbox version that abandons citation/core and
Wikipedia talk:WikiProject Wikisource#proposed changes to cite wikisourceThis is not really relevant to purposes in the thread above, where {{
cite wikisource}}
is just a use case for changes to
Module:template wrapper, but…
I don't think a {{
cite wikisource}}
template makes sense. Wikisource doesn't publish original works, it just reproduces existings works. These works can be books, journals, magazines, newpapers, or encyclopedias (or, of course, parts like chapters, articles, entries, etc.). What Wikipedia cites is the original work, it just happens that we cite the copy extant on Wikisource. This is analogous to databases like
Questia,
JSTOR, or
Project MUSE, and what we have |via=
for.
In view of that, perhaps a better approach would be a |wikisource-link=title
parameter as a convenience shortcut for [[:s:title]]
syntax, and possibly also triggering the display of the Wikisource logo (analog here to the external link icon). --
Xover (
talk) 12:46, 6 November 2018 (UTC)
{{
Gutenberg book}}
(basically a fork of a 2007-ish version of {{
cite book}}
) should be disallowed because
Project Gutenberg just reproduces [existing] works. That template uses this construct to link to a Project Gutenberg title:
[[gutenberg:2383|''The Canterbury Tales and Other Poems'']]
{{
cite wikisource}}
should be using |via=
."Arguing about the significance of newsgroup names and their relation to the way people really think is equivalent to arguing whether it is better to read tea leaves or chicken entrails to divine the future.").A more practical issue, however, is that Wikisource contains all kinds of sources: if, for example,
{{
cite wikisource}}
wraps {{
cite book}}
the output (including metadata AIUI) will be incorrect for a magazine, and so forth. Hence the thought that if we want various special behaviours for citations to works that are reproduced on Wikisource then those behaviours are better triggered by specific parameters (like the mentioned |wikisource-link=
example above) on the main citation templates than by the invoking template. Or perhaps |via=
should accept magic words (i.e. |via=Wikisource
) that trigger such behaviour? --
Xover (
talk) 08:49, 8 November 2018 (UTC)
{{
cite wikisource}}
doesn't explicitly say that the template is to be used solely for books though book-only is implied by the examples it shows. You are correct that, at present, books are all that it supports. We could easily change {{cite wikisource}}
to use {{
citation}}
so that rendering and metadata are determined by the content of the periodical parameters |newspaper=
and |magazine=
. Here is a newspaper cite using {{
cite news}}
:
{{cite news/new |last=Wells |first=H. G. |title=Heroic Airmen are Key to Victory |title-link=s:Heroic Airmen Are Key To Victory |newspaper=Daily Mail |date=9 August 1918}}
{{citation}}
:
{{citation/new |last=Wells |first=H. G. |title=Heroic Airmen are Key to Victory |title-link=s:Heroic Airmen Are Key To Victory |newspaper=Daily Mail |date=9 August 1918}}
{{
cite book}}
:
{{citation}}
:
{{cite wikisource}}
using {{citation}}
we would preset |mode={{{mode|cs1}}}
so that the citations render in the same style as legacy {{cite wikisource}}
. I have tested these changes in {{cite wikisource/sandbox}}
but not yet implemented them.{{
cite wikisource}}
has |class=
which can be set to one of the various values supported by {{
citation/core}}
(these aren't defined anywhere except in the various cs1|2 templates that directly call
Module:Citation/CS1). This
search would seem to indicate that article space has some 400ish instances of {{cite wikisource}}
that include some form of |class=
, most of them |class=dictionary
; this contrary to the template doc that says:
<span>...</span>
tag, |class=
appears be exclusively used in the mind-numbing mess that feeds {{
citation/core}}
's |At=
parameter so doesn't, apparently, drive the correct use of the template's metadata or rendering.Hello, it seems editor-first and editor-last is in Cite encyclopedia's TemplateData twice. Am I right? Could you fix it please? -- Dvorapa ( talk) 13:01, 21 November 2018 (UTC)
|editor-first=
and |editor-last=
entries at
Template:Cite encyclopedia#TemplateData.place: Geographical place of publication; generally not wikilinked; omit when the name of the work includes the location; examples: The Boston Globe, The Times of India. Displays after the title. Alias: location
{{ cite book}}'s documentation could use some clarification on wikilinks and disambiguation. In the case of:
Sure, I wouldn't link New York City, but Oakland, California, is not a major city—when should the place/location be linked? And regardless of whether it's linked, should we use the full disambiguated article title, or would it be sufficient to link as Oakland and Princeton? czar 16:21, 20 October 2018 (UTC)
Cambridge, MA: MIT Pressbut
Cambridge: Cambridge University Press) or if I don't think the average reader would know where a particular city would be (although perhaps I have higher expectations for the general reader since I would think everyone knows where Princeton is but CMoS 17 gives
Princeton, NJ: Princeton University Press). Obviously Wikipedia house style is different from Chicago, but
If the city of publication may be unknown to readers or may be confused with another city of the same name, the abbreviation of the state, province, or (sometimes) country is usually addedprobably works as general advice. For your Princeton example, it seems
omit when the name of the work includes the locationtakes care of that anyway since where else would Princeton University Press be if not Princeton so
|location=
probably isn't even necessary. Just my $0.02 on this.
Umimmak (
talk) 21:28, 12 November 2018 (UTC)
This
edit request to
Module:Citation/CS1/Configuration has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change the configuration from,
['event'] = 'Event occurs at',
to,
['event'] = 'Event occurs at time',
to match the current documentation. -- Ans ( talk) 15:03, 21 November 2018 (UTC)
{{
cite av media}}
would suggest that the documentation is in error (the editor who wrote most of the text in {{
csdoc}}
set about to document what the cs1|2 templates did, not what they should do):Wikitext | {{cite AV media
|
---|---|
Live | Title. Event occurs at 1:21:32. |
Sandbox | Title. Event occurs at 1:21:32. |
|time=
:
{{{time|}}}
' – 16:56, 18 September 2007{{{time|}}}
' – 12:29, 20 February 2012{{{time|}}}
' – 17:48, 27 February 2012|time=
as: 'Event occurs at {{{time|}}}
' except during a brief period of 7 days, 5 hours, 19 minutes. The first 1 day, 2 minutes of that period is the only time that I have found where the template and the documentation were in agreement. The static text did not change when we shifted to the module.There are 45 error categories at Category:CS1 errors. Of those 45, 11 do not follow the name style of the 34.
Yesterday, after discovering an inappropriate category link in an article, I hunted about for other articles with the same problem. The hunt reminded me that these 11 have non-standard names. So, today I propose that on the next update to the cs1|2 module suite, we also move these new categories to new, standardized names. Here is a table of current and prospective names; the list also includes the one non-standard maintenance category. Opinions?
current name | proposed name | suggested alt |
---|---|---|
Category:Pages using citations with accessdate and no URL (0) | CS1 errors: access-date | CS1 errors: access-date without url |
Category:Pages with archiveurl citation errors (0) | CS1 errors: archive-url | |
Category:Pages with empty citations (0) | CS1 errors: empty citations | |
Category:Pages using citations with format and no URL (0) | CS1 errors: format | CS1 errors: format without url |
Category:Pages with citations having redundant parameters (0) | CS1 errors: redundant parameters | |
Category:Pages with citations lacking titles (0) | CS1 errors: title | CS1 errors: missing title |
Category:Pages using web citations with no URL (0) | CS1 errors: missing URL | |
Category:Pages with citations having bare URLs (0) | CS1 errors: bare URL | |
Category:Pages with citations using unnamed parameters (0) | CS1 errors: unnamed parameters | |
Category:Pages with citations using unsupported parameters (0) | CS1 errors: unsupported parameters | |
Category:Pages with URL errors (0) | CS1 errors: URL | CS1 errors: url syntax |
Category:Articles with missing Cite arXiv inputs (5) | CS1 maint: arXiv | CS1 maint: cite arXiv with missing parameters |
— Trappist the monk ( talk) 11:50, 29 November 2018 (UTC)
{{
cite arXiv}}
, {{
cite arXiv/sandbox}}
, {{
cite arXiv/new}}
, and {{
cite arXiv/old}}
which populates
Category:Articles with missing Cite arXiv inputs as expected.|format=
).|title=
parameter and using this category to do so.|url=
.|<param>=
missing title|chapter-url=
|contributor=
ignored|contributor=
requires |author=
|contributor=
requires |contribution=
|<param>-access=
requires |<param>=
I guess it goes without saying leave a redirect in case bots etc to avoid breakage. -- Green C 14:33, 29 November 2018 (UTC)
Assuming I understand the design correctly.Since when has anything about cs1|2 ever been 'designed'? (yeah, that's a rhetorical question) cs1|2 has morphed from one thing to another – this hallmark of a wiki development environment bears no resemblance to 'design'.
New style (post April 2007) {{
cite arxiv}} should have a |class=
specified. I suggest we add a test for this
|arxiv=####.####
or |####.#####=
arxiv is present, require |class=
. Create a
Category:CS1 maint: missing class or similar.Old style (e.g. |arxiv=gr-qc/006546
) should not give the error. Or rather give the error when class is specified (
Category:CS1 maint: superfluous class).
Headbomb {
t ·
c ·
p ·
b} 15:11, 30 November 2018 (UTC)
|class=
is optional according to the
template doc and has been since the documentation's
creation. The value assigned to |class=
does not form any part of the url that the module assembles from |arxiv=
or |eprint=
. As such, this does not seem to me to rise to the level of an error message.|class=
is used with old-style |arxiv=
(has done since the September update). These are categorized into
Category:CS1 errors: class:
{{cite arXiv |title=Origin and dynamical evolution of comets and their reservoirs |author=Alessandro Morbidelli |date=2005 |eprint=astro-ph/0512256 |class=astro-ph}}
{{
cite arXiv}}
: |class=
ignored (
help)That's fine, now what's missing is an maintenance category to find newstyle cite arxiv missing class. Headbomb { t · c · p · b} 16:04, 1 December 2018 (UTC)
|class=
is now to be required). Still, if you must require |class=
for {{
cite arxiv}}
you can add something that might look like this:
{{#if:{{{arxiv|{{{eprint}}}}}}|{{#if:{{#invoke:String|match|{{{arxiv|{{{eprint}}}}}}|^%d|||false|}}|{{#if:{{{class|}}}||[[Category:Articles with missing Cite arXiv inputs]]}}}}}}
|class=
.I just notice the strange formatting behavior at Wimpy (restaurant)#Israel that involve the use of Hebrew in one of its citations.
A snippet of code is as follows:
Which is displayed as follows:
׳וימפי׳ פתחה בארץ עוד ועוד סניפים, חברה בריטית לממכר המבורגרים שלא הצטיינו אמנם באיכותם, אך יחד עם משקה ה׳סנפרש׳ גם הם כמו שייכו את ישראל אל העולם הגדול.
Not being familiar with the Hebrew language, is this the best way to display such information in the {{ cite}} template on the English language Wikipedia? If not, this template needs to be patched.
As an aside, is there an easy way to insert an English translation of the quotation shown in the example into the {{ cite}} template? Such a feature would be very beneficial to readers of the article who are not fluent in that language that the actual quote was written in. - 147.202.209.1 ( talk) 20:22, 1 December 2018 (UTC)
|script-title=
. You might rewrite the template this way:
{{cite book |last=Segev |first=Tom |script-title=he:1967 :והארץ שינתה את פניה |trans-title=1967: The country changed its face |location=Jerusalem |publisher=Keter |page=44 |language=Hebrew |quote={{lang|he|׳וימפי׳ פתחה בארץ עוד ועוד סניפים, חברה בריטית לממכר המבורגרים שלא הצטיינו אמנם באיכותם, אך יחד עם משקה ה׳סנפרש׳ גם הם כמו שייכו את ישראל אל העולם הגדול}}.}}
׳וימפי׳ פתחה בארץ עוד ועוד סניפים, חברה בריטית לממכר המבורגרים שלא הצטיינו אמנם באיכותם, אך יחד עם משקה ה׳סנפרש׳ גם הם כמו שייכו את ישראל אל העולם הגדול.
|quote=
simply add the translation to the end enclosed in []
. The Hebrew text in |quote=
might be wrapped in {{
lang}}
as I have shown here (but only the Hebrew text in |quote=
– do not use {{
lang}}
in any other cs1|2 parameter).|script-title=
.This
edit request to
Template:Cite book has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Under Edition, series, volume in Template:Cite book, the edition parameter allows only for abbreviation to "ed." when in fact the word is often abbreviated to "edn" in British English, and in World English, eg according to oxforddictionaries.com. Could the template please be amended to allow for edn (no period). Thank you. JG66 ( talk) 04:46, 14 October 2018 (UTC)
|edition=
takes, as input, a text string to which is appended a space character and the static abbreviation 'ed.' (with a dot). There is no facility in cs1|2 to support any specific variety of English. To accommodate this request would require some sort of new parameter or some special encoding of the value assigned to |edition=
to tell cs1|2 to use 'edn' instead of 'ed.' when rendering.|edition=
be set to allow both "ed." and "edn"?
Galobtter (
pingó mió) 12:03, 14 October 2018 (UTC)
|edition=
: 'ed', ed.', 'Ed', 'Ed.', 'edition', 'Edition' because this text is redundant to the 'ed.' static text that cs1|2 appends to the value prior to rendering. Of course, the 'validation' can be bypassed when the last three characters of the |edition=
value are 'edn'; that is the sort of special encoding I was thinking about.{{
citation}}
since its
creation{{
cite book}}
since it was
modified to use {{
citation/core}}
[don't] give a crap about templates, you are to free construct citations by hand.
"edn" is the acceptable abbreviation for edition in British Englishmight be better phrased 'an acceptable abbreviation'; see the 'ed.' entry at your very well known source.
[What's] the question?The one you posed:
Does anyone object to such a change being made?I accept that there may be an American bias at en.wiki. For those editors who believe that consistency between citations in an article is important, anything that makes one citation's format different from another citation's format (beyond the obvious citing of different sources) has been and will continue to be a point of contention – that was amongst the reasons that we implemented
|mode=
(so that cs1 templates render in the same manner as cs2 and visa versa) and |df=
(so that all dates in a citation render in the specified format).mw.ext.cattools.hasPage()
that will purportedly return boolean indication of a page's membership in a specific category. This extension is not installed on en.wiki{{Use British English}}
(and its eleven redirects). I tried this idea in the past with the {{use ... dates}}
templates to see if we could auto-format dates. That experiment worked for articles with only a handful of cs1|2 templates but failed spectacularly when the article contained more than some number which I no longer remember – the article source had to be reread for almost every template (because almost every cs1|2 template has a date parameter of some kind) so the Lua processing ran out of time. |edition=
is used relatively rarely so for each article parsing, Lua would not need to reread article source all that often.I would object to any change supporting this variance as well. The list by Ttm above is a good list for why. -- Izno ( talk) 15:14, 3 December 2018 (UTC)