DF v0.42 information
  • Saves from v0.40.24 are compatible with v0.42.06! We will not be migrating to a new namespace, although the current "DF2014" namespace may be renamed to "v0.42" in the near future.
  • Please mark all v0.42-specific articles/sections with {{new in v0.42}}. For short v0.42-specific information, you can use {{version|0.42.01}}.
Updated 14:38, 30 December 2015 (UTC). This notice may be cached—the current version can be found here.

User talk:Briess

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

Contents

[edit] Can't move File:Fäden.png

It's used on cv:thread, but I can't seem to move it to a better title. I think it's because of the accent umlaut - is there any way you can change its name manually in the database? (This maintenance script should do the trick, but it requires a little setup and it might run into the same problem.) —Lethosor (talk) 19:17, 13 March 2014 (UTC)

I missed this. Where should this be moved to? I can give the script a try --Briess (talk) 20:35, 4 May 2014 (UTC)
I was thinking something like f:thread.png or f:rope reed fiber thread.png would work. If not, I can always reupload it and delete the original (assuming that works). —Lethosor (talk) 20:52, 4 May 2014 (UTC)
Oops, that was my file. I guess i should take it as reminder to label files something more accessible when they're intended for public use and not just my own stuff. --Larix (talk) 14:31, 6 May 2014 (UTC)
Can't get the move to work. I'll have to play with the DB if I want to do that. --Briess (talk) 03:39, 16 June 2014 (UTC)
Might be because I already moved it. :) (Can't remember where at the moment, but it's on thread). —Lethosor (talk) 03:44, 16 June 2014 (UTC)
Derp. --Briess (talk) 05:49, 16 June 2014 (UTC)

[edit] Announcements "NEW" icon

Can you please add an ID attribute to the red "NEW" message in the sidebar, so I can make it hidden? Thanks Latias1290Talk13:20March 23, 2014

Removed it, since it's clearly not "new" anymore. —Lethosor (talk) 15:55, 23 March 2014 (UTC)

[edit] File:Old0c3822.png

This file is missing, but is used on {{old}} and has a history page: [1]. Any idea what happened to it? (Other files appear to be unaffected.) —Lethosor (talk) 20:16, 4 May 2014 (UTC)

No idea. Going to rebuild images now then --Briess (talk) 20:30, 4 May 2014 (UTC)
And it's back after a rebuild --Briess (talk) 20:30, 4 May 2014 (UTC)
Rebuilding images is now a cronjob that will run every 30 minutes on dfaux1 as well now --Briess (talk) 20:32, 4 May 2014 (UTC)

[edit] Creature token page seems to be causing your server trouble

http://dwarffortresswiki.org/index.php/DF2012:Creature_token comes up with a completely blank (like, about:blank blank) for me and pretty much everyone else I've asked about it. I can get the contents by pulling them from google's cache, but the site itself seems to refuse to let you load it. From experience as a webhost, this generally means that the page has encountered a critical error in its scripting, which it will dump in the error log instead of reporting to the user, for security reasons. I would suggest scouring your error logs. Don't know why this particular page is causing issues. 74.67.17.69 07:23, 6 May 2014 (UTC)

Probably a rendering time issue - the other versions load fine, but v0.31 takes the longest (I'm pretty sure the v0.34 page is the largest). Using action=raw also works. —Lethosor (talk) 10:43, 6 May 2014 (UTC)

Okay, disabling AutoRedirect fixed this, so I'm currently disabling pieces of it to see what's causing the problem. —Lethosor (talk) 19:41, 6 May 2014 (UTC)

It appears that the TitleIsAlwaysKnown is the problem, presumably because it takes a lot of time to render on a large page like creature token. Unfortunately, this is the hook that makes links and searching work. I'll try making the extension skip section links, since they account for most of the links in that article and don't need to be handled at all. —Lethosor (talk) 19:48, 6 May 2014 (UTC)

All right, that seems to have worked. The render time is back down to 1.2 seconds, which is pretty good for such a long page. —Lethosor (talk) 20:11, 6 May 2014 (UTC)

Awesome, glad I could help. 2604:6000:FB03:4601:BE5F:F4FF:FE3B:6A61 16:04, 7 May 2014 (UTC)

[edit] MWExceptions

Greycat is having problems with editing (may be proxy-related again): http://www.bay12forums.com/smf/index.php?topic=139510.0Lethosor (talk) 11:04, 20 June 2014 (UTC)

[edit] Bot is removing av template

this edit is an example. Just letting you know. Brightgalrs (talk) 19:39, 10 July 2014 (UTC)

And it's deleting the stonelookup template too. example. Brightgalrs (talk) 19:41, 10 July 2014 (UTC)
It looks like it searched for "{{quality|.*}}" when doing the "remove quality" step, which ended up matching way too much. --Quietust (talk) 21:45, 10 July 2014 (UTC)
Working on a way to revert those using the bot but it will take a bit. --Briess (talk) 22:06, 11 July 2014 (UTC)
I'll get them. I've been meaning to find an excuse to use AWB here. Cheers Brightgalrs (talk) 19:47, 14 July 2014 (UTC)
Awesome. Thanks! --Briess (talk) 00:15, 15 July 2014 (UTC)

[edit] Server woes

I can't insert {{DF2014 plants/trees}} into {{DF2014 plants}}; the server times out/fails to respond each time I try.--Loci (talk) 19:15, 11 July 2014 (UTC)

I'll take a look. --Briess (talk) 22:05, 11 July 2014 (UTC)
I'm guessing this is because AutoRedirect takes more time to render links to pages that don't exist, since it checks every versioned namespace before determining that a page doesn't exist. I'm not sure how to fix this yet, but it seems to me that either disabling the additional namespace checks in the template namespace or only enabling them in the main namespace could work. Any better ideas? —Lethosor (talk) 01:25, 21 July 2014 (UTC)
I think it makes sense to only have the checks happen in the main namespace. We can discuss more on github if you want. --Briess (talk) 17:27, 27 July 2014 (UTC)

[edit] Cannot confirm email address

It's been mentioned on the forum, and I thought I'd let you know here, since I see it too.

When I went to the page to start the confirmation process, I was told the email had already been sent. After waiting quite a while without anything, I decided to ask for another email, and that's when I encountered this error:

Dwarf Fortress Wiki could not send your confirmation mail. Please check your e-mail address for invalid characters.
Mailer returned: Unknown error in PHP's mail() function.

Hopefully this will be an easy fix, sorry I don't have anything more specific for you to follow up on. —Lue (talk) 00:00, 14 July 2014 (UTC)

Thanks for the heads up. I'm aware of the issue but have not had the time yet to diagnose and fix - I am planning on spending some time with it this upcoming week. --Briess (talk) 05:33, 14 July 2014 (UTC)

Still broken. Atheistcanuck (talk) 21:38, 31 December 2014 (UTC)

[edit] Adventure mode redirect

For some reason adventure mode redirects to the 0.34.11 adventurer mode page, so I went to see if I could change this. Apparently, it contains a redirect to adventurer mode, which redirects to the DF2014 page. I'm not quite sure what's going on here, so I thought I should bring this up. It's perhaps related to why the adventure mode links in DF2014:Adventure mode quick start are red, which is why I was looking into it in the first place. —Lue (talk) 23:07, 15 July 2014 (UTC)

This should be fixed now. —Lethosor (talk) 01:12, 21 July 2014 (UTC)

[edit] BriessBot

Something is fishy with your unrating script. http://dwarffortresswiki.org/index.php?title=DF2014:Dolomite&diff=204130&oldid=202335 VengefulDonut (talk) 22:07, 25 July 2014 (UTC)

Derp. I'll have to look into fixing this. Although it may be easier to just fix it manually? Oh never mind there are A BAZILLION PAGES. --Briess (talk) 17:23, 27 July 2014 (UTC)

[edit] Missing image

File:Seed0volcano.png (reported at Talk:Seed archive). —Lethosor (talk) 19:17, 29 September 2014 (UTC)

[edit] Image brokenness

Back in 2012, DrSazar added the poorly-named [File:Sperm.jpg, a photograph of a sperm whale. At some point after May 2013 the photograph changed into an image of actual sperm, presumably drawn from wikimedia commons. The wiki software shouldn't be losing images, or replacing local images with reference images. It's not the only image that seems to be missing, either.--Loci (talk) 16:05, 16 November 2014 (UTC)

Sperm.jpg is still on the servers (as is its thumbnail). Dyed_thread.png is also on the servers, but its thumbnail appears to be missing. I'll try rebuilding the image table to see if that fixes anything. —Lethosor (talk) 16:20, 16 November 2014 (UTC)
Dyed_thread.png has been fixed. I'm still not sure what's wrong with Sperm.jpg - it's stored on the server, but Mediawiki doesn't seem to be recognizing it. —Lethosor (talk) 16:28, 16 November 2014 (UTC)
Mediawiki Commons has a history of being entirely dumb. I moved the page; I think it's possible that busting the thumbnails could theoretically fix it, but I'm not sure. --Briess (talk) 03:40, 17 November 2014 (UTC)

[edit] Cloning the wiki

Hi Briess! lethosor directed me here from IRC.

Making the wiki available offline has been discussed before by many different people. Some even manage something almost useful. You've helped the situation by making the XML dumps available, however so much information in the wiki is locked behind templates that depend on custom PHP extensions to expand properly. I want to pick up this torch and produce something usable and useful for everyone.

My plan is simple.

  1. Massage the DF2014 namespace into a set of static HTML documents
  2. Bundle these documents in the docset format
  3. Release the docset in Dash on OSX and [zealdocs.org Zeal] on Windows and Linux.

Dash/Zeal provide fast instant search and they're designed for searching through sets of documents already.

Step 1 is where all the work takes place of course. I want to do it in a way that is as light on the existing infrastructure as possible. Using the wiki's API and the action:expandtemplates feature, I can expand the XML dump into rendered HTML. But this is essentially scraping the wiki, which isn't good.

Instead, I would like to setup my own instance of the wiki and run all the processing locally.

So my question for you is, can you kindly give the assets needed to setup a clone of the wiki? AFAIK, all I need to make a facsimile of the wiki is:

  1. the custom CSS theme
  2. a list of extensions you have installed (and their source if necessary)
  3. anything else I don't know about that affects the content generation

I noticed that some of the custom extensions are available on github, but is that all of them?

Cheers, Rmblr (talk)

edit: - I forgot to mention images. I plan to support an image-less version of the docset at first that will load the images opportunistically if the internet is available. Eventually, if you don't mind, I'll fetch images in bulk from the wiki (respecting the cache and expiry headers of course).

Briess - I was thinking of putting some of the settings we use on Github, like WMF's InitialiseSettings.php. Thoughts? —Lethosor (talk) 20:40, 6 December 2014 (UTC)

Rmblr - what custom CSS theme are you referring to? Aside from Mediawiki:Common.css, I don't believe we've made any modifications to the Vector theme. —Lethosor (talk) 20:42, 6 December 2014 (UTC)

Lethosor - I assumed you were using some custom CSS to display things like ASCII tiles, stone infoboxes, etc. Is that not the case? Rmblr (talk)

Oh. If you're referring to diagrams, you can find the relevant CSS in the DFDiagram extension (they're converted into <canvas> elements on the client side by default, but you can disable that in your preferences or simply by parsing the wikitext, which should generate a HTML table instead). Other than that, most CSS is stored in templates (although it can be several levels down - infoboxes use {{infoheader}}, {{infocell}}, etc.). —Lethosor (talk) 16:38, 7 December 2014 (UTC)
That's reasonable to me. Let's take discussion of what to do for this to the github issues tracker. --Briess (talk) 17:50, 10 December 2014 (UTC)


[edit] Email problems

Ohey, New here. Made an account yesterday, and inserted my email adress where it belonged, and then the wiki returned this: Error sending mail: Unknown error in PHP's mail() function. Same happened for my other email account... Any ideas? Su8perkillr (talk) 14:33, 3 February 2015 (UTC)

Email features are currently broken (see above). —Lethosor (talk) 16:50, 3 February 2015 (UTC)

Ah, sorry for my blindness... I thought I saw no such thread above. Thanks though! Su8perkillr (talk) 20:02, 3 February 2015 (UTC)

No worries. I need to fix it but haven't had time to work on it recently. --Briess (talk) 18:36, 10 February 2015 (UTC)

[edit] Error on page; image missing

The page "http://dwarffortresswiki.org/index.php/DF2014:Pasture" is generating the following error, towards the top of the page ...

Error creating thumbnail: convert: unable to open image `/var/www/dfwiki/images/6/62/Roach.png': No such file or directory @ error/blob.c/OpenBlob/2638. convert: unable to open file `/var/www/dfwiki/images/6/62/Roach.png' @ error/png.c/ReadPNGImage/3667. convert: no images defined `/tmp/transform_3d58c9a26907-1.png' @ error/convert.c/ConvertImageCommand/3044. -- Should be fixed. --Briess (talk) 19:09, 20 March 2015 (UTC)

[edit] Password reset

Sorry for the inconvenience - I've lost the password to my account FangXianfu. Hopefully you have an email address on record for me & I still have access to it - most of them redirect to fang dot xianfu at gmail dot com, where you can reach me if you need to. Thanks --92.28.199.77 10:55, 3 May 2015 (UTC)

I sent a new password to an email at ironicorbit.org. If that doesn't work, I can try the email above or send it to your account on the forums (Xinael?). —Lethosor (talk) 15:28, 3 May 2015 (UTC)
Note to self: really really really really badly need to fix the email services --Briess (talk) 03:42, 30 July 2015 (UTC)

[edit] Can't upload files

I wanted to upload an image about picking bioms for the Quickstart page, but I’m not allowed to. At the time my account was created, the site engine said that it cannot send me a confirmation email because of mail() function. Here’s the image I wanted to add, please use: http://i.imgur.com/0vSEzyZ.png . --Tijagi (talk) 06:30, 23 November 2015 (UTC)

[edit] Dwarf Fortress French wiki

Hello Briess,

Do you know who runs the French DW wiki ? It seems impossible to register for that site ( trying to register gets this error : " Fatal error: Call to a member function xpath() on a non-object in /home/librejeu/dwarffortress/wiki/extensions/ConfirmEdit/Asirra.class.php on line 52 " ) and my login from this wiki doesn't work there .

We've got a Facebook group going and some people want to contribute to that site .

[edit] wiki dump available?

hey i have an old wiki dump of dwarf fortress that i use through WikiTaxi, was trying to find the dump database to get a newer version but couldn't locate it

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Advertisement