SotAwiki Update Thread

Discussion in 'Player Created Resources' started by Browncoat Jayson, Apr 9, 2016.

  1. Bedawyn

    Bedawyn Avatar

    Messages:
    683
    Likes Received:
    820
    Trophy Points:
    93
    Last edited: May 13, 2020
  2. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,054
    Likes Received:
    13,538
    Trophy Points:
    153
    Looks like all three of these are references to that same room, just named differently in screenshots from the old Add-on Store. Moved the images and changed them to redirectors.

    This one was apparently a duplicate of Single Connection Stone Dungeon Foyer. Moved the image and made it a redirector.
     
    Rentier and Bedawyn like this.
  3. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,054
    Likes Received:
    13,538
    Trophy Points:
    153
    It looks like this is working. I've added the same functionality to the Item Search and Item Variation queries, so hopefully that will help reduce inaccuracy.

    The cause of the query paging function is still being looked at. There seems to be a http/https redirect issue that might be causing the login issues and some of the style discrepancies. It sounds like we may be getting a new version of the wiki software installed to see if that fixes it, so if there is a short downtime that is likely the cause. I'll post here when I know more.
     
    Elgarion, Bedawyn, Anpu and 1 other person like this.
  4. Bedawyn

    Bedawyn Avatar

    Messages:
    683
    Likes Received:
    820
    Trophy Points:
    93
    While checking dye recipes tonight, I noticed that the Creosote page has an incorrect icon. Following the link to see if I could correct it, I saw it links to the image for the Jar of Vinegar, which itself has an interesting revision history, showing that the correct creosote image (the small clear bottle with a neck) is in the Sotawiki database somewhere. However, the infobox for the creosote itself doesn't actually say what image it links to or show any way to disconnect it from the vinegar pic?
     
    Browncoat Jayson likes this.
  5. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,054
    Likes Received:
    13,538
    Trophy Points:
    153
    Looks like the Creosote_icon.png page was a redirect to the Jar_of_Vinegar_icon.png file. I deleted the redirect and uploaded the image again to that location. Not sure if these shared an icon at one point and never got separated, but they are split now.
     
  6. Thunderstump

    Thunderstump Avatar

    Messages:
    4
    Likes Received:
    3
    Trophy Points:
    3
    Hello, I noticed that the icon of Creosote was broken on all the vendors as the name was Creosote_Icon.png. I re-uploaded it as Creosote.png and added the tags needed for it to show up in the vendor lists.

    I'm new to the forum and the game and didn't find this post until after. So let me know if I did something incorrectly. My aim was to update the Vendorlists, because I noticed many items are outdated. The bottle looks at least very similar to in game to me, but if someone has a new icon file, they should easily be able to update to a new version and the code should work.

    Where is the best place to get the icon-files? I noticed "Wooden Taming Necklace" doesn't exist at all, and I would like to add it.
     
    Rentier likes this.
  7. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,054
    Likes Received:
    13,538
    Trophy Points:
    153
    For some reason, there was code to use {{PAGENAME}}.png as the icon, but by default we use {{PAGENAME}}_icon.png. I removed the unnecessary code and it fixed the issue, so I've deleted the duplicate file you uploaded.

    Its been a while since since I went through the vendors, so any help is appreciated. For new items, you can create the page and once the icon is uploaded it will link up. If the icon already exists (for example, if it uses the same icon as the Animal Whistle icon), you can override it on the new item page by adding "icon=Animal_Whistle_icon.png" to the Infobox Item code.

    If you can't find the icon, let me know. I got a set of images from Chris to go through last year, but it doesn't include a lot of newer items. I've asked about a new set, but havn't gotten anything yet. I know there were some unused icons in that set tho, so its possible I have it and just don't know.
     
    Rentier and Anpu like this.
  8. Thunderstump

    Thunderstump Avatar

    Messages:
    4
    Likes Received:
    3
    Trophy Points:
    3
    Oh, weird. The ones I was looking at didn't have the _icon added. I was trying to mimic how this one was set up: http://sotawiki.net/sota/File:Iron_Ore.png.

    It has:
    {{Infobox Item
    |name={{PAGENAME}}
    |icon={{PAGENAME}}.png
    |weight=0.4 <!-- Optional: In-game weight of the item. -->
    |value=5 <!-- Optional: In-game resale value of the item. -->
    }}

    Is there a guide page somewhere on how to add an item properly and what to think about? Or if you can give me a link to an item that is definitely correctly set up and I can use that as a base. I was looking around, but I'm uncertain what is outdated or not. I'm having trouble knowing if something shares an icon since I just started playing. But "Wooden Taming Necklace" does not share icon with "Animal Icon Whistle" from what I can see.
     
    Bedawyn likes this.
  9. Bedawyn

    Bedawyn Avatar

    Messages:
    683
    Likes Received:
    820
    Trophy Points:
    93
    Just raising my hand to ditto this! There's this page but it hasn't been updated since 2014, and I still see a fair amount of inconsistency between pages and things that look like they need fixing, but where I can't tell for sure that it's not really "working as intended."

    Even on my own wiki, I never messed with infoboxes and templates without having my cheat sheet open next to me, unless I was adding so many pages in a row there was no possibility at all that I'd mis-remember and do something inconsistently. On SOTAWiki, by the time I find a page that should exist but doesn't, or that looks like it's set up incorrectly, I'm invariably already too tired to try to figure out which is the correct format, or how to fix an error that's buried in a query, or how to politely question the wiki founders on whether their decisions years ago made sense or not. When it's midnight and I don't have a cheatsheet handy and I'm faced with a problem page, I'm just going to sigh and go to bed instead of trying to fix it. :-(

    Even when it's not midnight, I worked for years as a copyeditor; I'm pretty opinionated on the importance of stylesheets for reference. Heck, writing the stylesheets and templates was the funnest part of my wiki. I'd be happy to help make clearer instructions for new wiki contributers (as least as much as my recent brain mush allows), but being new to SOTA myself last year, it wasn't something I could start on without guidance from the wiki's Powers That Be (i.e., Jayson ;)).
     
  10. Nick

    Nick Avatar

    Messages:
    845
    Likes Received:
    1,658
    Trophy Points:
    93
    Sotawiki has gotten really slow for me. Takes 2-3 mins to load the main page. Anyone else experiencing this as well?
     
  11. Thunderstump

    Thunderstump Avatar

    Messages:
    4
    Likes Received:
    3
    Trophy Points:
    3
    Edwin the Tanner in Soltown seems to have renamed a couple of his items.
    http://sotawiki.net/index.php?title=Edwin

    Recipe: Leather Straps -> Recipe: Simple Leather Strap
    Recipe: Yard of Leather -> Recipe: Yard of Simple Leather

    However, changing the item-name in his Vendorbox just seem to make the item disappear from the list. It's a bit confusing to not having it look exactly as in the game.
    What's the correct way to fix this. Do I edit the item in "Recipe: Yard of Leather" with a "name=Yard of Simple Leather". Or would it be better to create an entire new item with the new name?
     
  12. Lained

    Lained Avatar

    Messages:
    2,094
    Likes Received:
    3,527
    Trophy Points:
    165
    Location:
    Yeovil, England
    Working just fine this end.
     
    Nick likes this.
  13. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,054
    Likes Received:
    13,538
    Trophy Points:
    153
    There is a Getting Started page, which is linked from the home page. At the bottom are links to layouts, including the Item layout. Thats a fairly good start. Additional information is on the Infobox template page; note that not ALL of the possible overrides are listed, mostly because they have been added piecemeal as things have come up.

    Iron Ore is probably a horrible example; I should go through and rename all of the icons at some point, but I just havn't got time at the moment.

    If the item doesn't exist, the link won't be shown in query lists. So to fix this, you would need to use the Move option to rename "Yard of Leather" to "Yard of Simple Leather" (and the recipe; same for straps), then edit all the vendors to use that item name. (This is why I hate the way vendors work; there is no easy way to update them all at once.)

    I need to check some things in-game tomorrow, so I'll verify and get those updated.
     
    Anpu likes this.
  14. Thunderstump

    Thunderstump Avatar

    Messages:
    4
    Likes Received:
    3
    Trophy Points:
    3
    I did go through both the "Getting Started" and the "Item layout" pages. :)

    But for example, the template states:
    [[Item name]] is a ...

    But most other items I've found use:
    '''{{PAGENAME}}''' is a ...

    Does this mean these should be replaced with the more hard coded [[Item name]]? Or should the template be updated to pagename?


    How would I go about renaming the "Recipe: Yard of Leather". Is there an edit button that includes the pagename? Or do we work around it with a redirect?
     
    Bedawyn likes this.
  15. Browncoat Jayson

    Browncoat Jayson Legend of the Hearth

    Messages:
    6,054
    Likes Received:
    13,538
    Trophy Points:
    153
    These both effectively do the same thing. A link (aka [[Item name]]) to the same page makes it bold, which is what ''Item name'' does. {{PAGENAME}} replaces whatever is in brackets with the title of the page.

    If you are signed in, click More at the top of the page and there is a Move option. Give it a new name, and it will move the page to the new name and leave a redirect with the old name. (I'm not sure what trust level this needs, so if you can't do it I'll get it done when I get back.)