Open main menu

Dungeons and Dragons Wiki β

User talk:Surgo

Revision as of 00:03, 18 October 2014 by Havvy (talk | contribs) (Asirra Issue: new section)
Archives: 1.

Yay Captcha!

Good to see our shields are up again. Course, it would be ideal if we didn't need them, but you know those crazy spammers. I'll keep a look-out for any bypasses. -- Eiji-kun 06:53, 4 July 2012 (UTC)

Boo Capchas

Well, not boo in that we have them, but boo in that they are giving us a PHP error:

Fatal error: Call to undefined function curl_init() in /var/www/w/extensions/Asirra/Asirra.class.php on line 78"

This is blocking reddir from saving pages from what he said in IRC. --Havvy 13:28, 5 July 2012 (UTC)

Error has been fixed, but the CAPTCHA has been turned off. And uh, shit, this has probably prevented anyone from registering on the site since we moved servers. Surgo 16:37, 5 July 2012 (UTC)
I never saw a CAPTCHA offered, even when I tried to make an edit after logging out. Its not normally a problem for me. Be Well 13:44, 6 July 2012 (UTC)
CAPTCHA reenabled. Problem with curl should be fixed. Surgo 14:10, 6 July 2012 (UTC)
Testing...Yay! I can still post. Be Well 15:15, 6 July 2012 (UTC)

Lizardfolk Paragon is now CommFave

Enjoy and all that. Put it in the rotation and all that. - MisterSinister 08:36, 9 July 2012 (UTC)

Ratings Update

Following the recent wiki vote on ratings granularity and display, all old ratings can be updated to make use of "love / like / neutral / dislike / hate" instead of the old values. If you would like to update your ratings, you can find a list of them at Category:Legacy Rating Surgo. When you update a rating, be sure to delete the "|OldRating=True" part. - Tarkisflux Talk 17:54, 15 July 2012 (UTC)

AddRating Stuffs

Can you update the ip error text so that it contains an intended line break at a nice place instead of breaking at its current weird place?

Can you trigger the ip error before they have a chance to write (and then lose) their review? If not, can you display their review for them to copy before they log in so they can then paste it back in? - Tarkisflux Talk 02:51, 16 July 2012 (UTC)

I can't do this tonight. For the second paragraph, the former is not possible. The later may be possible. This could take some time though. Surgo 03:05, 16 July 2012 (UTC)
I'd actually like to do the latter as part of a "rewrite your rating if it exists" thing. Surgo 03:21, 16 July 2012 (UTC)
That's fine. Just tested as an ip, saw weirdness, didn't want to forget it. - Tarkisflux Talk 04:57, 16 July 2012 (UTC)

Ninja Surprise!

By the by... I made my attempt. So far results have been positive. -- Eiji-kun 17:06, 6 August 2012 (UTC)

Thanks, I'll check it out when I have some free time at work or get home. Surgo 17:10, 6 August 2012 (UTC)

Chat Game

We can do it today if you are up for it. --Leziad 23:48, 21 August 2012 (UTC)

Another one tonight if you are available. --Leziad 00:33, 27 August 2012 (UTC)

So, I tried the whole Lisp thing...

Yeah, I decided I'd actually try it, and I'm not having much luck. I'm using Lispbox (i.e. emacs), and I was just trying to write some simple functions, and the results were... rather weird. Specifically, I wrote this:

(defun square (x) (* x x))

And the REPL seemed fine with it. Then, I tried this:

(square (2))

And what I got was this:

Car of (2) is not a function name or lambda-expression.

  [Condition of type CCL::SIMPLE-PROGRAM-ERROR]

[Restart options go here]

Backtrace:

 0: (CCL::CHEAP-EVAL-IN-ENVIRONMENT (SQUARE (2)) NIL)
 1: (CCL::CHEAP-EVAL (SQUARE (2)))

I am... completely confused as to why this is happening, and I had nobody else to ask. I would appreciate any help immensely, because I very much would like to like Lisp (and be able to use it). - MisterSinister (talk) 08:33, 27 September 2012 (UTC)

You wanted to write (square 2), not (square (2)). Function calling goes (function arg1 arg2...), and if you put anything inside parenthesis (this isn't exactly what happens, but is enough for the purposes of this discussion) it tries to evaluate it as if its a function. So (square (2)) is trying to evaluate a function "2", as if you had just typed (2). This function doesn't exist, so it errors out. Much more specific explanation (which you may or may not understand) in the paragraphs below.
What actually happens in the evaluation (or a reasonably close approximation of what happens) is that when the interpreter sees a () list, it takes the "car" (the first element) of the list and tries to evaluate it. This can be either a function, a macro, or a special form (some things like if, or lambda). If it's none of the above, it doesn't know what to do so it has to bail out. So take (square (2)). It goes from left to right...okay we see (square, and square is a function, so evaluate it. Now we have (2, try to evaluate it...error! (It doesn't go from inner to outer because of macros, which you'll learn about later.)
You might wonder -- why the hell does (defun) not work that way? That's because defun is a macro -- a macro is a construct that is like a function, but is evaluated at compile time (instead of run time) and does not interpret its arguments when called. So the macro gets (x) (* x x) as its arguments -- not the results of evaluating (x) and (* x x).
Hope that helps. Surgo (talk) 13:05, 27 September 2012 (UTC)
Thanks - that actually makes sense. - MisterSinister (talk) 19:10, 27 September 2012 (UTC)

Comm Faves

Turns out your Tome Ninja is a Comm Fave, but it doesn't have a blurb and isn't in the front page rotation. Here's a link to the blurb preload loader if you wanted to fix that: linky. The Tome Monk needs one too, if you wanted to write up two while you were at it. - Tarkisflux Talk 20:49, 22 December 2012 (UTC)

I think what we really need are images. Could anyone help with that? Surgo (talk) 17:19, 27 December 2012 (UTC)

Editing Tyranny Domain

There need to be some additions and changes to Tyranny Domain. The list of compulsion type spells associated with Tyranny are incomplete. The list of total deities that align with the Tyranny Domain are incomplete. The WotC database has other different material, but they aren't open to public edits. As it stands, these are just minor edits based on the actual domain features, and the full list of spells. It's not an earth shattering edit really? At least it doesn't seem so.

Can I just add the missing date (it's taken me hours of research to complete this) without a rollback please?

I'm not Surgo but I can answer for him (because I would have done the same thing). The domain you edited is a homebrew replacement and not intended to be a reprint of the WotC one (which I'm pretty sure is not OGL, and so not content we are allowed to host). The reason the edits you made got reverted is that they were substantial changes to a contributor's work that is associated with their name, and is not the vision they had for the work. I can add a note to the top to indicate that it's supposed to be a replacement, since it wasn't clear otherwise, but that's about as far as we can go with it. Letting you make the changes you'd like to wouldn't correct it, since it was never intended to reflect the WotC original. - Tarkisflux Talk 16:25, 27 March 2013 (UTC)

Gotcha. I missed that it was homebrew. I'll just find add another.

Chronicles of Astinus

Hello! I had some time today and have now imported the articles from Chronicles of Astinus into the DnDWiki namespace. I thought it would not be too much trouble to go ahead and do this manually, but it was quite some more than I expected. Inbetween I messed up the main page (I still do not know, why the import did not change any pages which names already did exist, like Caramon Majere, but seems to HAVE changed the main page) - I hope there was no harm done and I'm really sorry about that. In any case, if we carry on importing Spelljammer Wiki some time in the future, I would be happy if you might find a non-manual solution some time. But now there will be lots of work for adapting the stuff from Chronicles of Astinus :-). I also made a page Dungeons and Dragons Wiki:Chronicles of Astinus (in accordance with Dungeons and Dragons Wiki:DnDWiki/Dungeons and Dragons Wiki:DnDWiki import).
One problem I could not solve: I could not import Template:Pantheon of Dragonlance because it is so large. Would you have any idea how to solve that? Thanks in any case. Daranios (talk) 18:01, 9 May 2013 (UTC)

By the way: Would it be possible to upload svg-files? This seems to be possible at Wikipedia, but not (yet) here. I would be interested in: Ansalon Post Catacylsm. Thanks a lot for giving it a thought! Daranios (talk) 16:06, 13 May 2013 (UTC)
That template is really nasty. I'll see what I can do about it, but it depends on a lot of stuff that we don't have. I can enable svg rendering and hopefully it won't put too much of a strain on the server -- to be honest, I never even realized it was turned off. I might not even have to install anything extra. Surgo (talk) 19:30, 13 May 2013 (UTC)
Holy crap that template is crazy. It's only used on two pages though, and going without it or working up a (less crazy and probably less pretty) replacement doesn't seem too difficult. Alternately, it could be saved as an image and loaded into the page in that format. Not interactive, but also easy to implement.
As for svg, if it's problematic we can always save the image to a different format and upload new format with the same licensing information. That might lose the image history, but I think it works out ok. - Tarkisflux Talk 21:01, 13 May 2013 (UTC)
Right! Just let me know if it works out or not, otherwise I will have a look to change the format. Thanks! Daranios (talk) 14:55, 14 May 2013 (UTC)

Rating Block Notice

Your rating of Creepy Kid (3.5e Feat) has been blocked and is no longer being counted among the article ratings. Please see the rating on the talk page to determine the block reason. Once you have addressed the cause of the block, generally by updating the rating in some fashion, please delete the "|block=<-reason->" line so that your rating will be counted again. You may also remove the block parameter if you feel it was not applied in accordance with our guidelines. Assistance editing your rating may be found here. Feel free to delete this notice at any time.

Adoption

Can I get your get your blessing to adopt the S'uuisku (3.5e Race) page? --Franken Kesey (talk) 15:24, 23 July 2013 (UTC)

Rating Extension Tweak

A bit ago I asked if you could modify the ratings extension to update category/semantic tables or just "open"->"save" the associated article page without making any changes, and now I have an example of why I want that changed. Dark Sun Rising (3.5e Spell) just got commopp'd, and according to the article page it is in the Community Opposed category and also has the Rating property set to "Rated 0 / 4". If you go to the comm opp category, you will not see the page. If you do a semantic search for Rated 0 / 4, you will not see the article listed. If the article gets edited and saved it will show up in those places, but that doesn't happen all the time. These make it really really hard to track down things that should be removed per policy, hence my original request.

If you don't want to look into the table thing, could you just do the article save thing instead? Since the extension is already opening and saving the talk page, adding a call to open and save the article page without changes right after seems like an easy thing to bolt on. Assuming it works, and I don't see why it wouldn't, it would make tracking these things a lot easier. - Tarkisflux Talk 03:45, 20 August 2013 (UTC)

Sorry I haven't looked at this. I'll take a look as soon as I can. We are running somewhat older versions of the software at the moment -- I wonder if an upgrade would fix this problem. Surgo (talk) 04:55, 20 August 2013 (UTC)
Going to guess it's a result of the stuff being added using the author template. The trouble with null saving programmatically has always been the race conditions that come with it; I'll see if there's a better way to refresh the pages. Surgo (talk) 05:02, 20 August 2013 (UTC)
I think I found a way to do this. Surgo (talk) 17:17, 21 August 2013 (UTC)

And we're back...

How's the wiki? Spammerbane was getting a workout there, but I believe I have CLEAVED AND SMOTE EVIL them all. What a strange thing, were our defenses down for a moment? -- Eiji-kun (talk) 03:36, 14 January 2014 (UTC)

Yeah I was upgrading and turned Asirra off for a second...WTF man, how often are spammers pinging us? It was just like 2 minutes. Surgo (talk) 03:41, 14 January 2014 (UTC)


Edits Disabled

So I seem to be unable to make edits to pages (curiously though I can edit Talk pages just fine). Also curiously I can post new pages just fine, but god help me if I try to edit after. The error message varies slightly, but the typical message is Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/w/includes/parser/Preprocessor_DOM.php on line 1073. Any ideas? -- Eiji-kun (talk) 02:33, 16 January 2014 (UTC)

Can you edit them while logged out? I'll try upgrading a couple extensions that might be causing trouble and see if it changes anything. Surgo (talk) 02:53, 16 January 2014 (UTC)
I'll be on chat for a bit, let's try to fix this bug. Surgo (talk) 02:57, 16 January 2014 (UTC)
Not mibbit chat, but I can get on AIM via my phone. Moment. -- Eiji-kun (talk) 03:02, 16 January 2014 (UTC)
Don't worry about it. I've reproduced and will keep testing on this end. Surgo (talk) 03:03, 16 January 2014 (UTC)

Slow Loading

The wiki has been loading pages slowly for about a day now (30 seconds to a minute to load a page). Got any ideas on why this might be? --Ganteka Future (talk) 22:00, 11 February 2014 (UTC)

Looks like I'll need to reinstate my "restart everything at regular intervals" script. Surgo (talk) 03:18, 12 February 2014 (UTC)
And we'll go back to looking for which page is breaking everything again. Maybe I should just convert all of the nav pages to shorter formats with "further results" links already... - Tarkisflux Talk 04:03, 12 February 2014 (UTC)
I'd be surprised if it was any particular page this time...the process happened so slowly it could just as easily be a bug in lighttpd or whatnot. Surgo (talk) 05:18, 12 February 2014 (UTC)

Ping

Hey Surgo, the User Navbox JS stuff is ready: Talk:Main_Page#Please_take_NavBoxes_out_of_articles._.28Just_in_case.2C_this_is_NOT_an_April.27s_Fool.29. --Aarnott (talk) 15:10, 9 April 2014 (UTC)

Hey, I'll add this in and test it when I get back from travelling on Thursday. You can do it yourself if you want though, as an admin I believe you have access to MediaWiki:Common.js. I only don't want to do it now because I want to be able to test it a bit :/ Feel free to splice it in before I get home if you have access, otherwise I'll do it as I can test it. Surgo (talk) 07:05, 12 April 2014 (UTC)


Phoenix Knight

The class you requested is about 50% done now. Just updating so you know im still working on it. --Leziad (talk) 05:00, 20 August 2014 (UTC)

Thank you! :-D Surgo (talk) 15:44, 20 August 2014 (UTC)

Comm Opp / Fav Category and Ratings Code

Did you ever update the "add ratings" code so that it re-saved the article page that we talked about. You figured out an alternative to my proposed open / save without changes plan to update the tables, but I don't know what it was. I ask because I'm not seeing the newly opposed articles in the Community Opposed category (it shows on the article, but the article isn't listed in the category page), and I don't want them to get lost or missed in general. - Tarkisflux Talk 16:42, 18 September 2014 (UTC)

Oh man I don't think I did. Urgh, I don't even remember what the alternative was now. Surgo (talk) 17:12, 18 September 2014 (UTC)

Asirra Issue

Had a non-registered user come into IRC today and post that they couldn't create a new page due to an error with assira:

Fatal error: Call to a member function xpath() on boolean in /var/www/w/extensions/ConfirmEdit/Asirra.class.php on line 52

--Havvy (talk) 00:03, 18 October 2014 (UTC)

Return to the user page of "Surgo".