User talk:Surgo

From Dungeons and Dragons Wiki
Jump to: navigation, search
Archives: 1.

Yay Captcha![edit]

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[edit]

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[edit]

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

Ratings Update[edit]

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[edit]

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![edit]

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[edit]

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...[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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...[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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)

Acknowledged. Will fix tonight and if I can't, disable it entirely until I can fix it. Surgo (talk) 01:13, 18 October 2014 (UTC)
Ah, fuck. Asirra shut down. Need to find a replacement. Surgo (talk) 02:39, 18 October 2014 (UTC)
I turned on recaptcha. People should at least be able to register now, but be aware that recaptcha is way fucking worse than Asirra ever was and we're probably going to get some spam. Unless I get some time that I don't have to improve the ConfirmEdit extension, I'm afraid we're in a bit of trouble. Surgo (talk) 03:43, 18 October 2014 (UTC)
If anyone's looking for a programming challenge btw, please patch the ConfirmEdit extension to implement some kind of exponential backoff. Shouldn't take more than a day, depending on your familiarity with PHP and the algorithm itself. Surgo (talk) 03:44, 18 October 2014 (UTC)

Capcha stuff[edit]

Found places I could work in an exponential backoff, haven't done it. Also found this that just disallows users with insufficient edits from posting outside links at all. It's probably easier to just do that one if spam becomes a problem. - Tarkisflux Talk 20:27, 20 October 2014 (UTC)

Replace Text / Template Update Jobs[edit]

I setup 2 replace text jobs last night, and neither has started yet. Did something break? - Tarkisflux Talk 20:10, 25 October 2014 (UTC)

Das bump. Still nothing showing for those replace jobs. - Tarkisflux Talk 16:30, 28 October 2014 (UTC)
It's been 5 months, and those jobs never showed up (I forgot what they were even :-( ). Neither has the new one I triggered. And I actually want this functional so I can do work on redirects to remove some search barriers. Can you get this reinstalled or fixed or something please? - Tarkisflux Talk 03:25, 17 March 2015 (UTC)
I've updated the extension. Does it work now? Surgo (talk) 07:52, 29 March 2015 (UTC)
It's accepting jobs, but still not running them. Which is what it was doing before. Maybe an issue with the jobs queue? - Tarkisflux Talk 00:09, 31 March 2015 (UTC)
Job queue investigation bump. - Tarkisflux Talk 21:23, 10 May 2015 (UTC)
In case you're kind of around again, I wanted to bump this. The replace text plugin is still not behaving. The form fills out nicely and generates the appropriate items and submits properly... but the jobs are never run. It also looks like the template update jobs aren't running properly either, though that's harder to quantify.
Anyway, If you're doing some work around here it would be nice if those were fixed too. There were some issues with jobs in Mediawiki 1.22 a couple of years ago (when I first noticed this broke), but as we're on 1.26 now it might be as simple as updating some vars that I don't have access to. - Tarkisflux Talk 17:55, 11 September 2016 (UTC)
Variables set. Job queue running. Looks like we've got a couple years of backlog. Surgo (talk) 19:29, 11 September 2016 (UTC)
Should be done. Surgo (talk) 19:30, 11 September 2016 (UTC)

We're back![edit]

Surgo saves the day! -- Eiji-kun (talk) 02:14, 10 February 2015 (UTC)

Surgo saves the day again! Seriously, thanks for the rapid turnout sir. I salute you! -- Eiji-kun (talk) 04:52, 10 September 2016 (UTC)

Good news[edit]

I recreated my FE variant rule IN MY SANDBOX so you can praise me now (in evil voice:) or else the potato monster will come to your house while you are sleeping and eat you alive XX the memenist Xx (talk) 16:28, 31 July 2016 (UTC)

Good. Keep doing that. Surgo (talk) 17:48, 31 July 2016 (UTC)

Password Reset Error[edit]

Hey Surgo, it's my annual "change all the passwords" marathon and the wiki is giving me the following error when it tries to email me a temporary new password (after clicking "forgot password" in the login screen): "Error sending mail: Unknown error in PHP's mail() function." A brief google search made it seem unlikely to be something on my end, and I don't know PHP from PHB, so I'm alerting you to the issue. - Spanambula (talk) 19:10, 28 August 2016 (UTC)

Definitely something on our end. Taking a look when I get home. Surgo (talk) 21:46, 28 August 2016 (UTC)
Email should work now. A system upgrade moved the location of the program that sends the emails. Surgo (talk) 04:43, 31 August 2016 (UTC)

Surgo Contact Request[edit]

Good day Surgo, Larry Vela here, the owner of BoLS Interactive. www.bolsinteractive.com. I am trying to get in contact with the owner of the site to discuss a business proposal. Can you please contact me at contact@bolsinteractive.com at your convenience. I have attempted to contact the site owner previously with no success.

I sent a message. Surgo (talk) 21:15, 22 October 2016 (UTC)

File uploads[edit]

Noticed while uploading an image that the stated maximum filesize is 2MB, but Nginx seems to throw a 413 Payload Too Large for anything over 1Mb. Probably some configs not quite lining up? --DanielDraco (talk) 00:50, 26 October 2016 (UTC)

SRD5 Namespace Search[edit]

Had a request to add SRD5 to the advanced search page, which I can't do so I'm forwarding to you. Should probably also add it as a default NS for search from the upper right box. Thanks. - Tarkisflux Talk 17:52, 17 November 2016 (UTC)

This is complicated. SRD5 was never created as a namespace by me. I'll see what I can do. Surgo (talk) 04:13, 1 December 2016 (UTC)
Done. Some old garbo from Semantic Forms (which we haven't used for years) got moved to the mainspace in the process. If you encounter it, just delete it. Surgo (talk) 04:51, 1 December 2016 (UTC)
Thanks! The SRD5 namespace search will make it much easier for me when tidying up in the 5e/SRD5 articles.--Rlyehable (talk) 14:42, 1 December 2016 (UTC)

Strange Activity[edit]

Who is User:Bigred, and why were they apparently promoted? -- Eiji-kun (talk) 03:27, 6 December 2016 (UTC)

It's intentional. I'll give more details soon. Surgo (talk) 04:45, 6 December 2016 (UTC)
Coo'. Just wanted to rule out name hijacking or something. -- Eiji-kun (talk) 05:37, 6 December 2016 (UTC)
Is it Santa, coming to give us prezzies? --Sulacu (talk) 06:52, 6 December 2016 (UTC)

Best Wishes in the Future[edit]

I am sorry to hear of your lessening impact on the site. But I am glad that you have the opportunity to follow your happiness. I wish you all the best. With respect --Rlyehable (talk) 00:22, 7 December 2016 (UTC)

No, thank you for the 5e SRD work! Surgo (talk) 00:22, 7 December 2016 (UTC)

Seven years of Smooth Sailing[edit]

Thanks for all the effort in keeping this boat afloat. Don't be a stranger, now.

Much love. And stay away from buses. --Sulacu (talk) 08:36, 7 December 2016 (MST)