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
(Removed spam)
 
(250 intermediate revisions by 64 users not shown)
Line 2: Line 2:
 
*[[User_talk:Briess/archive2|archive 2]]
 
*[[User_talk:Briess/archive2|archive 2]]
 
*[[User_talk:Briess/archive3|archive 3]]
 
*[[User_talk:Briess/archive3|archive 3]]
*[[User_talk:Briess/archive4|archive 4]]}}
+
*[[User_talk:Briess/archive4|archive 4]]
 +
*[[User_talk:Briess/archive5|archive 5]]
 +
*[[User_talk:Briess/archive6|archive 6]]
 +
}}
 +
== Can't move [[:File:Fäden.png]] ==
  
== Version namespace links ==
+
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 <s>accent</s> umlaut - is there any way you can change its name manually in the database? ([[Wikipedia:mw:Manual:MoveBatch.php|This maintenance script]] should do the trick, but it requires a little setup and it might run into the same problem.) &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:17, 13 March 2014 (UTC)
 +
: I missed this. Where should this be moved to? I can give the script a try --[[User:Briess|Briess]] ([[User talk: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). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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. --[[User:Larix|Larix]] ([[User talk: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. --[[User:Briess|Briess]] ([[User talk: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]]). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 03:44, 16 June 2014 (UTC)
 +
::::: Derp. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 05:49, 16 June 2014 (UTC)
  
It appears that the recent update has caused version pages to link back to mainspace, instead of linking within their own version namespace automatically. For example, [[40d:Potash_maker]] links to [[Potash]], while [[40d:Potash]] is the expected link. --[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 15:04, 12 April 2013 (UTC)
+
== Announcements "NEW" icon ==
: Looks like you're correct.  I'll have to investigate and see what the fix is. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 20:17, 12 April 2013 (UTC)
 
:: This has been fixed. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 03:16, 14 April 2013 (UTC)
 
  
==Double redirects to sections==
+
Can you please add an ID attribute to the red "NEW" message in the sidebar, so I can make it hidden? Thanks {{User:Latias1290/Sig/src|13:20|March 23, 2014}}
Though the wiki software is supposed to handle double redirects, it appears to fail when the redirect is to a subsection of a page -- see [[calm]], for instance. --[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 03:40, 13 April 2013 (UTC)
+
:Removed it, since it's clearly not "new" anymore. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 15:55, 23 March 2014 (UTC)
: Interesting.  I will investigate, thanks for the report. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 03:41, 13 April 2013 (UTC)
 
:: Looking into it a bit more, it seems there are a lot of double redirects that don't work properly, even when they're not to subsections; [[fishing]], for instance.--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 17:17, 13 April 2013 (UTC)
 
::: If I remember correctly, Loci pointed that out, but the original discussion was archived. It's probably a problem with the cv: alias (as [http://dwarffortresswiki.org/index.php?title=Fishing&oldid=183520 this revision] on Fishing redirects correctly). --{{User:Lethosor/sig}} 17:25, 13 April 2013 (UTC)
 
:::: That's been my hunch so far, but I haven't had enough time to fully flesh out the problem just yet.  Please keep me posted if y'all find any other edge cases. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 17:27, 13 April 2013 (UTC)
 
::::: [http://www.mediawiki.org/wiki/Manual:$wgNamespaceAliases This manual page] seems to be relevant. I just tested this scenario on another wiki (1.20.2) and ran into the exact same situation (with a double redirect from page -> foo:page -> foo:page2 failing). This may be a problem with MediaWiki as opposed to this specific namespace scheme (although MediaWiki seems to discourage double redirects, according to [[Special:DoubleRedirects]]). I'll try testing on 1.20.3 next, but it probably produces the same result. --{{User:Lethosor/sig}} 17:41, 13 April 2013 (UTC)
 
::::: Actually, '''no''' double redirects seem to resolve, according to my tests, even in the same namespace. --{{User:Lethosor/sig}} 17:43, 13 April 2013 (UTC)
 
::::: [[Wikipedia:Wikipedia:Double_redirects]] seems to state this clearly. I'm not sure if there is a workaround, or what it would be. --{{User:Lethosor/sig}} 17:46, 13 April 2013 (UTC)
 
:::::: https://gist.github.com/locriani/e43abff805d5cdd6c4ac is the current settings we use (as well as the hack to allow in-namespace redirect) --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 17:49, 13 April 2013 (UTC)
 
::::::: There are a few that work; [[milking]] does, for instance. Actually, I did some testing: making a dummy edit to the first redirect seems to fix the problem -- I deleted a space from [[wrestler]], and now it works where it didn't before. However, null edits do ''not'' work. '''Update''': [http://dwarffortresswiki.org/index.php?title=Trigger&diff=183538&oldid=76624 this change] fixed the trigger redirect.--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 17:54, 13 April 2013 (UTC)
 
::::::: Dang it, I bet I know what's causing it then.  There are probably bad entries in the links table,and I may have to forcibly refresh the entire table. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 18:25, 13 April 2013 (UTC)
 
::::: Completely late here, but I was wrong about the redirect limit, which you probably figured out ([http://www.mediawiki.org/wiki/Manual:$wgMaxRedirects]). --{{User:Lethosor/sig}} 01:43, 14 April 2013 (UTC)
 
  
Ok, I've completely rebuilt the links and redirect tables, and thing should be  working as expected now, although I still need to figure out the issue causing links to not stay within the namespace.  If not, let me know! --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 19:17, 13 April 2013 (UTC)
+
== [[:File:Old0c3822.png]] ==
: Nope, still not working -- see [[marksman]], for instance. --[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 19:44, 13 April 2013 (UTC)
 
:: Well, dang it.  Going to keep digging. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 19:46, 13 April 2013 (UTC)
 
::: Ok, looks like it's a bug in MediaWiki that broke max redirects behavior sometime in version 1.20.x and there is not yet a fix.  I will continue to look for a way to resolve it on our end --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 19:55, 13 April 2013 (UTC)
 
  
== Rating script ==
+
This file is missing, but is used on {{tl|old}} and has a history page: [https://dwarffortresswiki.org/index.php?title=File:Old0c3822.png&action=history]. Any idea what happened to it? (Other files appear to be unaffected.) &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 20:16, 4 May 2014 (UTC)
 +
:No idea. Going to rebuild images now then --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 20:30, 4 May 2014 (UTC)
 +
::And it's back after a rebuild --[[User:Briess|Briess]] ([[User talk: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 --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 20:32, 4 May 2014 (UTC)
  
A few problems with the rating script seem to have popped up with the new software (these are probably more related to [[User:Emi]], but you seem to be more active at the moment):
+
== Creature token page seems to be causing your server trouble ==
* <code>jsMsg()</code> now fades out after a few seconds, preventing the automatic tests from completing in a few cases
 
* Clicking a checkbox propagates up to the message box, causing it to fade out and preventing any further action (and showing it again with <code>$("#mw-notification-area").show()</code> doesn't work, because the text is cleared when it disappears).
 
The easiest solution here is probably to display the interface somewhere else, instead of using the notification system.
 
  
For the time being, I can rate articles manually, but it would be nice if someone could look into this. --{{User:Lethosor/sig}} 14:51, 13 April 2013 (UTC)
+
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. [[Special:Contributions/74.67.17.69|74.67.17.69]] 07:23, 6 May 2014 (UTC)
:I'll poke Emily when she gets back from vacation this weekend and we'll figure out a better way to do it. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 18:37, 13 April 2013 (UTC)
 
  
== Parser Functions ==
+
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. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 10:43, 6 May 2014 (UTC)
  
A recent change seems to have caused them to stop working (but they're still listed at [[Special:Version]]). See [[DF2012:Giant lion]] --{{User:Lethosor/sig}} 19:24, 13 April 2013 (UTC)
+
Okay, disabling AutoRedirect fixed this, so I'm currently disabling pieces of it to see what's causing the problem. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:41, 6 May 2014 (UTC)
: Oops, I forgot to clone the repo into one of the servers.  Doing that now. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 19:27, 13 April 2013 (UTC)
 
:: Fixed.  Good catch! --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 19:29, 13 April 2013 (UTC)
 
  
== Categorization by template ==
+
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. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:48, 6 May 2014 (UTC)
  
The recent changes briefly made categorization by template work correctly. Then, another change broke it again. [[:Category:DF2012:Flying]] now includes every creature page, instead of properly determining flying status from the raws. This new breakage seemed to happen about the time you resolved the parser function bug (above). --[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 20:48, 13 April 2013 (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. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 20:11, 6 May 2014 (UTC)
: :psyduck: --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 20:49, 13 April 2013 (UTC)
 
: I'm going to try rebuilding ALL THE THINGS again, momentarily. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 20:50, 13 April 2013 (UTC)
 
::ALL THE THINGS rebuilt. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 21:06, 13 April 2013 (UTC)
 
  
== Random pages ==
+
Awesome, glad I could help. [[Special:Contributions/2604:6000:FB03:4601:BE5F:F4FF:FE3B:6A61|2604:6000:FB03:4601:BE5F:F4FF:FE3B:6A61]] 16:04, 7 May 2014 (UTC)
  
It looks like $wgExtraRandompageSQL was removed in 1.19 ([http://www.mediawiki.org/wiki/$wgExtraRandompageSQL]). The suggested option seems to be adding a hook, as shown [http://www.mediawiki.org/wiki/Manual:Hooks/SpecialRandomGetRandomTitle here], but it's not clear if it can be defined outside of an extension (which might be easier). --{{User:Lethosor/sig}} 01:37, 14 April 2013 (UTC)
+
== MWExceptions ==
: Yep, another thing on my list.  Are you any good at php >.>  I'm trying to figure out another issue and I usually avoid PHP at all costs --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 01:38, 14 April 2013 (UTC)
 
::This looks like it works (at least for me in LocalSettings.php):
 
<pre>
 
function randtitle(&$randstr, &$isRedir, &$namespaces, &$extra, &$title){
 
$extra[]='page_title NOT LIKE \'%/raw\'';
 
return true;
 
}
 
  
$wgHooks['SpecialRandomGetRandomTitle'][] = 'randtitle';
+
Greycat is having problems with editing (may be proxy-related again): http://www.bay12forums.com/smf/index.php?topic=139510.0 &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 11:04, 20 June 2014 (UTC)
</pre>--{{User:Lethosor/sig}} 01:51, 14 April 2013 (UTC)
 
Perfect, I'll steal that. Right now I'm trying to figure out what hack we used to keep links within namespaces. :/ --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 01:52, 14 April 2013 (UTC)
 
:: Implemented. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 03:16, 14 April 2013 (UTC)
 
  
==Note==
+
== Bot is removing av template ==
[2f2c73a7] 2013-04-14 10:08:41: Fatal exception of type MWException
 
  
[65465d61] 2013-04-14 10:10:19: Fatal exception of type MWException
+
[http://dwarffortresswiki.org/index.php?title=DF2014:Puddingstone&diff=204589&oldid=203339 this edit is an example]. Just letting you know. [[User:Brightgalrs|Brightgalrs]] ([[User talk:Brightgalrs|talk]]) 19:39, 10 July 2014 (UTC)
 +
:And it's deleting the stonelookup template too. [http://dwarffortresswiki.org/index.php?title=DF2014:Puddingstone&diff=204589&oldid=203339 example]. [[User:Brightgalrs|Brightgalrs]] ([[User talk:Brightgalrs|talk]]) 19:41, 10 July 2014 (UTC)
 +
::It looks like it searched for "<nowiki>{{quality|.*}}</nowiki>" when doing the "remove quality" step, which ended up matching way too much. --[[User:Quietust|Quietust]] ([[User talk:Quietust|talk]]) 21:45, 10 July 2014 (UTC)
 +
:::Working on a way to revert those using the bot but it will take a bit. --[[User:Briess|Briess]] ([[User talk: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 [[User:Brightgalrs|Brightgalrs]] ([[User talk:Brightgalrs|talk]]) 19:47, 14 July 2014 (UTC)
 +
:::::Awesome. Thanks! --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 00:15, 15 July 2014 (UTC)
  
Internal error
+
== Server woes ==
Jump to: navigation, search
 
[14d33bba] 2013-04-14 10:09:59: Fatal exception of type MWException
 
: Fixed --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 10:42, 14 April 2013 (UTC)
 
  
== Upload link error ==
+
I can't insert {{tl|DF2014 plants/trees}} into {{tl|DF2014 plants}}; the server times out/fails to respond each time I try.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 19:15, 11 July 2014 (UTC)
 +
: I'll take a look. --[[User:Briess|Briess]] ([[User talk: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? &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 17:27, 27 July 2014 (UTC)
  
This happens:<br />
+
== Cannot confirm email address ==
[[File:Upload bug.png]]<br />
+
 
I'm unsure of the cause; it sometimes happens when I load a page and sometimes doesn't, and it even changes between loads of the same page. Something similar happens with tables of contents: where it should say "contents", it instead says "<toc>" (the table of contents for your talk page looks that way to me right now, though I suspect it'll fix itself after I submit this comment, since null edits to pages with this problem seem to fix it for that page).--[[User:Zzedar|Zzedar]] ([[User talk:Zzedar|talk]]) 18:07, 15 April 2013 (UTC)
+
[http://www.bay12forums.com/smf/index.php?topic=140530.0#msg5470497 It's been mentioned on the forum], and I thought I'd let you know here, since I see it too.
:Hrm, I'll investigate. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 18:11, 15 April 2013 (UTC)
+
 
::Should be fixed nowThanks for the heads up. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 18:14, 15 April 2013 (UTC)
+
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. —[[User:Lue|Lue]] ([[User talk: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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 05:33, 14 July 2014 (UTC)
 +
 
 +
Still broken. [[User:Atheistcanuck|Atheistcanuck]] ([[User talk:Atheistcanuck|talk]]) 21:38, 31 December 2014 (UTC)
 +
 
 +
== 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. —[[User:Lue|Lue]] ([[User talk:Lue|talk]]) 23:07, 15 July 2014 (UTC)
 +
:This should be fixed now. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 01:12, 21 July 2014 (UTC)
 +
 
 +
== BriessBot ==
 +
 
 +
Something is fishy with your unrating script. http://dwarffortresswiki.org/index.php?title=DF2014:Dolomite&diff=204130&oldid=202335 [[User:VengefulDonut|VengefulDonut]] ([[User talk: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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 17:23, 27 July 2014 (UTC)
 +
 
 +
== Missing image ==
 +
 
 +
[[:File:Seed0volcano.png]] (reported at [[Talk:Seed archive]]). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:17, 29 September 2014 (UTC)
 +
 
 +
== Image brokenness ==
 +
 
 +
Back in 2012, DrSazar added the poorly-named [http://dwarffortresswiki.org/index.php/File:Sperm.jpg [File:Sperm.jpg], a photograph of a sperm whale. At some point after May 2013 the photograph [http://dwarffortresswiki.org/index.php?title=DF2014:Sperm_whale&oldid=203603 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 [http://dwarffortresswiki.org/index.php/Thread seems to be missing], either.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 16:05, 16 November 2014 (UTC)
 +
 
 +
:[http://dwarffortresswiki.org/images/c/c7/Sperm.jpg Sperm.jpg] is still on the servers (as is its thumbnail). [http://dwarffortresswiki.org/images/2/23/Dyed_thread.png 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. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 03:40, 17 November 2014 (UTC)
 +
 
 +
== Cloning the wiki ==
 +
 
 +
Hi Briess! lethosor directed me here from IRC.
 +
 
 +
Making the wiki available offline has been discussed before by many different people. [http://sebsauvage.net/wiki/doku.php?id=df_portable_wiki 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.
 +
 
 +
# Massage the DF2014 namespace into a set of static HTML documents
 +
# Bundle these documents in [http://kapeli.com/docsets the docset format]
 +
# Release the docset in [http://kapeli.com/dash 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 [http://dwarffortresswiki.org/api.php wiki's API] and the [https://www.mediawiki.org/wiki/API:Expandtemplates 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:
 +
 
 +
# the custom CSS theme
 +
# a list of extensions you have installed (and their source if necessary)
 +
# anything else I don't know about that affects the content generation
 +
 
 +
I noticed that some of the custom extensions are available [https://github.com/DF-Wiki on github], but is that all of them?
 +
 
 +
Cheers, [[User:Rmblr|Rmblr]] ([[User talk: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 [http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php InitialiseSettings.php]. Thoughts? &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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? [[User:Rmblr|Rmblr]] ([[User talk:Rmblr|talk]])
 +
:Oh. If you're referring to diagrams, you can find the relevant CSS in the [https://github.com/DF-Wiki/DFDiagram/blob/master/modules/ext.DFDiagram.css DFDiagram extension] (they're converted into &lt;canvas> elements on the client side by default, but you can disable that in your [[Special:Preferences#mw-prefsection-dfdiagram|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 {{tl|infoheader}}, {{tl|infocell}}, etc.). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 17:50, 10 December 2014 (UTC)
 +
 
 +
 
 +
== 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?
 +
[[User:Su8perkillr|Su8perkillr]] ([[User talk:Su8perkillr|talk]]) 14:33, 3 February 2015 (UTC)
 +
 
 +
:Email features are currently broken ([[#Cannot_confirm_email_address|see above]]). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:50, 3 February 2015 (UTC)
 +
 
 +
Ah, sorry for my blindness... I thought I saw no such thread above. Thanks though! [[User:Su8perkillr|Su8perkillr]] ([[User talk: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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 18:36, 10 February 2015 (UTC)
 +
 
 +
== 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. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 19:09, 20 March 2015 (UTC)
 +
 
 +
== Password reset ==
 +
 
 +
Sorry for the inconvenience - I've lost the password to my account [[User:FangXianfu|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 --[[Special:Contributions/92.28.199.77|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?). &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 15:28, 3 May 2015 (UTC)
 +
:: Note to self: really really really really badly need to fix the email services --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 03:42, 30 July 2015 (UTC)
 +
 
 +
== 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 .
 +
--[[User:Tijagi|Tijagi]] ([[User talk:Tijagi|talk]]) 06:30, 23 November 2015 (UTC)
 +
 
 +
== 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 .
 +
 
 +
== 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
 +
 
 +
== Confirmation email won't send ==
 +
 
 +
Hi Briess, my account won't send a confirmation email, says something about a PHP error. I rechecked the email address, but it seems to be correct.
 +
Thanks, KT
 +
 
 +
== Main page interwiki ==
 +
 
 +
Could we get these interwiki link added to the main page?
 +
* [http://wikiwiki.jp/dwarffort/ jp]
 +
* [http://pl.dwarffortress.wikia.com/ pl]
 +
* [http://español.dwarf-fortress.info/wiki es]
 +
[[User:Brightgalrs|Brightgalrs]] ([[User talk:Brightgalrs|talk]]) 00:02, 18 March 2017 (UTC)
 +
 
 +
== Image problems ==
 +
 
 +
[http://dwarffortresswiki.org/index.php/Main_Page/gallery Various images on the wiki] have again gone missing.--[[User:Loci|Loci]] ([[User talk:Loci|talk]]) 16:41, 10 September 2017 (UTC)|
 +
:Looking now. --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 00:43, 11 September 2017 (UTC)
 +
::This has been resolved. Thanks for the heads up! --[[User:Briess|Briess]] ([[User talk:Briess|talk]]) 01:40, 11 September 2017 (UTC)
 +
:::Now it affects [http://dwarffortresswiki.org/index.php/Tileset_repository Tileset repository] (& few other related, like [http://dwarffortresswiki.org/index.php/DF2014:Graphics_set_repository Graphics set repository]). --[[User:McNattfarinn|McNattfarinn]] ([[User talk:McNattfarinn|talk]]) 08:53, 19 January 2018 (UTC)
 +
 
 +
== Business Inquiry ==
 +
 
 +
Hello Briess,
 +
 
 +
I am trying to find a good way to get in touch with you, preferably through email so that I can talk to you about a business opportunity with the wiki. Please let me know the best way to get in touch with you.
 +
 
 +
Thanks
 +
 
 +
== Getting In Touch ==
 +
 
 +
Hi Briess,
 +
 
 +
I am trying to get in touch with you regarding a few questions I have about the wiki. Can you please email me back at mbarr@sovrn.com?
 +
 
 +
Looking forward to speaking with you!
 +
 
 +
Thank you,
 +
Melissa
 +
 
 +
== Hi Briess, I have a question about a References/Sources Page for DF Modders (Real Quick Question) ==
 +
 
 +
I'm creating a Tileset for DF and I'm now trying to go back and sight references for tilesets that I pulled tiles/content from. I thought that it might be a cool idea if there was a hosted page on the WIKI were DF modifications could be listed as "Free for Use, just sight Author" or "Proprietary: DON'T USE MY WORK w/o permission". Maybe with an included link to the latest version of the mod. I wouldn't mind doing the leg work on this if its something your on board with. Please let me. Thanks.
 +
 
 +
-Dragonmaster13
 +
 
 +
== Please use HTTPS ==
 +
 
 +
Hey Briess.
 +
 
 +
Could you please set up a TLS certificate for the forum?
 +
 
 +
I don't like seeing NOT SECURE everytime I visit the forum.
 +
 
 +
* Is there any update on this? [[User:Solters|Solters]] ([[User talk:Solters|talk]]) 05:21, 8 February 2019 (UTC)
 +
 
 +
::Assuming you mean the wiki and not the forum, the wiki has HTTPS enabled as of this June. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 00:03, 20 July 2019 (UTC)
 +
 
 +
== Wondering if I can have a permission to translate this wiki into Korean ==
 +
 
 +
There are Russian, French, and I've seen a dwarf asking for a Japanese in Talk:Main_Page(but seems like no one has replied yet)
 +
There might be some limitations since I don't understand 100% about some mods and minecart logics and I'm not an expert translator, but I wish I could do this work. :9
 +
Thanks. - bluebird9281.
 +
 
 +
== Add a link to Twitch Dwarf Fortress section? ==
 +
 
 +
Can we add a link somewhere to the DF section of Twitch?
 +
 
 +
[[User:F00z|F00z]] ([[User talk:F00z|talk]]) 21:44, 18 July 2019 (UTC)
 +
 
 +
:What link do you want? There are a lot of related links on the [[Main Page]], and I'm fine with adding one, but I don't know where you want the link to go. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 00:03, 20 July 2019 (UTC)
 +
 
 +
 
 +
Just something like https://www.twitch.tv/directory/game/Slaves%20to%20Armok%20II%3A%20Dwarf%20Fortress that would link to the game's section on Twitch. Figure it might help some discover live DF content.
 +
 
 +
[[User:F00z|F00z]] ([[User talk:F00z|talk]])
 +
 
 +
== Possibility to Translate the wiki? ==
 +
 
 +
Hi Briess,
 +
 
 +
First of all, I'd like to congratulate you for this amazing work. this wiki is a reference for everyone!
 +
 
 +
I'm contacting you because I'd like to know if you would authorise me to translate this wiki? I'm a translator myself and I would love to work on it, of course, for free. I'm aware it is filled with lots of content over the years so it would be a long-term project.
 +
 
 +
My native language is Portuguese, but I could also translate to French and Spanish.
 +
 
 +
Looking forward to hearing from you.
 +
 
 +
Best regards,
 +
 
 +
Elio NETO
 +
 
 +
== Editing practice ==
 +
 
 +
Hi, apologies if this is the wrong place to raise this, but I just reverted the four edits ([https://dwarffortresswiki.org/index.php/Special:Contributions/Billy]) of [[User:Billy]] after getting an email that a page I (had forgotten I) was following had been edited. Some more forceful discouragement may be called for. [[User:Hv|Hv]] ([[User talk:Hv|talk]]) 16:05, 23 April 2021 (UTC)
 +
:Thanks! Will deal with this. [[User:Briess|Briess]] ([[User talk:Briess|talk]]) 13:41, 28 April 2021 (UTC)
 +
 
 +
== Want to translate the wiki Into Chinese ==
 +
 
 +
Hi Briess,
 +
 
 +
Thank for the amazing wiki!It is helpful for everyone!
 +
 
 +
I want to translate this wiki into Chinese. My native language is Chinese. I hope that more Chinese players will know and like this game. In this official wiki, I have not found an entry that can be translated into other languages. I want to move it to other wikis. We are serving and doing related translation work, hoping to get your approval and consent.
 +
 
 +
Finally, thank you for your contribution to the wiki.
 +
 
 +
Best regards,
 +
 
 +
FengMaster
 +
 
 +
== Translate ==
 +
 
 +
Is there the possibility of adding alternative pages for other languages?
 +
That way we can translate into other languages ​​without creating new sites
 +
 
 +
== Replace Chinese Wiki with the new one on Fandom ==
 +
 
 +
Hello, Briess! The current Chinese wiki on wikidot (listed on main page) seems to be inactive for a long time, with its main page refers to the download link of v0.44.10, and most pages are never updated even earlier than that version. Recently we are working on a new site on Fandom ([https://dwarf-fortress.fandom.com/zh]), trying to keep everything up to date. Wish to replace the links on dwarffortresswiki's main page and the sidebar link (ILL) with the one at Fandom, so that more people may get to the right place and join us. [[User:Xjtu-blacksmith|xjtu-blacksmith 黑山雁]] ([[User talk:Xjtu-blacksmith|talk]]) 03:09, 31 December 2021 (UTC)
 +
 
 +
:I've added the link of Fandom wiki site into main page myself. Wish to add ILL for Chinese wiki site (Fandom) one day. [[User:Xjtu-blacksmith|xjtu-blacksmith 黑山雁]] ([[User talk:Xjtu-blacksmith|talk]]) 06:02, 13 May 2022 (UTC)
 +
 
 +
:We've migrated our site to '''huijiwiki''' recently, which is a China-based Wiki farm. I've changed the link on main page. [[User:Xjtu-blacksmith|xjtu-blacksmith 黑山雁]] ([[User talk:Xjtu-blacksmith|talk]]) 02:43, 29 May 2022 (UTC)

Latest revision as of 20:27, 13 June 2023

Archive
Archives

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

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)

Announcements "NEW" icon[edit]

Can you please add an ID attribute to the red "NEW" message in the sidebar, so I can make it hidden? Thanks Latias1290 (talk)

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

File:Old0c3822.png[edit]

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)

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

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)

MWExceptions[edit]

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)

Bot is removing av template[edit]

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)

Server woes[edit]

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)

Cannot confirm email address[edit]

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)

Adventure mode redirect[edit]

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)

BriessBot[edit]

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)

Missing image[edit]

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

Image brokenness[edit]

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)

Cloning the wiki[edit]

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)


Email problems[edit]

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)

Error on page; image missing[edit]

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)

Password reset[edit]

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)

Can't upload files[edit]

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)

Dwarf Fortress French wiki[edit]

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 .

wiki dump available?[edit]

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

Confirmation email won't send[edit]

Hi Briess, my account won't send a confirmation email, says something about a PHP error. I rechecked the email address, but it seems to be correct. Thanks, KT

Main page interwiki[edit]

Could we get these interwiki link added to the main page?

Brightgalrs (talk) 00:02, 18 March 2017 (UTC)

Image problems[edit]

Various images on the wiki have again gone missing.--Loci (talk) 16:41, 10 September 2017 (UTC)|

Looking now. --Briess (talk) 00:43, 11 September 2017 (UTC)
This has been resolved. Thanks for the heads up! --Briess (talk) 01:40, 11 September 2017 (UTC)
Now it affects Tileset repository (& few other related, like Graphics set repository). --McNattfarinn (talk) 08:53, 19 January 2018 (UTC)

Business Inquiry[edit]

Hello Briess,

I am trying to find a good way to get in touch with you, preferably through email so that I can talk to you about a business opportunity with the wiki. Please let me know the best way to get in touch with you.

Thanks

Getting In Touch[edit]

Hi Briess,

I am trying to get in touch with you regarding a few questions I have about the wiki. Can you please email me back at mbarr@sovrn.com?

Looking forward to speaking with you!

Thank you, Melissa

Hi Briess, I have a question about a References/Sources Page for DF Modders (Real Quick Question)[edit]

I'm creating a Tileset for DF and I'm now trying to go back and sight references for tilesets that I pulled tiles/content from. I thought that it might be a cool idea if there was a hosted page on the WIKI were DF modifications could be listed as "Free for Use, just sight Author" or "Proprietary: DON'T USE MY WORK w/o permission". Maybe with an included link to the latest version of the mod. I wouldn't mind doing the leg work on this if its something your on board with. Please let me. Thanks.

-Dragonmaster13

Please use HTTPS[edit]

Hey Briess.

Could you please set up a TLS certificate for the forum?

I don't like seeing NOT SECURE everytime I visit the forum.

  • Is there any update on this? Solters (talk) 05:21, 8 February 2019 (UTC)
Assuming you mean the wiki and not the forum, the wiki has HTTPS enabled as of this June. —Lethosor (talk) 00:03, 20 July 2019 (UTC)

Wondering if I can have a permission to translate this wiki into Korean[edit]

There are Russian, French, and I've seen a dwarf asking for a Japanese in Talk:Main_Page(but seems like no one has replied yet) There might be some limitations since I don't understand 100% about some mods and minecart logics and I'm not an expert translator, but I wish I could do this work. :9 Thanks. - bluebird9281.

Add a link to Twitch Dwarf Fortress section?[edit]

Can we add a link somewhere to the DF section of Twitch?

F00z (talk) 21:44, 18 July 2019 (UTC)

What link do you want? There are a lot of related links on the Main Page, and I'm fine with adding one, but I don't know where you want the link to go. —Lethosor (talk) 00:03, 20 July 2019 (UTC)


Just something like https://www.twitch.tv/directory/game/Slaves%20to%20Armok%20II%3A%20Dwarf%20Fortress that would link to the game's section on Twitch. Figure it might help some discover live DF content.

F00z (talk)

Possibility to Translate the wiki?[edit]

Hi Briess,

First of all, I'd like to congratulate you for this amazing work. this wiki is a reference for everyone!

I'm contacting you because I'd like to know if you would authorise me to translate this wiki? I'm a translator myself and I would love to work on it, of course, for free. I'm aware it is filled with lots of content over the years so it would be a long-term project.

My native language is Portuguese, but I could also translate to French and Spanish.

Looking forward to hearing from you.

Best regards,

Elio NETO

Editing practice[edit]

Hi, apologies if this is the wrong place to raise this, but I just reverted the four edits ([2]) of User:Billy after getting an email that a page I (had forgotten I) was following had been edited. Some more forceful discouragement may be called for. Hv (talk) 16:05, 23 April 2021 (UTC)

Thanks! Will deal with this. Briess (talk) 13:41, 28 April 2021 (UTC)

Want to translate the wiki Into Chinese[edit]

Hi Briess,

Thank for the amazing wiki!It is helpful for everyone!

I want to translate this wiki into Chinese. My native language is Chinese. I hope that more Chinese players will know and like this game. In this official wiki, I have not found an entry that can be translated into other languages. I want to move it to other wikis. We are serving and doing related translation work, hoping to get your approval and consent.

Finally, thank you for your contribution to the wiki.

Best regards,

FengMaster

Translate[edit]

Is there the possibility of adding alternative pages for other languages? That way we can translate into other languages ​​without creating new sites

Replace Chinese Wiki with the new one on Fandom[edit]

Hello, Briess! The current Chinese wiki on wikidot (listed on main page) seems to be inactive for a long time, with its main page refers to the download link of v0.44.10, and most pages are never updated even earlier than that version. Recently we are working on a new site on Fandom ([3]), trying to keep everything up to date. Wish to replace the links on dwarffortresswiki's main page and the sidebar link (ILL) with the one at Fandom, so that more people may get to the right place and join us. xjtu-blacksmith 黑山雁 (talk) 03:09, 31 December 2021 (UTC)

I've added the link of Fandom wiki site into main page myself. Wish to add ILL for Chinese wiki site (Fandom) one day. xjtu-blacksmith 黑山雁 (talk) 06:02, 13 May 2022 (UTC)
We've migrated our site to huijiwiki recently, which is a China-based Wiki farm. I've changed the link on main page. xjtu-blacksmith 黑山雁 (talk) 02:43, 29 May 2022 (UTC)