From Wikivoyage
Latest comment: 2 years ago by Wauteurz in topic Train

Wauteurz' kitchen table (2021)

Jump to navigation Jump to search
 Wauteurz' talk page archive. 

Interface admin[edit]

I was wondering whether you're interested in becoming an interface admin here. Currently, there's only four interface admins. Most of the time, all four just come and pop in about once a month. Apart from one of them, you're more active than the other three, with one looking like they're going to lose these privileges on Wednesday. And I was maybe thinking whether you could take over so we have at least one active (including varyingly active as well) interface admin. Let me know, so if you're interested, then I'll start your nomination soon. Cheers, SHB2000 (talk | contribs | meta.wikimedia) 11:24, 18 July 2021 (UTC)Reply

@SHB2000: Thank you. While it does sound interesting, I am very much tempted to decline for the simple reason that the task of Interface Admin is quite out of my scope. I might be somewhat competent with CSS, that definitely isn't the case for JS (nor do I have the ambition to improve much in that regard). I suspect that much of what I'd do as an Interface Admin would be based on trial and error. I simply do not feel like I have the required skill set for the task, though I do very much appreciate the offer.
Also, while I might be active now, there's no guarantee that I will be as active in the future. I'm a student after all. Uni has my priority, and doing work here is a hobby at best. Realistically, I'll probably go back on hiatus once September rolls around again, for the sake of getting things done.
In short, I appreciate the offer, but I don't think I'm the best fit for the task. I wouldn't mind overseeing things for a while if I am that needed, but I wouldn't accept this as a permanent thing - not now at least. Perhaps my mind might change in two years or so, but we'll see about that when the time comes. Even then though, my skill set doesn't align with what the entire 'rank' revolves around, so I will have to decline. Again though, I highly appreciate being considered for the position at all. Many thanks.
-- Wauteurz (talk) 20:06, 18 July 2021 (UTC)Reply
I see. I'm on a similar boat as you here, so I feel it. I just have been active more recently due to my winter break though. SHB2000 (talk | contribs | meta.wikimedia) 21:48, 18 July 2021 (UTC)Reply

Adding templates to {{routebox}}[edit]

Hey there, just quickly popping in to just ask why do templates not work on {{routebox}}. Is it only meant to take images? Just asking because for some reason, {{AUR}} won't work. Cheers, SHB2000 (talk | contribs | meta.wikimedia) 13:27, 27 July 2021 (UTC)Reply

@SHB2000: Yep, {{Routebox}} only takes images sadly. I ran into this myself before and started a project to make the labels through HTML and CSS several years ago, but I never went as far as to implement it. Frankly, Routebox is simply too widely used for changing images into labels to be worthwhile, and I don't see that process being automated easily, so I shelved that project.
-- Wauteurz (talk) 13:35, 27 July 2021 (UTC)Reply
That's unfortunate :( SHB2000 (talk | contribs | meta.wikimedia) 13:37, 27 July 2021 (UTC)Reply
It is. In time I might relaunch that project, because there is no doubt some way to make it work, but time will tell. In the end, routeboxes would be much, much easier to work with if you could automatically detect the country by the categories it's in, only to enter the code on the route shield in the routebox template.
-- Wauteurz (talk) 13:44, 27 July 2021 (UTC)Reply
And with being able to add {{rint}} SHB2000 (talk | contribs | meta.wikimedia) 13:50, 27 July 2021 (UTC)Reply
Naturally. Since RINT and RINTroad are separate templates, it might prove a bit of a bodge to work them together, but we'll see.
-- Wauteurz (talk) 13:52, 27 July 2021 (UTC)Reply
I might work on some other template in the upcoming days to make {{routebox}} but to incorporate templates. SHB2000 (talk | contribs | meta.wikimedia) 21:45, 27 July 2021 (UTC)Reply
Fine by me. Feel free to use RINTroad in that endeavour as well. Even though I shelved it in late 2018, it is still complete for Europe and North America. Other regions wouldn't work any different. You should be able to work out the region through {{GPX indicator}}. Let me know how it goes, because coming to think of it, I honestly would like to see that template be used eventually. Besides, I've got the time for the following few days seen as how I'm homestuck because of a positive test - Let me know if I can help! :D
-- Wauteurz (talk) 22:02, 27 July 2021 (UTC)Reply
I'm so sorry that you had a positive test. I hope you have a speedy recovery and only have the mildest of the symptoms. I might work on {{RINTroad}}, and adding Australian and Asian routes shouldn't be that hard. Cheers, SHB2000 (talk | contribs | meta.wikimedia) 22:23, 27 July 2021 (UTC)Reply
No need to be sorry, it was bound to happen at some point. I'm only coughing a bit and had a very mild fever this past weekend, so it's definitely not a terrible case either - I'll be fine. Editing RINTroad should really not be difficult. If I recall correctly, it's essentially -lite. In a nutshell, there's three things to it: The ISO country code (1), the road lettering (2) and the road number (3). It makes labels through {{RbE}}, which is the same as RINT, and the mouse over calls on (3) again to customise the mouseover. It's also a lot smaller than RINT, aiding readability when scrolling through it. I reckon that you can get the hang of it quite quickly if you choose to jump in.
-- Wauteurz (talk) 22:32, 27 July 2021 (UTC)Reply

──────────────────────────────────────────────────────────────────────────────────────────────────── @SHB2000: I do know what happened here: Too many brackets. Following parameter 3, you close using five brackets instead of three, signalling to the template not only the end of the parameter, but also the end of {{RbE}}, making it go haywire with the rest of the code meant for RbE, which it can't cope with. If you don't already, consider enabling Syntax Highlighter under Preferences » Gadgets. It allows you to see these kinds of errors more easily :)
-- Wauteurz (talk) 22:36, 27 July 2021 (UTC)Reply

I'm not exactly too sure what to do though. Unlike Europe, Australia tends to use just one color (like C381, or A300). It's only in the West Coast where numbering works a different way. And to the uhm, you know, I think you're the second active Wikivoyage to get it, but still, get well soon. Hope it's not too bad in the Netherlands SHB2000 (talk | contribs | meta.wikimedia) 22:48, 27 July 2021 (UTC)Reply
I believe I've now got them all added onto the template. Not sure the annotation is 100% accurate, but the system seems to be a bit chaotic anyways. I skipped over D roads in particular because Wikipedia says there's just two of them, and I can't even find them back on OSM. National roads and Metroads seem to be on the way out, but they're there for the time being for the sake of being complete. Australia mightn't be the best starting off point, honestly. I recall looking at it and the occasional highway in the rest of Oceania, and just being discouraged by it. In any case, these should be the lot of them, right?
-- Wauteurz (talk) 11:01, 28 July 2021 (UTC)Reply
They look good, except that National Highways are missing (different from National Routes). I can't exactly remember, but I believe NZ just uses one type of number (State Highways). Not sure about PNG, except if they had infrastructure to begin with (bad joke... but it's full of mountains, and I plan to one day go to those). Tiny countries like Nauru, Micronesia or Tuvalu probably won't have any numbers for roads (iirc from a video I watched about visiting Tuvalu, they only have one road) SHB2000 (talk | contribs | meta.wikimedia) 12:28, 28 July 2021 (UTC)Reply
From what I read, the national highways are all being replaced gradually with alphanumeric highways, right? I don't know to what extend they're already replaced, but would it be worthwhile to add them? If they're all gone by - say - 2025, I don't see their addition as essential, but I am in no way an Aussie. I'll have to see about the rest of the countries still on the list at a later point, but I might knock out a fair chunk of them this week. I'll no doubt can just strike a number of island countries off of the list because, as you say, major roads aren't much of thing.
-- Wauteurz (talk) 12:38, 28 July 2021 (UTC)Reply
I believe WA is still using them but the only source I have here is reading Eyre Highway. SHB2000 (talk | contribs | meta.wikimedia) 12:40, 28 July 2021 (UTC)Reply

Template:V line[edit]

Hi there, just wanted to ask why is {{V line}} not working? It's meant to show the different rail lines but it doesn't seem to work and producing a blank space (like this one: ). Do you know what's wrong with my code?

Thanks, SHB2000 (talk | contribs | meta.wikimedia) 00:40, 29 July 2021 (UTC)Reply

I managed to only solve half the problem here. So {{V line|1}} would do the job and produce , but {{V line|Albury}} won't produce the template and instead be blank. Do you know how to fix it? Cheers, SHB2000 (talk | contribs | meta.wikimedia) 02:58, 29 July 2021 (UTC)Reply
This happens because {{lc:}} converts everything between : and the closing brackets to lower case text. The options are capitalised. Simply making the options in the Switch-function lowercase would sort this out.
That said, templates like these shouldn't exist as a standalone, and I don't mean that to discourage you. When work on {{Rint}} started back in 2018, it was agreed to use that template to unify the way these kinds of labels work, cutting down Commons as a middleman, as Commons can't always be considered reliable. Additionally, using Rint labels, we're able to more or less have a set of limitations on how transit lines appear on Wikivoyage, making our branding a bit more distinct.
Checking Melbourne's listings, it doesn't seem that V/Line is in there yet, so I'll go ahead and add these lines as well. If there's more lines that need to be added to Rint, you can edit them yourself with Template Editor or higher ranks, or you can request edits here. I usually try and get those done within a day.
-- Wauteurz (talk) 10:33, 29 July 2021 (UTC)Reply
Thanks for the tip. It's working now. I have edited rint before, but haven't added much (mainly  F9  and  B1  and some others), but that was when I was a template editor some moons ago. I just wanted to create a separate template solely for the images (just because searching for the file on commons is tedious). But I do very much agree that commons is quite unreliable (@Ikan Kekek: would very much agree on that) SHB2000 (talk | contribs | meta.wikimedia) 11:46, 29 July 2021 (UTC)Reply

routebox with templates[edit]

Given that {{routebox}} can only take images, I decided to try and use that concept on the French Wikivoyage (which you can see here, although it's largely incomplete). I wonder if that's possible to do on the English Wikivoyage as well, considering that {{routebox}} uses a different coding mechanism to there, you'd think it's a good idea to make here as well? —The preceding comment was added by SHB2000 (talkcontribs)

@SHB2000: This is a plan of mine to get working in the long term, yes. Before I took over {{Routebox entry}} for the RINT-project, it was purely a template that created simple labels for usage in {{Routebox}}, but implementing those changes in Routebox never happened. I did therefore already see this as a project I'd want to tackle at some point down the line, which prompted me to set up RINTroad. So yes, obviously I think it's a good idea, but I am not entirely sure on how to make it work with the existing Routebox template. It might be worthwhile to simply spread it across multiple templates, and give it a similar structure to tables (open, contents, close).
This would then also remove the hard-coded limit to 10 items per routebox, which might be a slight risk, but it can be managed, I reckon. I'm just not convinced that it's a good fit though, because a modified Routebox would need to
  • (Ideally) be backwards compatible,
  • Allow for both RINT and RINTroad to work with it (so an ability to switch between them and images),
  • Not deviate from the established routebox when it comes to looks, the reader shouldn't be able to tell the two apart,
  • Be easy to maintain. Ideally: Make once, use forever.
Honestly, it can be done, and probably best practise would be to throw a load of switch-statements into {{Routebox}}. After all these years though, I never looked into it fully, and it's something that landed on the backburner for me. If you're convinced that it's feasible though, I would happily reserve some time to draft up a concept of such a Routebox. I have just always been somewhat hesitant to get any work done on it though.
Wauteurz (talk) 23:42, 16 September 2021 (UTC)Reply
I was up last night trying to figure out how to do this, and it was working on the French Wikivoyage. I've copied that template here which can now be seen at {{routebox2}} although it still has "modèle" instead of "Template" which I'll do in the upcoming few days. SHB2000 (talk | contribs | meta.wikimedia) 23:56, 16 September 2021 (UTC)Reply

Train[edit]

The only reason why I added it on Special:Diff/4311399 is because technically trains in Sydney, Melbourne, and parts of Brisbane, Adelaide, and Auckland's trail systems are all underground but don't usually use those terminology mentioned. But anyway, metro is not uncommon these days. SHB2000 (talk | contribs | meta.wikimedia) 12:59, 16 October 2021 (UTC)Reply

I gathered about as much from the summary, yes. Still, the word "train" is in most uses of English linked with what RINT displays as {{rint|rail}} , hence why I removed it. A train simply isn't unique to subways to warrant being added as an alternative. Wauteurz (talk) 17:04, 16 October 2021 (UTC)Reply