Misplaced Pages

Template talk:WikiProject U.S. Roads: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 17:42, 22 December 2024 editLowercase sigmabot III (talk | contribs)Bots, Template editors2,298,178 editsm Archiving 1 discussion(s) to Template talk:WikiProject U.S. Roads/Archive 3) (bot← Previous edit Latest revision as of 08:17, 4 January 2025 edit undoHouseBlaster (talk | contribs)Edit filter managers, Administrators58,591 edits Redlinked class-rating categories: investigation; roadmap 
(2 intermediate revisions by 2 users not shown)
Line 20: Line 20:
:@]: this is probably related to all of the changes to the banner metatemplate itself to change certain classes from "... articles" to "... pages". I'm just waiting for those editors to stop changing stuff so we can figure out what needs to be done here. <span style="background:#006B54; padding:2px;">''']&nbsp;]'''</span> 21:22, 20 December 2024 (UTC) :@]: this is probably related to all of the changes to the banner metatemplate itself to change certain classes from "... articles" to "... pages". I'm just waiting for those editors to stop changing stuff so we can figure out what needs to be done here. <span style="background:#006B54; padding:2px;">''']&nbsp;]'''</span> 21:22, 20 December 2024 (UTC)
::Well, for what it's worth, as of right now the only remaining class-rating categories still showing up as redlinks at all are these and a bunch that have already been resolved and just haven't been emptied by the job queue yet, so that I'm just doing "null edit category members" runs on them to clear them out. I obviously can't predict with any certainty that there won't be more in the future, but this most recent run was the first time in several runs that the number of redlinked categories has ''shrunk'' instead of expanding, and the first time in several runs that it's this class-rating crap has been in the minority, so at least for now it's looking promising that this craziness is finally on a downswing. ] (]) 02:32, 21 December 2024 (UTC) ::Well, for what it's worth, as of right now the only remaining class-rating categories still showing up as redlinks at all are these and a bunch that have already been resolved and just haven't been emptied by the job queue yet, so that I'm just doing "null edit category members" runs on them to clear them out. I obviously can't predict with any certainty that there won't be more in the future, but this most recent run was the first time in several runs that the number of redlinked categories has ''shrunk'' instead of expanding, and the first time in several runs that it's this class-rating crap has been in the minority, so at least for now it's looking promising that this craziness is finally on a downswing. ] (]) 02:32, 21 December 2024 (UTC)
:], any ideas why this is still happening? ] and ] are two examples of file talk pages exhibiting this behavior. Best (and merry Christmas if you celebrate), <b>]]</b>&nbsp;(]&nbsp;•&nbsp;he/they) 02:03, 26 December 2024 (UTC)
::It's because this banner template has never been converted to the new version. It is still using obsolete code which is not maintained anymore. &mdash;&nbsp;Martin <small>(]&nbsp;·&nbsp;])</small> 08:32, 27 December 2024 (UTC)
{{od|::}}This is both the final use of {{t|WPBannerMeta/hooks}} and a blocker on successfully finishing ] moves, so I have done some investigation. Forgive me if this is repeated information to you; I want to make sure we are all on the same page.

WPUSRD has two types of ]s: "]" (e.g. ], ], etc.) and "types" (e.g. ], ]).

All other WikiProject banner templates handle ]s with code like {{para|taskforce|yes}}. For instance, {{para|Trail|yes}}, {{para|]|yes}}, {{para|]|yes}} to indicate a trail that spans Maine and New Hampshire. Template instead uses markup like does things like {{para|type|Trail}}. So, the trail in Maine and New Hampshire would currently be specified with {{tlx|WikiProject U.S. Roads|<nowiki>type=trail |state1=NH |state2=ME</nowiki>}}. My proposed roadmap (no pun intended) to resolving this:
# Get a working prototype of modern, {{para|trail|yes}} code working in the sandbox
# Hack together some transitory code which uses the {{para|type|trail}} syntax if given any of the old parameters, and otherwise uses the new version
# Enlist {{np|Cewbot}} (or another suitable bot, but it is probably best to use the one which is already ]) to do the conversion
Thoughts? Things I am missing? Courtesy pings to {{yo|Bearcat|MSGJ|Kanashimi|p=}}, and I will drop a note at ]. Best, <b>]]</b>&nbsp;(]&nbsp;•&nbsp;he/they) 08:17, 4 January 2025 (UTC)

Latest revision as of 08:17, 4 January 2025

This is the talk page for discussing improvements to the WikiProject U.S. Roads template.
Archives: 1, 2, 3Auto-archiving period: 14 days 
This template does not require a rating on Misplaced Pages's content assessment scale.
It is of interest to the following WikiProjects:
WikiProject iconU.S. Roads
WikiProject iconThis template 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.U.S. RoadsWikipedia:WikiProject U.S. RoadsTemplate:WikiProject U.S. RoadsU.S. road transport
Note icon
This article may or may not have a map. Please check, then add |needs-map= to this template accordingly.
Note icon
This article may or may not contain a junction list. Please check, then add |needs-jctint= to this template accordingly.
 

Redlinked class-rating categories

As of the most recent run of Special:WantedCategories, there are three redlinked class-rating categories being generated by this template:

So could somebody associated with this project please either create these categories if they're actually wanted, or figure out how to kibosh them if they're not? Thanks. Bearcat (talk) 19:19, 20 December 2024 (UTC)

@Bearcat: this is probably related to all of the changes to the banner metatemplate itself to change certain classes from "... articles" to "... pages". I'm just waiting for those editors to stop changing stuff so we can figure out what needs to be done here. Imzadi 1979  21:22, 20 December 2024 (UTC)
Well, for what it's worth, as of right now the only remaining class-rating categories still showing up as redlinks at all are these and a bunch that have already been resolved and just haven't been emptied by the job queue yet, so that I'm just doing "null edit category members" runs on them to clear them out. I obviously can't predict with any certainty that there won't be more in the future, but this most recent run was the first time in several runs that the number of redlinked categories has shrunk instead of expanding, and the first time in several runs that it's this class-rating crap has been in the minority, so at least for now it's looking promising that this craziness is finally on a downswing. Bearcat (talk) 02:32, 21 December 2024 (UTC)
MSGJ, any ideas why this is still happening? File talk:Jane M. Byrne Interchange Traffic.webm and File talk:Bixby Creek Bridge, California, USA - May 2013.jpg are two examples of file talk pages exhibiting this behavior. Best (and merry Christmas if you celebrate), HouseBlaster (talk • he/they) 02:03, 26 December 2024 (UTC)
It's because this banner template has never been converted to the new version. It is still using obsolete code which is not maintained anymore. — Martin (MSGJ · talk) 08:32, 27 December 2024 (UTC)

This is both the final use of {{WPBannerMeta/hooks}} and a blocker on successfully finishing the current article->page moves, so I have done some investigation. Forgive me if this is repeated information to you; I want to make sure we are all on the same page.

WPUSRD has two types of WP:TASKFORCEs: "states" (e.g. Maine, New Hampshire, etc.) and "types" (e.g. Trail, Junction).

All other WikiProject banner templates handle WP:TASKFORCEs with code like |taskforce=yes. For instance, |Trail=yes, |ME=yes, |NH=yes to indicate a trail that spans Maine and New Hampshire. Template instead uses markup like does things like |type=Trail. So, the trail in Maine and New Hampshire would currently be specified with {{WikiProject U.S. Roads|type=trail |state1=NH |state2=ME}}. My proposed roadmap (no pun intended) to resolving this:

  1. Get a working prototype of modern, |trail=yes code working in the sandbox
  2. Hack together some transitory code which uses the |type=trail syntax if given any of the old parameters, and otherwise uses the new version
  3. Enlist Cewbot (or another suitable bot, but it is probably best to use the one which is already doing similar tasks) to do the conversion

Thoughts? Things I am missing? Courtesy pings to @Bearcat, MSGJ, and Kanashimi, and I will drop a note at Misplaced Pages talk:WikiProject U.S. Roads. Best, HouseBlaster (talk • he/they) 08:17, 4 January 2025 (UTC)

Categories: