Template talk:Cite Legislation AU

Latest comment: 2 months ago by Safes007 in topic Suggestion to add 'via austlii'
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.
WikiProject iconAustralia Template‑class
WikiProject iconCite Legislation AU is within the scope of WikiProject Australia, which aims to improve Wikipedia's coverage of Australia and Australia-related topics. If you would like to participate, visit the project page.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Capital letter suffixes edit

The link to AustLII breaks on "capital letter" sections, for example Supreme Court Act 1935 (WA) s 7A. AustLII expects the URL to end in 7a.html. Since the section should be cited using a capital letter, the template needs to be amended to lowercase the section "number." I don't know enough about the template language to fix that right now though. splintax (talk) 05:27, 3 January 2015 (UTC)Reply

Fixed by using the lc parser function Alex Sims (talk) 10:38, 19 October 2015 (UTC)Reply

does it work for numbered acts not consolidated? edit

I haven't managed to get this template to work for URLs like http://www.austlii.edu.au/au/legis/nsw/num_act/claao1861n26270.pdf which contain "num_act" instead of "consol_act", and end in .pdf - I'm not sure if the documentation is unclear or if these acts are not supported? --Scott Davis Talk 06:24, 28 August 2016 (UTC)Reply

Holbrook railway line and Corowa railway line - num_act is undocumented ... lookin at it now, confused much. Dave Rave (talk) 23:10, 6 May 2017 (UTC)Reply

Short name is repeated in URL edit

I'm trying to cite http://www.austlii.edu.au/au/legis/wa/num_act/bdamr45vn9439/bdamr45vn9439.html with {{Cite Legislation AU |WA|num_act|bdamr45vn9439|Births, deaths and marriages registration}} which results in: Births, deaths and marriages registration (WA) — the URL is not correct. The short-name needs to be repeated at the end, with .html. I'd update the template, but I'm not quite sure this is a universal problem. Any ideas? Sam Wilson 08:11, 23 September 2017 (UTC)Reply

changed again edit

a plain link to dbha1906211 now goes to dbha1906n53238 - how to fix ?? Dave Rave (talk) 08:51, 27 July 2018 (UTC)Reply

a recent addition to David Berry Hospital points to classic. instead of www. Dave Rave (talk)

Shouldn't the template link to the official registers of legislation rather than AustLii? edit

Since every jurisdiction in Australia (Queensland, New South Wales, the Australian Capital Territory, Victoria, Northern Territory, South Australia, Western Australia, and Tasmania, alongside the federal government) has their own legislation register/index, shouldn't we be linking to those official sources rather than a third-party reproduction? This might require some changes to the template's form (etc. {{Cite Legislation AU|NSW|950fb057-125b-4bad-b236-4a9684309048}} → Civil Remedies for Serious Invasions of Privacy Bill 2020). ItsPugle (talk) 10:21, 24 May 2020 (UTC)Reply

I can't speak to the state registers, but one issue with using Comlaw is there is no permalink to the current version of an Act as amended, each revision of the Act gets its own permalink. Bryceroney (talk) 11:49, 28 May 2020 (UTC)Reply
Maybe all the legislation is in those registers, but quite often one will elude me and then "austlii is your friend"; and I endorse Bryce's comment. SCHolar44 🇦🇺 💬  at 04:43, 10 July 2020 (UTC)Reply

Getting the format right if the template fails edit

The template failed again when I tried to get it to output a plain-and-simple linked footnote reference. I ended up coding manually to get the required format, namely:

  • Act in italics
  • jurisdiction in roman
  • a link to Austlii or jurisdiction register via a box-and-arrow icon.

This is not difficult. Two complications arise, but they are easily overcome.

1. Remove the superfluous number from the footnote

By default, an unwanted number in square brackets ([1]) will appear at the end of the footnote, as in Reference no. 1 below.

A little trick easily removes it. In Edit view, immediately after the URL (i.e., before the closing square bracket) add a space followed by a non-breaking space:

 


2. Make space to clear italics in the body text

If the Act's title is included in the body of the article, italicising may cause the last character (in the enactment year) to impinge on the footnote number that follows it, as in:

... blah blah. The Port Augusta and Northern Railway Act 1862[2] was assented to on 18th December.

This can be countered by adding a space after the last character:

... blah blah. The Port Augusta and Northern Railway Act 1862 [3] was assented to on 18th December.


Citation for an Act not listed by Austlii

The above formatting can be applied equally to an Act that isn't listed by at Austlii; for example:

Sydney Railway Company Act 1849 [4]


Cheers, Simon. SCHolar44 🇦🇺 💬  at 13:29, 17 August 2020 (UTC)Reply


References

  1. ^ The Port Augusta and Northern Railway Act 1862 (SA) [1]
  2. ^ The Port Augusta and Northern Railway Act 1862 (SA) 
  3. ^ The Port Augusta and Northern Railway Act 1862 (SA) 
  4. ^ Sydney Railway Company Act 1849 (NSW)  

Suggestion to add 'via austlii' edit

I think it would be a good idea for this template to add "via Austlii" at the end of generated reference to indicate where the generated link goes to. What do people think of this idea and are there any uses of this template which would make this a problem? Safes007 (talk) 03:55, 9 February 2024 (UTC)Reply