User talk:Siguard

From Star Trek Timelines Wiki
Jump to: navigation, search

User talk:Siguard/Archive 1

Full Body Image uploads

Hey Siguard, I've uploaded some new full body images to the wiki and will continue to do so as I have time, but I wanted to mention I forgot to put the "Full" part in the filename. I'll try to change it if I can figure it out, but FYI for the existing ones. This affects Mariachi Q, Florist Q, and The Clown. Going forward I will remember. --Sorinev (talk) 11:05, 10 January 2018 (CST)

Siguard, a question regarding full body image code on wiki pages. I've been using Tempted Data as my model for when I add new full body images, but after I added Florist Q, it was changed to something totally different that is completely based on the page name of the character (completely dynamic - no manually typing crew member name). I assume that's the preferred way then? And is there anything else I should know?

Crew Table

Hey, Was adding the new collection boosts easy? I tried when originally making that template to allow for other percentage bonuses to come up so it was easy to expand. Titantalk 03:11, 4 March 2018 (CST)

Adding the actual bonuses to the table was fairly easy, the hardest part was figuring out I needed to have the code say User:{{CURRENTUSER}}/cvc instead of how you had {{User: {{CURRENTUSER}}/fleet}}. Those currly brackets can be tricky. Heh. (I actually figured out WHY just now when I previewed this post without having the nowiki tags on there) --Siguard (talk) 09:28, 4 March 2018 (CST)
Haha, glad to hear it was easy. Yup, on the fleet one you want to go to the fleet page's subpages, however on the cvc ones you want to stay with the user subpages. Think it would be possible for you to (if user/cvc path exists) display Fleet <fleetname> + User collection bonuses in the heading to the starbase table. And perhaps figure out where the best place for a link to those pages would be? (i.e. Separate the percentages into +4% (+5%) for fleet (collection) or something like that.) Titantalk 22:42, 4 March 2018 (CST)

Item images

May i suggest that we start creating redirect pages following the naming scheme for items for all items that have the same icon as another. This will make it so we can just have a template that takes the item name and rarity and automatically add the correct image, rather then have to have a list of all images that is parsed? Would be more efficient, and easier to expand in the future (i think) when more images are added. Just a thought Titantalk 16:42, 5 March 2018 (CST)

I don't know. Currently, I'm working on adding Root Images to the wiki. These 200x200px images were first add as a solution to the not-exactly-perfect Item flip issue and now I've expanded it to all images. The {{ItemPic}} Template first looks for the specific rarity of the image, if one doesn't exist, it'll use a root image (say a Text Book TextBook.png) and add a rarity cover over it (like FlipUncommon.png) to make Spacer.pngTextBook.pngFlipUncommon.png. So, in the future (and last week), all we'll need to upload for new images will be the Root Image (and Base Image, the basic version of an item, for now).
I understand this isn't exactly want your talking about. You're more talking about getting rid of the need to enter the ItemName on crafting tables and use redirects instead of having to go through {{ItemPic/1}} for the same looking images. It could be even with the root images, but I don't think it could look up specific rarities before overlaying the images. I'm not 100% on if that would be the case. But first I need to create and upload about 571 Root Images.--Siguard (talk) 09:40, 6 March 2018 (CST)
Nice, that makes sense. Uploading 1 image per item is nice. Titantalk 10:07, 6 March 2018 (CST)

DPL

Hey, You should take a closer look at extension: Dynamic Page list 3. (just search in google that along with mediawiki). Here is an example of its usage:

Titantalk 20:57, 11 March 2018 (CDT)

I see you are experimenting with DPL, like it so far? I think it will be real useful for populating pages like that, and perhaps if we start adding subpages for all crew pages with such as:
  • Crew/skill1
  • Crew/skill2
  • Crew/skill3

ifexist: Crew/skill1

  • Crew/skill1/FFEE_base
  • Crew/skill1/FFEE_maxprof

etc.

That would allow auto populating tables such as the crew list, just using category crew. Would also allow auto populating gauntlet crew. Thoughts? Titantalk 21:49, 19 March 2018 (CDT)

Adding Images as Files

Hi there, Titan mentioned you were quite knowledgeable with adding images to various pages and know the process, my problem is the main logo of my Fleet, which I made recently but I can't seem to change the thumbnail dimension or 'delete the current' for the newer versions. (which are 800x800) TIA - TPol Sasha0z (talk) 13:58, 20 March 2018 (CDT) File:Fleet_FREEDOM_FIGHTERS!.png

I'm not entirely sure what you're having trouble with. The fleet logo you want is the 800x800px Starfleet-esque logo, right? If so, it's already on your fleet page. If you're wanting to change the size of that logo on the fleet page, the you should delete the red part of the code below and then change the size of the green section of code.
{{InfoBox
|Box title = [FF] Freedom Fighters!
|Image file=[[File:{{PAGENAME}}.png|300px]]
|link1 =
|Image size = 200px
|Row 1 title = Created
|Row 1 info = Janurary 2016
Also, a word of caution. The File pages take a few hours to update. So, don't trust any squished images it may be showing if you had recently changed it.--Siguard (talk) 14:35, 20 March 2018 (CDT)

Hi again, I'm very new to the Wiki, yes at the link (of the image, not 'fleet') you'll see that the dimensions are actually showing as (785 × 296 pixels, file size: 98 KB, MIME type: image/png) << that is actually the 'old' logo dimensions, I had 'swapped' it for the new one when the new logo wouldn't change, then Titan had helped me (not sure of the steps, but at least it fixed and then showed at both the Fleet Page and Fleets Lists' pages. I simply need to delete or get rid of what shows here File:Fleet_FREEDOM_FIGHTERS!.png as it is 'set' to the dimensions of the old image, even though it shows correctly at the pages, it doesn't on the 'image page' because of the old thumbnails dimensions. Titan had advised me to get in touch with you to help fix it, also that there was a known glitch, but in this case I need to set it so it is the second down at the image page, as you'll note it does not show as 785x296 as per the current one. Sasha0z (talk) 14:56, 20 March 2018 (CDT)

Aha.. it either fixed when I tried the 'revert' before posting on you page here, but as you say, it took a little while.. Thanks Sasha0z (talk) 15:03, 20 March 2018 (CDT) Oh dear, a minute ago it was at 800 x 800 (actually 4 were there, and the old one at the bottom) now it's gone back to the old 785x296 again sizing again The squished 'current one was gone' now it's back. Sasha0z (talk) 15:20, 20 March 2018 (CDT) help :/

Had reverted the image again yesterday, also a quick chat to Crunch, issue sorted and thanks for your help as well, Cheers TPol - Sasha0z (talk) 04:01, 22 March 2018 (CDT)

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: https://stt.wiki/w/api.php?format=json&action=query&list=querypage&qppage=Unusedimages&qplimit=10000. 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)

Template:ItemX

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)