Revision as of 15:59, 21 June 2011 editAlarics (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers22,563 edits →date format← Previous edit | Latest revision as of 02:04, 15 June 2024 edit undoCewbot (talk | contribs)Bots7,578,829 editsm Maintain {{WPBS}}: 1 WikiProject template. Create {{WPBS}}.Tag: Talk banner shell conversion | ||
(65 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{User:MiszaBot/config | |||
==Rational== | |||
|archiveheader = {{talkarchivenav}} | |||
The Times index stretches back to 1785 and has a particular way of citing exactly where in the newspaper an article, a photo, an advertisement etc. is. I feel this is not represented adequately by the existing newspaper templates so have created this one. | |||
|maxarchivesize = 75K | |||
|counter = 1 | |||
|minthreadsleft = 3 | |||
|minthreadstoarchive = 1 | |||
|algo = old(28d) | |||
|archive = Template talk:Cite newspaper The Times/Archive %(counter)d | |||
}} | |||
{{WikiProject banner shell| | |||
{{WikiProject United Kingdom}} | |||
}} | |||
{{archives|search=yes}} | |||
== column/page display order == | |||
This is my first attempt at this type of template so please feel free to improve it or comment. ] 21:18, 12 June 2007 (UTC) | |||
As currently written, when given both {{para|page|2}} and {{para|column|N}}, the template renders "col N, p. 2". A couple of things about this seem odd to me. First is the order of rendering with the most specific location rendered first (column) followed by the least specific location (page). This to me is backwards. The rendering should proceed left-to-right least-specific-to-most-specific. Second, the column abbreviation should have a trailing dot "col." So, I've tweaked the sandbox. Compare: | |||
: Why does this template exist? What does it do that cite journal can't do? I fixed the inconsistency in the page field. ] (]) 19:53, 16 June 2009 (UTC) | |||
:{{Cite newspaper The Times |section=Section Name |articlename=Article Title |day_of_week=Monday |date=3 January 1949 |page_number=2 |issue=12345 |column=N }} – live | |||
:{{Cite newspaper The Times/sandbox |section=Section Name |articlename=Article Title |day_of_week=Monday |date=3 January 1949 |page_number=2 |issue=12345 |column=N }} – sandbox | |||
While I have done nothing about this yet, it also seems to me that {{para|column}} should be ignored when <s>{{para|pages}} is specified and also ignored when</s> {{para|page}} is {{em|not}} specified. | |||
Without objection, I shall update the live template to render page-before-column. | |||
::The template is a useful one, having a few Times specific fields not in cite journal (which is for magazines, not newspapers). Having existed this long, I doubt there is any argument against its retention. ] (]) 09:40, 6 February 2011 (UTC) | |||
—] (]) 13:44, 9 October 2017 (UTC) | |||
==Universal Daily Register== | |||
It occurs to me that as ''The Times'' was originally ''The Universal Daily Register'', we should also have a separate template to allow citation from that paper. I realise that it only covers 1785-88 and thus may not be highly used, but I feel that it would be a template worth having. ] (]) 09:40, 6 February 2011 (UTC) | |||
:The column parameter does not need to be ignored when pages is used. | |||
⚫ | ==Link== | ||
The link to '']'' article was from the template. Would it be possible to add a <code>|link=</code> parameter to allow a single link per article from a reference? The default would be no link, with the insertion of "on" or "yes" allowing a link. ] (]) 07:53, 19 March 2011 (UTC) | |||
*That seems like a reasonable compromise. --] ] 10:01, 19 March 2011 (UTC) | |||
:Sounds like a good idea to me. ] (]) 03:11, 24 March 2011 (UTC) | |||
:{{Cite newspaper The Times |section=Section Name |articlename=Article Title |day_of_week=Monday |date=3 January 1949 |page_numbers=2, 3 |issue=12345 |column=E-F, A }} | |||
== location == | |||
:is clear enough in its meaning, is it not? ] (]) | |||
''The Times'' (UK) was indeed wrong, but ''The Times'' without any location is even worse. There are many newspapers all over the world called ''The Times''. The correct form for this one, since newspapers are always identified by the city of publication, not by country, is ''The Times'' (London). -- ] (]) 09:33, 20 April 2011 (UTC) | |||
::Point taken. | |||
::—] (]) 10:05, 10 October 2017 (UTC) | |||
{{re|Trappist the monk}} - could you switch the display order as proposed please? ] (]) 08:19, 6 May 2018 (UTC) | |||
== date format == | |||
:I can do that. But, before I do, in the intervening months, ] has come into being. This module is expressly intended for templates like {{tlx|cite newspaper The Times}} which sets certain parameters of another (base) template to default values but will allow these meta templates to support all of the base template's parameters without the need for extra pass-through parameters. For example, in the current live template, {{para|author}} is the only author-name parameter supported. With Module:Template wrapper, {{tld|cite newspaper The Times}} can use all of the author-name parameters supported by {{tlx|cite news}}, for example {{para|last}} / {{para|first}}: | |||
::<code><nowiki>{{Cite newspaper The Times/sandbox |articlename=The spelling of Kenya |url=//www.example.com |first=J.H. |last=Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page_number=8 |issue=46051 |column=B }}</nowiki></code> | |||
:::{{Cite newspaper The Times/sandbox |articlename=The spelling of Kenya |url=//www.example.com |first=J.H. |last=Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page_number=8 |issue=46051 |column=B }} | |||
:I have also added <code>&nbsp;</code> between col. and its value and changed the subscription indicator to use {{para|url-access}}. | |||
: | |||
:If these changes are acceptable, I will update the live template. | |||
:—] (]) 09:28, 6 May 2018 (UTC) | |||
== parameters that ought to be deprecated and removed == | |||
The date format given in the example (Feb 08 1932) is completely unacceptable, for three separate reasons: | |||
I think that some of the parameters used by this template should be deprecated: | |||
*We do not abbreviate months, as repeatedly discussed in MOSNUM. | |||
*{{para|page_number}} and {{para|page_numbers}} – these are too long and the underscore separator is inconsistent with the hyphen separator used in {{tlx|cite news}} (and all other cs1|2 templates) upon which {{tlx|cite newspaper The Times}} is based. Since {{diff|Template:Cite_newspaper_The_Times|741642772|738377539|this edit}} on 28 September 2016, this template has supported {{para|page}} and {{para|pages}} (the documentation, of course, has failed to mention that because, {{lang|la|mea culpa}}, I suck at documentation). | |||
*If mdy is to be used, there must be a comma before the year. | |||
*{{para|articlename}} – also too long and also inconsistent with the underlying {{tld|cite news}} which uses {{para|title}} (which became a supported parameter at the 28 September 2016 edit mentioned above) | |||
*We do not use leading zeroes in any date format except YYYY-MM-DD, which in any case is deprecated for use in any dates other than access dates. | |||
I have tweaked the ~/sandbox to emit an error message when one (or more) of these parameters appear in a template: | |||
:<code><nowiki>{{Cite newspaper The Times/sandbox |articlename=The spelling of Kenya |url=//www.example.com |author=J.H. Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page_number=8 |issue=46051 |column=B}}</nowiki></code> | |||
::{{Cite newspaper The Times/sandbox |articlename=The spelling of Kenya |url=//www.example.com |author=J.H. Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page_number=8 |issue=46051 |column=B}} | |||
Changing that to use {{para|title}} and {{para|page}} gives: | |||
:<code><nowiki>{{Cite newspaper The Times/sandbox |title=The spelling of Kenya |url=//www.example.com |author=J.H. Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page=8 |issue=46051 |column=B}}</nowiki></code> | |||
::{{Cite newspaper The Times/sandbox |title=The spelling of Kenya |url=//www.example.com |author=J.H. Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page=8 |issue=46051 |column=B}} | |||
I have just begun to run a simple awb script to remove {{para|day_of_week}} from existing instances to {{tld|cite newspaper The Times}} (not a supported parameter since the 28 September 2016 edit mentioned above). It is a relatively simple matter to have the script rename {{para|page_number}}, {{para|page_numbers}}, and {{para|articlename}} at the same time. When that script has completed its task, then the live version of the template can be updated to the sandbox version. The error messages would then become live for a period as an 'educational tool' to retrain editors who use this template. After that training period is over, the deprecated-parameter error messages can go away ({{tld|cite news}} will emit error messages when {{para|page_number}}, {{para|page_numbers}}, and {{para|articlename}} are detected). | |||
Without objections, I shall proceed. | |||
Also, the inclusion of the day of the week seems perverse. I have never seen it in any other references. Just because ''The Times'' own archive cites this does not seem to me a good reason for incorporating it in Misplaced Pages references to ''The Times'' when we do not put it in references to any other kind of source. | |||
—] (]) 15:59, 23 December 2021 (UTC) | |||
I would make the same point about column number. Just the page number is good enough for all other sources, so it should be good enough for ''The Times''. | |||
:@]: I fully support this proposal. I came here to propose something similar, and was delighted to see that you are already on the case, with a very coherent plan. Thank you. | |||
With all due respect to its creator, who has obviously put this forward in good faith, I do question the need for this template at all. -- ] (]) 09:44, 20 April 2011 (UTC) | |||
:Consistency of parameter names helps everyone. I encountered this exception when a batch of ~20 articles appeared in ], and my regular cleanup script converted {{para|page_number}} to {{para|page-number}}. I saved two such pages intending to check what was going on (cos I hadn't seen those params before), but got sidetracked and forgot to check. @{{u|Lotje}} kindly reverted my two edits, and left a note on my talk. | |||
:It would be a big job to rewrite my AWB setup to accommodate the underscore params, and I am relieved not to have to do so. I will hold off running my script again until the conversion is complete. Merry Christmas! ] <small>] • (])</small> 17:39, 24 December 2021 (UTC) | |||
:I support the changes to standardize parameter names among similar templates. Editors shouldn't need to relearn parameter usage each time. ] (]) 12:11, 25 December 2021 (UTC) | |||
:: Greetings {{u|Trappist the monk}}, I hope all is well with you. I literally just happened upon and thought you might find it useful, perhaps even now. Best regards.--] (]) 03:56, 26 December 2021 (UTC) | |||
:Live template updated. I've added all of the deprecated parameters to {{slink|Misplaced Pages:AutoWikiBrowser/Rename_template_parameters#Cite_newspaper_The_Times}} and hacked an awb script to explicitely replace those deprecated parameters (I never use awb general fixes but there are a lot of editors who do). There are 6000-ish article that use this template so it will take a while to replace all of those parameters. | |||
:—] (]) 16:32, 30 December 2021 (UTC) | |||
⚫ | == Link please == | ||
:I'd argue strongly in favour of keeping this template. You may not see the need for the section and column, but it is those that that ''Times'' archives are indexed by. Usefulness to our readers outweighs the obsession with standardized appearances for citation templates, and unless and until the standard templates can handle the ''Times'' indexing style, this ought to remain. A page number alone is not a great deal of use when it comes to the ''Times''; early issues were printed on huge format sheets, and 18th-century issues can easily have 30-40 items to a page. – ] 14:14, 21 June 2011 (UTC) | |||
::Well, keep the template if you want, but the date must be written correctly. I have changed the documentation accordingly. -- ] (]) 15:59, 21 June 2011 (UTC) | |||
Is there a way to make a wikilink on the newspaper name? ] (]) 23:10, 29 April 2023 (UTC) | |||
:Generally not needed and perhaps not desirable. But, if you must: | |||
::<code><nowiki>{{Cite newspaper The Times |title=The spelling of Kenya |author=J. H. Reynolds |department=Letters to the editor |date=8 February 1932 |page=8 |issue=46051 |column=B |newspaper=]}}</nowiki></code> | |||
:::{{Cite newspaper The Times |title=The spelling of Kenya |author=J. H. Reynolds |department=Letters to the editor |date=8 February 1932 |page=8 |issue=46051 |column=B |newspaper=]}} | |||
:—] (]) 23:19, 29 April 2023 (UTC) |
Latest revision as of 02:04, 15 June 2024
This template does not require a rating on Misplaced Pages's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Archives | |
|
|
This page has archives. Sections older than 28 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
column/page display order
As currently written, when given both |page=2
and |column=N
, the template renders "col N, p. 2". A couple of things about this seem odd to me. First is the order of rendering with the most specific location rendered first (column) followed by the least specific location (page). This to me is backwards. The rendering should proceed left-to-right least-specific-to-most-specific. Second, the column abbreviation should have a trailing dot "col." So, I've tweaked the sandbox. Compare:
- "Article Title". Section Name. The Times. No. 12345. London. 3 January 1949. col N, p. 2. template uses deprecated parameter(s) (help) – live
- "Article Title". Section Name. The Times. No. 12345. London. 3 January 1949. col N, p. 2. template uses deprecated parameter(s) (help) – sandbox
While I have done nothing about this yet, it also seems to me that |column=
should be ignored when |pages=
is specified and also ignored when|page=
is not specified.
Without objection, I shall update the live template to render page-before-column.
—Trappist the monk (talk) 13:44, 9 October 2017 (UTC)
- The column parameter does not need to be ignored when pages is used.
- "Article Title". Section Name. The Times. No. 12345. London. 3 January 1949. col E-F, A, pp. 2, 3. template uses deprecated parameter(s) (help)
- is clear enough in its meaning, is it not? Mjroots (talk)
- Point taken.
- —Trappist the monk (talk) 10:05, 10 October 2017 (UTC)
@Trappist the monk: - could you switch the display order as proposed please? Mjroots (talk) 08:19, 6 May 2018 (UTC)
- I can do that. But, before I do, in the intervening months, Module:Template wrapper has come into being. This module is expressly intended for templates like
{{cite newspaper The Times}}
which sets certain parameters of another (base) template to default values but will allow these meta templates to support all of the base template's parameters without the need for extra pass-through parameters. For example, in the current live template,|author=
is the only author-name parameter supported. With Module:Template wrapper,{{cite newspaper The Times}}
can use all of the author-name parameters supported by{{cite news}}
, for example|last=
/|first=
:{{Cite newspaper The Times/sandbox |articlename=The spelling of Kenya |url=//www.example.com |first=J.H. |last=Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page_number=8 |issue=46051 |column=B }}
- Reynolds, J.H. (8 February 1932). "The spelling of Kenya". Letters to the editor. The Times. No. 46051. London. col B, p. 8. template uses deprecated parameter(s) (help)
- I have also added
between col. and its value and changed the subscription indicator to use|url-access=
. - If these changes are acceptable, I will update the live template.
- —Trappist the monk (talk) 09:28, 6 May 2018 (UTC)
parameters that ought to be deprecated and removed
I think that some of the parameters used by this template should be deprecated:
|page_number=
and|page_numbers=
– these are too long and the underscore separator is inconsistent with the hyphen separator used in{{cite news}}
(and all other cs1|2 templates) upon which{{cite newspaper The Times}}
is based. Since this edit on 28 September 2016, this template has supported|page=
and|pages=
(the documentation, of course, has failed to mention that because, mea culpa, I suck at documentation).|articlename=
– also too long and also inconsistent with the underlying{{cite news}}
which uses|title=
(which became a supported parameter at the 28 September 2016 edit mentioned above)
I have tweaked the ~/sandbox to emit an error message when one (or more) of these parameters appear in a template:
{{Cite newspaper The Times/sandbox |articlename=The spelling of Kenya |url=//www.example.com |author=J.H. Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page_number=8 |issue=46051 |column=B}}
- J.H. Reynolds (8 February 1932). "The spelling of Kenya". Letters to the editor. The Times. No. 46051. London. col B, p. 8. template uses deprecated parameter(s) (help)
Changing that to use |title=
and |page=
gives:
{{Cite newspaper The Times/sandbox |title=The spelling of Kenya |url=//www.example.com |author=J.H. Reynolds |section=Letters to the editor |day_of_week=Monday |date=8 February 1932 |page=8 |issue=46051 |column=B}}
- J.H. Reynolds (8 February 1932). "The spelling of Kenya". Letters to the editor. The Times. No. 46051. London. col B, p. 8. template uses deprecated parameter(s) (help)
I have just begun to run a simple awb script to remove |day_of_week=
from existing instances to {{cite newspaper The Times}}
(not a supported parameter since the 28 September 2016 edit mentioned above). It is a relatively simple matter to have the script rename |page_number=
, |page_numbers=
, and |articlename=
at the same time. When that script has completed its task, then the live version of the template can be updated to the sandbox version. The error messages would then become live for a period as an 'educational tool' to retrain editors who use this template. After that training period is over, the deprecated-parameter error messages can go away ({{cite news}}
will emit error messages when |page_number=
, |page_numbers=
, and |articlename=
are detected).
Without objections, I shall proceed.
—Trappist the monk (talk) 15:59, 23 December 2021 (UTC)
- @Trappist the monk: I fully support this proposal. I came here to propose something similar, and was delighted to see that you are already on the case, with a very coherent plan. Thank you.
- Consistency of parameter names helps everyone. I encountered this exception when a batch of ~20 articles appeared in Category:CS1 errors: unsupported parameter, and my regular cleanup script converted
|page_number=
to|page-number=
. I saved two such pages intending to check what was going on (cos I hadn't seen those params before), but got sidetracked and forgot to check. @Lotje kindly reverted my two edits, and left a note on my talk. - It would be a big job to rewrite my AWB setup to accommodate the underscore params, and I am relieved not to have to do so. I will hold off running my script again until the conversion is complete. Merry Christmas! BrownHairedGirl (talk) • (contribs) 17:39, 24 December 2021 (UTC)
- I support the changes to standardize parameter names among similar templates. Editors shouldn't need to relearn parameter usage each time. Gonnym (talk) 12:11, 25 December 2021 (UTC)
- Greetings Trappist the monk, I hope all is well with you. I literally just happened upon this tool and thought you might find it useful, perhaps even now. Best regards.--John Cline (talk) 03:56, 26 December 2021 (UTC)
- Live template updated. I've added all of the deprecated parameters to Misplaced Pages:AutoWikiBrowser/Rename template parameters § Cite newspaper The Times and hacked an awb script to explicitely replace those deprecated parameters (I never use awb general fixes but there are a lot of editors who do). There are 6000-ish article that use this template so it will take a while to replace all of those parameters.
- —Trappist the monk (talk) 16:32, 30 December 2021 (UTC)
Link please
Is there a way to make a wikilink on the newspaper name? BhamBoi (talk) 23:10, 29 April 2023 (UTC)
- Generally not needed and perhaps not desirable. But, if you must:
{{Cite newspaper The Times |title=The spelling of Kenya |author=J. H. Reynolds |department=Letters to the editor |date=8 February 1932 |page=8 |issue=46051 |column=B |newspaper=]}}
- J. H. Reynolds (8 February 1932). "The spelling of Kenya". Letters to the editor. The Times. No. 46051. London. col B, p. 8.
- —Trappist the monk (talk) 23:19, 29 April 2023 (UTC)