v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

User talk:Briess

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Archive
Archives

Offsite Images?

I've been trying to figure out how to display images from offsite (ie imageshack links) without uploading them to the wiki. I'm looking to move a 92-image post from the Bay12 forums to one of my userpages (rather large images at that) and if I can't use offsite linking I can't do it. According to what I could find on Wikipedia about wikitext this isn't possible, but I'm not one hundred percent sure, just doublechecking. Or if there was a way to get around this, that'd be jolly good too. --Retro 21:56, 22 April 2010 (UTC)

Raw subpages

I've noticed that the current trend seems to be putting the various raws into subpages specific to each "entity". I feel I should point out that this might be a bad idea, because it will result in people clicking "Random page" occasionally being directed to one of said /raw pages. I know because I ran into the exact same problem on the KoL wiki - all of the various in-game items (of which there are several thousand) had been given data pages (containing templates of the form {{#switch:{{{1}}}|name=whatever|image=something.gif|plural=somethings|{{{2|}}}}} for the purposes of easy data retrieval by other templates), and said data pages had been placed as "item name/data", leading to them coming up during searches and "random page" clicks; in the end, we created a separate namespace to contain them, but that probably won't work very well here because all of the "entity" pages are already in their own namespaces. VengefulDonut was considering using his regular expression voodoo templates to automatically extract all of the relevant raws for an entity (just as is done with the mineral/metal/gem infoboxes, but just grabbing the entire blob rather than parsing out individual fields), something that would only require a single "raws" page for each version and would be much simpler to update when new releases come along and fix a whole bunch of errors in the raws. --Quietust 12:49, 23 April 2010 (UTC)

Seems it was a lot easier than I figured it'd be - all creatures from 23a now grab their raws from the appropriate creature raw pages, and once I import each of the raw pages for 40d and 0.31, they'll automagically start working there as well. A few additional changes to {{Game Data}} should allow it to reliably fetch raws for other object types (specifically, MATGLOSS for old stones/metals/plants, INORGANIC for new stones/metals, and PLANT for new plants). --Quietust 19:26, 4 May 2010 (UTC)

Recent changes page

I know this is probably some sort of hack. But is there any way that we can get recent changes to be like search in the sense that we can use checkboxes to select multiple namespaces? Like all the "talk" pages? Minor deal, don't kill yourself/the wiki trying to do it, but if it's not exceedingly hard, it'd be useful. Thanks Mason (T-C) 16:29, 24 April 2010 (UTC)

Understood, thanks for looking into it. Mason (T-C) 01:44, 25 April 2010 (UTC)

Re: Game data template

Allright, i didn't want to break anything. Just wanted to improve, because the way it currently looks is a bit cruel. Could you please tell me what other templates relate to the gamedata one. Greetings -- Used 09:39, 27 April 2010 (UTC)

Ah, i have been surfing in the wiki, now i know what you mean =) Thx --Used 15:47, 27 April 2010 (UTC)

Quick page check request

I was wondering if you could quickly comment on this list: DF2010:Industry Mostly if any industres are missing, and I really don't like some of the names.GiantTiger11 20:39, 27 April 2010 (UTC)



  • Your cat got run over by a car? That's so sad. :[ --ToonyMan 03:09, 1 May 2010 (UTC)

502 Bad Gateway

After uploading all of the raws for 0.31.03, the DF2010 pages for Dwarf, Human, Elf, and Goblin are all giving "502 Bad Gateway" almost immediately. Other creatures within creature_standard.txt (the largest of the raw files, weighing in at 185kb) are loading just fine. Back when VengefulDonut was working on the stonelookup/contains stuff, the page for Chromite was doing the same thing, specifically when it tried to look up the list of gems contained within it (said list consists only of Demantoid, and the entire raw file for gems is only 30K), though it looks like some other changes to the raw templates were able to solve that particular issue. If the size of the template is an issue, it should be reasonably easy to split it in half - it'd just be a matter of editing DF2010:Creature file lookup and redirecting some of the entities to different pages. --Quietust 23:57, 4 May 2010 (UTC)

As a side test, I tried doing the same regex match on my Windows XP box using PHP 5.2.9, and trying to match against the DWARF raws caused it to silently crash (apparently due to a stack overflow within PCRE - adding ini_set("pcre.recursion_limit", 25000); removes the crash but also causes the match to fail) while the others seemed to be okay; however, on my FreeBSD server (amd64, running inside VMware on the aforementioned Windows XP box) running PHP 5.2.11, they all worked fine. The latest version of PHP 5.2.x is 5.2.13 (and the latest overall version is 5.3.2), while the site itself is running 5.2.10, so it's possible that something was fixed in the meanwhile, though I don't see anything in the changelog that looks to be related. --Quietust 00:44, 5 May 2010 (UTC)