User talk:SBEyes

Infobox Style Sheet
Would you be able to modify the wiki's style sheet so that infobox tables display similarly to wikitables? I'm trying to make some general purpose infoboxes and the tables currently display in a default blue colour with black row text (you can see my current sandboxing on my profile page). I think the right sections can be found by searching for "wikitable" and "infobox table" on MediaWiki:Hydra.css. Cheers. — Nexolate (talk) 09:59, 4 March 2013 (UTC)
 * Hmm, missed that. It's fixed up now. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 11:08, 4 March 2013 (UTC)
 * That's perfect, thanks. Also, do you know what's causing the infoboxes to have so little padding on the article pages? You can see it on some of the weapons pages I've made; the [edit] tags are right up against the side of the infobox. — Nexolate (talk) 19:22, 5 March 2013 (UTC)
 * That should be fixed now too. It was just an oversight because pretty much everything else requiring that box style has no need of side margins at all, and I just forgot to make the necessary change for infoboxes. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 19:38, 5 March 2013 (UTC)
 * Awesome, much appreciated. — Nexolate (talk) 19:46, 5 March 2013 (UTC)

Search Problems
Hey oOeyes, it's me again to bother you for more help. I'm finding it hard to get search results. For example, I'll type in "Vityaz" or "Remington" (part of the page names for PP-19-01 "Vityaz" and Remington 700) and not get any results. Any idea what's causing that? Cheers — Nexolate (talk) 22:36, 10 March 2013 (UTC)
 * We've been adding SphinxSearch to our wikis lately to replace the not-so-hot built-in MediaWiki search. My best guess is that the Sphinx search server has gone down or something like that. Regardless, I have to refer this to our technical team to sort out; they should be able to start investigating tomorrow. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 23:19, 10 March 2013 (UTC)
 * Just checking in, any updates regarding the search engine? I've just tried "Vostok" (as in either Vostok Games or Vostok Radar Station) and I'm still not getting any results. Cheers. — Nexolate (talk) 16:23, 17 March 2013 (UTC)
 * Our technical team is still investigating why SphinxSearch isn't working correctly. Tomorrow, I'll pass up a request to disable the extension until they solve the problem; better to have the built-in search than none at all. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 23:08, 17 March 2013 (UTC)
 * I just got an update. Due to database changes required by the extension, disabling SphinxSearch isn't an option. Regretfully, we have no choice but to wait until the problems with the extension are solved. Apologies for this unfortunate situation. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 09:52, 19 March 2013 (UTC)
 * That's alright. It's not so much of a problem for me, after all I have a pretty good idea what is and isn't on the wiki at this point! I was more concerned for guests coming on, having trouble navigating the wiki and then not coming back. I've been working on a new frontpage design though which should help mitigate some of those problems, it incorporates most of the info that's on the wiki currently. — Nexolate (talk) 10:21, 19 March 2013 (UTC)

Survarium Forums moderator requesting contact
The head moderator on the official Survarium Forums is requesting the admin of the wiki to contact him. See the post here. Just figured I'd give you guys a heads-up in case you missed it. — Nexolate (talk) 14:10, 11 April 2013 (UTC)
 * Thanks, probably would have seen it shortly, but I appreciate the heads-up. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 00:41, 12 April 2013 (UTC)

Closed Beta Stats
Hey eyes, it's been a while. We've got a bit of an issue. The user 84.174.112.76 has just updated a bunch of pages (30th Dec) with a lot of current statistics from the closed beta. However, it's against the NDA to talk about said beta outside of the closed forums, which includes stats according to the head EN Community moderator. Is there any way you can revert these changes and wipe them from the history logs? — Nexolate (talk) 12:06, 30 December 2013 (UTC)
 * Yes, I can hide the revisions so the information isn't public. Should the edits you made to the pages after his also be reverted? If not, it may be more of a challenge as I can't just roll them back without also undoing your edits. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 12:27, 30 December 2013 (UTC)
 * Yes, that's fine. My edits were more of a stop-gap, so it's fine if they get rolled back too. — Nexolate (talk) 13:40, 30 December 2013 (UTC)
 * Looking at it again, I see I don't need to do any rollbacks. I've already hidden the revisions, so the NDA information is protected. Thank you for bringing it to my attention so promptly. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 17:28, 30 December 2013 (UTC)

Hey again. We've got another user violating their NDA. Is there any way you can roll back these stat changes, so they aren't visible in the wiki history anymore? http://survarium.gamepedia.com/index.php?title=Equipment&curid=820&diff=3566&oldid=3551

EDIT: Same with the last 3 edits on Weapons: http://survarium.gamepedia.com/index.php?title=Weapons&diff=3577&oldid=3576 Cheers. — Nexolate (talk) 13:51, 30 April 2014 (UTC)
 * I've hidden the revisions in question. Thank you for bringing this to my attention. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 22:36, 30 April 2014 (UTC)

Following on from the discussion on my talk page, I was also wondering if there was a way to put some kind of notice up when a user tries to edit a page. I want to put up a disclaimer, warning users from posting closed beta stats/media, but I can't think of a good place to put it. I'm not really familiar with gamepedia's formats, do you have any suggestions? — Nexolate (talk) 11:08, 17 May 2014 (UTC).
 * The best choice is probably MediaWiki:Edittools. This will appear below the edit form. You could put it inside &lt;div class="contentbox">warning&lt;/div> to make it stand out. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 19:59, 22 May 2014 (UTC)
 * Thanks for the tip. I settled for an Edit Notice instead. This seems to give the result I was looking for. Also, I left a reply on my talk page but I couldn't find a response; how do you show/hide edits? After a few searches, I've come to the conclusion that I might not have the ability currently. — Nexolate (talk) 20:18, 23 May 2014 (UTC)
 * It would be through the history page, but it looks like we don't currently extend this right to anyone but Curse staff. This is a special case, though, so I'll see if we can get the right extended to you on this wiki when the dev team is in on Monday. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 07:18, 24 May 2014 (UTC)
 * Oh, and I apologize for missing the message on your talk page. I usually receive notifications via RSS, but there's been some kind of an issue with that. Getting used to checking manually again. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 07:23, 24 May 2014 (UTC)
 * That's okay! Also, I understand about the issues with giving non-Curse staff users show/hide abilities. I mostly just wanted to avoid having to pester you every time someone makes one of those edits. I imagine as the number of closed beta testers continues to expand, we'll be getting more and more of them soon. — Nexolate (talk) 07:29, 24 May 2014 (UTC)

-Sergiiowhite: When can I put the stats?
 * I don't know when the NDA expires. You'll have to direct that question to the developers. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 19:59, 22 May 2014 (UTC)

Version History update
Hello again. I've recently made a massive update to the format of the Version History page, moving all of the changelogs into their own dedicated pages such as 0.28a and 0.28b. I was wondering if your bot account could help me update the version links found throughout the wiki.

They're typically in the format of: 0.27a Where as now I'd like them to have a straight page link like so: 0.27a

Is that something your bot can easily do? — Nexolate (talk) 10:43, 5 May 2015 (UTC)
 * This is done. I apologize for the delay, and I think I also may have missed a couple cases where the link included (?}, which would not have been handled correctly. There were a couple I did catch beforehand and manually tweaked, but I don't know where the others were now. :/ &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 03:22, 8 May 2015 (UTC)
 * That's perfect. I can always check the "What Links Here" page for Version History, but this deals with 99% of them. Thank you once again. — Nexolate (talk) 05:07, 8 May 2015 (UTC)

Weapon Data template
Hey Eyes, hope you're doing well. I've been starting to check out Dirty Bomb recently and I was pleasantly surprised to see that you were a frequent contributor on one of the wikis.

I've been having a browse around and your WeaponData Template caught my eye. I was wondering if you could walk me through its purpose and usage? It looks like a way for you to share data across multiple pages, so you don't have to change the same value in different places when updating, which is a problem I've run into many times on this wiki. Could you explain how it works, whether you need any plugins and how one might adapt its usage for something like our Weapons page tables?

Oh, and don't worry, I'll leave the Dirty Bomb wiki alone for now. :) For one thing, I've only recently started playing the game so I don't know enough about it to meaningfully contribute. More importantly, I've noticed who else is frequenting that wiki and I don't want to run the risk of starting another incident.

Cheers. — Nexolate (talk) 07:28, 13 June 2015 (UTC)
 * For Dirty Bomb, we have a person who is reversing and extracting data from the game (though there are some difficulties with this at present). The purpose is just to have separate pages in a Data namespace where he can have a bot upload the data without concern of overwriting other content. Because of this, the overall approach you see there is overkill for simply sharing data between pages because it's really designed to deal with data coming from two sources: that which is imported to data pages, and that which might be supplied by editors on the main page. But most of that work is actually done by the WeaponInfo template which does the real heavy lifting.


 * I suppose for a simpler setup, you could use the same variable-based approach as WeaponData. (The Variables extension is installed by default on all of our wikis.) This basically just makes the data pages into invisible templates that set those variables. Unlike what I'm doing, you could just call them explicitly, like . A simpler trick that I've seen on GuildWiki might be even better. You set up templates with your data something like this, say for Template:M4:


 * And then to use it, you call it like this:  . You just supply it with the name of the template that actually layouts the information, one that takes the parameters in question. This way, you can have multiple templates using the same page for data. Anyway, that's quick and dirty since I don't have more time to answer at the moment. If you're interested in a more thorough description, I'll post more when I have more time to explain. &mdash;  oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 11:27, 13 June 2015 (UTC)


 * Well, we've also gained the ability recently to extract stats from the game data. I'm developing one of the apps myself actually, so there is the possibility for us to have a similar set up. For the time being though I'll have another read through WeaponData and WeaponInfo to get a better idea of the template flow. If you do have the time later and feel like explaining some more then I would appreciate it.


 * I'm not sure I understand the GuildWiki example you gave, for example. Is it that the parameter would be another template; say Infobox, TableRow, etc, that uses those same parameter names? So for example it would end up expanding to:

OR


 * Is that correct? — Nexolate (talk) 13:33, 13 June 2015 (UTC)
 * Yes, that's right.
 * I'll also mention that WeaponInfo is using Semantic MediaWiki properties that allow me to set up templates with automated lists. This is powerful and speeds things up nicely for someone like me who is working on a lot of wikis at once, but it doesn't come without annoying tradeoffs. The biggest one is that these automated lists don't deal with the wiki-side cache as invisibly and automatically as you're used to with ordinary templates and images. (Meaning that pages that use templates and images usually update on their own when those templates or images get changed. The automated lists, sadly, often have to be manually resaved to reflect changes in the data. Even worse, sometimes a change to something like the WeaponInfo template sometimes requires all pages using it to be resaved before changes in the data are reflected, though I can do that via bot fairly easily.) Anyway, that's why I say I have a love-hate relationship with the extension. It's powerful, but it's pretty technical and brings a number of headaches with it as well. At this time, I wouldn't really offer you a recommendation for or against it. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 23:28, 13 June 2015 (UTC)


 * Ah, that's a good point. The devs don't seem to be slowing down with adding weapons and changing stats, so that option may indeed end up being quite a hassle. Okay, I'll try to come up with something later for that GuildWiki idea you shared. Thanks for taking the time to answer my questions. :)


 * If I understand it correctly, WeaponInfo has 3 phases for getting the info; first from the parameters from the template, second from a data page with the specified name, then finally with force-overrides. After that, it just lays it out in an infobox format. I don't understand the actual syntax of the second phase, but that seems to be the general gist of it, right?


 * Also, unrelated, but while I'm asking, do you think there's any downsides to replacing the current News feed with a twitter one? I've talked to you before about having to manually update the News feed template and we could never find an simple, effective solution. — Nexolate (talk) 08:57, 14 June 2015 (UTC)


 * The second phase in WeaponInfo tries to find the correct data page by looking for one that a name property that matches its page name, since that will find the correct page most of the time. Without Semantic MediaWiki, you wouldn't have the property anyway, so any data page would have to be lined up either more manually, or possibly just keeping page names the same if possible, like "M4" and "Data:M4". But with items of data sometimes having the same name or weird naming conventions in code, it would be a good idea to at least have a parameter where you can identify the correct data page. (And most of that mass of code is just providing guidance for when there is more than one thing with that same name.)


 * Basically, it could be simplified to something like this:  {{#if:{{{datapage|}}|{{ {{{datapage}}} }}|{{Data: }} }} . In the end, once it finds the data pages, it mostly just imports it as an template, though one that's invisible on the page.


 * I think it would be fine to switch to a Twitter feed for the main page. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 09:12, 14 June 2015 (UTC)


 * EDIT: One thing I noticed while playing with that tag is that the Dirty Bomb wiki may benefit from the dark style instead of the light style. The text currently blends into the background on my browser and the 'dark' style uses a light font colour. — Nexolate (talk) 08:59, 14 June 2015 (UTC)


 * Oops. The wiki did originally have a light skin. Figures I'd forget something in the transition. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 09:12, 14 June 2015 (UTC)

Evening. I'm starting to get a rough mock up of this WeaponInfo template going. You can see the results here. If you've got some time to wrap your head around the templates (it's a bit of a maze), I'd appreciate some feedback to know if I'm going in the right direction. :)

One issue I've noticed is that if I have more than 2 ammo variants with the same damage for a weapon, it will list them with several "or"s. E.g. "7N6M or 7N10 or 7N22" and so on. It's not a major issue, since to my knowledge there are no weapons that have more than 2 ammo types like that, but if you've got any suggestions then I'd definitely be interested! — Nexolate (talk) 21:00, 16 June 2015 (UTC)

EDIT: Do you know what the best way to get a template's name when it's transcluded is? I'd like the ability to make an "edit source" button on infoboxes, but the magic word gets transcluded before it's evaluated. Any ideas?

EDIT2: Nevermind, should've just searched for it. If you were curious, it's. Sorry for spamming your page. — Nexolate (talk) 20:43, 18 June 2015 (UTC)
 * Well, that's a trick I didn't actually know. Thank you. I'm getting caught up, so I'll try to take a look at the templates over the weekend. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 06:46, 19 June 2015 (UTC)


 * Unfortunately, that also didn't seem to work quite the way I was expecting. I must've been misunderstanding something because it kept getting the current page name, and not the template's name. Here's the article I was looking at: wikipedia:Help:Substitution — Nexolate (talk) 08:55, 19 June 2015 (UTC)


 * As far as I know, there is no way to do this with magic words, functions, tags, or anything. MediaWiki just provides nothing that refers to the template being processed, only the overall page. Depending on the application, you usually end up either typing it out or passing a page/template name as a parameter to another (as when a template calls a template, and you need the name of the calling template inside the called one). It's awkward, but it's the only solution I've ever run across. &mdash; oOeyes  [[Image:User-OOeyes-Sig.png|link=User talk:OOeyes]] 16:44, 19 June 2015 (UTC)