Template talk:USCongRec
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||
|
Updated from Wikisource
[edit]Updated with s:Template:USCongRec. — Cirt (talk) 01:37, 28 March 2012 (UTC)
Links not working (GPO reorganization, I think)
[edit]I used
{{USCongRec|2001|S4773|date=May 9, 2001}}
which generates
- 2001 Congressional Record, Vol. 147, Page S4773 (May 9, 2001)
. As you can see, the link generated, https://www.gpo.gov/fdsys/delivery/getpage.action?dbname=2001_record&position=all&page=S4773
, does not work. The URL operands don't seem to have any effect; they get dropped and the link redirects goes to the govinfo.gov home page page, https://www.govinfo.gov/
. Looks like the GPO changed up some stuff. Any chance of getting this to work again?
I manually modified to go to https://www.govinfo.gov/content/pkg/CREC-2001-05-09/pdf/CREC-2001-05-09-senate.pdf
, the PDF that contains the desired page. TJRC (talk) 20:13, 14 June 2019 (UTC)
- It looks like the Congressional Record has been transferred to
www.congress.gov
. The template should be able to be edited to fix the issue, but I'm not entirely sure how. - Presidentman talk · contribs (Talkback) 15:50, 27 August 2019 (UTC)- Upon further inspection, the new site has split the Record into separate sections for the House and Senate, so a new parameter will have to be added in order for the link to work. I should be able to do so, but it will disrupt all the transclusions, which would require an extensive period of correction I may not have time for. - Presidentman talk · contribs (Talkback) 16:07, 27 August 2019 (UTC)
- P.S. I am notifying editors of WP Congress about this issue. Presidentman talk · contribs (Talkback) 16:14, 27 August 2019 (UTC)
- Upon further inspection, the new site has split the Record into separate sections for the House and Senate, so a new parameter will have to be added in order for the link to work. I should be able to do so, but it will disrupt all the transclusions, which would require an extensive period of correction I may not have time for. - Presidentman talk · contribs (Talkback) 16:07, 27 August 2019 (UTC)
- I think the GPO govinfo Link Service might be a good solution. E.g. https://www.govinfo.gov/link/crec/147/s/4773 for the example given. int21h (talk · contribs · email) 19:21, 6 June 2020 (UTC)
- I've updated the sandbox, please review.
{{USCongRec/sandbox|2001|S4773|date=May 9, 2001}}
- 2001 Congressional Record, Vol. 147, Page S4773 (May 9, 2001)
- int21h (talk · contribs · email) 19:42, 6 June 2020 (UTC)
- I've gone ahead and implemented this because Template:USCongRec/testcases show the template was broken and the sandbox changes were working. int21h (talk · contribs · email) 21:56, 6 June 2020 (UTC)
Template not working for year<1995
[edit]Hi, as noticed with today's featured article's 1920 and 1921 CR references, older uses of this template fail - e.g. {{USCongRec|1995|H1}}
(1995 Congressional Record, Vol. 141, Page H1 ) works fine, but {{USCongRec|1994|H1}}
(1994 Congressional Record, Vol. 140, Page H1 ) results in a Govinfo Link Service Error page. Thanks, 66.30.12.132 (talk) 13:57, 8 January 2022 (UTC)
- Looking at [1], it looks like the GPO no longer maintains directly linked CR volumes prior to volume 141.
- An unsatisfactory workaround might be to link pre-volume 141 requests to the PDF of the CR volume in its entirety; but I'm not sure how to correlate a particular requested year to a particular PDF such as this or this. Neither target is very good; they are 708 and 710 pages, respectively. TJRC (talk) 21:16, 8 January 2022 (UTC)
- I couldn't find an automated way to derive specific targets either - it required tedious manual effort. For now, I suggest adding a year check with warning, so editors can start fixing them manually, along with a new template parameter to allow URL overriding? 66.30.12.132 (talk) 15:38, 9 January 2022 (UTC)
- Dang. I was wondering why it conked out on me. I'm planning to insert it as usual but tag on some free text after it that shows up as the link to the page itself.
- Something like this
- <ref name="example">{{USCongRec|1994|E10|date=13 June 1994}} [https://web.archive.org/web/20220809230431/https://www.govinfo.gov/content/pkg/CREC-1994-06-13/html/CREC-1994-06-13-pt1-PgE10.htm Archived]</ref>
- So it displays like this
- 1994 Congressional Record, Vol. 140, Page E10 (13 June 1994) Archived
- I wish I could help with fixing it but I haven't the faintest clue how these tools work :(. Jasonkwe (talk) (contribs) 23:28, 9 August 2022 (UTC)
- I couldn't find an automated way to derive specific targets either - it required tedious manual effort. For now, I suggest adding a year check with warning, so editors can start fixing them manually, along with a new template parameter to allow URL overriding? 66.30.12.132 (talk) 15:38, 9 January 2022 (UTC)
- Template-Class law articles
- NA-importance law articles
- WikiProject Law articles
- Template-Class United States articles
- NA-importance United States articles
- Template-Class United States articles of NA-importance
- Template-Class United States Government articles
- NA-importance United States Government articles
- WikiProject United States Government articles
- WikiProject United States articles
- Template-Class U.S. Congress articles
- NA-importance U.S. Congress articles
- Unknown-subject U.S. Congress articles