Template talk:Cite Rowlett
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Other links
editRowlett links used on wikipedia which are not covered by this template:
- http://www.unc.edu/~rowlett/lighthouse/types/buttressed.htm
- http://www.unc.edu/~rowlett/lighthouse/types/earlyintegral.htm
- http://www.unc.edu/~rowlett/lighthouse/types/oldest.html
- http://www.unc.edu/~rowlett/lighthouse/photos/SouthAmerica/Guafo/Guafo.htm
- http://www.unc.edu/~rowlett/lighthouse/photos/Caribbean/HamsBluff.htm
- http://www.unc.edu/~rowlett/lighthouse/photos/GreatLakes/Manitowoc_lenses.htm
- http://www.unc.edu/~rowlett/lighthouse/resources/moz/index.htm
- http://www.unc.edu/~rowlett/lighthouse/types/floridakeys.htm
- http://www.unc.edu/~rowlett/lighthouse/photos/Canada/Manitoba/WarrenLanding.htm
- http://www.unc.edu/~rowlett/lighthouse/types/oldstylebrick.html
--Muhandes (talk) 12:07, 5 August 2010 (UTC)
- @Muhandes: these links are all dead. Do you know the new address, or have they all been updated already? — Martin (MSGJ · talk) 05:50, 19 March 2021 (UTC)
- MSGJ, Rowlett keeps checking and revising his articles, so the latest version is preferable over an archived one I think. The pages are mostly (but not always) where you would expect the, to be:
- http://www.unc.edu/~rowlett/lighthouse/types/buttressed.htm → https://www.ibiblio.org/lighthouse/types/Canada/buttressed.htm
- http://www.unc.edu/~rowlett/lighthouse/types/earlyintegral.htm → http://www.ibiblio.org/lighthouse/types/earlyintegral.htm
- http://www.unc.edu/~rowlett/lighthouse/types/oldest.html → http://www.ibiblio.org/lighthouse/types/oldest.html
- http://www.unc.edu/~rowlett/lighthouse/photos/SouthAmerica/Guafo/Guafo.htm → https://www.ibiblio.org/lighthouse/photos/SouthAmerica/Guafo/Guafo.htm
- http://www.unc.edu/~rowlett/lighthouse/photos/Caribbean/HamsBluff.htm → https://www.ibiblio.org/lighthouse/photos/Caribbean/HamsBluff.htm
- http://www.unc.edu/~rowlett/lighthouse/photos/GreatLakes/Manitowoc_lenses.htm → https://www.ibiblio.org/lighthouse/photos/GreatLakes/Manitowoc_lenses.htm
- http://www.unc.edu/~rowlett/lighthouse/resources/moz/index.htm → https://www.ibiblio.org/lighthouse/resources/moz/index.htm
- http://www.unc.edu/~rowlett/lighthouse/types/floridakeys.htm → was at http://www.ibiblio.org/lighthouse/types/floridakeys.htm, but now archived at https://web.archive.org/web/20200622105152/http://www.ibiblio.org/lighthouse/types/floridakeys.htm
- http://www.unc.edu/~rowlett/lighthouse/photos/Canada/Manitoba/WarrenLanding.htm → https://www.ibiblio.org/lighthouse/photos/Canada/Manitoba/WarrenLanding.htm
- http://www.unc.edu/~rowlett/lighthouse/types/oldstylebrick.html → http://www.ibiblio.org/lighthouse/types/oldstylebrick.html
- I hope this helps. Muhandes (talk) 10:18, 19 March 2021 (UTC)
- MSGJ, Rowlett keeps checking and revising his articles, so the latest version is preferable over an archived one I think. The pages are mostly (but not always) where you would expect the, to be:
- @Muhandes: these links are all dead. Do you know the new address, or have they all been updated already? — Martin (MSGJ · talk) 05:50, 19 March 2021 (UTC)
--Best regards, Keysanger (what?) 11:05, 6 September 2013 (UTC)
Bot request
editI have made a request at Wikipedia:Bot requests#Replace dead links for the dead UNC links to be replaced with this template. If there are any others that should be replaced, please post there. — Martin (MSGJ · talk) 05:52, 19 March 2021 (UTC)
The bot was unable to convert these, require manual attention:
- Biscayne National Park http://www.unc.edu/~rowlett/lighthouse/types/floridakeys.htm path wrong
- Caisson lighthouse https://www.unc.edu/~rowlett/lighthouse/types/sparkplugs.html path wrong
- Belle Isle Northeast Light http://www.unc.edu/~rowlett/lighthouse/types/buttressed.htm path wrong
- Japanese Lighthouse (Garapan, Saipan) http://www.unc.edu/~rowlett/lighthouse/photos/Pacific/Garapan.htm path wrong
- List of lighthouses in the United States territories https://www.unc.edu/~rowlett/lighthouse/photos/Caribbean/BuckIsland/BuckIsland.htm path wrong
- List of lighthouses in the United States territories https://www.unc.edu/~rowlett/lighthouse/photos/Caribbean/HamsBluff.htm path wrong
- List of lighthouses in the United States territories https://www.unc.edu/~rowlett/lighthouse/photos/Pacific/Garapan.htm path wrong
- Niassa Company http://www.unc.edu/~rowlett/lighthouse/resources/moz/index.htm path wrong
- Unmanned reef lights of the Florida Keys http://www.unc.edu/~rowlett/lighthouse/types/floridakeys.htm path wrong
- List of lighthouses in Virginia http://www.unc.edu/~rowlett/lighthouse/photos/AtlanticUS/CapeCharles.htm path wrong
- Ediz Hook Light http://www.unc.edu/~rowlett/lighthouse/photos/EdizHook.htm path wrong
- Point Bolivar Light https://www.unc.edu/~rowlett/lighthouse/types/earlyiron.html path wrong
- Abisha Woodward http://www.unc.edu/~rowlett/lighthouse/types/octagonals.html path wrong
- Nida Lighthouse https://www.unc.edu/~rowlett/lighthouse/photos/Lithuania.htm path wrong
- Henry R. Hazlehurst https://www.unc.edu/~rowlett/lighthouse/types/earlyiron.html path wrong
-- GreenC 23:45, 27 May 2021 (UTC)
Bot results
edit- Moved 915 square-link URLs to new site. Example.
- Converted 582 CS templates to
{{cite rowlett}}
. Example, Example. - Converted 861 square-links to
{{cite rowlett}}
. Example, Example. - Add to template 64 sites. Diff.
Total 1,443 new instances of the template, more than doubling the number in use. Remaining around 200 www.ibiblio.org URLs that might be convertible manually. -- GreenC 00:43, 6 June 2021 (UTC)
- @GreenC: From a random sample of 3, most of of these are manually convertible. I added the list to my TDL and I will chew on it from time to time. Thanks! --Muhandes (talk) 11:49, 7 June 2021 (UTC)
- Muhandes: Excellent! If come across repeating patterns (by the same user cutting and pasting) let me know and I can run the bot, though it takes some work to generate a regex. Also the template now supports
|archive-url=
,|archive-date=
and|url-status=
. -- GreenC 16:21, 7 June 2021 (UTC)- I managed to manually convert about 200, the rest are not worth it. I think this is Done. --Muhandes (talk) 18:36, 26 June 2021 (UTC)
- Awesome. -- GreenC 04:14, 27 June 2021 (UTC)
- I managed to manually convert about 200, the rest are not worth it. I think this is Done. --Muhandes (talk) 18:36, 26 June 2021 (UTC)
- Muhandes: Excellent! If come across repeating patterns (by the same user cutting and pasting) let me know and I can run the bot, though it takes some work to generate a regex. Also the template now supports
Template breaking
editThe template breaks with an unknown argument in |1=
{{cite rowlett|foo}}
produces- Rowlett, Russ. "Lighthouses of". The Lighthouse Directory. University of North Carolina at Chapel Hill.
The problem: the tracking category is a wiki-link (ie. [[Category:...]]
which the template adds to |title=
field (?)which conflicts with the |url=
field, which causes CS1|2 to throw an error. -- GreenC 06:38, 27 May 2021 (UTC)
- @GreenC: Please educate me. We should not have a single such occurrence in the main space, so why is that a problem? Is it the single CS error in the doc? --Muhandes (talk) 06:53, 27 May 2021 (UTC)
- "Fixed" in the sandbox by removing wikilinks from the error message: Rowlett, Russ. "Lighthouses of". The Lighthouse Directory. University of North Carolina at Chapel Hill. A disadvantage of this change is such errors will no longer be tracked by any error category, as far as I can tell. That may not, overall, be an improvement. It may be better to document this strange error condition in the documentation for this template. I think that code outside of
|title=
would be needed for true categorization. – Jonesey95 (talk) 14:57, 27 May 2021 (UTC)- Thank you, Jonesy, removing the tracking is one way. The problem is I am about to run a bot that converts more than a four hundred
{{cite web}}
to{{cite rowlett}}
and while it should go smoothly, one never knows what data exists and it may end up converting some that throw an error, so a tracking cat would be useful. However, looking at the source it is pretty awkward. Would be trivial in Lua. -- GreenC 15:41, 27 May 2021 (UTC)- @GreenC: If this is what you need, and as awkward as this may seem, we can also just test for all valid designations and categorize when not. We can do this as a temporary measure for your bot run, or keep it as standard. I did that in the sandbox and can go live if you wish. --Muhandes (talk) 16:02, 27 May 2021 (UTC)
- If there were any instances of {{cite web}} with unnamed parameters, they would be in Category:CS1 errors: unrecognized parameter or Category:CS1 errors: empty unknown parameters, which have only a couple hundred articles total. I wouldn't worry about it. It is better for a bunch of new stuff to appear in a CS1 category, even if the error messages are strange, so that we can get it fixed quickly. If you post here when you are done with the run, I'll be happy to look for errors. – Jonesey95 (talk) 16:07, 27 May 2021 (UTC)
- The parameter would be unsupported such
{{cite rowlett|foo}}
. Come to think of I suppose my bot could just check the list and log any problems before making the conversion. Muhandes created a pipe-separated list that can be copy-pasted to make a regex statement. -- GreenC 16:15, 27 May 2021 (UTC) - Regardless of my bot work, we should permanently install the version ("version MJ") by Muhandes which includes code by Jonesey as it solves the problem of an erroneous error message and adds a tracking category. If it's too much code, the version ("version J") by Jonesey so the error message displays correctly but without a tracking category. Any objections to the MJ or J versions? @Muhandes and Jonesey95: -- GreenC 18:48, 27 May 2021 (UTC)
- I have implemented the sandbox version with a few tweaks, including putting the error check at its normal place at the end of the template, and adjusting the tracking category name to better match similar category names. – Jonesey95 (talk) 19:01, 27 May 2021 (UTC)
- Well done. --Muhandes (talk) 21:59, 27 May 2021 (UTC)
- I have implemented the sandbox version with a few tweaks, including putting the error check at its normal place at the end of the template, and adjusting the tracking category name to better match similar category names. – Jonesey95 (talk) 19:01, 27 May 2021 (UTC)
- The parameter would be unsupported such
- If there were any instances of {{cite web}} with unnamed parameters, they would be in Category:CS1 errors: unrecognized parameter or Category:CS1 errors: empty unknown parameters, which have only a couple hundred articles total. I wouldn't worry about it. It is better for a bunch of new stuff to appear in a CS1 category, even if the error messages are strange, so that we can get it fixed quickly. If you post here when you are done with the run, I'll be happy to look for errors. – Jonesey95 (talk) 16:07, 27 May 2021 (UTC)
- @GreenC: If this is what you need, and as awkward as this may seem, we can also just test for all valid designations and categorize when not. We can do this as a temporary measure for your bot run, or keep it as standard. I did that in the sandbox and can go live if you wish. --Muhandes (talk) 16:02, 27 May 2021 (UTC)
- Thank you, Jonesy, removing the tracking is one way. The problem is I am about to run a bot that converts more than a four hundred
- "Fixed" in the sandbox by removing wikilinks from the error message: Rowlett, Russ. "Lighthouses of". The Lighthouse Directory. University of North Carolina at Chapel Hill. A disadvantage of this change is such errors will no longer be tracked by any error category, as far as I can tell. That may not, overall, be an improvement. It may be better to document this strange error condition in the documentation for this template. I think that code outside of
The bot ran and unfortunately the tracking category lit up with problems: Category:Articles using Cite rowlett template with invalid page designation -- GreenC 00:19, 28 May 2021 (UTC)
- Some codes don't exist in the template. -- GreenC 00:29, 28 May 2021 (UTC)
- Template updated. Tracking will clear in time. -- GreenC 01:57, 28 May 2021 (UTC)
space in first argument causes error
editExample broken:
- Rowlett, Russ. "Lighthouses of South Korea: Gangneung Area (Southern Gangwon)". The Lighthouse Directory. University of North Carolina at Chapel Hill. Retrieved 2017-01-01.
Fixed:
- Rowlett, Russ. "Lighthouses of South Korea: Gangneung Area (Southern Gangwon)". The Lighthouse Directory. University of North Carolina at Chapel Hill. Retrieved 2017-01-01.
Is that expected? Found one case in an article, maybe others. -- GreenC 06:08, 5 June 2021 (UTC)
- I suppose we can (and probably should) add a {{trim}}. --Muhandes (talk) 10:27, 7 June 2021 (UTC) Done --Muhandes (talk) 10:55, 7 June 2021 (UTC)
- Yep. -- GreenC 19:55, 7 June 2021 (UTC)
phls doesn't work
edit{{cite rowlett|phls}}
produces a dead link:
- Rowlett, Russ. "Lighthouses of". The Lighthouse Directory. University of North Carolina at Chapel Hill.
— Martin (MSGJ · talk) 17:01, 3 October 2021 (UTC)
- @MSGJ: That's because it no longer exists, it was split in December 2020 into two pages, Cebu and Bohol and Siquijor. In fact, the entire Philippines area was redone. Fixing the phls one is easy, I'll just remove it and all pages using it will appear in Category:Articles using Cite rowlett template with invalid page designation (0). Fixing the other ones is more difficult and needs to be done by hunting all the Philippines area lighthouses for references. --Muhandes (talk) 17:43, 3 October 2021 (UTC)
nornw1a
edit{{cite rowlett|nornw1a}}
is not recognised — Martin (MSGJ · talk) 11:30, 21 October 2021 (UTC)
- @MSGJ: Done I updated the Norway pages, including Rowlett, Russ. "Lighthouses of Norway: Central Trøndelag". The Lighthouse Directory. University of North Carolina at Chapel Hill.. As always, the articles using these pages may need editing, but that is a whole different project. --Muhandes (talk) 13:21, 21 October 2021 (UTC)
- Thanks! — Martin (MSGJ · talk) 14:58, 21 October 2021 (UTC)
Revert
edit@Gilo1969: please can you explain your edit on this template? I don't think "fix citation with wikilink embedded in URL title" is accurate. Thanks — Martin (MSGJ · talk) 20:09, 19 March 2023 (UTC)
- The previous edit introduced an error message which resulted in about 260 pages using the Cite Rowlett template showing the CS1 errors: URL–wikilink conflict error. As far as I could make out from the error message the P11627 parameter being called does not exist, at least on those pages. Regards, GILO A&E⇑ 20:26, 19 March 2023 (UTC)
- Thanks, I'll check it out. Don't suppose you can give me an example of one of those pages? — Martin (MSGJ · talk) 21:26, 19 March 2023 (UTC)
- Unfortunately not - the majority of the affected pages were from the "List of lighthouses in..." series. It may be easiest to redo the change and then check Category:CS1 errors: URL–wikilink conflict for pages showing the error. GILO A&E⇑ 22:31, 19 March 2023 (UTC)
- Thanks, I'll check it out. Don't suppose you can give me an example of one of those pages? — Martin (MSGJ · talk) 21:26, 19 March 2023 (UTC)
Wikidata
editI have updated the template so it will use Lighthouse Directory page (P11627) when it is available. In this case you could use this template without any parameters. Please let me know if you see anything untoward — Martin (MSGJ · talk) 09:30, 5 June 2023 (UTC)
- IMO Wikidata is prone to vandalism and other data integrity problems. We put a lot of work into maintaining and watching the data here is reliable. It's not that hard to use the template as originally designed with the lighthouse code. I'd rather see it use Wikidata only if the template instance has no parameters, and not be the default to always use Wikidata. -- GreenC 21:55, 5 June 2023 (UTC)