Help talk:Citation Style 1/Archive 62
What to do about ISBN-10s10-digit ISBNs have been deprecated since about 2007 and should be replaced by 13-digit ISBNs (now called just "ISBNs") wherever found. Conversion is a simple task (prepend "978-" and calculate a new check digit). Correct grouping of the other digits (based on "group" and "publisher" identifier lengths) is quite a bit more complicated and would require some kind of periodically updated table. I do have a javascript that accurately does both of these things while editing, so it could probably be converted to a lua module to do them while rendering instead. And I do mean a separate module, not just a new feature in {{cite book}}. That way it can also replace the contents of the standalone {{ISBN}} template, which currently looks dreadful. If the above sounds like too much of a cosmetic execution-timesink (I suppose I'd need to create the module first and see how badly it performs), we could resort to tracking categories to fix the input rather than the output:
Note that detecting ISBNs with the correct number of hyphens at incorrect positions would probably be nearly as expensive as actually fixing them, so they would be neglected in the latter strategy. ―cobaltcigs 02:46, 8 November 2019 (UTC)
The ponderous tome I linked to above says (emphasis mine): All new ISBN assignments are based on ISBN-13. If a 10 digit ISBN is found on the resource, it should be converted to a 13 digit number, following the rules set out later in this section, before being encoded into the URN framework. According to the rules of the ISBN standard, such conversion does not create a new ISBN for the book, but a new representation of the existing ISBN. [...] The ISBN in thirteen digit form is defined by the ISO Standard 2108-2005 and later editions. It was previously referred to as “ISBN-13” to distinguish it from “ISBN-10”, but since all ISBNs are now valid only in the 13 digit format and ISBN-10 is deprecated, ISBN-13 should be referred to as “ISBN”, although in this document ISBN-13 is used for the sake of clarity. Note that it very clearly says "all ISBNs" and not "ISBNs of books published in or after 2007" and that there is no reference to any "grandfather clause" or continued validity of ISBN-10s for any duration of time after 2007. I do know Google Books (surely a more popular "where you got it" source than physical books anymore) info shows both 10- and 13-digit ISBNs, without regard to year of publication and without indicating which of them was ever printed on a physical book. Of course, according to the above document, they could have stopped displaying ISBN-10s (or recognizing them for search) twelve years ago without violating any standards. And since Google Books is an order of magnitude more popular than anything else on the Special:BookSources list, Wikipedia and the rest of the world would have immediately followed suit, if only they had done that. ―cobaltcigs 04:49, 8 November 2019 (UTC)
―cobaltcigs 20:01, 9 November 2019 (UTC)
This thread is full of obviously wrong information. Some quick facts. All books with and isbn10 have an isbn13 — it’s automatic. It does not mean that it is printed in the book obviously. The EAN for a book is the isbn13. The GTIN 13 for a book is the isbn13 number. Lastly converting an isbn10 to isbn13 is easy: just add the prefix and change the check digit. AManWithNoPlan (talk) 18:53, 9 November 2019 (UTC)
Cite journal disallows pages and page params togetherI recently added a citation which I wanted to include both a page range, because it's a journal article, and a page, to point to a particular portion of the article, but it has a CS1 error. (diff) Maybe this should be allowed for cite journal? Cheers, Mvolz (talk) 10:59, 23 December 2019 (UTC)
To regular editors of the {{cite book | ... }} template, that have write privilegesTo this template, to the section/box entitled "Most commonly used parameters in horizontal format", for each of the examples for which this does not appear, please at least add:
If one of these do not appear in every example, lack of importance might be inferred, which is contrary to WP policies and guidelines.Then, please add any other standard, important field that is normally needed (better empty fields in an example, than the field to be missing). Please, take onto account the preference of WP writers for web-accessible sources (and the fact of inevitable url demise). That is, consider whether every example book citation template should also present:
and possibly:
Finally, in my opinion, at least one further example would be helpful, that of a two-author book with two editors, that is a part of a series, that has an original publication date that is old, and a recent publication date of a newer edition, that is available both in hardcopy, and in a digital paginated form. Add to this access date, and the fields based on the expectation that the url/doi will die. All from me. Just aiming for no {{cite book | ... }} example to lack a page number, and for all to have needed url fields, and after than, hoping for an example that has essentially everything that is generally needed for citing scholarly secondary academic sources (which is our aim, I understand), Cheers. 2601:246:C700:9B0:A57B:85B4:7889:AE7D (talk) 15:42, 9 December 2019 (UTC)
Small bug with Cite web and Visual editorWhen using the Cite function to add a URL in the VisualEditor, the
New url-status needed: content-missingWe might need a new url-status value (or two); maybe something like Example: this page should (and at one time, did) have the results of the Brazilian presidential election of 2002 (and others, via radio button) but no longer does; instead, the central frame of the website is an empty gray box. None of the current I wish I had a better example, where the current website was a gray box, but Archive.org still had a valid capture showing the original page with complete data present (which I expect is a more common case), because that would be easier to deal with: the linked title should go to the archived page in that case instead of the url value; i.e., the action is similar to the status=dead-url, except "dead" is inaccurate since the original url is still live, just useless. In the example I gave, the action should actually be different, with the title being in plain-text, unlinked. It may be we need two new statuses then:
The actions required by these two cases may match actions associated with already existing values, and in that sense the new values (action-wise) are aliases of existing values. That would be a win for implementation, but the option of having new values would still be valuable in giving a clear and proper name to the cases. For example, the action for the first bullet is equivalent to the action for
Usually called a soft 404. They should be status 404, but the site is poorly maintained, it reports 200 even though the original page no longer exists or works (redirects to homepage is common). They are difficult to detect with automated processes. The best action is treat as dead. -- GreenC 01:30, 13 December 2019 (UTC)
template-doc-demo should be a bad parameter in the mainspaceI was about to recommend the use of
deprecated parametersI have removed support for the last few remaining deprecated parameters: —Trappist the monk (talk) 18:41, 30 December 2019 (UTC) When is |
Wikitext | {{cite arXiv
|
---|---|
Live | Conte, Elio (2002). "A Quantum Like Interpretation and Solution of Einstein, Podolsky, and Rosen Paradox in Quantum Mechanics". Publisher. pp. 271–304. arXiv:0711.2260 [quant-ph]. Retrieved 3 March 2014. {{cite arXiv}} : Unknown parameter |accessdate= ignored (help); Unknown parameter |journal= ignored (help); Unknown parameter |publisher= ignored (help)
|
Sandbox | Conte, Elio (2002). "A Quantum Like Interpretation and Solution of Einstein, Podolsky, and Rosen Paradox in Quantum Mechanics". Publisher. pp. 271–304. arXiv:0711.2260 [quant-ph]. Retrieved 3 March 2014. {{cite arXiv}} : Unknown parameter |accessdate= ignored (help); Unknown parameter |journal= ignored (help); Unknown parameter |publisher= ignored (help)
|
--Izno (talk) 03:24, 8 January 2020 (UTC)
- That is how it is supposed to be. What you are really citing here is a journal, so use
{{cite journal}}
;{{cite arxiv}}
is a pre-print citation template that supports only those parameters that are relevant to a pre-print.{{cite biorxiv}}
,{{cite citeseerx}}
, and{{cite ssrn}}
are similar. - —Trappist the monk (talk) 03:51, 8 January 2020 (UTC)
- I think Izno is pointing out that the error message says that two parameters are being ignored, but the parameter values are being displayed. I don't think both things can be true at the same time (although perhaps I haven't achieved a sufficient level of enlightenment). – Jonesey95 (talk) 05:03, 8 January 2020 (UTC)
- You are the truly enlightened for understanding my bug report. ;) --Izno (talk) 06:36, 8 January 2020 (UTC)
-
- No one has ever claimed that I am a member of the enlightened clan ... I have been rightly accused of leaping to incorrect conclusions because I failed to completely read the whole damn message before replying. Yep, I'm old enough to know better ...
-
- The pre-print templates are rendered using the same code as is used for the periodical templates. Most of the parameters allowed in periodical templates are unset because they aren't listed in the limited-parameter lists used by the pre-print templates.
|access-date=
and|publisher=
are valid for use in periodical templates but not valid for use in the pre-print templates. But,|access-date=
and|publisher=
escaped that 'unsetting' because they matched the patterns we have in Module:Citation/CS1/Suggestions. The code for that emitted the error messages but left the parameters intact so they were rendered by the periodical rendering code in the citation along with the error message. - —Trappist the monk (talk) 13:17, 8 January 2020 (UTC)
- Publisher should also be ignored. Headbomb {t · c · p · b} 16:28, 8 January 2020 (UTC)
- In the sandbox it is, isn't it? Are you seeing something that I'm missing?
- —Trappist the monk (talk) 16:32, 8 January 2020 (UTC)
- It looks to me like this bug has been fixed in the sandbox. Now I might be the blind one; was it fixed before or after this conversation was started? – Jonesey95 (talk) 01:39, 9 January 2020 (UTC)
- Publisher should also be ignored. Headbomb {t · c · p · b} 16:28, 8 January 2020 (UTC)
- The pre-print templates are rendered using the same code as is used for the periodical templates. Most of the parameters allowed in periodical templates are unset because they aren't listed in the limited-parameter lists used by the pre-print templates.
- I think Izno is pointing out that the error message says that two parameters are being ignored, but the parameter values are being displayed. I don't think both things can be true at the same time (although perhaps I haven't achieved a sufficient level of enlightenment). – Jonesey95 (talk) 05:03, 8 January 2020 (UTC)
Cite web discussion over at MoS:Film
Seems a {{Cite web}} discussion has creeped its way to Wikipedia talk:Manual of Style/Film#We should not be italicizing RT, MC and BOM. Interested parties are welcomed. --Gonnym (talk) 09:40, 10 January 2020 (UTC)
Problem with "." separator in front of work or series info in conjunction with titles ending on "?" or "!"
Using {{cite web}}, if the |title=
ends on "?" or "!" and either |work=
or |series=
is used and the separator is set to the default ".", the rendered output looks odd as the "?" or "!" is immediately followed by a ".". This does not happen when the |title=
ends on "." because a trailing "." is automatically removed.
Since the "?" or "!" cannot reasonably be removed from a title, the "." preceding either |work=
or |series=
should be suppressed instead.
--Matthiaspaul (talk) 02:48, 10 January 2020 (UTC)
- Examples:
Wikitext | {{cite web
|
---|---|
Live | "Title?". Website. |
Sandbox | "Title?". Website. |
Wikitext | {{cite web
|
---|---|
Live | "Title". Website. |
Sandbox | "Title". Website. |
- Suggestions? – Jonesey95 (talk) 03:31, 10 January 2020 (UTC)
- This is on the feature request list; see Module talk:Citation/CS1/Feature requests § Separator suppression.
- —Trappist the monk (talk) 12:32, 10 January 2020 (UTC)
Problem with journals, magazines (and books) using all three parameters: volume, issue and number
As discussed before there are journals, magazines (and even books) which define values for |volume=
, |issue=
and |number=
- for example Dr. Dobbs Journal, Minolta-Spiegel etc.
Right now, the usage of the |issue=
and |number=
parameters is mutually exclusive and will create an error message. Putting the |number=
value into another parameter like |id=
is an unsatisfactory solution given that we already have a suitably named parameter for this. Also, this makes the number look out of place in the output.
I understand that issuing an error message is a safety measure so that people don't accidently add one of the two parameters overlooking the other, but I wonder if this is really a frequent problem.
If not, I suggest to simply allow either or both of these parameters to be used at the same time. If both are used, |issue=
should be displayed following |volume=
, followed by the |number=
as follows:
- <volume> (<issue>) #<number>
or
- Vol. <volume> no. <issue> #<number>
If only one of the parameters is given, the display should be as follows (for journals):
- <volume> (<issue>)
- <volume> (<number>)
or (for magazines):
- Vol. <volume> no. <issue>
- Vol. <volume> no. <number>
If, however, the error condition is a frequent problem that needs to be catched by default, I suggest to add at least some means to override this error message, like putting the |number=
value in (()) in order to let the template accept it.
Assuming that there is only one "issue number" placeholder to be filled in metadata I'm open in regard to what value(s) should be passed on if both are given: It would be possible to only pass on |issue=
or to concat both parameters into one string like "<issue> #<number>" before passing it on. It would also be possible to make this selectable on (()) being used on either or both of |issue=
and |number=
.
--Matthiaspaul (talk) 03:22, 10 January 2020 (UTC)
- Personally, I'd prefer
|num-issue=yes
and|issue-num=yes
to set the order and declare that both are actually relevant. See also this. Headbomb {t · c · p · b} 05:16, 10 January 2020 (UTC)
- I'm open for suggestions. Whatever helps to finally get the underlying problem addressed and resolved.
- BTW, I just found an older discussion Help talk:Citation Style 1/Archive 29#Cite journal causes error for journals with given issue and number numbers.
- Beyond the original proposal, if we have both,
|issue=
and|number=
values, perhaps the template output should be given some more thought to remain as close to established rules for formatting as possible: - To me (and in the case of "Dr. Dobbs Journal" and "Minolta-Spiegel"), issue is the value considered relative to volume, and number is an absolute number, but for "Aeroplane Monthly" (in the other thread) the meaning appears to be swapped: Vol. 44, No 12, Issue no 524.
- Conceptually, both values are numeric to me, but if not, I would consider
|number=
to contain a number, but perhaps prefixed like "number 524". This could also apply to|issue=
, like in "issue 4", but it could also contain a text-only value like "summer issue", "special issue" etc. - Therefore, as a refinement to the above proposal, the above suggested output rendering
-
- <volume> (<issue>) #<number>
- or
- Vol. <volume> no. <issue> #<number>
- appears reasonable only if both values are all-numeric.
- Given the interchangeability of the two parameters, in this all-numeric case, the one with the smaller number should be considered to be relative to the volume, that is, it should be listed first. Otherwise the values are swapped so that the larger value is always the one listed last (and with the # mark), as follows:
-
- <volume> (<number>) #<issue>
- or
- Vol. <volume> no. <number> #<issue>
- If only one of the parameters carries a non-numeric value, and further assuming that the generic template rendering "V (X)" or "Vol. V no. X" should remain unchanged, the numeric value should be the one immediately following the volume (for backward compatibility). Example (with volume containing 5, one of the other parameter contains "6", the other "summer"):
-
- 5 (6) summer
- or
- Vol. 5 no. 6 (summer)
- An example assuming one parameter would contain "6", the other "summer issue":
-
- 5 (6) summer issue
- or
- Vol. 5 no. 6 (summer issue)
- Yet another example assuming one parameter would contain "6", the other "number 524":
-
- 5 (6) number 524
- or
- Vol. 5 no. 6 (number 524)
- If both parameters carry non-numerical values, the order should again be "issue followed by number" (to preserve the nominal default order as with both values being all-numeric):
-
- <volume> (<issue>) <number>
- or
- Vol. <volume> no. <issue> (<number>)
- Since non-numerical values cannot (easily) be evaluated and compared, there is no swapping. It is up for the user (and documentation) to assign suitable text values to these parameters for this rendering. The only visual difference compared to the all-numerical case would be that in the non-numerical case, the # is missing in front of the number.
- Well, perhaps if we would drop the proposed # from the second value in the all-numerical case as well, the output would look exactly the same for all cases. This would be more consistent and easier for documentation. Still, whatever the values put into these parameters, the output would be reasonable formatted in a way that the values can be distinguished from another.
- --Matthiaspaul (talk) 22:59, 10 January 2020 (UTC)
Undesired silent suppression of some parameters by cite book and cite web templates
The {{cite book}} and {{cite web}} templates silently ignore the |issue=
and |number=
parameters, if they are specified. Additionally, {{cite web}} ignores the |volume=
parameter. There might be more such cases, but these are the ones I run into quite frequently in articles.
In general, I don't think it is a good idea to suppress information provided. The contributing editor probably had a reason to add this information in the first place. Also, as has been discussed earlier, there are books which have volume, issue and number values assigned to them, hence this info should be displayed.
I don't know if {{cite journal}}, {{cite magazine}} etc. silently suppress some other parameters as well, but if not, {{cite book}} and {{cite web}} should display some message suggesting to switch to {{cite journal}} or {{cite magazine}} if unsupported parameters are used. (Not sure, if this should be an error message, a maintenance message or a message only displayed in edit mode.)
Additionally, these citations should be put into some maintenance category so that they can be reviewed and reworked to use more suitable templates.
--Matthiaspaul (talk) 04:58, 10 January 2020 (UTC)
- Is there something in the documentation for {{cite web}} that makes you think
|issue=
and|number=
are supported parameters? All I see is{cite news} accepts |issue= and |volume= parameters while {cite web} does not
. Template documentation is supposed to list all supported parameters, and editors should not expect that other parameters will work.
- The {{cite book}} documentation appears to be incorrect, in that it lists
|issue=
as a supported parameter. I will fix it. If this discussion results in that parameter gaining support, my edits can be reverted. – Jonesey95 (talk) 15:28, 10 January 2020 (UTC)
- Yeah, documentation is not always correct, complete, or up to date. But even if it would, an editor's capabilities to keep memorized all the available and ever changing parameters (and their dependencies) for each of the many cite variants are limited.
- The templates do not "passively" ignore these parameters (completely unknown parameters like typos throw an error message), but silently "suppress" them, still knowing that they are used in other cite template variants.
- IIRC at some point in the past, before all the diversification started and these error checks were introduced to the citation framework, either {{cite web}} or {{cite book}} still supported these parameters, but anyway, cleaning up citations I sometimes run into these parameters (and I am "guilty" myself as well having added missing issue number information to journal citations, not realizing that {{cite web}} was used by prior editors instead of {{cite journal}}).
- With all these new dependencies now throwing error messages, perhaps some users are just switching the cite templates until they get rid of the error messages (for example with a missing
|journal=
in {{cite journal}}, a user might be tempted to switch to {{cite web}}), not realizing that some of the other parameters will be ignored then. This is easy to miss, in particular if editing "foreign" citations. - My point is, all combinations, which exist in the real world, should be supported, and all other combinations should at least give some form of hint (if not throw an error) so that someone knowledgeable can look at the citation and change it to a better variant (instead of just ignoring the information or even removing it because it does not fit into someone's personal concept).
- --Matthiaspaul (talk) 23:46, 10 January 2020 (UTC)
Documentation for interviewer= updated
After a discussion at WP:VPT, I have updated the documentation for |interviewer=
based on the documentation for the |author=
parameters. You can see the updates at {{cite interview}}. Error corrections are welcome. – Jonesey95 (talk) 22:21, 15 January 2020 (UTC)
Some SSRN documents now require payment
The parameter ssrn=
automatically displays the green free access lock, which is almost always a good thing (apparently this feature was added in 2016 - see SSRN free access lock in this talk page's archives). I discovered today that SSRN hosts a few papers that require payment, such as an NBER Working Paper I cited today (that's a wikilink to the footnote). ¶ Therefore, it seems we will (eventually) need a method to indicate that an SSRN paper is not free. (I tried ssrn-access=subscription
but that parameter doesn't exist.) I don't see this as a top priority—I simply wanted to bring it to the attention of folks who know how address little problems like this one. My solution today was to just leave out the SSRN link as interested readers will find it on the NBER page for the paper anyway. Thanks! - Mark ¶ P.S. My apologies if this is old news. I did search the archives but didn't find anything. - Mark D Worthen PsyD (talk) (I'm a man—traditional male pronouns are fine.) 04:47, 15 January 2020 (UTC)
- This is surprising, SSRN has committed to remain a free open access repository since being acquired by Elsevier. I'll be writing them to see what's what. Headbomb {t · c · p · b} 17:05, 15 January 2020 (UTC)
- The free access is provided for Elsevier rather than for any users. See "License to Elevier" at https://www.ssrn.com/index.cfm/en/terms-of-use/ . Elsevier charge fees because "we believe that offering the broadest array of content provides the most value to our users". See "10. What is the charge for using the SSRN eLibrary?" at https://www.ssrn.com/index.cfm/en/ssrn-faq/#elec_lib_charge . Thincat (talk) 08:38, 16 January 2020 (UTC)
Access date with signs
Maybe it would be helpful to have |accessdate=
(or something similar to that parameter) work with {{cite sign}}, as signs are frequently removed, vandalised or become unreadable after exposure to the elements. This is just a suggestion; I could see it not being helpful due to how rarely signs are "archived" compared to web pages. Glades12 (talk) 18:22, 16 January 2020 (UTC)
- I am afraid this is not doable. There is no way I can see to apply neutrality to such access, it is non-fungible and unprovable. 24.105.132.254 (talk) 19:22, 16 January 2020 (UTC)
- Can you explain further? Can't it just be the same as with URLs, where the date is the last one at which someone went to the sign, read it and could confirm that it still verifies the information before the citation? Glades12 (talk) 19:50, 16 January 2020 (UTC)
- I would think it self-evident... this is stated without attempting to be sarcastic or ironic. But what you are proposing is I think unverifiable. 108.182.15.109 (talk) 02:01, 17 January 2020 (UTC)
- Access date with web pages is (if someone updates it, as they are supposed to) unverifiable too, yet we still have that. You seem to have a double standard here. Glades12 (talk) 06:45, 17 January 2020 (UTC)
- I would think it self-evident... this is stated without attempting to be sarcastic or ironic. But what you are proposing is I think unverifiable. 108.182.15.109 (talk) 02:01, 17 January 2020 (UTC)
- Can you explain further? Can't it just be the same as with URLs, where the date is the last one at which someone went to the sign, read it and could confirm that it still verifies the information before the citation? Glades12 (talk) 19:50, 16 January 2020 (UTC)
DOI prefix errors
A quarry query reveals a few things. Namely
- Citations with DOI prefixes that have 10.#, where # is not 4 or 5 digits should be reported as errors.
- Citations with DOI prefixes that range from 10.0001 to 10.0999 should be reported as errors.
- Citations with DOI prefixes that range from 10.00001 to 10.09999 should be reported as errors.
- Citations with DOI prefixes that are over 10.40000 should be reported as errors.
Headbomb {t · c · p · b} 18:03, 29 December 2019 (UTC)
- This is about the registrant code portion of a doi. If I understand §2.2.2 DOI prefix, nothing constrains the composition of doi prefix registrant codes. Have doi.org published someplace, anyplace, a list of valid registrant codes?
- —Trappist the monk (talk) 18:43, 29 December 2019 (UTC);;
- Technically, nothing restraints that. In practice, those have never been assigned. Theses checks should also be implemented in {{doi}}, with a error 'invalid registrant' or shove em in the existing categories of invalid dois. And DOI.org have never published a list of registrant, sadly. I've been in contact with them about it, and they leave that to DOI assigning agencies like CrossRef and Datacite. Headbomb {t · c · p · b} 20:37, 29 December 2019 (UTC)
- ~/Identifiers/sandbox tweaked. All of these emit the doi error message except the first four:
- "Title". Journal. doi:10.1000.10/somat. – prove that four-digit registrant code with sub code is accepted
- "Title". Journal. doi:10.1000/somat. – prove that four-digit registrant code is accepted
- "Title". Journal. doi:10.10000.10/somat. – prove that five-digit registrant code with sub code is accepted
- "Title". Journal. doi:10.10000/somat. – prove that five-digit registrant code is accepted
- "Title". Journal. doi:11.1000/somat.
{{cite journal}}
: Check|doi=
value (help) – invalid directory - "Title". Journal. doi:10.1000/somat.
{{cite journal}}
: Check|doi=
value (help) – terminal punctuation - "Title". Journal. doi:10.123.10/somat. – three-digit registrant with subcode
- "Title". Journal. doi:10.123/somat.
{{cite journal}}
: Check|doi=
value (help) – three-digit registrant - "Title". Journal. doi:10.0123.10/somat.
{{cite journal}}
: Check|doi=
value (help) – four digit leading zero with subcode - "Title". Journal. doi:10.0123/somat.
{{cite journal}}
: Check|doi=
value (help) – four digit leading zero - "Title". Journal. doi:10.01000.10/somat.
{{cite journal}}
: Check|doi=
value (help) – five digit leading zero with subcode - "Title". Journal. doi:10.01000/somat.
{{cite journal}}
: Check|doi=
value (help) – five digit leading zero - "Title". Journal. doi:10.40000.10/somat.
{{cite journal}}
: Check|doi=
value (help) – five digit does not begin with 1, 2, or 3; is there a 40000 registrant? - "Title". Journal. doi:10.50000/somat. – five digit does not begin with 1, 2, or 3
- "Title". Journal. doi:10.100056/somat.
{{cite journal}}
: Check|doi=
value (help) – six+ digit registrant - "Title". Journal. doi:10.5555/somat.
{{cite journal}}
: Check|doi=
value (help) – test registrant
- —Trappist the monk (talk) 16:55, 30 December 2019 (UTC)
- "Test to see that we haven't impacted something on the other side of the slash". Journal. doi:10.3109/15563650.2010.492350. --Izno (talk) 17:58, 30 December 2019 (UTC)
- @Trappist the monk: seems I've overlooked a special case: {{doi}} is a legit DOI apparently. So 3 digits after 10. in the doi prefix structure
10.d.d
, but not in10.d
. Headbomb {t · c · p · b} 14:17, 11 January 2020 (UTC)- Yeah, I saw that:
{{cite book |last=Metzinger |first=Thomas |year=2013 |title=Spirituality and Intellectual Honesty: An Essay |publisher=Self-Published |isbn=978-3-00-041539-5 |doi=10.978.300/0415395}}
- Metzinger, Thomas (2013). Spirituality and Intellectual Honesty: An Essay. Self-Published. doi:10.978.300/0415395. ISBN 978-3-00-041539-5.
- I'm not clear about what you mean by
is each10.d.d
, but not in10.d
d
three digits so, as regex,10\.\d\d\d\.\d\d\d
, but not in10\.\d\d\d
? - —Trappist the monk (talk) 14:23, 11 January 2020 (UTC)
- @Headbomb: Because of this pending update, if you can clarify the question above before I make the update, any necessary fixes can be applied at the same time.
- —Trappist the monk (talk) 17:27, 13 January 2020 (UTC)
- Yeah, I saw that:
- @Trappist the monk: seems I've overlooked a special case: {{doi}} is a legit DOI apparently. So 3 digits after 10. in the doi prefix structure
Module:Citation/CS1/Identifiers function doi()
updated.
—Trappist the monk (talk) 14:33, 18 January 2020 (UTC)
|year= fails with non-Latin script
Wikitext | {{cite book
|
---|---|
Live | شاه, سيد يوسف (١٩٣٠). حالات مشوانی. لاھور: محمدی پریس. pp. ١٦٠–١٦١. {{cite book}} : Check date values in: |year= (help)
|
Sandbox | شاه, سيد يوسف (١٩٣٠). حالات مشوانی. لاھور: محمدی پریس. pp. ١٦٠–١٦١. {{cite book}} : Check date values in: |year= (help)
|
~/Date validation recognizes the Arabic digits as digit characters, but Lua's tonumber()
function only works with Latin characters. Fixed in the sandbox. Because this is a lua script error, I will likely update ~/Date validation within the next week.
—Trappist the monk (talk) 17:24, 13 January 2020 (UTC)
Module:Citation/CS1/Date validation updated.
—Trappist the monk (talk) 14:35, 18 January 2020 (UTC)
CS1 / Visual Editor copy-paste bug apparently fixed
For a while, there has been a copy-paste bug in the Visual Editor (VE) that caused code like templatestyles src="Module:Citation/CS1/styles.css"
to appear in articles' wikicode. The bug is described in T209493. A bug fix was reportedly deployed on 15 January 2020.
This search shows articles currently affected by the bug. In theory, if we get them all cleaned up, we can find out if the bug is still present by watching to see if it shows up as a result of a future VE copy-paste edit.
Here's how I fixed one article. Helpfully, the edit that placed the bug-infected code in the article had a nice edit summary that led me to the original wikicode, which I was able to copy and paste to replace the badly formatted references. – Jonesey95 (talk) 05:19, 21 January 2020 (UTC)
- @Jonesey95: good task for a bot? Headbomb {t · c · p · b} 05:40, 21 January 2020 (UTC)
- I don't know. There are only 43 articles affected, so an editor versed in AWB and/or regular expressions, or simply someone with good detective skills could probably take it on. – Jonesey95 (talk) 06:48, 21 January 2020 (UTC)
i18n: miscellaneous fixes
Since the last update, I have been engaged in discussions with the editor who maintains the cs1|2 modules at sq.wiki. Those discussions have led to some changes that, I hope, will aid editors at other wikis when they update their module suites.
- Module:Citation/CS1/sandbox:
- the supplemental portions of the Vancouver-style and archive url error messages have been moved into a table in ~/Configuration/sandbox
cfg.defaults
table is disabled
- Module:Citation/CS1/Configuration/sandbox:
- added more notes to aid translators
- removed
defaults
table because it only supported|url-status=
and the code never actually looks for the assigned default value (dead
); rather, it looks forlive
,unfit
,usurped
, andbot: unknown
- added
err_msg_supl
to hold supplementary error message text for archive url, bibcode, isbn, and Vancouver style error messages
- Module:Citation/CS1/Identifiers/sandbox:
- the supplemental portions of the bibcode and isbn error messages have been moved into a table in ~/Configuration/sandbox
—Trappist the monk (talk) 14:07, 21 January 2020 (UTC)
ISBN and e-book ISBN
I have had several sources which have both a paper book and an e-book available, and they naturally have both their own ISBN numbers. Should the template:Cite book have parametres for inputting both (to be used only in case they are releases of the same edition), like the journal and magazine templates have the possibility of inputting both ISSN and eISSN parametres? --XoravaX (talk) 19:16, 23 January 2020 (UTC)
- It seems to me the most important thing is leading the reader to the exact page that supports the statement. Since the pages between electronic books and paper books are often different. The person completing the citation should cite the one that the editor looked at. I think the cases where the editor looked at both and confirmed the page numbers are the same are rare enough that the extra complexity in writing the template code, using the template, and understanding how to use the templates, just isn't worth it. On those rare occasions the editor can always mention the alternate version in the citation, but outside the template. Jc3s5h (talk) 19:25, 23 January 2020 (UTC)
- Indeed that the page numbering often differs between the paper and e-book releases is a major concern and a good point against. I suppose you are right that the rare occasions don't justify the possibility for inputting both paper ISSN and eISSN, especially considering the chance of mix-ups if the editor doesn't check the page numbering from both. --XoravaX (talk) 19:45, 23 January 2020 (UTC)
Date not flagged as error
Hi, just spotted that a date without a space between the day & month is not flagged as an error.
For example {{cite web |url=https://www.goethe.de/ins/ca/en/kul/sup/dsk/dstu/fvp.html |title=PEDESTAL OF THE SOCALLED "PEACE MEMORIAL“ |date=11July 1998 |publisher=Goethe |access-date=26November 2019 }}
"PEDESTAL OF THE SOCALLED "PEACE MEMORIAL"". Goethe. 11July 1998. Retrieved 26November 2019. {{cite web}}
: Check date values in: |access-date=
and |date=
(help)
Keith D (talk) 17:31, 23 January 2020 (UTC)
- I have modified the value in
|date=
above, removing the space to show that this is not just a problem with|access-date=
. – Jonesey95 (talk) 18:16, 23 January 2020 (UTC)- Just guessing here: should
^([1-9]%d?) *(%D-) +((%d%d%d%d?)%a?)$
in Module:Citation/CS1/Date validation/sandbox have + instead of * in the 13th character position? I made that change and got the output below. I have done no further testing, which could be risky. – Jonesey95 (talk) 18:24, 23 January 2020 (UTC)
- Just guessing here: should
Wikitext | {{cite web
|
---|---|
Live | "PEDESTAL OF THE SOCALLED "PEACE MEMORIAL"". Goethe. 11July 1998. Retrieved 26November 2019. {{cite web}} : Check date values in: |access-date= and |date= (help)
|
Sandbox | "PEDESTAL OF THE SOCALLED "PEACE MEMORIAL"". Goethe. 11July 1998. Retrieved 26November 2019. {{cite web}} : Check date values in: |access-date= and |date= (help)
|
- + is 1 or more; * is 0 or more. Your change was correct. --Izno (talk) 20:44, 23 January 2020 (UTC)
Ability to use more than one chapter in Template talk:Cite book
Hello, is it possible that a dev add the ability to have multiple |chapter= in Template talk:Cite book? It would be useful if,for example, one is to use sources from the same book but from different chapters. Veverve (talk) 01:46, 29 January 2020 (UTC)
- There is some helpful information on a variety of Wikipedia help pages like this one that provides guidance on how to cite the multiple locations in the same source. – Jonesey95 (talk) 03:29, 29 January 2020 (UTC)
- This seems undesirable. In some articles, the citations are arranged in a bibliography, which is sorted alphabetically by author name. Without having separate citations, it wouldn't be possible to decide where in the list to put the cite that combines several chapters (assuming each chapter was written by different authors). Jc3s5h (talk) 03:31, 29 January 2020 (UTC)
- You might take a look at articles that have complex citation styles, like Herman Melville#References or Jane Austen#Citations, to get a sense of how chapters are cited in larger works. – Jonesey95 (talk) 03:57, 29 January 2020 (UTC)
- I will have a look, thanks. Veverve (talk) 16:01, 2 February 2020 (UTC)
- You might take a look at articles that have complex citation styles, like Herman Melville#References or Jane Austen#Citations, to get a sense of how chapters are cited in larger works. – Jonesey95 (talk) 03:57, 29 January 2020 (UTC)
Bolding of the volume number
Are there particularly significant reasons behind why we bold volume numbers in CS1? Although it may help parse volume versus issue, it also over-emphasiseds the volume in a way that's not really very helpful. It seems to have been more common in very compact citation styles where often the title would be omitted or before the ability to link to an item. Do the benefits outweigh the drawbacks? T.Shafee(Evo&Evo)talk 11:29, 5 February 2020 (UTC)
- Because that's what most academic citation guides do. Historically because finding the volume of a print journal was the most important thing, because if you got the page number wrong, you could still find whatever article you were looking for. Headbomb {t · c · p · b} 14:01, 5 February 2020 (UTC)
- In addition to what Headbomb has said, it helps distinguish the volume from, say, the year
or issue. Glades12 (talk) 14:14, 5 February 2020 (UTC)- The issue number was already mentioned. Sorry for my mistake. Glades12 (talk) 14:16, 5 February 2020 (UTC)
- Thanks for the points raised. Given it's historically logical roots, of course plenty implement it (e.g. Nature, Science), however there are also plenty that don't any more / never have (e.g. BMJ, Cell, PLOS, BMC). So my question is more if we were designing CS1 today, is it something that would be implemented or is it just status quo momentum. If it's mainly momentum, it might be something worth revisiting as to whether it is overall a net benefit. T.Shafee(Evo&Evo)talk 11:13, 6 February 2020 (UTC)
- The issue number was already mentioned. Sorry for my mistake. Glades12 (talk) 14:16, 5 February 2020 (UTC)
- Bolding of volume (presentation of
|issue/number=
and|page(s)=
in {{cite journal}} particularly also) comes up every couple months or so and mostly just needs an RFC to decide what we want to do. I imagine a couple questions:- Should the volume be consistent across all templates?
- If yes, what should that presentation be?
- If no, in addition to which multiple presentations should we provide, which templates should have which presentations?
- For reference today, at least {{cite magazine}} varies from the bold presentation ("vol #"). (I have opinions on the other questions but I don't want to get into that right now because I'm just proposing the questions. :) --Izno (talk) 17:02, 6 February 2020 (UTC)
- I would say we should be consistent across all of the templates and that we should clearly show that it is the volume by outputting "Vol." before it or else how do people know it is a volume? Keith D (talk) 18:35, 6 February 2020 (UTC)
- This is certainly how journals are cited in most style guides, but I think it looks a bit jarring when citing books. Chicago (mostly), APA and MLA use "Vol.", Blue Book just a plain number. None bold. – Finnusertop (talk ⋅ contribs) 19:16, 6 February 2020 (UTC)
- I believe journals go this way in style guides today because there is at least one international standard that lays out the expected styling for journals. --Izno (talk) 19:34, 6 February 2020 (UTC)
- We used different rendering of page numbers (colon vs pp.) depending on whether the item is a journal or not. I would suggest we render volumes as bold in the former case and with "vol." otherwise. Kanguole 18:43, 6 February 2020 (UTC)
- We should be clear on page numbers as well and always use "p." or "pp." in all templates. This is so people do not have to guess the meaning of the figures. Keith D (talk) 18:52, 6 February 2020 (UTC)
- Et al, try not to get bogged down in the what it should be already :). I think what would be best right now is to (dis)agree that my questions are the questions we want to answer (in an RFC) and then to do the research necessary to present the question to the wider community (both what is done today in CS1/2 and what is done by external style guides, if we should choose to take external inspiration). Are those questions reasonable? Is there one to add? --Izno (talk) 19:31, 6 February 2020 (UTC)
- We should be clear on page numbers as well and always use "p." or "pp." in all templates. This is so people do not have to guess the meaning of the figures. Keith D (talk) 18:52, 6 February 2020 (UTC)
From the above, we have three styles for rendering volumes and pages:
Book | Journal | |
---|---|---|
Current | 3, pp. 12–56. | 3: 12–56. |
Proposal 1 | vol. 3, pp. 12–56. | 3: 12–56. |
Proposal 2 | vol. 3, pp. 12–56. |
and maybe variants of the first two without bolding. In my view the volume needs to be set off in some way, if not by bolding then with a prefix. Kanguole 19:17, 6 February 2020 (UTC)
- I am naturally concerned about the presentation in our other templates, such as cite encyclopedia and cite magazine. --Izno (talk) 19:31, 6 February 2020 (UTC)
- [edit conflict] I would be happy with proposal 2 here. We are not an academic publisher and when academic standards are too technical for a general readership we should set them aside. —David Eppstein (talk) 19:32, 6 February 2020 (UTC)
- Ah, I thought of the proposal 3: Full text, which has been floated much more rarely (e.g. volume 3, pages 12-56). I doubt it is an attractive option to anyone, but I do think the rationale for having our citations be one way vice another does partially come down to readability of the citation, and that is the most readable. (I think the contra-argument, if anyway, is that full text is hard to parse when we have the reference structure we do across the board, which largely emulates citations found in journal papers (multiple columns of citation/content) rather than in books, which I believe are usually single line + hanging indent or single line bullet points in one column). (I am not claiming this is what's done, just that's my impression of the matter.) --Izno (talk) 19:38, 6 February 2020 (UTC)
- Just add the full text version as proposal 4. How should we proceed with the rendering of issues and numbers (and the less common, but nevertheless existing case of journals/magazine showing both at the same time)? Should we offer rendering options for them as well as part of an RfC, or should we just sort this out at a later stage? --Matthiaspaul (talk) 21:36, 6 February 2020 (UTC)
- I reread what you wrote. Issues/numbers can be a part of this discussion, but I think the "uses both" needs some more thought on proposed implementation (i.e. do we run a bot to remove one or the other across the board and let people who know better correct it? etc.). That said, issue/number would need some more discussion in this section. --Izno (talk) 21:42, 6 February 2020 (UTC)
- Just add the full text version as proposal 4. How should we proceed with the rendering of issues and numbers (and the less common, but nevertheless existing case of journals/magazine showing both at the same time)? Should we offer rendering options for them as well as part of an RfC, or should we just sort this out at a later stage? --Matthiaspaul (talk) 21:36, 6 February 2020 (UTC)
- (EC) I'm partial to proposal 1 for now, because bolding volumes for books make no sense. I'm of two minds on bolding volumes for journals, first because it's rather clear that in, e.g. Quark ref 13 that this refers to the volume, and this is a great and concise visual format in scientific articles, and what is recommended by most style guides. At the same time, while grating, having an explicit vol. #, iss. #, pages #-# isn't completely the worst, however headaches will abound when people get confused/angry by issue vs number. Could probably be avoided with "vol. A, #B, pages C" or similar though. Headbomb {t · c · p · b} 21:39, 6 February 2020 (UTC)
- Fully against full text though. That's just a waste of space and time. Headbomb {t · c · p · b} 21:41, 6 February 2020 (UTC)
- Just a reminder that long volume values are not rendered in bold, e.g. "Title". Journal Name. Volume (Issue): Pages. 2020.
{{cite journal}}
:|issue=
has extra text (help);|volume=
has extra text (help) If we are going to do an RFC, that existing condition needs to be thrown into the soup. – Jonesey95 (talk) 22:42, 6 February 2020 (UTC)
- Just a reminder that long volume values are not rendered in bold, e.g. "Title". Journal Name. Volume (Issue): Pages. 2020.
- Fully against full text though. That's just a waste of space and time. Headbomb {t · c · p · b} 21:41, 6 February 2020 (UTC)
Para ref causes extra punct maintenance category
I am not sure if this is intended, but this edit clears the "extra punctuation" category. Should |ref=
actually be checked for extra punctuation? --Izno (talk) 20:51, 6 February 2020 (UTC)
- It also seems to be checked in
|author-mask=
, which is intended to have dashes, as with here. I do not know about the correct solution in this case either, though I have found a preferable solution in the context of these templates. --Izno (talk) 21:23, 6 February 2020 (UTC)- See the explanatory text at Category:CS1 maint: extra punctuation for an explanation of the first edit. As for the second one, it looks like you may have seen Template:Cite book#Display options, which shows the supported options for
|author-mask=
. {{long dash}} renders as <span style="letter-spacing:-.25em;">———</span>
– note the ending semicolon, which places the citation in the "extra punctuation" category. – Jonesey95 (talk) 22:37, 6 February 2020 (UTC)- Right... I'm aware of why I needed to make the changes. It is not however obvious to me that the two parameters in question should have these changes made. --Izno (talk) 22:39, 6 February 2020 (UTC)
- I think this is why the category is currently a maintenance category, with a hidden error message that normal editors don't see. We usually set up maintenance categories if we are unsure of the scope of a potential problem, or unsure if we will catch false positives, or both. In this case, we are catching a false positive in the first instance. One could argue that the
|author-mask=
usage is not compliant with the documentation, but I could go either way. - In any event, no, you don't have to "fix" these conditions, but it's worth discussing whether those parameters should be excluded from this particular error check. – Jonesey95 (talk) 22:45, 6 February 2020 (UTC)
- I think this is why the category is currently a maintenance category, with a hidden error message that normal editors don't see. We usually set up maintenance categories if we are unsure of the scope of a potential problem, or unsure if we will catch false positives, or both. In this case, we are catching a false positive in the first instance. One could argue that the
- Right... I'm aware of why I needed to make the changes. It is not however obvious to me that the two parameters in question should have these changes made. --Izno (talk) 22:39, 6 February 2020 (UTC)
- See the explanatory text at Category:CS1 maint: extra punctuation for an explanation of the first edit. As for the second one, it looks like you may have seen Template:Cite book#Display options, which shows the supported options for
I've added a line of code that allows for<
,>
,&
,"
, and
html entities as the final 'character' in a parameter. Here are the two templates mentioned above:Vermont State Archives (June 12, 2006). "General Election Results, U.S. Representatives, 1822–1830 (Five Districts)" (PDF). www.sec.state.vt.us. Montpelier, VT: Vermont Secretary of State.——— (1962). "Theism and Utopia". Philosophy. 37 (140): 153–158. doi:10.1017/S0031819100036810. ISSN 1469-817X. JSTOR 3748372.{{cite journal}}
: Invalid|ref=harv
(help)
This is not a perfect solution. For example, this, which uses|author=
will no longer be detected:(2005-12-21). "TWU Leaders Refuse To Back Down Despite Threat Of Jail Time". NY1. Archived from the original on April 3, 2008. Retrieved 2014-04-04.{{cite web}}
: CS1 maint: extra punctuation (link)
I'm not sure if this is a net gain or loss.—Trappist the monk (talk) 17:17, 7 February 2020 (UTC)- Never mind, I've been reverted.
- —Trappist the monk (talk) 17:25, 7 February 2020 (UTC)
- I reverted your change, mostly to demonstrate an alternative: I didn't realize that we had a whitelist of parameters, so I've added "Ref" there. I do think it would be a net loss for something like that in
|author=
not to be caught would be unfortunate. What I didn't try is to put the Mask parameters in the whitelist. Do you think that's possible with the current code? Or do we think it is not worth it and users should be instructed to provide an alphanumeric directly in|author-mask=
et al, and to continue checking it like it is today? I think I tend toward continuing to check it and instructing users--which might lead to a stronger parameter check than currently (because this kind of check is fairly soft). --Izno (talk) 17:28, 7 February 2020 (UTC)- Adding meta-parameter
Ref
to that whitelist 'works' but we lose the ability to detect stray comma-colon-semicolon punctuation. - I don't know how common the
|author=
problem is; MediaWiki repeatedly dies, returns nothing, or times out when I try to search for|author=
. - We could, if we can determine that it is warranted, check for parameter values that are only white-space 'characters' that are html entities (
 
,
, etc) with or without ascii space characters mixed in. When these strings of html whitespace characters are detected, the whole parameter value would be set tonil
and the module would emit an error message or maint cat. - —Trappist the monk (talk) 00:36, 8 February 2020 (UTC)
- Adding meta-parameter
- I reverted your change, mostly to demonstrate an alternative: I didn't realize that we had a whitelist of parameters, so I've added "Ref" there. I do think it would be a net loss for something like that in
Use high-resolution icons
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The styles in Module:Citation/CS1/styles.css define a few new link icons, but they use low-resolution images, which look ugly on high-resolution screens (or when zooming in), particularly when shown next to default MediaWiki link icons, which are high-resolution.
For example, look at reference 2 on It (novel)#References.
I recommend using the same approach as MediaWiki to load SVG images on browsers that support them: https://github.com/wikimedia/mediawiki/blob/master/resources/src/mediawiki.less/mediawiki.mixins.less#L31
Namely, please make these changes to Module:Citation/CS1/styles.css:
Extended content
| ||||||
---|---|---|---|---|---|---|
|
Matma Rex talk 17:41, 7 February 2020 (UTC)
Not done: Please feel free to add them to the sandbox, Matma Rex. Izno (talk) 17:45, 7 February 2020 (UTC)
- Like this, I guess? I'm not familiar with the template stuff on this wiki. Matma Rex talk 18:12, 7 February 2020 (UTC)
- @Matma Rex: Yes. Now, this won't be deployed until the next cycle in a month or two, so I'm disabling the edit request for that as well. --Izno (talk) 18:23, 7 February 2020 (UTC)
- I like this. Quite a while ago I asked at the graphics lab about how to make these icon images clearer. I never got an answer so I'm glad to see that there is a way to make the images less fuzzy.
- —Trappist the monk (talk) 00:38, 8 February 2020 (UTC)
- Like this, I guess? I'm not familiar with the template stuff on this wiki. Matma Rex talk 18:12, 7 February 2020 (UTC)
Footnote and endnote parameters needed
I have just normalised a book citation, which cited a specific footnote. So I inserted a 'footnote = ' in front. It is an unrecognised parameter. Can this be added? And I suppose we better have endnote= too. The context for this is when the cited book itself cites an inaccessible source. --John Maynard Friedman (talk) 19:13, 8 February 2020 (UTC)
- @John Maynard Friedman: Can you describe in more detail what you are trying to do? --Izno (talk) 19:19, 8 February 2020 (UTC)
- You can specify both a page and footnote with
|at=p. 117, footnote 77
. Kanguole 19:30, 8 February 2020 (UTC)- yes, that would probably do, if I could see how to integrate it. Here is the citation as written:
- {{cite book| url = https://academic.oup.com/past/article/149/1/95/1460442 | title= Calendar Reform in eighteenth-century England | last= Poole | first= Robert | date= 1995| series= Oxford Academic Past & Present| page = 117 | footnote=77}}
- It seems to me that footnote= sits more easily with the rest of the syntax. --John Maynard Friedman (talk) 19:43, 8 February 2020 (UTC)
- It would be
{{cite book| url = https://academic.oup.com/past/article/149/1/95/1460442 | title= Calendar Reform in eighteenth-century England | last= Poole | first= Robert | date= 1995 | series= Oxford Academic Past & Present | at = p. 117, footnote 77}}
- Poole, Robert (1995). Calendar Reform in eighteenth-century England. Oxford Academic Past & Present. p. 117, footnote 77.
- but actually this is a journal citation, so the specific location has to go outside it anyway:
{{cite journal | title = 'Give us back our eleven days!': Calendar Reform in eighteenth-century England | last= Poole | first= Robert | date= 1995 | journal= Past & Present | volume = 149 | issue = 1 | pages = 95–139 | doi = 10.1093/past/149.1.95 }} p. 117, footnote 77.
- Poole, Robert (1995). "'Give us back our eleven days!': Calendar Reform in eighteenth-century England". Past & Present. 149 (1): 95–139. doi:10.1093/past/149.1.95. p. 117, footnote 77.
- Kanguole 20:38, 8 February 2020 (UTC)
- "has to" is strong verbiage given what
|page=
(even in journal citations) is supposed to be used for according to its documentation. :^) There is nothing to prevent JMF from having the specific page and I'm sure I would not be alone in recommending he add the specific page number. --Izno (talk) 20:45, 8 February 2020 (UTC)
- "has to" is strong verbiage given what
- It would be
- yes, that would probably do, if I could see how to integrate it. Here is the citation as written:
The Wikipedia article in question appears to be "Calendar (New Style) Act 1750". It's a hopeless mix of {{Citation}}, Cite xxx, short footnotes, cites to books without using short footnotes as an intermediary, citations using special purpose templates, and citations that do not use templates. It seems to me you need to figure out what the citation system will be for the article before trying to improve individual endnotes. Jc3s5h (talk) 20:50, 8 February 2020 (UTC)
- If you do go for short footnotes, this could be done with
{{sfn|Poole|1995|p=117|loc=footnote 77}}
. Kanguole 20:57, 8 February 2020 (UTC)- It turns out that Poole 1995 is already in the reference list for this article, so the above
{{sfn}}
will work as given. Kanguole 22:22, 8 February 2020 (UTC)
- It turns out that Poole 1995 is already in the reference list for this article, so the above
If this is actually a footnote, add "n" at the end of the page number: |p=117n
. If there is more than one footnote in the same page, these are usually numbered (or otherwise separated), so you should include that number/separator: |p=117n2
. This has been the way to signify footnotes, since … forever. If it is a note at the end of a chapter or a book, these are usually in a separate, titled section. In this case you are citing a note in that section. Input the section title after the chapter title |chapter=Chapter: Section
(most likely, "Notes"), or if at the end, |chapter=Section
or and |chapter=End matter
|at=End matter, p. [number], n. [number]
. Edit: I moved "End matter" to |at=
because only a limited number of special front/back sections are not quoted by the module. 98.0.246.242 (talk) 22:08, 8 February 2020 (UTC)
As Jc3s5h observes, the article where this question arose is indeed a mess of various citation styles. I made the mistake of thinking I could clean them up using a mobile (cell phone). Not a good idea. Thank you all for the suggestions, I will review the whole article when I have time to do it properly. --John Maynard Friedman (talk) 08:29, 9 February 2020 (UTC)
add chapter-archive-url
The template provides an archive-url parameter but does not provide an equivalent parameter for the archive of the chapter-url. It would be useful to provide an archive for the referenced chapter when chapter-url is present. Adding chapter-archive-url would need chapter-archive-date, chapter-url-status, and chapter-access-date parameters. Whywhenwhohow (talk) 20:48, 9 February 2020 (UTC)
- There are half a dozen "-url" arguments. I think we are archiving any one of them, of which
|archive-url=
is the placeholder. Suggest extra archives added to{{webarchive}}
which can hold up to 10. -- GreenC 20:59, 9 February 2020 (UTC)
How do I cite a Russian webpage with translation from a Latin book?
I need to cite several webpages with modern (2011) scholarly translations into Russian of mediaeval Italian chronicles written in Latin, translated from their 19-century publication in book series form printed in Germany. GregZak (talk) 09:21, 10 February 2020 (UTC)
- Cite the source that you consulted; see WP:SAYWHEREYOUREADIT. If you consulted a Russian-language website where the content is taken from a German book, cite the website. If the Russian website holds a facsimile of the German book, cite the website as a book.
- It is always true that examples of what you want to do will aid editors here in their attempts to help you.
- —Trappist the monk (talk) 12:56, 10 February 2020 (UTC)
Nomination for deletion of Module:Citation/testcases
Module:Citation/testcases has been nominated for deletion. You are invited to comment on the discussion at the module's entry on the Templates for discussion page. * Pppery * it has begun... 01:44, 11 February 2020 (UTC)
language parameter tweak
I've tweaked |language=
handling so that it accepts ISO 639-2, -3 codes with IETF tags (yue-HK
); ISO 639-1 with IETF tags already accepted.
Wikitext | {{cite book
|
---|---|
Live | Title (in Cantonese). |
Sandbox | Title (in Cantonese). |
—Trappist the monk (talk) 18:46, 10 February 2020 (UTC)
- Thanks, Trappist the monk! Immediately a big change to Category:CS1 maint: unrecognized language. What are the new codes that are accepted? Can they be added to Template:Citation Style documentation/language/doc? = paul2520 (talk) 13:50, 11 February 2020 (UTC)
- Umm, nothing has happened. The change that I made was only to the sandbox. I trolled through Category:CS1 maint: unrecognized language yesterday with an awb script and then manually. Both those efforts cleared a couple of hundred articles from the category and was the impetus for the sandbox fix that I made (one article with the
yue-HK
IETF language tag). - The content of Template:Citation Style documentation/language/doc will not change as a result of this fix. Module:Citation/CS1 accepts language codes with various tags but those tags are discarded. The listed codes and languages are the codes and languages that MediaWiki defines augmented with a very limited list of codes and languages that cs1|2 has overridden or added. When MediaWiki changes their list, the list at ~/language/doc will automatically reflect that change.
- —Trappist the monk (talk) 14:26, 11 February 2020 (UTC)
- Umm, nothing has happened. The change that I made was only to the sandbox. I trolled through Category:CS1 maint: unrecognized language yesterday with an awb script and then manually. Both those efforts cleared a couple of hundred articles from the category and was the impetus for the sandbox fix that I made (one article with the
i18n: wikisource tweak;
Because there are different language versions of wikisource, en.wikisource should not be hard-coded into Module:Citation/CS1. Tweaked the sandbox to use the local language's language code (from Module:Citation/CS1/Configuration) as the second-level domain name.
—Trappist the monk (talk) 15:36, 14 February 2020 (UTC)
Script to detect unreliable sources
I have (with the help of others) made a small user script to detect and highlight various links to unreliable sources and predatory journals. The idea is that it takes something like
- John Smith "Article of things" Deprecated.com. Accessed 2020-02-14. (
John Smith "[https://www.deprecated.com/article Article of things]" ''Deprecated.com''. Accessed 2020-02-14.
)
and turns it into something like
- John Smith "Article of things" Deprecated.com. Accessed 2020-02-14.
It will work on a variety of links, including those from {{cite web}}, {{cite journal}} and {{doi}}.
I'm still expanding coverage and tweaking logic, but what's there already works very well. Details and instructions are available at User:Headbomb/unreliable. Questions, comments and requests can be made at User talk:Headbomb/unreliable. Headbomb {t · c · p · b} 13:04, 19 February 2020 (UTC)
Portal di Ensiklopedia Dunia