explain xkcd:Community portal/Technical

Explain xkcd: It's 'cause you're dumb.
(Difference between revisions)
Jump to: navigation, search
(Explain xkcd upgraded to version 1.19.17)
m (Explain xkcd upgraded to version 1.19.17: ugh. I walk away for two seconds and I forget how to use the unsigned ip template)
Line 344: Line 344:
  
 
:: Sounds reasonable. Thanks for the details. I'll be looking forward to the next update :) --[[User:Waldir|Waldir]] ([[User talk:Waldir|talk]]) 18:52, 28 July 2014 (UTC)
 
:: Sounds reasonable. Thanks for the details. I'll be looking forward to the next update :) --[[User:Waldir|Waldir]] ([[User talk:Waldir|talk]]) 18:52, 28 July 2014 (UTC)
::Just wanting to offer, I use ARP Networks for hosting, you should check them out if you want more control. {{unsigned-ip|173.245.56.154}}
+
::Just wanting to offer, I use ARP Networks for hosting, you should check them out if you want more control. {{unsigned ip|173.245.56.154}}
 
:::Hum, there's an option. I'll keep that in mind. '''[[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>]] 04:35, 29 July 2014 (UTC)
 
:::Hum, there's an option. I'll keep that in mind. '''[[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>]] 04:35, 29 July 2014 (UTC)
 
::::It wasn't me that posted that comment. But surprisingly enough anon and I have the same first two bytes in our IP addresses. Congrats on the version upgrade. [[User:Lcarsos|lcarsos]]<span title="I'm an admin. I can help.">_a</span> ([[User talk:Lcarsos|talk]]) 05:31, 29 July 2014 (UTC)
 
::::It wasn't me that posted that comment. But surprisingly enough anon and I have the same first two bytes in our IP addresses. Congrats on the version upgrade. [[User:Lcarsos|lcarsos]]<span title="I'm an admin. I can help.">_a</span> ([[User talk:Lcarsos|talk]]) 05:31, 29 July 2014 (UTC)

Revision as of 05:34, 29 July 2014

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.

Mop.svg

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

Internet-group-chat.svg

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

Contents

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)

Resize

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)

/wiki/

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'@'74.208.16.155' 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)

Analytics

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)
Woohoo, finally!!! Now if we could just have clean URLs too, that'd be swell! ;) --Waldir (talk) 05:02, 14 November 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%20match%20%3D%20window.location.href.match(%2F%5Cd%2B%2F)%3B%0Avar%20suffix%20%3D%20match%20%3F%20%27%3Ftitle%3D%27%20%2B%20match%5B0%5D%20%3A%20%27%27%3B%0Awindow.location%20%3D%27http%3A%2F%2Fwww.explainxkcd.com%2Fwiki%2Findex.php%27%20%2B%20suffix%3B

Decoded:

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'@'74.208.16.155' for table 'objectcache' (db423085716.db.1and1.com)".

Just thought I should report it.

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

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

mw:Extension:SyntaxHighlighter

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. --108.162.254.177 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. 173.245.56.79 (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)
I'm really sure that scaling isn't the issue, I made the sidebar width definite. I'll check it again. Davidy²²[talk] 19:06, 13 November 2013 (UTC)
The sidebar has a fixed width defined at the CSS style sheet. Press F5 or CTRL-R to reload this style sheet. This happened to me in the past too. --Dgbrt (talk) 19:14, 13 November 2013 (UTC)
I changed the defined width to pixels instead of em, in the annoying edge-case that a browser uses a weird default font width. Davidy²²[talk] 19:24, 13 November 2013 (UTC)
It looks fine now.--173.245.56.79 06:08, 18 November 2013 (UTC)

Connection problems

Whatever the new hoster does cost, you should get your money back. Sometimes the page doesn't load at all, or the menu is missing after the browser did finish after one or two minutes. The performance here is still annoying. That cloud seems to be a dead cloud. --Dgbrt (talk) 23:33, 11 January 2014 (UTC)

It's easily more performant than our old service, and it holds up far better to traffic. I am inclined to say that it's a region specific issue, and I'll submit a ticket for that, but they've worked far better than flat shared hosting for the time that we've been using them. Davidy²²[talk] 00:01, 12 January 2014 (UTC)
More detail: The message is an Error 522 (Connection timed out).
  • You (Browser, Working) <-> Amsterdam (CloudFlare, Working) <-> www.explainxkcd.com (Host, Error)
In December the CloudFlare did belong to Frankfurt. --Dgbrt (talk) 20:35, 12 January 2014 (UTC)
I'm having still major problems to connect, only this this silly error message. ...and then it does work again. Still strange.--Dgbrt (talk) 22:58, 14 January 2014 (UTC)

Wrong IP address shown

All edits by IPs (well, at least all I checked, including my own edits) are recorded using IP addresses of CloudFlare (108.162.192.0/18, 173.245.48.0/20 and some other ranges), i.e., it's not the address of the client, but of the server. This seems similar to [1]. --108.162.254.160 09:05, 29 January 2014 (UTC)

That's something we're working on, but current limitations with our provider are making things sow for us. When they give us what we need, we can do it. Davidy²²[talk] 16:59, 29 January 2014 (UTC)

1337 leads to...? =

Current and latest comic page, 1337, unusually has a "Next" before there's even any 1338 page. (It points to 1337.) As a lowly IP, I don't feel I ought to delve too deep to see if it's a page template issue (possibly because "1337" is both a past title and the current number, maybe, although not too sure if that'd work out) or just because of manual editing. But bringing it to general attention. (It may of course be an issue that does not even last beyond Wednesday, and comic number 1338's arrival, even without intervention.) 141.101.99.7 13:40, 3 March 2014 (UTC)

D'aww, and I wanted to be lazy too. I'll get to fixing it, an IP took it to himself to add stuff to the comic template and he removed the auto-hiding buttons. Imma fixy. Davidy²²[talk] 17:42, 3 March 2014 (UTC)
I did revert some edits on that issue here, so for the first point it should work again. In general: The main page should not be affected like this and the test environment is called: Sandbox. --Dgbrt (talk) 20:43, 3 March 2014 (UTC)
The issue was fixed three hours before your autorevert. This is getting excessive. The next time you autorevert a large edit without testing or making an attempt to fix things yourself, expect a three-day ban. Davidy²²[talk] 22:41, 3 March 2014 (UTC)

No confirmation email?

I requested an email for confirmation when I registered. I got nothing, not in spam filter, not in trash, and definitely in not my inbox.

Today, I requested another confirmation email. Again, nothing has appeared.

Is it me? Is it my shampoo??? Enquiring minds want to know.... Thanks. Karenb (talk) 22:45, 20 March 2014 (UTC)

Confirmation emails? What, are we a five-star hotel now?
Jokes aside, is this a thing you really need? You should be autoconfirmed after editing for a while without getting blocked, but if you can put forward a good reason why we should add this in, I'll do it. Davidy²²[talk] 00:54, 21 March 2014 (UTC)
Not blocked! Trying to authenticate my email, which I thought was an automatic process. Does that feature not work? That would certainly explain the lack of autoresponse.... Cheers. KB Karenb (talk) 01:35, 21 March 2014 (UTC)

Because the people visiting here are probably the people that should see this

After the server upgrades mentioned in the sitenotice, de.explainxkcd.com should exist. I'm not publicizing it yet, just want to get it up and work out implementation details before it goes fully live. Pls dun test during the downtime, there'll be plenty of time for that after it's live. Davidy²²[talk] 01:14, 21 March 2014 (UTC)

Ok, so our server doesn't actually have the required dependencies to complete the upgrade, so that was slightly fruitless. Sorry about any downtime or inconvenience caused, I didn't add the German wiki again because I'm looking set up the parallel wikis on an up-to-date base. Sorry again for any inconvenience that may have caused, I'll make sure to be better prepared next time, and maybe actually succeed in performing the upgrade next time. Davidy²²[talk] 02:02, 24 March 2014 (UTC)

Does anyone have image of Black Hat saying to Cueball "It's 'cause you're dumb" ?

Guys, does anyone has this image? I'm hosting Russian xkcd fanpage here - vk.com/xkcdoff and if someone would post it it would be very helpful. --KOTYAR (talk) 22:40, 24 March 2014 (UTC)

I actually can't find it either. Shame, I liked that old thumbnail. I could probably photoshop up a new version if you really want one though. Davidy²²[talk] 04:53, 26 March 2014 (UTC)
explain xkcd blog header image.png
Just going to the explain xkcd page and following the first historic (internet-archived) link allowed me to extract the requested "header-image.png" (the corresponding image URL on the current site gives nothing anymore... thank you, Internet Archive!). Which I uploaded to the wiki here, for convenience and because it's part of this wiki's history, in a way, and also, cool. Smile - Cos (talk) 10:39, 16 April 2014 (UTC) (PS: also, facebook.com/explainxkcd/photos/10150144122985214; but JPEG.)

expxkcd.com redirect not up-to-date

By adding "exp" at the beginning of the URL one can easily switch from xkcd.com/1234 to expxkcd.com/1234, which redirects to the corresponding explanation here, and that's nice. But right now, expxkcd.com redirects to 1355 (at least for me), instead of 1356, the latest comic. Wouldn't it be better if expxkcd.com redirected to the Main Page instead (as does correctly explainxkcd.com)? - Cos (talk) 10:55, 16 April 2014 (UTC)

expxkcd is actually a thing that user user:grep was so kind to purchase and handle for us. I can forward this on to him for him to resolve, and give him the rewrite rules we use if he needs them. Davidy²²[talk] 11:12, 16 April 2014 (UTC)
Nice, thank you for the quick forward to the right place. - Cos (talk) 11:31, 16 April 2014 (UTC)
Yeah, the reason for that is that right now, I update it manually, which is obviously a really bad idea. I plan to change this pretty soon. I don't want it to go to the main page because the main page doesn't show the discussion, and comes along with all the other, regular main page stuff. Any rewrite rules wouldn't hurt, Davidy22. greptalk12:04, 16 April 2014 (UTC)
Hrm. Ours rules point towards the main page. We have no automatically updating page that always redirects to the latest comic, but you can use Mediawiki hooks to append the contents of the page Template:LATESTCOMIC to the end of our URL. Davidy²²[talk] 23:44, 17 April 2014 (UTC)
Sorry, I don't understand. My BOT will upload the next comic on time, unless it's some new chaos by Randall a BOT just can't handle. The LATESTCOMIC template is updated and so it seems only be an issue on that damn Cloud Service Cache. Even Randall's pages are affected. At "What-if" I still have to use <CTRL+R> to get the latest content. --Dgbrt (talk) 00:26, 18 April 2014 (UTC)
We're talking about a different thing related to shortened URLs. Davidy²²[talk] 02:24, 18 April 2014 (UTC)
That is an interesting idea, however I just made a script that automatically adds 1 every Monday, Wednesday, and Friday. I could have it grab the number from your page and do this once a day at something like 00:10 EST (because Randall sometimes does things on other days), that's a possibility as well (other times / intervals may also be done if you wish/want). greptalk04:34, 02 May 2014 (UTC)
Our LATESTCOMIC page and Randall's xkcd json page should both have up-to-date comic numbers for you to pull. Ours is probably the better one to pull since your site is linking to us. Davidy²²[talk] 06:30, 2 May 2014 (UTC)
The script now checks Template:LATESTCOMIC every 30 minutes to see if the comic has changed or not. If you wish, I might be able narrow this down to 11PM->6AM (for 30 minute checking) and then have it check every two hours at other times or something similar to that (if systemd.time has a way to do it) greptalk12:13, 09 May 2014 (UTC)
I still do not see that problems. Please touch this wiki as less as needed, this is still the best choice. But there is still a big problem on the cache, an update on a picture lasts many hours. Some statements in "LocalSettings.php" should work, if not this wiki version is buggy. Problems should be solved at the cause and not be overridden by some additional scripts. --Dgbrt (talk) 21:51, 9 May 2014 (UTC)
We have ample bandwidth for a bot that only checks once every half-hour. The image caching issue is irrelevant to the current topic. Davidy²²[talk] 03:45, 10 May 2014 (UTC)

Explain xkcd upgraded to version 1.19.17

Woo! Davidy²²[talk] 17:59, 26 July 2014 (UTC)

The header seems to have broken, there is no longer a link to the explanation in it. 173.245.56.154 22:00, 26 July 2014 (UTC)

Which header are you talking about? All the links I can think of still seem to work. Davidy²²[talk] 02:13, 27 July 2014 (UTC)
It fixed itself shortly after I mentioned it. It was the incomplete explanation, the link to 428 was bold, but not a link. 173.245.56.154 04:48, 27 July 2014 (UTC)

One of the ads is broken.

brokenexplainxkcdad.png

0100011101100001011011010110010101011010011011110110111001100101 (talk page) 04:33, 27 July 2014 (UTC)

Ooh, thanks for catching that. Should be fixed now. Davidy²²[talk] 17:08, 27 July 2014 (UTC)

Nice :) But is this update a preparation for an upcoming update to one of the latest versions, or are we limited to 1.19 for some reason? I'm asking because 1.19 is only supported for a few more months, and also because with newer versions we'd have access to some niceties -- for example, after version 1.20 the PAGESINCAT magic word accepts parameters, which would allow the count of explained comics in the main page to work using less hardcoded hacks. --Waldir (talk) 16:08, 27 July 2014 (UTC)

Prior attempts to update the wiki have been prevented by the realization that Lunarpages doesn't give us quite as much control over our server share as we thought we had. Checking again, they seem to have upgraded the version of PHP on our server since we last attempted and failed to run one dumb update script, which should mean that it'll work next time we try it. The wiki also has quite a bit of user effort invested into it now, and I'm a little less ready to jump into .0~.3 releases than I would normally be on my own machine, so I upgraded down the LTS path that I knew would be safe. After the first ill-planned attempt, I've been eyeing the 1.23 LTS line for the next major jump, but I'm certainly not stepping into it while it's still relatively fresh. Davidy²²[talk] 17:08, 27 July 2014 (UTC)
Sounds reasonable. Thanks for the details. I'll be looking forward to the next update :) --Waldir (talk) 18:52, 28 July 2014 (UTC)
Just wanting to offer, I use ARP Networks for hosting, you should check them out if you want more control. 173.245.56.154 (talk) (please sign your comments with ~~~~)
Hum, there's an option. I'll keep that in mind. Davidy²²[talk] 04:35, 29 July 2014 (UTC)
It wasn't me that posted that comment. But surprisingly enough anon and I have the same first two bytes in our IP addresses. Congrats on the version upgrade. lcarsos_a (talk) 05:31, 29 July 2014 (UTC)

Why does the site say I'm blocking ads when I'm not? I do use AdBlock Plus, but it's turned off for this site. Screenshot here. And while I'm here, that "unblock us" text has an error- the first "and" in the second sentence shouldn't be there. NealCruco (talk) 01:51, 29 July 2014 (UTC)

The text only appears when the ads fail to load. The error message actually says noscript, which means that the Javascript that the ad box uses to fetch images isn't running. How long has this been happening for you? Davidy²²[talk] 04:35, 29 July 2014 (UTC)

If anything broke, complain here.

There's a banner that says: The wiki has been updated to stable mediawiki version 1.19.17. If anything broke, complain here.

So...

The following have broken: Cars My previous computer A railroad train Condoms Etc.

None of which has anything to do with this website.

The banner should be made more specific before Randall sees it and does a comic mocking it.

Or not. 173.245.48.80 (talk) (please sign your comments with ~~~~)

Well, there's always that one guy. Fixed. Davidy²²[talk] 05:05, 28 July 2014 (UTC)
I don't see how you could have fixed that one guy. Throttled, eliminated, insulted, blocked, etc. But not fixed. Walenc (talk) 16:29, 28 July 2014 (UTC)
See sense 6 here: http://en.wiktionary.org/wiki/fix#Verb :P 173.245.56.154 02:13, 29 July 2014 (UTC)
i bet you think yer so clever. just watch me take the site down. Davidy²²[talk] 04:35, 29 July 2014 (UTC)

Personal tools

Variants
Actions
Navigation
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?