- 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.
Difference between revisions of "User talk:Briess"
(→Cloning the wiki: new section) |
|||
Line 96: | Line 96: | ||
::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. —[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:28, 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. —[[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) | :::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]]) |
Revision as of 12:18, 5 December 2014
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)
- 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)
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 Latias1290 (talk)
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)
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)
MWExceptions
Greycat is having problems with editing (may be proxy-related again): http://www.bay12forums.com/smf/index.php?topic=139510.0 —Lethosor (talk) 11:04, 20 June 2014 (UTC)
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)
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)
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)
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)
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)
Missing image
File:Seed0volcano.png (reported at Talk:Seed archive). —Lethosor (talk) 19:17, 29 September 2014 (UTC)
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)
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.
- Massage the DF2014 namespace into a set of static HTML documents
- Bundle these documents in the docset format
- 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:
- 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 on github, but is that all of them?