User talk:Siguard

From Star Trek Timelines Wiki
Jump to: navigation, search

User talk:Siguard/Archive 1

Category Values

Hey, thought I would let you know that we ran a few maintenance scripts and got the category values to populate correctly now. (well, I cant say for future, but current values are correct). Titantalk 21:20, 29 March 2018 (CDT)

Dot before image name?

Hi Siguard! Out of curiosity, what is the reason for this dot you added to the image name of this item? Cheers, --Crunch (talk) 16:29, 15 April 2018 (CDT)

It's a tldr thing. I did that to "flag" any item image that didn't look 100% perfect as unused images and did a mass delete. Most, if not all, dots can be removed. --Siguard (talk) 18:40, 15 April 2018 (CDT)

Wiki Extracts Plugin

Hi Siguard,

I was told recently that STT Wiki lacks the Extracts Plugin can this be fixed? Had stated that I should contact them & get the stt wiki to run this plugin Wiki's without the plugin make it very difficult to 'grab info from wiki's that don't have it installed'. TIA Siguard, TPol- Sasha0z (talk) 04:50, 17 April 2018 (CDT)

Hi Sasha0z, what are you wanting to use that extension for? The wiki already has a built in API that many people use for bots on discord. This API produces a JSON result, which can be parsed via JavaScript. Here is an example that returns up to 10,000 unused images on the wiki in JSON format, which is easily parable via JavaScript: See the link I provided to the API information of MediaWiki. Titantalk 08:06, 17 April 2018 (CDT)
Hi Titan, Thanks for the info.. shall pass it on - TPol - Sasha0z (talk) 20:52, 17 April 2018 (CDT)


Would you be able to modify Template:ItemX to not display broken links/image links when on a template:ItemX/itemname page? There are almost 15000 wanted pages on the wiki, most are from that issue. A check for current pagename could be done, if rootpagename (mw:Help:Magic_words#Page_names) is ItemX, change link accordingly. Id rather not mess with a template that complicated that I didn't make. Thanks!Titantalk 10:57, 17 April 2018 (CDT)

Also, this might be of interest to you, not sure though: Template:Namespace Links. Titantalk 16:50, 17 April 2018 (CDT)
Hey, Are you sure it's {{ItemX}} that's making all of the wanted pages and not {{ItemPic}}?--Siguard (talk) 08:42, 18 April 2018 (CDT)
No idea, eitherway would you be able to take a look? Titantalk 09:37, 18 April 2018 (CDT)
Apparently, even if you use an #ifexist:File:....., you trigger the "Wanted pages". I'll go through and flip the if tests in ItemPic so it won't go to the #ifexist:File:..... except for the pages that link to other pages that need root images.--Siguard (talk) 10:26, 18 April 2018 (CDT)
My long term, i.e. over the summer goal, is to make it so that the following categories are empty under Maintenance reports:
Note: Some of the links don't update quickly, as a result, they may be out of date. Ignore any pages that are crossed out, they are not "issues". If you would like to help, that would be awesome! Titantalk 19:53, 18 April 2018 (CDT)

Fleet Page

Hi there Siguard, was hoping you can help fix something I was trying to change at the Freedom Fighters page (an Events tabbed 'page') it hit a problem, either I'm overtired or I've missed something obvious (really just copied the top of 'my' own profile page), so am sure it's something of a 'code' for the page, have no idea what that might be as it's not 'switching back and forward' from Events to main Fleet Page. Was also trying to make 2 columns for 'Rank so the Sister Fleet could have it's own. Hope you can help or know someone who can.Sasha0z (talk) 09:20, 22 May 2018 (CDT)TIA, TPol:

It turns out that subpages aren't enabled in the Main namespace, so if you use {{BASENAME}} on the page "Fleet FREEDOM FIGHTERS!/Events", it'll return "Fleet FREEDOM FIGHTERS!/Events" instead of "Fleet FREEDOM FIGHTERS!". So I just hardcoded the pagenames in those tabs for you. Also, I hooked you up with new EventListHeader so now you can enter your main fleet and sister fleet ranking in two columns. NOTE: I did not change the EventList template, so you'll have to list the main fleet's rank as the variable "Rank" and the sister fleet's rank as the variable "SquadRank". I went ahead and edited the data you've already entered to show you what I mean.--Siguard (talk) 21:59, 22 May 2018 (CDT)
Thank you so much for the prompt fix and reply, regardless of the level of tiredness I was experiencing, sounds like I certainly would not have worked it out either :)Sasha0z (talk) 02:28, 23 May 2018 (CDT)aka TPol

New Template Question

Hey Siguard, I'm trying to create a new template. I'm not sure if anyone else is interested in this idea other than myself, but I can think of a few places it could be useful. Anyhow, I want it to be an offshoot of the {{SP}} template. I was going to call it SP2. I'm sure it could be rolled into the existing SP template without hurting already existing uses of it, but that's beyond what I'm comfortable tinkering with. This new template would function exactly as {{SP}} does except that it will then take whatever numbers you input and add your Starbase and Collection Bonuses to them. This way I can use the template on my Crew Quarters page and just input the base stats for each crew since DB was kind enough to put that info right into the game. Then whatever my current bonuses are, they'd be added so that anybody viewing my page would see my crew with my bonuses already added and they could use the same template to do the same. Creating new templates from scratch is not something I'm very strong in, but I can modify existing stuff pretty well. I looked at the {{Crew Page ATS Table}} template thinking that maybe I could somehow just pass my numbers to it and have them come back with bonuses added, but the way that template is setup it doesn't look like that's possible. From there I just took a lot of the guts from {{Crew Page ATS Table}} and mixed them with {{SP}}, but the big problem is that I haven't figured out how to get it so that my bonuses show up instead of the viewer's bonuses. So I guess all of this is a long-winded way of asking for help with this concept. Since you've produced most of the newer (and seemingly complex) templates for the Wiki, you're who I immediately thought of asking first. If you don't care or don't have the time then that's no problem and I understand. :p --Darxide (talk) 20:37, 23 May 2018 (CDT)

I figured I'd respond because I wrote the {{Crew Page ATS Table}} template. I don't have the time at present to help do this but here is my suggestion. Create a separate template that would need the template call would look like: {{spbonus|<base>|<min prof>|<max prof>|<skill>|<username>}}. There is no way to get around needing the skill code, and the username. the username can be used to access the user's cvc bonuses, the User:<username>/fleet page, which then accesses the users fleet bonuses. The username should default to current user if left blank, and ideally not screw up if not logged in. The skill is required to know which bonus to use. This could be incorporated into {{SP}}, but it should be designed as a separate template and "bug tested" before being merged into SP. SP is used on 640 pages extensively, so it is a "high risk" template to edit directly without significant testing. This shouldn't be too hard to implement, especially if using variables. Hope this helps, Titantalk 00:30, 25 May 2018 (CDT)
Did it. You are now able to use the {{SP}} template with a specific user's bonuses by using {{SP|<base>|<min prof>|<max prof>|<skill>|User=<username>}}. Titan is right though, you do need to enter the skill for this to work, otherwise the template will return the base stats entered.--Siguard (talk) 11:45, 25 May 2018 (CDT)
First, thanks for doing that for me. Though there is a problem. It's returning the incorrect values. I just tested with Kortar, but it's returning numbers higher than they should be. I've double checked on Kortar's crew page and everything is fine there. I checked the page code for the base values and they agree with mine, so it's the calculations in the {{SP}} template that are sending back the wrong numbers. --Darxide (talk) 22:35, 25 May 2018 (CDT)
I've been looking at the new {{SP}} template and I found where it's going wrong. It's using the {{ATSB}} template with a negative bonus. This isn't working right because when calculating bonus stats the game rounds down to the nearest whole number. For example, Kortar's base core Command is 921. My total core Command bonus is 11%. So, 921*1.11 = 1022.31 which the game rounds to 1022. {{ATSB|921|-11}} outputs 1035 instead of 1022. Breaking down {{ATSB}}, {{ATSB|921|-11}} translates to 921/(1-(-11/100)) which equals 1034.83 which gets rounded up to 1035. Basically, {{ATSB}} can't be used in reverse. --Darxide (talk) 23:08, 26 May 2018 (CDT)
Damnit! sorry, I thought I was being clever there. I figured flipping the signs would do the trick, but forgot about the dividing instead of multiplying. That's fixed now.--Siguard (talk) 20:30, 27 May 2018 (CDT)
Thanks a million. One final note, I noticed a few off-by-one errors so I did some looking and it seems that instead of always rounding down, the game rounds to the nearest whole number, so anything with .5 or more is rounded up. I changed the {{UserBonus}} template to reflect that. Now I just have to update my entire Crew Quarters and Vault pages. That's going to be some work. Thanks again. --Darxide (talk) 01:28, 28 May 2018 (CDT)

Template:ShipAbility - 1StarAbiltyBoost

Great work on the ShipAbility template - much better structure than the old way. I'm noticing that the property "1StarAbiltyBoost" might be mis-spelled, and a lot of Crew pages already have it. Is that spelling of "Abilty" intentional? Or will that change?

Phroglet (talk) 08:27, 30 May 2018 (CDT)

Hahaha, totally not intentional. Awesome... Thanks for the catch.--Siguard (talk) 08:43, 30 May 2018 (CDT)


Why am I getting Captcha challenges on every update to Tourist Reed?

I need this to stop or I will not contribute to the wiki due to the extra typing and clicks.

New Crew listings

Hi there Siguard, been meaning to offer any help you think may be useful, (so do let me know anytime) but at the moment thought I'd ask about the 'linking' of the current new crew listings to Legendary etc? I'm sure Admin & yourself are more than likely aware of the issue; that > they don't seem to be appearing in the Crew pages listings, but I see no differences in 'edit' mode? Also wondered if it's meant to be linked to the crew/list page TIA Sasha0z (talk) 02:26, 7 July 2018 (CDT)

Yeah, there's currently an issue with the Categories not updating. I personally don't know what the deal is, but Titan fixed it last time this happened. As far as helping, you totally can. I need to compile a list of the "everyday" (really, like twice a week) things I do for the wiki. I'm going to have less and less time to work on it. It's pretty much a plug and play process at this point. If you want to e-mail me, we can talk about it more. --Siguard (talk) 09:04, 7 July 2018 (CDT)
Thanks for the prompt reply, (Someone also msg'd Titan earlier) and no problems on emailing you.. shall do; time on my hands, may as well prove useful :) Sasha0z (talk) 10:53, 7 July 2018 (CDT)
Hi again, have sent an email regarding my offer of help, hope you received it ok. With the growing number of New Crew since the problem, I decided to have a look around (and am trying to pick up a few things along the way) but I noticed a few things 1: there's no 'Q' category in 2: nor is it 'showing' (even though I noticed for Example Queen Guin' was showing in edit mode) here >> - a common factor is (I think) problems started with Queen Guin' on.. there's also no Q Category in Legendaries, maybe other 'letters' are missing in Rare and so on?. Anyway, just thought I'd let someone know those points, at least it's somewhere if Titan finds it of interest, he noted it as being a long way off on the Wiki Admin page. Also, hoping the email got through, and if not let me know. TIA --Sasha0z (talk) 09:54, 20 July 2018 (CDT)
The e-mail did not go through. Would you mind trying again? I'm going to be busy till Monday the 23rd, but if I still didn't get an e-mail, I'll contact you like I did last time. As far as the categories and there not being a "Q" section. That shouldn't matter. The category page would add in a Q section if it were working properly. The issue is the "jobs" are piling up in the Job Queue. Only the admin that can access the server can clear the jobs list so the Wiki can re-run all the jobs and the Categories will fix themselves. BUT, this version of MediaWiki (1.28) is prone to these category issues, so we're going to update the Wiki to v.1.31. I don't have a date of when that will be, unfortunately.--Siguard (talk) 10:16, 20 July 2018 (CDT)

Wiki 1.31

Hi Siguard,

When will the wiki be updated to wiki 1.31 as mentioned on the forum to fix all the bugs, including the Crew/List count not displaying properly and the Category:Crew Vault head not displaying all the crew once you add it on? --Captain Spirk (talk) 07:24, 1 September 2018 (CDT)

I don't have a date. That would be a question for Titan. He's part of the technical staff. I don't have access to the server. I'm hoping it'll be updated sooner rather than later.--Siguard (talk) 08:34, 1 September 2018 (CDT)

Crew Page ATS Table/Tutorial

Hi Siguard,

Has User:Titan asked you to take a look at my Template: Crew Page ATS Table/Tutorial page yet? I recently changed my fleet from [[ Fleet Ohio Baby ]] to Fleet Colonial Fleet Ohio and I want the Template: Crew Page ATS Table/Tutorial page to display my new fleet's stats.

Refer to my talk page User talk: Captain Spirk

Thanks in advance.

--Captain Spirk (talk) 08:13, 12 September 2018 (CDT)

Titan did not contact me, but I changed your fleet's stats by updating your User:Captain Spirk/fleet page to display the current name of your fleet.--Siguard (talk) 09:28, 12 September 2018 (CDT)
Thank you for updating my User:Captain Spirk/fleet . I am now having trouble with proficiency figures not displaying on the Template: Crew Page ATS Table/Tutorial page. Can you please sort this out for me as well? Many thanks. --Captain Spirk (talk) 10:58, 12 September 2018 (CDT)

Crew List Page

Hi Siguard,

I'd spent a bit of time adding crew, though recently there were changes made to all crew (that had no #1 skills) and noticed that the -- or ?? were removed, this also makes those crew not even show their skill at all, I made a note on the discussion page also in the 'history' notes as all versions of Tyler were given Klingon as a Species (instead of as a Trait) Was holding off adding any more crew until sorted out. TIA Sasha0z (talk) 01:01, 17 October 2018 (CDT) aka:[FF]Sevennah