Template talk:Adjacent stations

(Redirected from Module talk:Adjacent stations)
Latest comment: 11 days ago by Jonesey95 in topic Disambiguation issues

Edit request 3 January 2023: Terminus link edit

Description of suggested change: Please check Module:Adjacent stations/sandbox (import from zh:Module:Adjacent stations/experimental by User:David Xuang). It can calling a line terminus link. Experimental usage can be seen at zh:Template:Line terminus link and zh:Template:重庆轨道交通RDT/环线. @David Xuang: Thanks again for your work! --Tim Wu (talk) 14:00, 3 January 2023 (UTC)Reply

Well I suppose that at least you need to merge local station() with p._terminus before finalizing this. p._terminusTable also includes duplicate codes as here.
Also, there has been a recent talk regarding this. Maybe ask the participants for some advices as well. David Xuang (talk) 17:00, 3 January 2023 (UTC)Reply
I've done the merging plus adding fallback to Template:S-line data. Please test my patch carefully as the main function has been touched. David Xuang (talk) 17:52, 3 January 2023 (UTC)Reply
Do we have testcases for how this would be used on an article? Cards84664 18:53, 3 January 2023 (UTC)Reply
@Cards84664 I've tried Module:Adjacent_stations/testcases but it doesn't seem to work. Will try again later. --Tim Wu (talk) 01:08, 4 January 2023 (UTC)Reply
I initially created zh:Module:Adjacent stations/experimental for use in Template:Routemaps (through-services, cross-platform interchanges), so they will sync with the changes of lines or services automatically. As for this patch, someone may want to use this in the line/station infobox or layout table (like here in the infobox) as well, and p._terminusTable is exposed so custom formatting and other extensions may be possible for specialised use in some systems. These are all the cases I could come up with. David Xuang (talk) 08:33, 4 January 2023 (UTC)Reply
@ThylacineHunter, Mackensen, and Bouzinac: Please review this patch. Regards, Tim Wu (talk) 01:04, 4 January 2023 (UTC)Reply
Back when I posted this code, I had it working on a fandom.com project (that has since been removed), and shared it as a starting point for something that was on the todo list. I remember creating it by copying the 'getStation', 'getLine' & 'getColor' functions and deciphering the code using my limited knowledge on the programming language. I am no expert in it, but I managed to get it to a point where I was able to get the desired results. I'm not too able to help as I haven't used this programing language since. -- ThylacineHunter (talk) 02:54, 4 January 2023 (UTC)Reply

@Tim Wu @David Xuang Can the type be moved to a named arg like how {{rcb}} uses? REEDriler (talk) 06:24, 4 January 2023 (UTC)Reply

In Module:Adjacent stations/sandbox lines 739 & 740... args[3] & args[4] could be swapped. -- ThylacineHunter (talk) 06:33, 4 January 2023 (UTC)Reply
If wanting type as unnamed, then leave off the "args[x] or " bit. -- ThylacineHunter (talk) 06:36, 4 January 2023 (UTC)Reply
Done. Also I removed the {{{side}}} alias as I'm not sure about its naming. Advice on how it shall be called? David Xuang (talk) 08:12, 4 January 2023 (UTC)Reply
{{{direction}}}?. -- ThylacineHunter (talk) 09:19, 4 January 2023 (UTC)Reply
Then I guess we shall also add support for forward/down (right) and backward/up (left)? David Xuang (talk) 11:57, 4 January 2023 (UTC)Reply
Module:Adjacent stations uses the terms "left terminus", "right terminus"... Are you suggesting that the whole thing needs to be remade for forward/down and backward/up??? -- ThylacineHunter (talk) 01:27, 5 January 2023 (UTC)Reply
Not the whole thing... forward/down can equate "prefix" to "right" in the beginning of func.; but then idt its needed.
Yeah, it should be easy to implement but not necessarily needed indeed. Just wondering if any system strongly prefers to use these terms instead of left/right. David Xuang (talk) 01:22, 6 January 2023 (UTC)Reply
Cant wait to update the pages 😌 REEDriler (talk) 15:54, 5 January 2023 (UTC)Reply
Me too! But I guess it would be a huge(?) work to add the support (Note: for other functions to keep the same experience. I just misunderstood Reed's reply.) for up/down terminus, and to validate the whole function. We can verify and add this small patch first. —Tim Wu (talk) 16:16, 5 January 2023 (UTC)Reply
(edit conflict) @Tim Wu So its not needed then. There are going to be diagonal lines, (coil but linear), can't comfort to all of them. Let it just support left(L), right(R)? REEDriler (talk) 16:33, 5 January 2023 (UTC)Reply

This request would likely get implemented faster if it were clear what was being requested and that everyone agreed to it. The impression I get from this discussion is that the changes to be made are still in flux, so I'm holding off using my template-editor rights until they settle down. * Pppery * it has begun... 20:12, 5 January 2023 (UTC)Reply

Yeah, maybe just use left/right, since having alias for dictionary keys can be tricky and confusing to both maintainers and users. But we still need to name the arg, as positional-only arg should not come after named args (|system=Guangzhou Metro|line=3|3=right is terrible). |direction= is currentlt live in sandbox instead of |side=, but I'm okay with either or both. David Xuang (talk) 01:34, 6 January 2023 (UTC)Reply

I personally prefer shorter named parameters for small templates (like this would be). Longer names are ok for things like infoboxes where you need to clearly define a parameter. -- ThylacineHunter (talk) 01:42, 6 January 2023 (UTC)Reply
@REEDriler @ThylacineHunter @David Xuang Hi,
1. I'm also okay with |direction= or |side= . Line 739, can we support both names? Like:
local side = mw.ustring.sub(mw.ustring.lower(args[3] or args.direction or args.side or ''), 1, 1)
2. And for |type= at line 740, I think we don't need to remove the unnamed args. Just same as p._station (line 707):
typeN = args[4] or args.type
Regards, Tim Wu (talk) 10:07, 12 January 2023 (UTC)Reply
Hi.
1. one name pls. Since all are OK with either, considering shorter names, archive mentions, even when almost all the pages will be using just pos. - |side=
2. I think its the exact [1], so any changes should reflect there as well else leave as it is. imo its good as it is now.
or how about {{ltl-R|Guangzhou Metro|3}} and {{ltl-L|Guangzhou Metro|3}} instead of {{ltl}} since using just L/R is decided? then, args[3] is utilized for type like in stl, lnl, rcr.. and |side= or |direction= won't be needed. REEDriler (talk) 14:23, 12 January 2023 (UTC)Reply
“how about {{ltl-R|Guangzhou Metro|3}} and {{ltl-L|Guangzhou Metro|3}} instead of {{ltl}} since using just L/R is decided?” I don't think this is a good idea to resolve the issue of parameter naming. You have to maintain 2 templates, and it would be very complicated for other templates that want to call it. Tim Wu (talk) 14:34, 12 January 2023 (UTC)Reply
I've renamed |direction= to |side= at line 739. Tim Wu (talk) 14:45, 13 January 2023 (UTC)Reply
I'm reopening this request as there are currently no follow up suggestions. --Tim Wu (talk) 15:57, 16 January 2023 (UTC)Reply
@Pppery @Martin Sorry for bothering. I think this patch is stable. Can it be implemented, or have to wait for a longer times to meet the policy? Regards, Tim Wu (talk) 14:27, 27 January 2023 (UTC)Reply
@Pppery, Martin, REEDriler, ThylacineHunter, David Xuang, and Cards84664: Hi all, I've added some testcases in Module_talk:Adjacent_stations/testcases, and all of them have met the expected results. Please review them. The test module can be found at Module:Adjacent stations/testcases/Test module. I think the patch is okay and ready to be implemented. Regards, Tim Wu (talk) 16:24, 28 January 2023 (UTC)Reply
Sure it meets the expected results @Tim Wu. It'll be added eventually. As they are to be held accountable for all changes they make, Its testing them, so they're a bit hesitant dw, they can't keep it hanging forever. If you like {{ltl}}, you can start using it right away as It can be re-targeted anytime. No problem! REEDriler (talk) 09:35, 29 January 2023 (UTC)Reply

  Done * Pppery * it has begun... 20:36, 29 January 2023 (UTC)Reply

Thanks! -- Tim Wu (talk) 01:15, 30 January 2023 (UTC)Reply
It's good to see the final result for the todo item "Function for calling a line terminus (for station layouts?)" that I provided the initial work for way back in September 2020. I look forward to finally being able to use this. -- ThylacineHunter (talk) 03:21, 30 January 2023 (UTC)Reply

March 2023 edit

@Tim Wu, ThylacineHunter, David Xuang, Cards84664, and Pppery: Hi, there's a small problem, "LineN" doesn't get updated from alias table. — Preceding unsigned comment added by REEDriler (talkcontribs) 19:50, 17 March 2023 (UTC)Reply

Maybe you didn't use lowercase key when defining alias mapping? (e.g. the ’key’ in the pair ['key'] = "line") David Xuang (talk) 07:17, 18 March 2023 (UTC)Reply

To editor REEDriler: your notifications didn't work. Notifications only work when the notifier signs their post. So pinging @Tim Wu, ThylacineHunter, David Xuang, Cards84664, and Pppery: again for further analysis. P.I. Ellsworth , ed. put'er there 03:18, 18 March 2023 (UTC)Reply

@REEDriler: Hi, could you provide a failed example? I found it works in Guangzhou Metro. —Tim Wu (talk) 04:07, 18 March 2023 (UTC)Reply
My bad, See:
REEDriler (talk) 08:02, 18 March 2023 (UTC)Reply
@David Xuang It seems that getStation using the original lineN. I've tried adding the following after line 749 and the error disappeared.
if typeN and data and data['aliases'] then typeN = data['aliases'][mw.ustring.lower(typeN)] or typeN end
Tim Wu (talk) 17:56, 18 March 2023 (UTC)Reply
Ok. getLine takes care of that, I think it can be synced now? Thanks. REEDriler (talk) 20:05, 18 March 2023 (UTC)Reply
In line 74 should "nil" be in quote marks? — Martin (MSGJ · talk) 09:21, 20 March 2023 (UTC)Reply
Modified. REEDriler (talk) 21:06, 20 March 2023 (UTC)Reply
I guess you are not using Module talk:Adjacent stations/testcases because most of the tests fail. But there is a lua error on that page which I can't immediately track down — Martin (MSGJ · talk) 21:30, 20 March 2023 (UTC)Reply
Addressed the error. UnitTests of icons can be ignored as they don't seem to be working here. REEDriler (talk) 02:15, 21 March 2023 (UTC)Reply
@REEDriler I think changes of color2 (color table) should be moved to another sandbox, as they are two different requests. --Tim Wu (talk) 01:26, 21 March 2023 (UTC)Reply
:/ I don't think it's a request here, It can be removed later.It's better, isn't it? Everything will be loaded together. Milestone approach ;) REEDriler (talk) 18:34, 28 March 2023 (UTC)Reply

Also made changes to {{rcb}} with addition of |station= to provide nat support to pages using {{rcb|inline=box}} <station>, making use of station format. REEDriler (talk) 10:36, 23 March 2023 (UTC)Reply

Did the same for {{ric}} REEDriler (talk) 19:55, 23 March 2023 (UTC)Reply

To editors Tim Wu, Martin and REEDriler: here it is a month later – is this ready to go? or no. P.I. Ellsworth , ed. put'er there 10:07, 23 April 2023 (UTC)Reply

Disabled – no response. P.I. Ellsworth , ed. put'er there 13:17, 8 May 2023 (UTC)Reply

Needed circular1 and circular2 edit

Unlike Template:s-line, Module:Adjacent stations does not have circular1 and circular2 and some stations have different circular like Tha Phra MRT station. We need circular1 and circular2 because it's too struggle to fix it. - Jjpachano (talk) 15:36, 11 January 2023 (UTC)Reply

The template/module currently at Tha Phra MRT station appears to be the correct format, because the Blue Line crosses over itself and terminates outside of the circular loop, similar in function to Tochōmae Station. Cards84664 17:40, 11 January 2023 (UTC)Reply
 
Toei Oedo Line
 
MRT Blue Line

Error edit

Please check error on Madison station (Florida) to see if it can be fixed — Martin (MSGJ · talk) 21:37, 17 February 2023 (UTC)Reply

  Done Pi.1415926535 (talk) 21:44, 17 February 2023 (UTC)Reply

How do I add a new color myself? edit

I want to add a new color to the Delhi metro. I wanna learn how to add these to the template. Footy2000 (talk) 19:33, 19 February 2023 (UTC)Reply

@Footy2000 check out Category:India rail succession modules REEDriler (talk) 09:44, 20 February 2023 (UTC)Reply
Thank you so much! I was curious since months regarding this, slowly trying to understand more of how Wikipedia functions. Footy2000 (talk) 10:11, 20 February 2023 (UTC)Reply

Edit request, though I'm crap at finding the exact part that needs to be altered edit

So Grand Central Madison was just moved to drop "station" from its name. Since the {{stl}} template is used on the LIRR stations navbox the link is now a redirect in a box, which is less than ideal. The stl call for Grand Central Madison needs to be updated, por favor. oknazevad (talk) 00:40, 21 February 2023 (UTC)Reply

@Oknazevad {{stl|Long Island Rail Road|Grand Central Madison}}
The data page Module:Adjacent stations/Long Island Rail Road needs an exception mentioned like Grand Central Terminal. REEDriler (talk) 04:06, 21 February 2023 (UTC)Reply

About Module:Adjacent stations edit

Hi, I am from Chinese Wikipedia. I think it should have a new function.

In Template:Adjacent stations, each line has two colour boxes. However, they can't be different. I suggest the new function below:

 	["line A"] = {
 		["color"] = "114514", -- This is the main colour which used in Template:Rail color. This colour appears at the left colour box.
 		["color2"] = "191981", -- This is not the main colour. This colour appears at the right colour box.
 		["left terminus"] = "X",
 		["right terminus"] = "Y"
 	},

This function is useful in Japan railways. I hope it can be added. 阿南之人 (talk) 04:53, 19 March 2023 (UTC)Reply

Please post this at Template talk:Adjacent stations which covers discussion of the template and the module. You should get a response there, but if you don't, try WT:WikiProject Trains. Johnuniq (talk) 05:55, 19 March 2023 (UTC)Reply

阿南之人, can you add a color2 entry to a preferred system sub module? REEDriler (talk) 20:12, 19 March 2023 (UTC)Reply

@REEDriler no in Chinese Wikipedia, but I don't know is it okay here. 阿南之人 (talk) 00:18, 20 March 2023 (UTC)Reply
Its okay. It needs to be tested first before you can ask it to be added. Try it out using {{Adjacent stations/sandbox}}. REEDriler (talk) 08:34, 20 March 2023 (UTC)Reply
@REEDriler [2][3] no, it doesn't work here either.阿南之人 (talk) 09:12, 20 March 2023 (UTC)Reply
@REEDriler: I mean these colour boxes: [4], okay? 阿南之人 (talk) 11:11, 20 March 2023 (UTC)Reply
Ik and It's working!!!, see:
{{Adjacent stations/sandbox|system=sandbox/subpages|line=a|left=ha}}
Preceding station a鐵路 Following station
ha
Terminus
a線 Terminus
REEDriler (talk) 11:19, 20 March 2023 (UTC)Reply
thank you! 阿南之人 (talk) 11:27, 20 March 2023 (UTC)Reply
color2 doesn't seem to have the same naming conventions with the current entries. Using arrays could avoid adding new entry, and have better extendability for future. David Xuang (talk) 15:00, 20 March 2023 (UTC)Reply
@Pppery: I endorse adding color2 to the module, I believe this would be very useful for rail lines and services that have two primary colors or interchangeable colors. Cards84664 17:12, 28 March 2023 (UTC)Reply
Sorry, I don't have the time and motivation to review this right now. * Pppery * it has begun... 01:01, 30 March 2023 (UTC)Reply
Alright, @Frietjes:? Cards84664 03:43, 30 March 2023 (UTC)Reply
@Cards84664, 阿南之人, and David Xuang: where is the diff to review? I did a diff with the sandbox and got a whole bunch of changes that seem unrelated to this request. Frietjes (talk) 15:10, 30 March 2023 (UTC)Reply
@Frietjes and MSGJ: It would be nicer if you could also look at the one above along with this as there's only one request. The other changes are just addressing minor errors, +useful errors, removing redundant conditionals, improved checks and a |station= addition. Thanks REEDriler (talk) 17:55, 30 March 2023 (UTC)Reply
@Frietjes: The addition of a color2 parameter can be roughly found in this set of edits. Cards84664 17:33, 7 April 2023 (UTC)Reply
Cards84664, okay, should be enabled now. let me know if I screwed it up. Frietjes (talk) 17:42, 7 April 2023 (UTC)Reply
@Frietjes: It looks good, thank you. Cards84664 17:51, 7 April 2023 (UTC) Reply
Preceding station   Rapid Transit Following station
Flats East Bank Waterfront Line Tower City
Terminus
@阿南之人, REEDriler, and Cards84664: I have a question on naming conventions. The current name of color2 may suggest a whole series of parameters (color3, color4, etc.) as this template is not capable of. Maybe alt_color or color_alt is more appropriate? David Xuang (talk) 05:39, 10 June 2023 (UTC)Reply

Some station articles are broken edit

Some station articles are broken - see Königs Wusterhausen station and Lübbenau (Spreewald) station. Gonnym (talk) 12:38, 20 March 2023 (UTC)Reply

Recent change by @Grahamec to Module:Adjacent stations/DB Regio Nordost. I believe they're working on it. Full list of affected articles: [5]. Mackensen (talk) 13:22, 20 March 2023 (UTC)Reply
Yes I am working on various lines including RB 24, which is currently being worked as 2 disconnected sections, so it seems easiest to split it into RB 24-N and RB 24-S.--Grahame (talk) 13:33, 20 March 2023 (UTC)Reply

Calau (Niederlausitz) station is also broken — Martin (MSGJ · talk) 10:03, 23 March 2023 (UTC)Reply

WKD problems edit

Some recent edits at Module:Adjacent stations/Warszawska Kolej Dojazdowa have introduced 'Lua error in Module:Adjacent_stations at line 237: Unknown line "WKD"' in the following articles.

@Antoni12345: If this cannot be fixed soon, please revert the edits and ask for assistance here. Johnuniq (talk) 08:22, 24 April 2023 (UTC)Reply

Problem solved. Templates now render corectly in all mentioned above articles. — Antoni12345 (talk) 11:20, 24 April 2023 (UTC)Reply

Red links edit

Request for help: is there any solution to remove red links (of stations that do not have their articles) from appearing in the template? (+ if you're reading: do you know by any chance how to remove this redirect? https://en.wikipedia.org/w/index.php?title=Grodzisk_Mazowiecki_Rado%C5%84ska_railway_station&redirect=no) — Antoni12345 (talk) 14:45, 24 April 2023 (UTC)Reply

@Antoni12345 to remove the red link you may either create a rd or link it to an article (eg. its line or system) from the data page. REEDriler (talk) 17:52, 24 April 2023 (UTC)Reply
OK, thanks! Now I understand why this rd that i mentioned exists in the first place! — Antoni12345 (talk) 09:33, 25 April 2023 (UTC)Reply


Is there a policy how to avoid red links which interrupts the sequence which is the reason to have these templates? I notice that sometimes very minor train stations with a single platform and track, serving a village of below 1000 inhabitants, have articles, maybe just to avoid breaking the sequence. At other times there are red links. Should we always create articles about every simple train stop, or should we include some infobox with adjacent station in articles about villages served? Is there a policy? --BIL (talk) 15:21, 27 May 2023 (UTC)Reply

WP:N is the policy for determining if a topic is notable enough for an article. If it is not, then the minor station could be made into a redirect to the line. I think it would be nice if there was a way to turn off the link entirely but there is not right now. BLAIXX 15:33, 25 February 2024 (UTC)Reply

Unknown line edit

@Grahamec: Some recent edits have led to "Unknown line" errors (see Altshausen station + Aulendorf station + Bad Saulgau station + Sigmaringen station). I'm hoping you can fix. Johnuniq (talk) 01:14, 10 June 2023 (UTC)Reply

Fixed now. I did have an alias for 6=6a, but it was at the wrong level. Still learning.--Grahame (talk) 02:31, 10 June 2023 (UTC)Reply
Thanks. Similar issue with "RS" at Oberkochen station and Unterkochen station. Johnuniq (talk) 06:10, 10 June 2023 (UTC)Reply
Fixed.--Grahame (talk) 13:29, 10 June 2023 (UTC)Reply

Melbourne module possible name move edit

Hi, please see a discussion that has taken place at Module talk:Adjacent stations/Melbourne#Name of the module. @Purin128AL: ping. Fork99 (talk) 08:38, 11 June 2023 (UTC)Reply

Many errors edit

Dozens of articles (for example, Allawah railway station) are showing "Lua error in Module:Adjacent_stations at line 206: attempt to index field '?' (a nil value)". That seems to be due to an edit at Module:Adjacent stations/Sydney Trains (diff) by Purin128AL. What is the fix? If lang "en-US" is incorrect, is the fix to delete that line? Johnuniq (talk) 10:51, 11 June 2023 (UTC)Reply

@Johnuniq:   Fixed by reverting said edit. Yeah I'm no expert on how the module works, nor am I a programmer, but yeah the module is probably picky that "en-AU" probably isn't defined and it has a tantrum, not to worry, "en-US" seems to work just fine. Little side note: you've underestimated how many articles were affected haha (hint: all of them would have been)! Fork99 (talk) 11:01, 11 June 2023 (UTC)Reply
Some of the Australia rail succession modules have lang="en-US" set and other do not have anything set. All this really controls is wether the templates display "station 1 towards station 2" or "station 1 toward station 2". This should probably be made consistent over all the Austrailia modules and if needed, an option could even be added into Module:Adjacent stations/i18n. -- WOSlinker (talk) 11:10, 11 June 2023 (UTC)Reply
@WOSlinker: Ah right, thank you for the incredible piece of knowledge! In that case, I think towards makes more sense as Australian English is closer to British English than American English. I'll have a look to see which modules need changing. Fork99 (talk) 11:20, 11 June 2023 (UTC)Reply
I reckon en-GB would be a more suitable option as in Australian English we use "towards". If there's any Australian English specific grammar we can add that into the Module. Purin128AL (talk) 11:21, 11 June 2023 (UTC)Reply
As of now, the only difference between en-US and the others is "toward" vs "towards". And the only reason to use mw.clone for the en-US is to allow a change in the table; as long as AU is identical to GB, no need to clone it.Animal lover |666| 17:06, 15 August 2023 (UTC)Reply

New swap parameter suggestion edit

  • swapn would be nice, a parameter that swaps left and right for a row in the output table. Useful to match left and right to what's suitable for a station. For example two lines joining, might without it show same destination in opposite directions in the table, even if they go in same directions in the real station.

BIL (talk) 13:47, 7 August 2023 (UTC)Reply

As this https://fr.wikipedia.org/wiki/Utilisateur:Bouzinac/Brouillon2 (frwiki) ? Bouzinac (talk) 14:16, 7 August 2023 (UTC)Reply

New inline type for Rail color box? edit

Reading the KTM West Coast railway line article and found that certain rail color boxes are hard to read due to the colour assigned to the line. So I propose one inline type that is similar of xroute as in the text is black for readability purpose. Limyx826 (talk) 16:35, 3 October 2023 (UTC)Reply

Per MOS:TEXT#Color, text in prose should not be colored. Those should be converted to regular text in that article. Pi.1415926535 (talk) 17:29, 3 October 2023 (UTC)Reply

Errors edit

There seem to be script errors on many station articles caused by this module, e.g. Komnino railway station. Is there any change that might have caused this? — Martin (MSGJ · talk) 06:51, 25 October 2023 (UTC)Reply

Probably the recent revert at Module:Adjacent stations/PKP Intercity by Antoni12345 (talk · contribs). It does look like they've been fixing them, but they haven't edited much in a few days. Mackensen (talk) 10:31, 25 October 2023 (UTC)Reply
@Antoni12345: are you going to fix these or can we revert these changes? — Martin (MSGJ · talk) 10:55, 25 October 2023 (UTC)Reply
@MSGJ:, yes I'm on it. There's just a lot of these station articles, majority of which don't even meet WP:NTRAINSTATION criteria. They seem to be created in 2000s by one specific editor (CCMichalZ) who decided to use Module:Adjacent stations for systematisation of railway phisical infrastructure (rail lines which in Poland each has a specific number) rather than train services. In my opinion this use isn't only against Template:Adjacent stations primary purpose, but also lacks any usefullness for a regular encyclopedia (which Wiki is - it is not a data base) user. Also these station articles lack of proper source citations and usually only transclude informations from www.bazakolejowa.pl which is Polish editors-based portal with content provided by train enthusiasts... Antoni12345 (talk) 12:17, 25 October 2023 (UTC)Reply
Yes, I had trouble verifying the data in some cases. I don't have a good set of Polish sources for working on these articles; I did remove the templates from any stations that are explicitly disused. @Antoni12345 should the remaining 30 or so just be removed for now? I can do that with WP:JWB. Mackensen (talk) 14:39, 25 October 2023 (UTC)Reply
@Mackensen: if I understood you right (you want to remove {{Adjacent stations}} from all station articles returning Lua error, that most of which are problematic articles) it would be very helpfull! Even if there is any major station article in there, the data in {{Adjacent stations}} is very likely not up to date. — Antoni12345 (talk) 15:11, 25 October 2023 (UTC)Reply
@Antoni12345 Done. Let me know if you would like help with the PKP module. Module:Adjacent stations/ÖBB and Module:Adjacent stations/MÁV START may be useful for reference. Mackensen (talk) 18:07, 25 October 2023 (UTC)Reply

Edit request 7 December 2023 - For sandbox project edit

Hey, I am trying to add something for a sandbox page project: An NYCS 11 "Flushing-Greenpoint Local". However, I can't do it on my own because I don't know much about Lua scripting, which I tried before. I would need some help on this. Please let me know if you have futher information. Thanks. RandomWikiPerson_277talk page or something 17:21, 7 December 2023 (UTC)Reply

This is not an edit request for Template:Adjacent stations. Please link to the page that you need help with. – Jonesey95 (talk) 17:43, 7 December 2023 (UTC)Reply
It appears that you are trying to invent a subway line, "Flushing-Greenpoint local", that is not listed at List of New York City Subway lines. You have created {{NYCS Flushing-Greenpoint}}, which links to 11 (New York City Subway service), a redirect to a defunct line. What is your goal? – Jonesey95 (talk) 17:48, 7 December 2023 (UTC)Reply
@RandomWikiPerson277: Wikipedia is NOT a hosting service for your fantasy creations. It is ridiculous to ask that editors spend their limited time supporting your fictional endeavors. Please find somewhere other than Wikipedia for your fantasy creations. Pi.1415926535 (talk) 18:27, 7 December 2023 (UTC)Reply
Hello,
I understand what you said. I know that this was a learning experience, and I apologize for the inconvience caused. RandomWikiPerson_277talk page or something 18:29, 7 December 2023 (UTC)Reply
Also, I will try to instantly delete the pages that are marked for speedy deletion. Again, sorry for the inconvience caused. RandomWikiPerson_277talk page or something 18:32, 7 December 2023 (UTC)Reply
I was just making a proposal for an 11 line service, called the Flushing-Greenpoint Local, running in Queens and Brooklyn. I was testing things out in my sandbox page with the NYCS station template, but it's completly compicated. I had to edit and create multiple pages to get it compelete, but it was a total mess. The proposed 11 service would run between Flushing-Main Street in Queens. and the intersection of Bedford Av and Grand St in Brooklyn. I tested out the track layout at first and it worked fine, but the NYCS station information template, it was a complete mess. I didn't mean it to redirect to a defunct line. Thanks. RandomWikiPerson_277talk page or something 18:28, 7 December 2023 (UTC)Reply

Unknown line Intercity/Sprinter edit

@Parwa104: In case you miss them, the following currently need a fix. I think that is due to changes at Module:Adjacent stations/Nederlandse Spoorwegen.

Johnuniq (talk) 06:17, 20 December 2023 (UTC)Reply

Edit request 1 January 2024 : short line link? edit

Description of suggested change: A short version of Template:Line link using the short name instead when available. Use case is similar to Line link, except when the short name is preferred. I'm not familiar enough with Lua, but I have tried implementing a version of it in sandbox based on the _box function in the module (which references the short name and extracts the link as well).

Diff: https://en.wikipedia.org/w/index.php?title=Module%3AAdjacent_stations%2Fsandbox&diff=1192925219&oldid=1192919681

- oahiyeel talk 02:26, 1 January 2024 (UTC)Reply

  Done I haven't exhaustively tested this code, but it seems vaguely reasonable to me and just adding new functions can't possibly break anything. * Pppery * it has begun... 15:51, 9 January 2024 (UTC)Reply

Edit request 13 February 2024 edit

Description of suggested change: Prague Metro has been using for years different logo which is now available through Commons --Bilykralik16 (talk) 00:22, 13 February 2024 (UTC)Reply

  DoneJonesey95 (talk) 01:02, 13 February 2024 (UTC)Reply

Adjacent stations/Maryland Transit Administration edit

@Mackensen: I think some tweaking is needed following recent edits at Module:Adjacent stations/Maryland Transit Administration to avoid the error at {{Baltimore Transit}} ("Lua error in Module:Adjacent_stations at line 430: "title" is missing from the data page"). Johnuniq (talk) 23:27, 6 March 2024 (UTC)Reply

@Johnuniq Got it. I'll watch out for any others. Mackensen (talk) 23:31, 6 March 2024 (UTC)Reply

Disambiguation issues edit

I found two disambiguation pages which are being linked to from this template. I may be mistaken, but I think that adding parenthetical disambiguators needs to be done within the template here (versus in the template call). I'm not sure how that would be done, but it seemed like this would be the place to ask about it?

Thanks! Cleancutkid (talk) 06:48, 15 April 2024 (UTC)Reply

  Fixed at Module:Adjacent stations/JR Kyushu. – Jonesey95 (talk) 14:44, 15 April 2024 (UTC)Reply