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.

Difference between revisions of "User talk:Briess"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 148: Line 148:
  
 
Magmawiki has no such problem. What change do I need in configuration of RegexFunctions to allow for the processing of multiple rows? --[[User:Igoreklim|igoreklim]] 08:35, 18 April 2011 (UTC)
 
Magmawiki has no such problem. What change do I need in configuration of RegexFunctions to allow for the processing of multiple rows? --[[User:Igoreklim|igoreklim]] 08:35, 18 April 2011 (UTC)
 +
:I wasn't aware that {{tl|infostart}} did anything at all with regexfunctions. Also, you might want to consider making use of [http://www.qmtpro.com/~quietust/DFRawFunctions.txt DFRawFunctions], an extension that's mostly replaced regex functions here. --[[User:Quietust|Quietust]] 14:41, 18 April 2011 (UTC)

Revision as of 14:41, 18 April 2011

Archive
Archives

Possibly exploitable bug

When searching for "Pit/Pond" it returns "Warning: preg_match() [function.preg-match]: Unknown modifier 'p' in /var/www/dfwiki/includes/SearchEngine.php on line 1169" Possibly dangerous to have PHP errors print to the browser, regarding injection/buffer overflows and whatnot.

Not to mention the fact that the search feature is seemingly treating search terms as if they are regular expressions without escaping any of their contents (it should at least be escaping slashes)... --Quietust 15:32, 8 September 2010 (UTC)

Confirmation E-Mails not working?

It seems that confirmation e-mails aren't properly sent. I registered as xtank5 and forgot my password several weeks later. I had it send me an e-mail reminder but I forgot that I had not received the confirmation e-mail. So I have not reset my password. I re-registered as XtankFive and still have not received the confirmation e-mail. I have a gmail account for e-mail if that affects anything. You mind fixing it? --Xtank5 00:10, 15 July 2010 (UTC)

Download the wiki?

Is there any way to make the entire wiki availible for download? I do not have internet at my house, and this wiki is an awesome resource that I check frequently when I don't understand what a certain workshop does or what labor to enable to get a dwarf to make charcoal. It would be great if there was a periodically updated link to a zip or rar that contained the either the entire wiki the most important sections, like what Wikipedia has (perhaps minus most images to save space?) You wouldn't even have to host this file yourself, if bandwidth is a problem. It would be a super useful addition, though users are still going to have to check back here for the latest info. Please consider it? --12.2.142.12 19:12, 4 June 2010 (UTC)

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 {{gamedata}} 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)
I've rewritten the regular expression used in {{raw2}} and it seems to no longer choke on creature_standard.txt, though for now I'm leaving it split in 3 pieces. --Quietust 02:32, 5 May 2010 (UTC)

MediaWiki:Sidebar

Sometimes the sidebar has the community portal/current events stuff, and i have to go to the above place and save (w/o changes) to get it to come up. Is that a wiki problem, or my own browser problem? Thanks. Mason (T-C) 17:16, 10 May 2010 (UTC)

External links

I posted a mantis bug link and was prompted with an external link captcha box. Seems like bay12games.com ought to be considered an internal domain by this spam-avoid feature. Is there a domain whitelist? Timbojones 16:58, 23 May 2010 (UTC)

Magmawiki Skin

I can't help but notice the sidebar is nonexistant in the Magmawiki Skin - this makes it hard to navigate back to the first page, as there is no link to do so. Obviously I can just use the address bar to go back, but it's a hassle. --DrMelon 20:50, 24 May 2010 (UTC)

Edit: Now I feel like a fool.

Wiki Confirmation E-mails

I signed up about 12 hours ago and still haven't received my confirmation e-mail. Is this because I used a free web-based yahoo email, or is there something else wrong? I have this same issue with the official DF mantis bug tracker. --DreadKatak 16:42, 27 May 2010 (UTC)


I lost my password and I need help.

My account name is Toybasher and I forgot my password and I didnt give my email so I cant give it back.

If you dont believe me you can even check my IP address.--24.2.194.255 23:47, 28 May 2010 (UTC)

Image map extension?

I have an ambitious idea for DF2010:Menu, but it would require this extension.

http://www.mediawiki.org/wiki/Extension:ImageMap

Interested in adding it? :) Mason (T-C) 19:39, 19 June 2010 (UTC)

Admin contact?

June 23 2010 How the heck do we contact you? ktaipan@pris.ca unsigned comment by 208.181.180.157

Templates

{{stonelookup/0}}

I have RegexFunctions (v1.3) and ParserFunctions (v1.1.1) but this template doesn't work correctly in the Russian wiki. It didn't return a values from raw-files for Melting point, Boiling point, Ignition point, etc. I want to ask, what settings of wiki you changed and where? --igoreklim 12:24, 13 July 2010 (UTC)

You've got the regular expression limit set too low - it's only evaluating 10 regexes per page, which is nowhere near enough. By comparison, this wiki has the limit set to 100. --Quietust 14:28, 20 July 2010 (UTC)
Thanks, man --igoreklim 05:06, 21 July 2010 (UTC)

Suggestion namespace

Hey Briess, I want to start working on a few projects helping with suggestions and using the wiki to index common ideas for the game. I thought having a suggestions namespace that can specifically be searched (and random page'd!) could be useful. What do you think? Mason (T-C) 21:34, 19 July 2010 (UTC)

Another Confirmation Email Problem

I registered a few days ago and haven't gotten the confirmation email I requested. I requested it a total of three times (spaced apart by many hours) and I checked the spam folders. Any help is appreciated! Cjfoster 03:49, 11 September 2010 (UTC)

Test.

Test.

Email Fixed

Thank you, Briess! I got my confirmation email exactly as expected. --Jwest23

Site Announcements

Hey, would you mind telling me how the site announcements works? I'd really like to implement this on a private wiki that I help run, and it doesn't look like you guys are using an off-the-shelf extension; I couldn't find it in your Common.js or Common.css either. Thanks; -- Ademrudin 09:39, 27 October 2010 (UTC)

*facepalm*, I did not realize that MediaWiki:Sitenotice existed at all, much less in the default MediaWiki installation. Now I've figured out how 99% of it works, including using custom namespaces to limit editing access on Dwarf Fortress Wiki:Announcements. I'm still figuring out the javascript and custom cookies to keep it hidden if it's been hidden beofre/force showing it when there's a new one... But I think I can muddle through now. Thanks! Ademrudin 20:30, 8 November 2010 (UTC)

Spam

The spam problem seems to be getting progressively worse - further measures would seem to be necessary. At least one other wiki I've seen blocks posting of external links until the account has been "approved" in some way (e.g. added to a special group) - perhaps something similar could be done here? --Quietust 18:32, 6 February 2011 (UTC)

Andale Mono

I'm not sure how much testing was done with this font, but I certainly don't have it on my Windows XP system, and Wikipedia indicates that Windows hasn't included that font for well over 10 years, having replaced it with Lucida Console. For now, I've fixed it by adding a "monospace" fallback. --Quietust 02:19, 16 March 2011 (UTC)

DF Raw Functions

I've been working on a MediaWiki extension designed solely for parsing Dwarf Fortress raws - so far, I've implemented functions to duplicate the "raw", "tag", "tagentry", "tagvalue", and "foreachtag" templates without making use of regular expressions (instead using ordinary strpos, substr, and str_replace), so memory/CPU usage should not be a concern. I've even added a special tag for re-evaluating the output of a template or parser function so that the BiomeToken template can be used properly. My work so far can be found here. --Quietust 20:21, 25 March 2011 (UTC)

Great, once I have a chance (and things settle down a bit) I will see about installing it --Briess 04:39, 26 March 2011 (UTC)

Revert request

If you can find the time, could you revert the Template:BIcon page back to it's second-to-last revision? It seems borked and I cannot submit an edit to the page without a server timeout. --dUMBELLS 18:25, 7 April 2011 (UTC)

Taken care of. --Quietust 20:18, 7 April 2011 (UTC)

Bizarre searching

I have a heck of a time with the searching on this site. Most of the time I get no hits. If it does come up it usually the 40d page first. Last night I searched for Bee and Beekeeping and both came up with no hits. Today, both work. Crazy? Today I searched for mechanic and got NO HITS. I have a screenshot to prove it. I'm not sure how to link to the image, but it is here: http://df.magmawiki.com/index.php/File:Screenshot.jpg ! However, I just searched for it again and BANG, there it is. I'm not crazy, at least not yet... If it does come up with something (cluttered), it is usually the 40d version! Look at both pages, though. They BOTH contain the word cluttered.--Kwieland 14:44, 8 April 2011 (UTC)


RegexFunctions

I have one more question about RegexFunctions. In the russian wiki template:

{{infostart|
 Test message}}

doesn't work
We have to place the text on one line:

{{infostart|Test message}}

then it works

Magmawiki has no such problem. What change do I need in configuration of RegexFunctions to allow for the processing of multiple rows? --igoreklim 08:35, 18 April 2011 (UTC)

I wasn't aware that {{infostart}} did anything at all with regexfunctions. Also, you might want to consider making use of DFRawFunctions, an extension that's mostly replaced regex functions here. --Quietust 14:41, 18 April 2011 (UTC)