Template talk:Cite Legislation AU

Capital letter suffixes
The link to AustLII breaks on "capital letter" sections, for example . AustLII expects the URL to end in. 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)
 * Fixed by using the lc parser function Alex Sims (talk) 10:38, 19 October 2015 (UTC)

does it work for numbered acts not consolidated?
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)
 * 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)

Short name is repeated in URL
I'm trying to cite http://www.austlii.edu.au/au/legis/wa/num_act/bdamr45vn9439/bdamr45vn9439.html with  which results in:  — the URL is not correct. The short-name needs to be repeated at the end, with. 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)

changed again
a plain link to dbha1906211 now goes to dbha1906n53238 - how to fix ?? Dave Rave (talk) 08:51, 27 July 2018 (UTC)
 * 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?
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.  Civil Remedies for Serious Invasions of Privacy Bill 2020). ItsPugle (talk) 10:21, 24 May 2020 (UTC)


 * 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)


 * 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 🇦🇺 &#128172; at 04:43, 10 July 2020 (UTC)

Getting the format right if the template fails
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: This is not difficult. Two complications arise, but they are easily overcome.
 * Act in italics
 * jurisdiction in roman
 * a link to Austlii or jurisdiction register via a box-and-arrow icon.

By default, an unwanted number in square brackets (undefined) will appear at the end of the footnote, as in Reference no. 1 below.
 * 1. Remove the superfluous number from the footnote

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:



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:
 * 2. Make space to clear italics in the body text


 * ... blah blah. The Port Augusta and Northern Railway Act 1862 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 was assented to on 18th December.

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


 * Sydney Railway Company Act 1849

Cheers, Simon. SCHolar44 🇦🇺 &#128172; at 13:29, 17 August 2020 (UTC)

 

Suggestion to add 'via austlii'
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)