Template talk:Cite act

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

WikiProject iconLaw Template‑class
WikiProject iconThis template is within the scope of WikiProject Law, an attempt at providing a comprehensive, standardised, pan-jurisdictional and up-to-date resource for the legal field and the subjects encompassed by it.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Website[edit]

Would it be possible to add |website= so you can show if it's from the legislative itself, ministry, other website ect. Braganza (talk) 18:10, 6 February 2024 (UTC)[reply]

@Braganza: use the |via= parameter for this information. Rjjiii (talk) 06:04, 3 April 2024 (UTC)[reply]
Thanks Braganza (talk) 06:26, 3 April 2024 (UTC)[reply]

CS1 wrapper change[edit]

In absence of a CS1 legal style (I have some work on one, but anyone can do it), we should at least change the wrapper of this template from using {{cite book}} to something appropriate to existing legal citation styles and metadata. Specifically, as I review in my template notes page, the major US and UK legal styles either use italics or upright, without quotation marks, for titles of acts and legislation. Also, CS1 COinS metadata should not have significant mismatches with this wrapper, which is currently a problem with genre and arguably publisher (the latter will require making a new CS1 style).

I propose using a different CS1 base template, likely either {{cite report}} or {{cite techreport}}, depending on the parameters available. (The former gives titles upright, while the latter is in italics). I'll put up a draft in the sandbox. SamuelRiv (talk) 20:22, 3 April 2024 (UTC)[reply]

change apparently breaks a lot of articles[edit]

This edit, with the inscrutable edit summary: correction with a lot of duplicated code that does what was done before (mediawiki flag), by Editor SamuelRiv appears to have broken a bunch of articles. Category:CS1 errors: URL–wikilink conflict which see. Editor SamuelRiv should either fix the template or fix the articles in the category.

Trappist the monk (talk) 22:34, 25 April 2024 (UTC)[reply]

I'm doing the AWB run in a minute. The title-wikilink url-link conflict is a CS1 thing that I didn't want to squeeze in compatibility for (but maybe I should if CitationBot doesn't have a script for it). The edit that changed it was my complete overhaul of the template, not the after-edit reversion and tweak that I did because of a mw error flag (for which I submitted a phabricator request).
While I'm sure many would like to see CS1 allow simultaneous use of title-link and url to be supported, I believe the requests have been shot down before. The only reason it worked in this template is because this template previously improperly overloaded the title= field (among others) which gives improper metadata. SamuelRiv (talk) 01:20, 26 April 2024 (UTC)[reply]
Running AWB after sanitizing in the code, almost all errors seem to have come from an identically-formatted citation to the same section of Terrorism Act 2000. The citation put a wikilink inside the |title= field, and because the original code of {{cite act}} redefined title and df separate from CS1, none of this would get flagged (and title-link wouldn't have done anything in the original code). That's why I am updating the semantics on some of these CS1 wrapper templates, and hopefully getting new or changed styles in the CS1 module itself. SamuelRiv (talk) 18:39, 26 April 2024 (UTC)[reply]