Template talk:Cite Rowlett

Other links
Rowlett links used on wikipedia which are not covered by this template: --Muhandes (talk) 12:07, 5 August 2010 (UTC)
 * 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
 * these links are all dead. Do you know the new address, or have they all been updated already? &mdash; Martin (MSGJ · talk) 05:50, 19 March 2021 (UTC)
 * , 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)

--Best regards, Keysanger (what?) 11:05, 6 September 2013 (UTC)
 * http://www.unc.edu/~rowlett/lighthouse/chlp.htm Done.

Bot request
I have made a request at Bot requests for the dead UNC links to be replaced with this template. If there are any others that should be replaced, please post there. &mdash; 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

-- Green  C  23:45, 27 May 2021 (UTC)

Bot results
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. -- Green  C  00:43, 6 June 2021 (UTC)
 * Moved 915 square-link URLs to new site. Example.
 * Converted 582 CS templates to . Example, Example.
 * Converted 861 square-links to . Example, Example.
 * Add to template 64 sites. Diff.
 * 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. --  Green  C  16:21, 7 June 2021 (UTC)
 * I managed to manually convert about 200, the rest are not worth it. I think this is ✅. --Muhandes (talk) 18:36, 26 June 2021 (UTC)
 * Awesome. --  Green  C  04:14, 27 June 2021 (UTC)

Template breaking
The template breaks with an unknown argument in |1=


 * produces

The problem: the tracking category is a wiki-link (ie.  which the template adds to title field (?)which conflicts with the url field, which causes CS1|2 to throw an error.   --  Green  C  06:38, 27 May 2021 (UTC)
 * 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: 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 to  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. --  Green  C  15:41, 27 May 2021 (UTC)
 * 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 or, 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 . 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. --  Green  C  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? --  Green  C  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)

The bot ran and unfortunately the tracking category lit up with problems: Category:Articles using Cite rowlett template with invalid page designation -- Green  C  00:19, 28 May 2021 (UTC)
 * Some codes don't exist in the template. -- Green  C  00:29, 28 May 2021 (UTC)
 * Template updated. Tracking will clear in time. -- Green  C  01:57, 28 May 2021 (UTC)

space in first argument causes error
Example broken: Fixed: Is that expected? Found one case in an article, maybe others. -- Green  C  06:08, 5 June 2021 (UTC)
 * I suppose we can (and probably should) add a trim. --Muhandes (talk) 10:27, 7 June 2021 (UTC) ✅ --Muhandes (talk) 10:55, 7 June 2021 (UTC)
 * Yep. -- Green  C  19:55, 7 June 2021 (UTC)

phls doesn't work
produces a dead link: &mdash; Martin (MSGJ · talk) 17:01, 3 October 2021 (UTC)
 * 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 . 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
is not recognised &mdash; Martin (MSGJ · talk) 11:30, 21 October 2021 (UTC)
 * ✅ I updated the Norway pages, including . 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! &mdash; Martin (MSGJ · talk) 14:58, 21 October 2021 (UTC)

Revert
@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 &mdash; 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&uArr;  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? &mdash; 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&uArr;  22:31, 19 March 2023 (UTC)

Wikidata
I have updated the template so it will use when it is available. In this case you could use this template without any parameters. Please let me know if you see anything untoward &mdash; 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. --  Green  C  21:55, 5 June 2023 (UTC)