explain xkcd:Community portal/Technical

Explain xkcd: It's 'cause you're dumb.
(Difference between revisions)
Jump to: navigation, search
(Sidebar ad overhangs content in Firefox 25.0)
Line 255: Line 255:
The sidebar ad on each page overhangs the content frame slightly when I view this site in Firefox 25.0 on a Windows 7 Home Premium 64bit pc. I have started Firefox in safe mode with all add-ons disabled and it still happens. Site looks fine in IE 11. {{unsigned ip|}}
The sidebar ad on each page overhangs the content frame slightly when I view this site in Firefox 25.0 on a Windows 7 Home Premium 64bit pc. I have started Firefox in safe mode with all add-ons disabled and it still happens. Site looks fine in IE 11. {{unsigned ip|}}
:Have you tried hitting control-shift-R, or clearing your cache? That sounds like Firefox is disregarding part of our CSS for whatever reason. I'm running a very similar setup and I'm not getting these problems. Try giving it a wee bit of time and trying again. '''[[User:Davidy22|<u>{{Color|#707|David}}<font color=#070 size=3>y</font></u><font color=#508 size=4>²²</font>]]'''[[User talk:Davidy22|<tt>[talk]</tt>]] 17:27, 13 November 2013 (UTC)
:Have you tried hitting control-shift-R, or clearing your cache? That sounds like Firefox is disregarding part of our CSS for whatever reason. I'm running a very similar setup and I'm not getting these problems. Try giving it a wee bit of time and trying again. '''[[User:Davidy22|<u>{{Color|#707|David}}<font color=#070 size=3>y</font></u><font color=#508 size=4>²²</font>]]'''[[User talk:Davidy22|<tt>[talk]</tt>]] 17:27, 13 November 2013 (UTC)
:What's your monitor resolution and size of your Firefox window (maximized, 50/50 split, etc)? [[User:Lcarsos|lcarsos]]<span title="I'm an admin. I can help.">_a</span> ([[User talk:Lcarsos|talk]]) 18:24, 13 November 2013 (UTC)

Revision as of 18:24, 13 November 2013

Welcome to the Community Portal. This set of pages is used to discuss how Explain xkcd works, and is divided into five sections. Please use the table below to find the most appropriate section to post in, or post in the miscellaneous section. You can view all community portal sections at once here.

Community portal sections
Crystal Clear app ktip.png

Proposals (post)
Ideas to improve the wiki's design and organization.

Crystal Clear app package settings blue.png

Technical (post)
To discuss technical issues.

Crystal Clear teamwork.png

Coordination (post)
To coordinate content editing and maintenance tasks.


Admin requests (post)
User problems, changes to protected pages, etc.


Miscellaneous (post)
Messages that do not fit into any other category.


We need more maintainers

I'm moving a thread that Davidy22 started on my talk page. The gist is, we need more people with server-side access (especially mediawiki-savvy ones) so we can properly deal with several issues that have been plaguing the wiki for a while now, most notably spam, but also the image scaling problem, a possible extension for proper comments, clean urls, etc. Below is the original thread, please comment. --Waldir (talk) 17:56, 25 November 2012 (UTC)

Could you set the permissions so that all anon users have to pass a captcha to edit? The spam has gotten obscene, and they've stopped posting links, so our current detection mechanisms aren't working anymore. Davidy22(talk) 08:21, 25 November 2012 (UTC)

I would love to have the ability to tweak the wiki more thoroughly, but currently Jeff's the only one with server access. To be honest, I am not terribly familiar with server-side mediawiki management, so I haven't asked Jeff for access, but it's clear we can't be dependent on a single person to do all the mediawiki config (and Jeff probably knows even less about mediawiki than I do). Are you by any chance acquainted with server-side mediawiki maintenance? I think we could present a good case for having someone else with access to a dev/prototype instance of this wiki on Jeff's server so we could at least experiment and tell him exactly what needs to be done. Thoughts? --Waldir (talk) 17:40, 25 November 2012 (UTC)
I agree that we need more people that are empowered to actively fight spam. I think that we ought to promote Davidy22 to administrator also, so that he can delete pages and block spammers/vandals as he notices them rather than letting them pile up until yourself, IronyChef, or myself notice that there's work that needs done.
What I think we should do is break out rights into more groups than simply administrator and bureaucrat. I think that's too big of a jump, and that there should be some gradiation. I think we should add a moderator (mark pages as patrolled and rollback ability (as much as it's a sledgehammer when you really only need a ball-peen hammer)) position.
I think we also need a spam fighter position, but that might not be possible to implement. It should be a position that allows the person to delete pages with 1 or 2 edits (page creation, marked as spam, maybe as high as 3 or 4 for the bots that repeat edit certain pages) and block users with 1 or 2 edits. The real problem there is how to grant those super-powerful abilities without allowing them to lose their mind and go crazy and destroy the wiki. Of course, if we don't catch it early enough there's going to be those IPs that manage to get to six edits, and those will have to be squashed by a full admin. We will also need a way of tagging those spam accounts so when a full admin passes by they will also know to ban the IP address after a spam fighter has deleted all the pages it created.
Finally, we also need a more active bureaucrat so that we don't have to bug Jeff to promote admin's as well as future moderators and/or spam fighters, and recognize bot accounts as bot accounts. We also should find someone knowledgeable to help Jeff (and maybe he has little helpers) to maintain the actual server. I've done some PHP work, but I've never touched anything deep inside a wiki (I like Ruby and Rails much more). This is my first time gaining admin status on a wiki, so I have no idea what the extra dials and levers do/mean. I look up on the MediaWiki manual and Wikipedia help pages things that I think should be possible, and often times pages exist in places about doing these things, but I'm nowhere near being called knowledgeable. After I finish up some IRL work I'm currently tied up in, I intend to set up a VM webserver on my computers and run a mediawiki install so I can learn how to work (and not break) things without putting explain xkcd in jeopardy.
Another really wordy post from, lcarsos_a (talk) 22:01, 29 November 2012 (UTC)
From what I know, a moderator user group is possible, but not the spam fighter one. Then again, too many hierarchical levels may be too much for such a small body of regulars. Implementing the moderator group is easy, mw:Manual:User rights has the details (the "ninja" example and the "list of permissions" section should be enough for putting together the configuration commands to be added to the wiki's LocalSettings.php).
As for bureaucrats, I think it makes sense but it seems to me that Jeff only takes longer to perform changes that affect the server, as they understandably may take longer or be more complex (or break the wiki!). Bureaucrats' only difference from admins is that they can promote/demote other users, and this Jeff has been doing without delay, so perhaps there isn't a need for more bureaucrats at the moment. Please correct me if I'm wrong.
We do need more sysadmins (people with access to the server), though, for sure. This is a little tricky as none of us is comfortable enough to confidently make server changes in a mediawiki install. Jeff, how about putting the wiki in source control and giving two or three people access to it, so that any wrongdoings can be easily reverted? You could setup a git repository in the server and we could fork it locally to our machines, make tests and push the commits to the server repo whenever they're ready. --Waldir (talk) 17:20, 5 December 2012 (UTC)
This is good stuff. I'm down with promoting more admins for spam fighting. If they screw stuff up we can demote them if necessary. I really haven't found a spam fighting extension that I think will be the best possible solution. I'll keep looking as it may be a combination of things. Server access is much more complicated as it is not even my server and it is shared hosting. I think that would be best to be accessed just by me. --Jeff (talk) 19:10, 19 December 2012 (UTC)
Regarding the server, I understand -- your position seems reasonable. In any case, I've been looking for extensions that may help taking some workload out of server actions and make more stuff configurable via the wiki itself. I'll report back if I find something usable.
On another note, how do you feel about promoting more bureaucrats? I suggest Lcarsos who's been consistently active for the past few months. --Waldir (talk) 12:47, 4 January 2013 (UTC)

Personally I'd kind of like to go and make some changes myself. Come up with a nice short url pattern and set it up. Upgrade the wiki. etc... Dantman (talk) 02:44, 23 March 2013 (UTC)

The shorter URL is being looked into, although Mediawiki strongly advises against it. As for upgrades to the wiki, monetary donations towards Jeff so he can buy better bit for the server would be appreciated. Davidy²²[talk] 03:06, 23 March 2013 (UTC)
MediaWiki does not advise against it. Half the code currently running short URLs in core was written by me. Same for the new standard for rewrite rules in the new guides. And the tool to automatically generate the config needed to apply short urls to a wiki. Short URLs are not advised against.
We do however strongly advise against installing a wiki in /wiki. Because you do not want to create /wiki/$1 style paths while your script path makes scripts look like /wiki/index.php.
In this case my plan would be to move /wiki to /w then come up with some other short url pattern like /e/$1, some other path, or maybe /$1.
And setup some 301 redirects to redirect from the old urls to the new ones.
And upgrading the version of MediaWiki so that it doesn't have security holes doesn't require server replacement. Dantman (talk) 07:09, 23 March 2013 (UTC)
Ohwait, software upgrades. Uh. I knew you were talking about that. Yep. Definitely. The wiki recently had issues with running out of hard drive space, so that was all that was on my mind there.
Also, I thought you had been referring to this. Whoop. Well, you could leave Jeff a message at his talk page to get server access. Davidy²²[talk] 08:05, 23 March 2013 (UTC)
I strongly support this. It's been far too long since we decided we'd want the short url scheme (/$1 seems like the best option since it would be simpler/cleaner and allow http://explainxkcd/1234 to point to the correct comic without any extra rewrite rules). While you're at it, I'm sure many would appreciate a look at the current situation with image resizing, which doesn't seem to be working for some reason. Installing Extension:Comments would be awesome, too, as well as Extension:Contribution Scores (live example). I'll ask Jeff to take a look at this thread. --Waldir (talk) 20:07, 23 March 2013 (UTC)
Dantman (talk) email me and I'll get you set up with whatever you need. All the suggestions sound good to me. --Jeff (talk) 00:10, 24 March 2013 (UTC)
Also, the Contribution Scores are up. I'm not even top 10 all time, I need to step up my game. Comments will take more work as it needs its own database. --Jeff (talk) 00:10, 24 March 2013 (UTC)
Awesome! I did some styling changes to make it more interesting :) Let me know what you guys think about it! --Waldir (talk) 20:32, 24 March 2013 (UTC)
Holy crud, what did you do when the wiki started to have almost double my lifetime score? Davidy²²[talk] 23:57, 24 March 2013 (UTC)
Hahahah :P I'm pretty sure I cheated a little, IIRC there was an image renaming operation for which I used mwclient ;) --Waldir (talk) 03:22, 25 March 2013 (UTC)

Sort by numbers in categories

I noticed that in Category:Comics all comics are sorted correctly by numbers; but not in any subcategory. (I didn't really get the explanation of how it works on the comics page.) How to fix this? -- St.nerol (talk) 10:40, 22 December 2012 (UTC)

The comics template uses a template called num4 that turns the number in the comic number field into a four-digit number. That's then passed as a parameter to the category link, and the comics category page sorts articles by those four-digit numbers instead of their actual names. If we wanted to do the same for other categories, we would have to type them all out as [[Category:Politics|0200]], or whatever the comic number is. I would rather wait for mediawiki to come out with an in-built feature to solve this. Davidy22[talk] 11:28, 22 December 2012 (UTC)
Is there a reason that the template applies that directly to Category:Comics and not as a default sortkey via DEFAULTSORT? – Philosopher Let us reason together. 12:10, 1 January 2013 (UTC)
Good thinking. Using DEFAULTSORT oughta make it work for all categories. I'll give it a try. --Waldir (talk) 15:37, 1 January 2013 (UTC)


I haven't been here (to edit) for a while, but have we still not addressed the bug that doesn't allow image resizing? I know most of us don't have access to that kind of lower-level coding on the site, but I think it's a bit of a notable issue that we can't display comics smaller than their actual size. TheHYPO (talk) 14:24, 21 January 2013 (UTC)

Take it up with User:Jeff, but I suspect that adding your voice to the already insistent roaring that images are broken isn't going to inspire much change. lcarsos_a (talk) 18:08, 23 January 2013 (UTC)

Incidental Ads

as ive noticed i think you should check if someone has embeded some of your links with ads really annoying please fix

--TheWeatherMan (talk) 14:00, 23 January 2013 (UTC)TheWeatherMan

Do you have any specific examples of this? By the way, using punctuation, capitalization, spell check, and complete sentences are more likely to get someone to help you. lcarsos_a (talk) 18:10, 23 January 2013 (UTC)
There is known malware (both adware and viruses) that makes Wikipedia look like it has ads. This wiki uses the same wiki software, so perhaps that malware affects our site too? – Philosopher Let us reason together. 05:42, 15 February 2013 (UTC)


Now that explainxkcd redirects straight to the wiki, could we take the /wiki/ out of the url? I'd also like the wiki's edit log to be purged to clean out the history and forget about past spam, but that's probably wishing for too much. Davidy22[talk] 04:06, 28 January 2013 (UTC)

But seriously, could the /wiki/ go? It'll screw with the spammers for a day or two, at the very least. Davidy22[talk] 11:37, 30 January 2013 (UTC)

Newbie questions: Comic dates, previous-and-next-comic buttons

Just created the my first page, 220: Philosophy, but I could use a little guidance. How do I find the date that an xkcd comic was originally posted, and how do I rig up the previous-comic and next-comic arrows on a page? (Actually, I've noticed several pages that should have the arrows but don't.) Ekedolphin (talk) 11:19, 28 January 2013 (UTC)

Those arrows will automagically insert themselves when you make the adjacent comic explanations. There *is* a little backstage magic that needs to be taken care of, but we can do that for you. Davidy22[talk] 11:40, 28 January 2013 (UTC)
    • OK. How about the dates? Ekedolphin (talk) 11:41, 28 January 2013 (UTC)
Click on "All Comics" in the navbar on left-hand side of the site. The dates are in the form YYYY-MM-DD. Davidy22[talk] 11:56, 28 January 2013 (UTC)
The comic template checks for the existence of the numerical redirect for the comic before and the comic after. If it finds the page to exist it will display the next/previous button as appropriate. So, by creating the redirects listed on the List of all comics (third column, only worry about the number and title links) future pages will automatically get the links created. Redirect pages look like #REDIRECT [[####: Comic Title]] and that's it (here is a link to the redirect page with redirect disabled so you can look at the source to see what I'm talking about). That's all that needs to exist on the number and title redirects. If you feel up to creating them yourself, feel free, otherwise someone else goes through occasionally and mass adds all the missing redirects. lcarsos_a (talk) 17:55, 29 January 2013 (UTC)

Error message

I've been getting this error message a lot the last cup'o days. When trying to access a page; when trying to save changes on a page. Any ideas on why? I'm getting it on both chrome and firefox.

Database error
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden) from within function "Revision::insertOn". Database returned error "1142: INSERT command denied to user ::'dbo423085716'@'' for :table 'text' (db423085716.db.1and1.com)".

St.nerol (talk) 22:54, 18 March 2013 (UTC)

Every once in a while I get a SQL error being reported, but usually I can simply F5 and the page comes up. Every once in a while it seems like the server load is just so that somebody gets lucky enough to see the server error out. I don't think there's much we can do about this, other than move the wiki onto a more powerful server. But, there are no ads on this site, there is no revenue model, just a very kind person paying for hosting that keeps this site up. I'm more than willing to overlook a few hiccups for the continuing availability of explain xkcd. lcarsos_a (talk) 07:12, 23 March 2013 (UTC)
Yeah, I get those too, but St. Nerol was talking about something that happened recently with the server running out of hard drive space and throwing SQL errors every time someone tried to make large edits. I had to find Jeff on twitter because I'd get SQL errors when I tried to edit his talk page. He's looking into history deletion plugins, to clear out our vast archives of deleted spam and obsoleted prototype comic templates. Davidy²²[talk] 08:10, 23 March 2013 (UTC)

Install a caching reverse proxy to handle heavy load

According to returned headers, this server runs from Apache directly. I would recommend setting up a reverse caching proxy in front of Apache to handle high traffic load (like, e.g. current load). The one I use is nginx (http://nginx.org/) -- admins, drop me an email if you need help setting it up Fry-kun (talk) 21:38, 26 March 2013 (UTC)

The standard software to use is either Squid or Varnish. Nginx is a bit too much of a webserver to be configured in the way MW needs iirc. Although nginx would help with serving the static assets. Unfortunately there will be a need to switch to a proper server first. The site seems to be hosted on shared hosting. Dantman (talk) 04:59, 27 March 2013 (UTC)
I had gotten burned before with both Squid and Varnish but Nginx had always kept my systems alive. It's extremely lightweight and works great to fix these kinds of problems. But, of course if it's a shared server where you can't use it, it won't help... Fry-kun (talk) 16:35, 27 March 2013 (UTC)
Nginx is a great webserver. It'll serve out static pages much better than Apache. But the issue here isn't the webserver. It's PHP and all the work that the database needs to do on every request. Switching webservers won't get rid of that issue. Using squid/varnish a proper reverse proxying cache will allow complete pages to be cached and served directly to readers bypassing the webserver, php, and the database entirely on some requests. That'll reduce the load the site has to cope with. Dantman (talk) 23:47, 27 March 2013 (UTC)

A couple of enwiki features implemented

I have "imported" {{disambig}} and the related category for the one page it was needed for (to avoid having a page that was uncategorised :-) ).

I have also created {{unsigned ip}} (and converted the one use of {{Unsigned}}) and applied it for a handful of existing uses of {{unsigned}}. It hardly matters, but then it's also only three more characters to type for new uses.

Importantly, however, I implore you to consider including the second datestamp parameter when applying either template -- it's actually the more useful information. I know it's a pain to convert times back to UTC, but, hey, most of you don't have to deal with a half hour timezone :-) Mark Hurd (talk) 16:19, 13 April 2013 (UTC)

Urrggh, there's an option to make UTC the default display time. The template oughta be a little more automated, mebbe filling the time in automagically with five tildes if no date field is entered? The time will be a bit off when editors fill in the unsigned templates, but it'll be close enough to the actual value. Davidy²²[talk] 23:59, 13 April 2013 (UTC)
No, especially while there's existing templates to adjust, where the "default" datestamp would be way out. If someone wants to fix a lot of the existing usage, setting their timezone to UTC is the simplest option. Mark Hurd (talk) 09:14, 14 April 2013 (UTC)

I've removed "add a comment!" from Discussion heading

This thread has been moved to The proposals board.

Need password reset

Sorry to bother you all, but I seem to have lost the password to this account and don't have an email set (which requires the password). I'm still logged in thanks to the "remember me" feature but after 30 days I'll lose access. This isn't fixable at the MediaWiki level; someone with access to the server mysql or whatever will need to change something. Is there such a person I can email with? Splainr (talk) 03:05, 15 April 2013 (UTC)

I assume your browser isn't remembering it for you? Mark Hurd (talk) 03:08, 15 April 2013 (UTC)
Oh wow that was fast. Nope, neither Firefox not OSX keychain access know what it is. Splainr (talk) 15:18, 15 April 2013 (UTC)
I'm not sure how to solve that problem, but I know account usurpation has been done for the single-login transition in Wikimedia wikis, so technically it should be doable. --Waldir (talk) 23:04, 16 April 2013 (UTC)

See mw:Manual:Resetting passwords. --Mormegil (talk) 11:59, 15 May 2013 (UTC)


Recently I found out about WikiApiary, an interesting site that collects analytics from mediawiki wikis. I added explain xkcd. Check the stats that have been collected so far: http://wikiapiary.com/wiki/explain_xkcd --Waldir (talk) 00:03, 17 April 2013 (UTC)

"External" hotlinking enabled to confirm issue with other car.jpg

FYI I have enabled "external" hotlinking to this wiki's own images to show File:other car.jpg can display correctly. See further notes about that issue here. Mark Hurd (talk) 14:32, 21 April 2013 (UTC)

If the problem is lack of thumbnail generation, it should display correctly even without hotlinking, simply by using the original size, e.g.
other car.jpg
I'm not sure why it doesn't. In any case, this image hotlinking thing reminded me, would it be a good idea to use the images hosted at XKCD.com and only upload variants to the wiki (e.g. those at Category:Helper comic images) and images Randall for some reason deleted from the server (e.g. images with typos)? This would reduce the load on the explainxkcd server and provide a better experience for viewers since xkcd is already optimized for high loads and actually openly provides the image urls for hotlinking. --Waldir (talk) 15:01, 21 April 2013 (UTC)

Seeing as User:Daddy's upload has fixed the wiki always attempting to display the thumbnail version (which still don't work), I have disabled the "hotlinking" again.

Mark Hurd (talk) 11:32, 22 April 2013 (UTC)

Redirect from explainxkcd.com/1234

It would be really cool if http://www.explainxkcd.com/<number> redirected to the explain page for that number. That would allow people to get to the correct explanation by simply adding explain to the comic url.

If you are willing to do this, all you would need to do (assuming you run apache with mod_rewrite enabled) is put the following in .htaccess in your web root:

RewriteEngine on
RewriteRule ^(\d+)/?$ /wiki/index.php?title=$1 [R,L]

-Sionide21 (talk) 22:28, 7 June 2013 (UTC)

Yeah! I'm waiting for this. But admins seems to be rare here.--Dgbrt (talk) 22:44, 7 June 2013 (UTC)
And it seems we both could help...--Dgbrt (talk) 22:47, 7 June 2013 (UTC)
There are several admins here (in fact, I am, too), but what you are looking for is the sysop, the one with access to the server. Admins can delete/protect/undelete pages and block users etc. Jeff is the only one that can change MediaWiki configuration or url rewriting... --SlashMe (talk) 17:08, 8 June 2013 (UTC)
Thanks for your information, so I will try to talk to Jeff. BTW: Can you edit the main page? I still miss a link to the incomplete comics on the top.--Dgbrt (talk) 17:52, 8 June 2013 (UTC)
At the top of the main page, there is a section that says "We have collaboratively explained 1189 xkcd comics, and only 33 (3%) remain. Add yours while there's a chance!". The word remain is already linked to the list. --SlashMe (talk) 19:16, 8 June 2013 (UTC)
I was talking about the 97% comics. There are still many incomplete pages and we have a category here on that.--Dgbrt (talk) 19:36, 8 June 2013 (UTC)
Ah, I see. Just did it; everyone: feel free to change the sentence, I'm not a native speaker. --SlashMe (talk) 21:07, 8 June 2013 (UTC)
THANKS! I'm also not native English, I'm German. But this wiki is a great challenge to get more practice, even much more as if talking to common English natives.--Dgbrt (talk) 21:27, 8 June 2013 (UTC)
This is something I want to do, so I'm putting this on my page, so I remember to add it to the .htaccess. I'm not super familiar with the .htaccess rules, can I have this along with the other rules I have in my htaccess file? --Jeff (talk) 15:17, 22 October 2013 (UTC)
Yes, that rule will work alongside other rules --Sionide21 (talk) 19:28, 27 October 2013 (UTC)
I've fixed this on our new host. (I actually had the rule in there already, I just had it in the wrong order.) I'd love to promote this feature a bunch. Any ideas how? --Jeff (talk) 02:33, 30 October 2013 (UTC)
A sitenotice oughta do it. Davidy²²[talk] 03:43, 30 October 2013 (UTC)

Incomplete – motivation

Is it possible to fix (or is there already) a way to add a motivation with the "incomplete"-tag? I tried {{incomplete|the title text needs explaining}}, which made "edit it" in the banner link to the uncreated page "the title text..."... ––St.nerol (talk) 12:16, 10 June 2013 (UTC)

You can use the {{notice|Your text...}} template:
Ambox notice.png Here is my notice.
--Dgbrt (talk) 17:30, 10 June 2013 (UTC)
Thanks! I think that ideally most incomplete-notices shold carry a note on what's missing, but we aren't there, so this'll do for now. ––St.nerol (talk) 10:21, 11 June 2013 (UTC)

Unable to Edit

I cannot edit this latest comic's page. When I hit edit a screen appears which says "This page has been protected to prevent editing." I've never edited before, but I'm annoyed by the improper use of the word candid. "It would be candid and unrealistic" would be better off in that sentence if candid was removed. How do I make it so I can edit the page, so I can remove this affront to the English language?

I believe you are trying to edit the main page. You can click "Latest comic" in the left sidebar or the "Go to this comic" button in the top right corner of the grey box to go to the actual page for today's comic. Davidy²²[talk] 16:42, 1 July 2013 (UTC)
That was the problem, thanks.--Holcma01 (talk) 17:07, 1 July 2013 (UTC)

On iPad and iPhone browsers, the banner ads obscure the top of the page. This covers up some of the useful buttons up there, like LOGIN for example. The workaround is to refresh the page. Because the banner ad is the last thing to load, you have a brief window of maybe three seconds to find and click the link you need. Gardnertoo (talk) 20:24, 26 July 2013 (UTC)

Fixed. --Jeff (talk) 21:12, 25 October 2013 (UTC)

Bookmarklet for jumping to explainxkcd.com from xkcd.com

I wrote a short bookmarklet for jumping from xkcd.com to explainxkcd.com. Bookmarklet form:



javascript:var match = window.location.href.match(/\d+/);
var suffix = match ? '?title=' + match[0] : '';
window.location ='http://www.explainxkcd.com/wiki/index.php' + suffix;

If you're on a numbered xkcd page, it will go to the accompanying explainxkcd.com page automatically. If you're on the xkcd.com home page, it goes to the explainxkcd.com wiki home page. Mattflaschen (talk) 17:30, 19 August 2013 (UTC)

To add this bookmarklet to your browser:

  1. Copy the bookmarklet javascript (*not* the decoded version)
  2. Using your browsers bookmark manager, create a new bookmark
  3. Give the bookmark a meaningful name -- e.g. ExplainXKCD
  4. Paste the javascript in for the bookmark URL
  5. Save.

( Tomh (talk) (please sign your comments with ~~~~))

Database Error

I have NO IDEA where this should go, but http://www.explainxkcd.com/wiki/index.php?title=1011 has the content

Database error A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "SqlBagOStuff::set". Database returned error "1142: INSERT command denied to user 'dbo423085716'@'' for table 'objectcache' (db423085716.db.1and1.com)".

Just thought I should report it.

OOPS forgot sig. 00:13, 23 September 2013 (UTC)

Edit: This has been fixed randomly. Never mind then. :X


Could we maybe enable this? It would be helpful for some of the programming-heavy comics' explanations, e.g. today's one.PinkAmpersand (talk) 17:02, 27 September 2013 (UTC)

Done, PinkAmpersand. --Jeff (talk) 19:57, 28 September 2013 (UTC)

It's not taking me to the main page

If I type explainxkcd.com, it redirects me to http://www.explainxkcd.com/wiki which just shows a directory listing, rather than taking me to the main page (as I assume it's supposed to). chridd (talk) 02:07, 31 October 2013 (UTC)

Thaat's not supposed to happen. I'm on it. Davidy²²[talk] 06:49, 31 October 2013 (UTC)
Is it fixed for you now? Davidy²²[talk] 06:55, 31 October 2013 (UTC)
Yes chridd (talk) 14:46, 31 October 2013 (UTC)

Logo in upper left corner missing

The logo in the upper left corner is missing, probably because of a wrong redirect. The logo should be at http://www.explainxkcd.com/wiki/skins/common/images/explainxkcd.png, but this link takes me to the main page. The icons in the edit toolbar are missing, too, probably the same problem. You should exclude all \.png$ queries from redirects. -- 10:09, 31 October 2013 (UTC)

Fixed that. Sorry about that, it was an overzealous htaccess. Thanks! --Jeff (talk) 15:45, 31 October 2013 (UTC)

Sidebar ad overhangs content in Firefox 25.0

The sidebar ad on each page overhangs the content frame slightly when I view this site in Firefox 25.0 on a Windows 7 Home Premium 64bit pc. I have started Firefox in safe mode with all add-ons disabled and it still happens. Site looks fine in IE 11. (talk) (please sign your comments with ~~~~)

Have you tried hitting control-shift-R, or clearing your cache? That sounds like Firefox is disregarding part of our CSS for whatever reason. I'm running a very similar setup and I'm not getting these problems. Try giving it a wee bit of time and trying again. Davidy²²[talk] 17:27, 13 November 2013 (UTC)
What's your monitor resolution and size of your Firefox window (maximized, 50/50 split, etc)? lcarsos_a (talk) 18:24, 13 November 2013 (UTC)

Personal tools


It seems you are using noscript, which is stopping our project wonderful ads from working. Explain xkcd uses ads to pay for bandwidth, and we manually approve all our advertisers, and our ads are restricted to unobtrusive images and slow animated GIFs. If you found this site helpful, please consider whitelisting us.

Want to advertise with us, or donate to us with Paypal or Bitcoin?