Owl.png Wiki reading hard on the eyes? Try out our Dark Theme! Visit the preferences page while logged in and select Hydra Dark. Owl.png

User talk:Rye Greenwood

From Terraria Wiki
Jump to: navigation, search

Thank you[edit source]

Thanks!
You Get A Star
Thanks for all your hard work!

Thank you for all you have done with translating the Official Terraria Wiki into the German language. I would like to invite you to the Official Terraria Wiki Discord and Official Gamepedia Slack. Discord is where we discuss all things about the Official Terraria Wikis and Slack is where Gamepedia Staff and Wiki Administrators/Editors talk and receive help with Wikis. – ReedemtheD3ad! (talk) 17:43, 16 July 2018 (UTC)

Out of curiosity...[edit source]

I just wanted to know why people keep removing this documentation change whenever it’s put onto the page. Thanks for your time, mate! 38.88.10.26 00:42, 21 November 2018 (UTC)

The template now handles desktop content. {{equivcat| all | introduce/patch | ...}} will categorize the item for desktop, console, mobile, and 3DS.
{{equivcat| console | introduce/patch | ...}} will categorize the item for console; 'mobile' for mobile, '3DS' for 3DS. There is no need to add a desktop parameter. – Ferretwings (talk)
Oh, my bad, it seems that y’all already removed the DSK param, thanks for the quick response friend! 38.88.10.26 01:08, 21 November 2018 (UTC)

Incorrect timestamp[edit source]

On my PC it says that Rye Greenwood commented on my profile at 00:00, 6 March 2019 when it is March 5 in my area. Is there a glitch when it says 6 March and in my area it is March 5. — Preceding unsigned comment added by Lepspring (talkcontribs) at 00:49, 6 March, 2019‎ (UTC)

The timestamp was in UTC. See your preferences for a comparison between UTC and your own timezone. – Ferretwings (talk) 01:24, 6 March 2019 (UTC)

Tall gate suggestion[edit source]

(I think this is the right place...) Hey Rye, did you test out my gate suggestion? — Preceding unsigned comment added by Patriotgrimm (talkcontribs) at 00:32, 7 May 2019‎ (UTC)

Yes, I did. It does seem to work. Thank you for the suggestion! --Rye Greenwood (talk) 13:02, 7 May 2019 (UTC)

Template:Iteminfo on Guide:Making money[edit source]

[continuing this here because I am not sure whether templates work correctly in profile comments and I prefer being able to preview my wikitext]

Template:Iteminfo has two different output styles: formatted and more readable data or raw data, literally like it exists in the source code. For example, {{iteminfo|Dynasty Wood|rare}} outputs the following: 0*Rarity level: 0 – formatted and "wiki-fied". {{iteminfo|Crystal Shard|rare|raw=yes}}, on the other hand, outputs the raw source code data: 0 (the internal, numerical rarity value). For certain stats, there are aliases to make the usage slightly more intuitive; hence {{iteminfo|Dynasty Wood|rarity}}, for instance, is valid as well: 0*Rarity level: 0. These, however, do not work when using the raw mode: {{iteminfo|Dynasty Wood|rarity|raw=yes}} results in 0 (nothing).

As per the source code, the item statistic value represents the purchase price. Since this is rather counter-intuitive (usually, a thing's "value" refers to the amount of money received in return for that thing), the template treats "value" as input differently: Using {{iteminfo|Dynasty Wood|value}} returns the sales value: 10*10. Note that the raw mode is not used here! The raw mode, {{coin|{{iteminfo|Dynasty Wood|value|raw=yes}}}}, outputs something different: 50*50 – the purchase price (because the raw mode is intended to accurately represent the source code).

There is no sales value statistic in the source code, which is due to the simple fact that it is always equal to 1/5 of the purchase price. Therefore, the template is bound to take the value stat from the source code and divide it by 5, if e.g. {{iteminfo|Dynasty Wood|buy}} is called. That is also the reason why there is no "original raw variable" for the sales value in the template's documentation table.

Typing all this out, I understand why it might cause confusion. The best solution would probably be to get rid of value as an alias and stick to the unambiguous sell as the only valid input for the sales value. I will go ahead and mark the alias value as deprecated.

Regarding the second point you brought up: Whenever I want to apply any calculations to any stat of an item, I need to get its raw, numerical value. That is because the parser function {{#expr:}} can only handle numerical values. For example, the HTML (which is what is interpreted by {{#expr:}}) of {{iteminfo|Dynasty Wood|sell}} (10*10) is actually <span class="coins" data-info="10" title="10 Copper Coins"><s>10*</s>10 <img alt="Copper Coin.png" src="https://gamepedia.cursecdn.com/terraria_gamepedia/4/43/Copper_Coin.png?version=c51d2521b2f3a63b12ec63776baa3aeb" width="12" height="12"></span>, which is definitely far from a raw, numerical value and thus does not work. Therefore, I have to 1) take the raw purchase price (because it is impossible to get the raw sales value, as I described above), 2) apply the logic for turning it into the sales value (which simply consists of dividing it by 5), 3) do the initial calculation I wanted to do, and 4) wrap it all in the {{coin}} template.

  1. Take the raw purchase price: {{iteminfo|Dynasty Wood|value|raw=yes}} → 50
  2. Turn it into sales value, dividing it by 5: {{#expr:{{iteminfo|Dynasty Wood|value|raw=yes}}/5}} → 10
  3. Do my calculation (multiplying it by 999 here): {{#expr:({{iteminfo|Dynasty Wood|value|raw=yes}}/5)*999}} → 9990 (although the brackets are not mandatory, they help provide a minimum of structure to the code)
  4. Format it into a nice and standardized output: {{coin|{{#expr:({{iteminfo|Dynasty Wood|value|raw=yes}}/5)*999}}}}9990*9990

If this explanation still leaves questions, please do not hesitate to ask them.

--Rye Greenwood (talk) 22:34, 8 August 2019 (UTC)

Thank you. Sometimes I forget what a hodgepodge of layers wiki software is.... :-/ I'm going to extend the rounding to a number of other things, in particular limiting the larger values to gold. Basically, when tossing around averages and likely yields as this page does, more than two or three digits of precision is basically wishful thinking. --MentalMouse42 (talk) 09:41, 9 August 2019 (UTC)

In case anybody comes across this, there is now an easier way to handle expressions with sales values: see {{sell expr}}. --Rye Greenwood (talk) 00:40, 3 December 2019 (UTC)

This reversion... why? Do you have something against balanced parentheses?[edit source]

Looking at this reversion ; I have no idea what else Jayflow222 might have been up to, but in this case it looks to me like he just inserted a correct open-paren to the clause. Was there some other reason to revert it? --MentalMouse42 (talk) 19:25, 11 August 2019 (UTC)

No, I must have missed the second parenthesis there. --Rye Greenwood (talk) 21:03, 11 August 2019 (UTC)
Looks like someone else took it the other way while I was checking with you. Whatever. --MentalMouse42 (talk) 23:29, 11 August 2019 (UTC)

Protected pages[edit source]

Hi, Rye! I was trying to add the fr interwiki links to a few pages here on the English wiki, and I noticed that several of them are protected. At the moment, I was planning to add links to the pages that contain NPC names (Angler/Names, etc.), but I suppose there might be other pages as well that are open on one wiki but protected on another. Seeing as I do a lot of back and forth work here, I was hoping to establish a more consistent connection between the two wikis. Could you please let me know if there is any way that I might add these links where appropriate? Thank you very much! PuzzledKino (talk) 16:18, 28 October 2019 (UTC)

Hey! Thank you for your continued commitment to adding and correcting the interwiki links, that is appreciated. Unfortunately, there is no direct way for anybody without at least Administrator user rights to edit a protected page whatsoever – including interwiki links. The usual process in this case is to request addition or modification of an interwiki link of a protected page on the respective talk page. An administrator can then perform the edit. Of course, that would be only be practical if you only wanted to add/modify one interwiki link at a time. With a longer list, that would get too tedious, so in that case it is best to hand an administrator the list and ask them to edit all of the pages in one go. If you don't want to ask any person in particular (here is the list of administrators), feel free to head to the admin noticeboard (the response might be faster there, too).
I can't think of an easier way of doing this, unfortunately – I think I remember it's what I would be doing with de interwiki links, too, when I wasn't an admin here yet.
I hope this didn't scare you off of continuing to fix and add interwiki links; I can only repeat that that work is appreciated! Interwiki links are crucial for the visibility of the language wikis, so thanks again!
--Rye Greenwood (talk) 22:02, 28 October 2019 (UTC)
Thanks for your quick reply! While it's a bit of a shame since I'd be more than happy to do it myself, I do understand the reasoning behind this decision.
I'm glad my work here is appreciated! I'll continue to help however I can. Thanks again for helping me (so quickly and kindly, too!) PuzzledKino (talk) 23:19, 28 October 2019 (UTC)

Page to be deleted[edit source]

Hi Rye! Could you perhaps do me a small favor? There is another Portuguese Terraria page that doesn't really serve any purpose. I forgot I'd listed it for deletion a week or two ago. The one line there basically says "it's a good sword, you're gonna want this." Could you delete that page please? Thank you! PuzzledKino (talk) 01:12, 23 November 2019 (UTC)

Sure, thanks for letting me know! --Rye Greenwood (talk) 01:18, 23 November 2019 (UTC)

Abbreviation "ce"...?[edit source]

In your revision notes you often use the abbreviation "ce" -- what does that actually stand for? I haven't been able to figure it out by context. --MentalMouse42 (talk) 00:14, 3 December 2019 (UTC)

It stands for "copy edit" and refers to a general, mostly behind-the-scenes cleanup, i.e. mainly wikicode formatting and standardization/beautification. I think I have picked it up from User:Equazcion's user page, although by now I probably use it differently than he does – I usually (try to) add something like "minor reword" or "grammar" if I actually change article text. --Rye Greenwood (talk) 00:30, 3 December 2019 (UTC)
That makes sense, thanks. --MentalMouse42 (talk) 17:17, 3 December 2019 (UTC)

Your activity and mine on this Wiki.[edit source]

I have been well active on Terraria Wiki, enough to have a free PRO subscription at this day of writing because I’m excited thar Journey’s End will be bigger than 1.3. The majority of my contribs consisted of uploading old item sprites and 1.4 spoiler images, adding spoilers on and tweaking the Upcoming features page.

I wonder what will you do once Journey’s End comes out? ReedemtheD3ad replied to me that the PRO user will prioritize updating sprites. And me, well, I may spend more time playing terraria since a long time and avoid too many spoilers on this wiki. --Superwill771 (talk) 00:05, 6 May 2020 (UTC)

Thanks for your commitment to contributing! I'll probably focus on backend work, like updating the databases and making sure the new content can be integrated seamlessly, but of course there'll be a lot to do in all departments. --Rye Greenwood (talk) 00:44, 6 May 2020 (UTC)

Fishing catches move[edit source]

You have a bot, can you replace the links on fish pages to Fishing Catches with Fishing catches with it? Sorry if I'm misunderstanding what you can do with it. --172.58.158.160 17:36, 6 May 2020 (UTC)

Sure, that exactly is a standard use case for bots. It's running right now. Good work splitting off all those pages, by the way! --Rye Greenwood (talk) 18:02, 6 May 2020 (UTC)

An edit to Bosses[edit source]

Somebody made an edit to Bosses claiming that "The Moon Lord's legs may be a boss in 1.4", despite the Upcoming Features page disproving it. Could you undo it? I'm sorry to bother you, but you seem to be online and I can't edit the page as it's protected. --172.58.4.30 23:17, 7 May 2020 (UTC)

Sure, that's no bother! Thanks for notifying. --Rye Greenwood (talk) 23:21, 7 May 2020 (UTC)

Template:Boss music[edit source]

You've created a new template to automatically display the music that plays duing a boss battle. I'd like to change what it displays from "While $name$ is alive, music $music$ will play." to "While $name$ is alive, the music $music$ will play." Is that alright? --172.58.7.127 16:07, 10 May 2020 (UTC)

Of course, go ahead – although I appreciate your civility, you don't need to ask for permission for that. English is not my mother tongue, so my formulations often don't sound that natural. --Rye Greenwood (talk) 16:15, 10 May 2020 (UTC)

Weapon type templates problem[edit source]

Hey, would you mind checking the French Sword page? I tried to import the recent templates you created thinking they would be l18n-ready, but it seems there is a problem. --Dinoxel talk 04:15, 18 July 2020 (UTC)

I did not think of the different implementations of {{pagename2en}} on the different wikis; that template is what caused the error. It should be fixed on FR now. If there's still something wrong, see if the page name has an entry in {{pagename2en}}'s database (Fr2e/db) first and if its translation is a valid name, as defined in the {{#switch:}} statement in the template code. Thanks for noting! --Rye Greenwood (talk) 13:17, 18 July 2020 (UTC)
Great! Thanks for the info and help! --Dinoxel talk 16:27, 18 July 2020 (UTC)

Careful with the heavily-used templates[edit source]

Hey there, I'm reaching out to you because ReedemtheD3ad isn't currently online. The development team is currently working on the back-end of the login system to unite Gamepedia and Fandom, and for that they would need every wiki to slow down edits made to heavily used and transcluded templates/modules for the time being. Once this will be done (you can tell by the sitenotice getting removed), you will be fine to continue activities as usual.

Apologies for the inconvenience, I hope you understand, keep being awesome and have a great day! :) MannedTooth (talk) 16:52, 22 July 2020 (UTC)

Setinfo returns a wrong value + Rare sorting on FR doesn't work[edit source]

Hey, {{setinfo|Princess set (Clothier)|buy}} doesn't return the proper value and I can't figure out why.

Also, I think I might have missed something while updating FR about the fix for the rare sorting on FR because the rare column doesn't sort anymore. (i.e. fr:Yoyos) --Dinoxel talk 21:10, 25 July 2020 (UTC)

Thanks for letting me know! The setinfo bug was caused by the two Princess Dresses sharing a name: Because the template works with item names internally, it calls {{iteminfo|Princess Dress|buy}} for both Princess sets, which gives an incorrect result for the Clothier's Princess set, of course. I have hard-coded a fix into the template now that catches this specific case and calls {{iteminfo}} with the item ID of the Clothier's Princess Dress. As for {{rare}} on FR, no, you did everything correctly there. The problem is that since the Yoyos table (and any other page fetching rarity data) takes its information from Cargo, it does not retrieve the most recent version of the items' rarity field. All item pages need to be null-edited (what would Cargo be without the joy of null-editing...) for the changed {{rare}} functionality to be transferred to the Cargo database, and then the sorting will work correctly. (Also, it seems just purging doesn't work in this case, it needs to be a null-edit; but I have no idea why. Anyways, I'm running my bot to null-edit all item pages.) --Rye Greenwood (talk) 02:00, 27 July 2020 (UTC)
Thanks a lot! --Dinoxel talk 13:44, 28 July 2020 (UTC)

Intitle and Look from[edit source]

Hi, we had a short discussion on the Discord server about the templates, a few hours before you created them, and I made a template idea on User:Dig494/Sandbox2. Notably, the dpl should include redirects, for items that don't have their own pages (e.g. Wings, variants of entities, etc), a smaller design to fit in pages more cleanly, and just a plain vertical list since it's easier to read and doesn't take much space as a collapsed anyways. What do you think? — Dig494 15:53, 27 July 2020 (UTC)

Sure, feel free to go ahead and modify {{intitle}} and {{look from}}. I was just playing around a little to see what is feasible, since the templates aren't used anywhere yet. --Rye Greenwood (talk) 23:37, 29 July 2020 (UTC)

French problems[edit source]

Bestiary tweak[edit source]

Hey, would it be possible to add a parameter for |article = de l' that removes the extra space after the apostrophe? I tried to understand your code but it's way too complex for me at the moment --Dinoxel talk 17:25, 29 July 2020 (UTC)

I've added a small part in the l10n that checks if the last character of the article parameter ({{#sub:$article$|-1}}) is an apostrophe, and if yes, it won't print a space after the article. I figured this would be more convenient than an extra parameter. Sorry to hear you're having problems understanding the code! Let me know if there's anything I can do to help. --Rye Greenwood (talk) 23:33, 29 July 2020 (UTC)
Awesome, thank you! The little piece of code I've made for Bestiary changed so fast I couldn't assimilate everything properly, heh. I'll take a better look at StringFunctions next time. I was trying to understand where the space was created after on {{Bestiary}} but I just caught that the template was working by mixing itself and its l10n subpage. --Dinoxel talk 01:17, 30 July 2020 (UTC)

Potionlength problem[edit source]

While I'm there, I came accross a really weird problem with fr:template:Potionlength. It no longer display anything unless /long is removed at a precise point. I've been updating as much templates as I thought were related near or far, purging, and null-editing but nothing happened. Also, I've uploaded the actual DE version (older EN version) to test and it worked just fine. --Dinoxel talk 01:17, 30 July 2020 (UTC)

{{l10n/long}} wasn't working at all; it would've never displayed a single thing (hence why the DE version would work – it doesn't use {{l10n/long}} yet). The reason is that even though you did synchronize it with the EN version recently, {{l10n/register}} on FR was still using an older version. That doesn't always necessary cause such critical errors, but in this case Westgrass had implemented a serious autoload optimization and the two versions didn't match at all. I'm guessing you didn't notice this because {{l10n/long}} is barely used (I probably wouldn't have noticed, either), but well, a simple sync of {{l10n/register}} fixed the problem. (Also synced {{l10n}} so as to not introduce more errors.) --Rye Greenwood (talk) 02:11, 30 July 2020 (UTC)
Argh, I missed one. Thanks again Rye. --Dinoxel talk 12:59, 30 July 2020 (UTC)

Data template[edit source]

I've been updating {{data template}} recently on FR and noticed it would display the word English following by its translation into parentheses for $tr_lang$, wouldn't it be better to do the opposite or to remove the text in parentheses? See this example.

Also, unlike English, language names are lowercase in French. I did this change on FR data template and it seems to fix it, but it doesn't work when English is displayed (like there). Do you have anything to suggest? --Dinoxel talk 00:30, 31 July 2020 (UTC)

Do you remember when I suggested you to add {{tr}} to the {{#invoke:}} inside {{langInfo}} some time ago? Yeah, that caused this issue – sorry. I wasn't aware that the {{tr}} database already had an entry for "English", "English (Anglais)": that one comes from the source code (it's used in the language selection menu on the title screen).
Your fix is good, it works well! I've created an FR version of Module:LangInfo/data now, though, so the template now fully supports any possible language input and shouldn't require any local fixes. --Rye Greenwood (talk) 17:02, 31 July 2020 (UTC)
Great, thanks again ! ;) --Dinoxel talk 20:37, 31 July 2020 (UTC)

Portuguese problems[edit source]

/pt wiki links[edit source]

I've been updating the PT wiki recently and came across a problem with all hyperlinks using template:item or template:eil that redirect to <English_name>/pt. I think it might be related to template:Lang thinking the wiki isn't a subwiki but from what I checked pt is placed at the same place as de, fr, ru... are already. Any idea? --Dinoxel talk 15:05, 1 August 2020 (UTC)

It's {{tr}} who was the culprit here; its code needs tweaking on language wikis (to prevent that /<lang code> behavior), just like {{lang}}. I've added some comments to the template, and it should be all fixed on PT now. --Rye Greenwood (talk) 19:35, 1 August 2020 (UTC)

{{version}} breaking things[edit source]

Hey, that new version template you created is a really good idea, however I noticed it causes an error on Versão para Celular. --Dinoxel talk 01:16, 5 August 2020 (UTC)

Also causing some problems with {{source code ref}} (see here) --Dinoxel talk 01:26, 5 August 2020 (UTC)
Ouh, those are some serious problems; thanks for pointing them out. I resorted to a standard data template solution now, which only differs from others (like the getXInfo templates or Template:ItemInternalNameFromId) in that the database is scarily transcluded into language wikis. That means that the actual database template ({{current versions}} now) is not needed there, the EN one will be loaded directly. --Rye Greenwood (talk) 14:39, 5 August 2020 (UTC)

Spanish Wiki[edit source]

Hey Rye! I noticed that you made an edit on an /es page here, and I had always assumed the Spanish Terraria wiki was over on Fandom, separate from Gamepedia. Are we (Gamepedia) also hoping to make a Spanish wiki for Terraria? Just curious, as I'd be willing to help some when I have time. Thanks! PuzzledKino (talk) 23:18, 4 August 2020 (UTC)

I just noticed there's an English Terraria wiki on Fandom too! I guess I never noticed, since I don't use that site. I don't know much about the merger, especially because I was absent during most of the discussion, but I suppose I'm mainly wanting to know if you guys need help with the /es pages here :] PuzzledKino (talk) 23:58, 4 August 2020 (UTC)
Right, there are a number of Terraria Wikis on Fandom (including languages for which there is a wiki here on Gamepedia; e.g. Italian or Chinese), sometimes even multiple for one language... Well, they just let anybody create any wiki there. None of the Terraria Wikis on Fandom are "official" in the sense that this Gamepedia wiki and its language variants are "official" (see Gamepedia's Wiki Connect program) – except for the Spanish one. At some point, it was declared the official Spanish Terraria Wiki for some reason; if I was ever told the reason, I can't remember it, unfortunately.
I don't know about the view statistics of the Spanish pages here, but given the lack of activity, I'd assume they're not exactly high. Hence I'm afraid editing the Spanish wiki here would be in vain (though any help is of course always appreciated) when it comes to the total amount of knowledge that Spanish-speaking players gain from the wiki. If you'd like to really help out in Spanish, (never thought that I would ever have to say it) I'd suggest you head over to Fandom. (On that note, I'm more and more impressed by the number of languages that you speak!) --Rye Greenwood (talk) 00:48, 5 August 2020 (UTC)
Thanks Rye! Your description helped me understand things a lot better. And well, I'll keep Fandom in mind, but I really quite like it here on Gamepedia, so I'll probably stick to helping the en/fr wikis here, and the pt/de wikis where possible. And thank you -- while English, Spanish, and French are certainly my stronger languages, I have a big passion for language learning that's rubbed off on the way I edit here. :] PuzzledKino (talk) 01:10, 5 August 2020 (UTC)