Wikipedia talk:WikiProject U.S. Roads

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject U.S. Roads (Rated Project-class)
U.S. Roads WikiProject icon This page is within the scope of the U.S. Roads WikiProject, an attempt to build a comprehensive and detailed guide to state highways and other major roads in the United States. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
 Project  This article has been rated as Project-Class on the quality scale.

Module:Jctint/USA[edit]

The most recent version of jctint templates for US states did mainly the following:

  • Assign the state name to |region=.
  • Pass through a parameter to Template:Jctint/core.
  • Rename a parameter to a core parameter.
  • Build a string for a _special parameter that shares the same structure across these templates, only to differ in the state name.

The approach above has several drawbacks:

  • A parameter available in the core module not exposed by these templates becomes unavailable. Parameter additions in the core module do not propagate to these templates automatically.
  • A lot of duplicate template code is difficult to maintain.
  • These templates can only diverge from one another over time. Template users will have to memorize multiple usage when the interface for these templates could have been uniform.

For the past few days, I have converted most of these templates to use Module:Jctint/USA to eliminate the drawbacks above. You might not have seen any observable changes to articles, because you shouldn't! I am happy to report that the module now handles jctint templates for 40 out of the lower 48 states.

Before I can go into what prevents the templates for the remaining 8 states from being converted, I need to go into some technical details about how |sub2_special= was implemented for most states.

|location_special= is used by default. Certain templates permitted multiple locations to be specified as |location1= through |location4=. These parameters are concatenated as a list of wikilinks that is passed to the core module as |sub2_special=. Other templates did the same, but with townships instead of locations (see Interstate 70 in Ohio). The module handles both: |sub2param=township is used in the latter case; location is the default.

Now, why the templates for 8 states haven't been converted:

  • State name is not the correct article link (GA and WA): Road data modules should handle this.
  • Different |sub1name= (LA): Road data modules should handle this.
  • Special handling for |indep_city= (CA, CO, and MD): Road data modules should handle this.
  • Cascading |sub2_special= (MN): A list of both townships and locations are permitted, but the module doesn't support cascading yet, though it can easily be done.
  • |town= (WI): It appears that town articles are not named consistently, e.g., Bristol, Dane County, Wisconsin vs Bristol (town), Kenosha County, Wisconsin. So, I could not decide which one to use.

For more details about handling by road data modules, see Template talk:Jcttop/core#sub1name order for an idea, and Module:Road data/strings/USA/NH for an example. This is a longer-term transition, but I would like to avoid adding a boilerplate in the module when this transition is anticipated. See also Template talk:Jct#Inheritance and overriding in road data modules.

During the conversion, I noticed a beginning of divergence in some of the templates. While most states use |mile_ref=, some use |length_ref=. Specifically, templates for AL, FL, OH, OR, and TX. This parameter should be deprecated and renamed to |mile_ref=.

The module opens up other opportunities for uniformly customizing parameters for US junctions, e.g., cascading (above) and support for a list of cities. Additional customizations will not be implemented until there is evidence that they are useful for multiple states.

The templates are still fully backward compatible with the previous version, but the module might have added new features, e.g., list of locations, to some states' templates. These features have already been used in several other states' templates. I hope it is okay for every state's template to have the same leverage.

Of course, if you see any undesirable, observable changes, I will appreciate your report so I can troubleshoot. Constructive comments will also be appreciated. Chinissai (talk) 15:45, 17 May 2016 (UTC)

Illinois has a mix of townships and precincts. There is no pattern that I can tell for which county uses which subdivision. –Fredddie 16:45, 17 May 2016 (UTC)
Interesting. I didn't see any use of precincts in jctint as a separate parameter, so I was able to convert {{ILint}} without trouble. The module should be able to support future customization for precincts, though, perhaps by using switch tables in road data modules. Chinissai (talk) 17:08, 17 May 2016 (UTC)
California has the funny postmiles stuff - is this properly supported? --Rschen7754 18:20, 17 May 2016 (UTC)
Yes, any "funny" parameters can be overridden by passing them to the module. See Template:ORint for example. It's only San Francisco that prevents me from converting CAint. Chinissai (talk) 18:46, 17 May 2016 (UTC)
On a side note, North Carolina has townships, but most, if not all, of the links don't exist, even as redirects. Charlotte Allison (Morriswa) (talk) 21:08, 17 May 2016 (UTC)

Automobile Blue Books[edit]

Free resource to download that may be of help: [1] --Rschen7754 18:14, 2 August 2016 (UTC)

Indiana State Road 931 northern segment north end dispute[edit]

See the talk pages of the article and of mine. Mapsax (talk) 02:31, 4 August 2016 (UTC)

Please See - Submissions[edit]

https://wikiconference.org/wiki/Submissions
--RightCowLeftCoast (talk) 00:44, 6 August 2016 (UTC)

Canadian border[edit]

An editor has been changing the piped text for Canada–United States border article from Canadian border to Canada–US border. See this for an example. A discussion at Talk:Canada–United States border#Usage of Canada-United States border in Wikipedia was made, but there seemed to be no consensus about what to be used. I think in USRD articles, US is already clear from the context. Seeking for opinions and perhaps consensus here, at least for USRD articles. Chinissai (talk) 20:31, 16 August 2016 (UTC)

  • Depends on the context where the text appears. In that I-81 article the context should be clear that the Canadian border is the Canada–US border. -Fnlayson (talk) 20:38, 16 August 2016 (UTC)
  • As I've noted with the same editor in the past, if the context is clear, "Canadian border" is sufficient for the displayed text in the article. This editor was told as much weeks ago, so feel free to revert as appropriate. Imzadi 1979  21:45, 16 August 2016 (UTC)

Control cities list[edit]

If anyone is looking for an official source for control cities, here it is: [2]. I'm told that it is a bit dated though. --Rschen7754 20:07, 20 August 2016 (UTC)

Alabama State Route 267[edit]

Bringing the recent move of Alabama State Route 267 to Alabama State Route 267 (former state route) to your attention. In particular:

  1. Should this move have occurred? No references provided re decommissioning. But either way, the infobox and article should be made consistent.
  2. Should former routes have a disambiguation term added if there's nothing to disambiguate them from? (i.e. no current or other old routes with the same number)
  3. Is there any naming convention (or project standard etc) for disambiguating former routes? I'm pretty sure I've seen some using "(year–year)"

(pinging page mover @CC21560:) - Evad37 [talk] 09:40, 22 August 2016 (UTC)

Unless the designation has been reused elsewhere, no page move was necessary nor desirable. On that basis, I'd say it should be moved back, without a redirect. As for the article content, that needs to be fixed to bring things into harmony, along with other related and unsourced changes to Alabama State Route 147 and the List of state highways in Alabama. The purported decommissioning of SR 267 and realignment of SR 147, if correct, need citations. Imzadi 1979  09:48, 22 August 2016 (UTC)
If it's the only SR 267 that ever existed in Alabama, then it should not be disambiguated, Otherwise, I would use Alabama State Route 267 (former) for the title. Dough4872 15:12, 22 August 2016 (UTC)
The (former) disambiguator is not desirable when we can use dates (see: Iowa Highway 23, Iowa Highway 23 (1969–1997), and Iowa Highway 23 (1926–1968)). We just need to do a little bit of research. –Fredddie 22:08, 22 August 2016 (UTC)
Yes, dates are also a good option, especially if a former route was used multiple times. Dough4872 22:46, 22 August 2016 (UTC)
I agree; avoiding unnecessary disambiguation in article titles is ideal. If there is no other SR 267 from which to disambiguate this route, this article should be moved back to its original location. --Kinu t/c 16:27, 22 August 2016 (UTC)

Discussion at Template talk:Attached KML#Proposal: Use Wikidata and new module[edit]

You are invited to join the discussion at Template talk:Attached KML#Proposal: Use Wikidata and new module. Evad37 [talk] 12:37, 24 August 2016 (UTC)