explain xkcd talk:Community portal/Technical

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
Add-files-to-archive2.svg This page is an archive of discussions from explain xkcd:Community portal/Technical.
Note: This page is kept for historical purposes. Do not alter it except to archive new discussions.


Changelog[edit]

I created this page. --Philosopher Let us reason together. 08:40, 1 August 2012 (EDT)

I've also created Explain XKCD:Sandbox. --Philosopher Let us reason together. 08:40, 1 August 2012 (EDT)

I've changed MediaWiki:Helppage to point here. If we decide to have a local users manual or help desk, it should probably be changed. The default target was "Help:Contents". This also changes where the "Help" link in the sidebar points, so right now we have two different sidebar links pointing to the same place. --Philosopher Let us reason together. 10:30, 1 August 2012 (EDT)

Update: I changed it to point to Help:Contents at mediawiki.org. The community portal is already linked from the sidebar, it was redundant to have two links there pointing to the same page. --Waldir (talk) 11:41, 7 August 2012 (UTC)

I created MediaWiki:Common.css and MediaWiki:Common.js. This is one of the "did I break it"-type changes, so let me know if you notice anything strange. The new pages are made up of excerpts from their Wikipedia counterparts - I copied what I thought was potentially useful and left the rest. --Philosopher Let us reason together. 22:32, 2 August 2012 (EDT) Moved from Explain XKCD:Community Portal. --Philosopher Let us reason together. 00:08, 4 August 2012 (EDT)

Sitenotice dismissal[edit]

There should be a way to dismiss the MediaWiki:Sitenotice after you've read it. I know it can be done, but don't know how, does anyone else? --Philosopher Let us reason together. 00:23, 4 August 2012 (EDT)

What do you think about this extension? Dismissable Site Notice --Jeff (talk) 03:37, 7 August 2012 (UTC)
Yes! That's probably what I'm looking for. --Philosopher Let us reason together. 01:41, 12 August 2012 (UTC)

Comments[edit]

Hey,

You might consider Extension:Comments. It acts basically like the comment system on the blog, so you could keep everything (article, comments) in one place. It's more conducive to casual conversation than the discussion page. --Cyanfish (talk) 14:07, 2 August 2012 (EDT)

That's nice, but a simpler approach could be just to transclude the talk page in the subject page itself, as is done in the Wikipedia Signpost (see here for an example). --Waldir (talk) 16:15, 3 August 2012 (EDT)
Okay, that would work. The extension does have its advantages though - it's easier for new users (no markup), you can have upvotes/downvotes/"comments of the day"... It's a matter of preference, I suppose. --Cyanfish (talk) 22:27, 3 August 2012 (EDT)

Discussion above moved from User talk:Jeff. --Philosopher Let us reason together. 00:26, 4 August 2012 (EDT)

I'll take a look and see what looks best. I don't necessarily like the transcluding option. --Jeff (talk) 15:56, 6 August 2012 (UTC)
Neither do I, to be honest. I just created {{Comic discussion}} to make things a little smoother, but from my experience, there will *always* be newcomers forgetting to sign, commenters confused about the best markup for indentation/replies, comments placed at the top rather than at the bottom, new comic description pages created without that template, etc. A proper commenting solution might be the best option for this. I just mentioned the transclusion option to let people know it was a possibility. Also, in the long run we need to make sure the wiki doesn't start looking like Wikia (blergh) if we start adding too many custom extensions. But a comment extension seems to be essential if we don't want to alienate the blog's community. --Waldir (talk) 17:06, 6 August 2012 (UTC)

Following post moved from Explain XKCD:Community portal/Proposals#Comments --Waldir (talk) 17:11, 6 August 2012 (UTC)

I'd like to suggest we add comments capabilities to the comics pages, since the discussion pages don't lend themselves to the kind of dialogue experienced on the blog. There appear to be several extensions that allow this, but I'm fairly new to the wikimedia stuff so I'm not sure how it would work, exactly.

One extension available is Extension:WordPress Comments, which appears to enable the style of comments we are used to. Any thoughts? --DanB (talk) 15:10, 6 August 2012 (UTC)

We should definitely give it a try :) --Waldir (talk) 19:46, 7 August 2012 (UTC)
That said, its demo looks rather simple. Extension:Comments seems to be a little more powerful (supporting replies, user pictures, voting, and maybe more). The only advantage of the Wordpress one is that it would integrate with Wordpress so extra accounts don't need to be created, but I assume most people who used to comment on the blog didn't have accounts anyway... --Waldir (talk) 19:58, 7 August 2012 (UTC)
Tried Extension:Comments - but the download page for it does not exist. Anyone have any ideas why that is? Looks like an extension I'd like to try, but I can't download it! --Jeff (talk) 01:47, 14 August 2012 (UTC)

Robots.txt[edit]

I'm not sure how to set it up, but if you could edit the robots.txt file to exclude the contents of Category:Noindexed pages? I've created a Sandbox for people to test the unfamiliar features in, and you're probably not going to want that indexed by the search engines. --Philosopher Let us reason together. 08:47, 1 August 2012 (EDT)

Apparently you can edit it through MediaWiki:Robots.txt, but I'm not experienced enough to know what will happen if you block a url that runs through a .php page. (Perhaps nothing? Perhaps it blocks everything?) Is there any chance of moving the wiki to use /wiki/articlename urls like Wikipedia does rather than the current /wiki/index.php?title=articlename ? --Philosopher Let us reason together. 10:43, 1 August 2012 (EDT)
/wiki/articlename would be great. Been trying to figure out how to make it work for days. Let me know if you know how. --Jeff (talk) 11:11, 1 August 2012 (EDT)

For URL rewritung, have a look at mediawiki.org: Short URL or for Apache. --SlashMe (talk) 15:49, 1 August 2012 (EDT)

Moved from User talk:Jeff. --Philosopher Let us reason together. 00:27, 4 August 2012 (EDT)

Gadgets?[edit]

Can we enable MediaWikiWiki:Extension:Gadgets? I'd really like to bring over wikipedia:Wikipedia:Popups and wikipedia:Wikipedia:HotCat as gadgets. --Philosopher Let us reason together. 22:45, 2 August 2012 (EDT)

sounds good. I'll do it later this weekend when I get back to my computer to get to the FTP access. --Jeff (talk) 00:31, 3 August 2012 (EDT)
That'd be great! While you're at it, MediaWikiWiki:Extension:Inputbox is something we may want for the future, though we don't need it now. --Philosopher Let us reason together. 21:29, 3 August 2012 (EDT)

Moved from User talk:Jeff. --Philosopher Let us reason together. 00:38, 4 August 2012 (EDT)

 Done --Jeff (talk) 03:16, 7 August 2012 (UTC)
For the record, what was installed was the Gadgets extension (which makes sense since Philosopher said the InputBox is not needed ATM). I had already brought the HotCat gadget, which should now be visible in the users' preferences for enabling. It was also necessary to create MediaWiki:Gadgets-definition and the description for HotCat so it could appear in the preferences page. However, it doesn't seem to be working... If someone can figure out what's wrong, we can fix it. One can test the script separately from the gadget system (so we can make sure it's not a gadget problem) by installing it as a user script, as I did in User:Waldir/common.js --Waldir (talk) 11:02, 7 August 2012 (UTC)
Nevermind, the guys from the #mediawiki IRC channel helped me figure out what was wrong :) it should be working now and available to all users via the gadgets tab of the preferences page. --Waldir (talk) 11:41, 7 August 2012 (UTC)
You rule Waldir. The InputBox extension is enabled as well for good measure. --Jeff (talk) 13:01, 7 August 2012 (UTC)
Awesome :D I assume Philosopher will have a few ideas for that (namely the {{Community portal}} template. --Waldir (talk) 16:28, 7 August 2012 (UTC)
Yeah, that's where I found out about it, at least. I may not find time to implement it right away - I'm busy in RL at the moment. In the mean time, I've imported Popups from en.wikipedia. I haven't edited out the references to Wikipedia in it b/c I'm not quite sure which of them will break things or what to replace them with. --Philosopher Let us reason together. 04:23, 11 August 2012 (UTC)

Wordpress Import[edit]

Moved from explain xkcd:Community portal/Admin requests#Wordpress Import

Anyone have any idea on how to import all of my posts from Wordpress into pages in the wiki? I can do it manually obviously, but I'd love to do it programatically. --Jeff (talk) 15:10, 7 August 2012 (UTC)

I also realize that I won't be importing ALL the posts, just the ones that don't already have pages in the wiki already created. --Jeff (talk) 15:25, 7 August 2012 (UTC)
SlashMe said (here): When we agree on a page layout, I can do this automatically. He's speaking about importing and creating pages for all comics programmatically. I don't know if he includes the explanations from your blog posts, though...
Also, do you think it could be a good idea to import, in the comic discussions here, the comments existing in the wordpress blog for comics prior to the wiki conversion? They obviously wouldn't be associated with wiki accounts, but we could get a copy of them here (with the dates, names, and also the +/- comment appreciation maybe...). Perhaps this could be considered once the idea of wordpress comments on wiki pages (as suggested here by DanB) is already settled.
Cos (talk) 15:44, 7 August 2012 (UTC)
I don't think I can import blog posts completely automatically, but maybe write something to make it easier. I'll have to look what is possible, but I'd say the least I'll need is an account for Wordpress.
Importing comments is similar: No promises, but probably difficult if not impossible. I'll have to see the comment system in the wiki. --SlashMe (talk) 17:06, 7 August 2012 (UTC)
Importing all previous blog comments would be awesome. We could try a test installation of wordpress and a few test pages here on the wiki (it's easy to delete them if we screw up anything). In any case, I expect some manual tweaking to be needed if we want to convert the comments already posted on-wiki into comments of the wordpress plugin. It's definitely a challenge, but after all, we're xkcd readers, by definition we enjoy a good puzzle :) (and many of us are perfectionists who won't settle for a less-than-perfect solution :D). I say let's hack the heck outta that extension! --Waldir (talk) 19:48, 7 August 2012 (UTC)
Sorry to the perfectionists, but regarding a less-than-perfect solution, could we include a link to the blog comments as a temporary stopgap? I've been using 1004:_Batman to try my hand at adding a comic, and I added a subtle link to the blog comments below the discussion box/transmutation. I'm thinking that link could be added programatically because we know how the blog structure is with year/month/date foldering. --DanB (talk) 17:11, 8 August 2012 (UTC)
Yes, it can be automatically generated by the {{comic}} template. User:TheHYPO should be able do do it. --Waldir (talk) 18:42, 8 August 2012 (UTC)

Automation[edit]

moved from Explain XKCD:Community portal/Proposals#Automation

This wiki lacks automation, every time a comic comes out it needs to be submitted manually. A really simple way to do this is utilize xkcd's own JSON feed. http://xkcd.com/json.html If you download the latest comic json feed and edit it in notepad, you find all sorts of useful data like a complete transcript of the comic. --Jtorba (talk) 14:28, 7 August 2012‎ (UTC)

Outage[edit]

moved from Explain XKCD:Community portal/Miscellaneous

Just experienced the following navigating the site...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Please contact the server administrator, [email protected] and inform 
them of the time the error occurred, and anything you might have done that 
may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an 
ErrorDocument to handle the request.

Very strange, and not able to repro it, so it seems to have been transient. Just noting it here in case it happens again. I assume this is a hosting company hiccup.

BTW, while researching the above, I noticed that the explainxkcd.com domain registration expires in 3 days (August 10)... hopefully the bill has been paid; I'd hate for this site to go down; Grace Period and Redemption are a PITA... -- IronyChef (talk) 14:44, 7 August 2012 (UTC)

over the past week, I've gotten a few of those Internal Server Errors at random. TheHYPO (talk) 15:05, 7 August 2012 (UTC)
Not sure what is up with them, but I've gotten some as well. It is either me messing with the site or the server creaking under pressure. --Jeff (talk) 15:32, 7 August 2012 (UTC)
Could be the pressure... I've been getting a few randomly and the site every now and then gets quite slow. --Waldir (talk) 18:43, 7 August 2012 (UTC)

References[edit]

moved from Explain XKCD:Community portal/Proposals#References

Can we install the "references" plugin so that we can use "ref" tags and add "references" sections to certain comics? I grant that it won't be as useful as on wikipedia, as most references are generally just wikilinks to wikipedia anyway, but I think it could be helpful. In editing the Black Hat article, I wanted to cite references to specific comics. I had to write them into the text because references aren't installed. If References do get installed, I'd like to also suggest a template for {{cite comic}} to create a quick and easy uniform reference to comics by number (or perhaps by name at the user's option?) TheHYPO (talk) 15:56, 7 August 2012 (UTC)

Do you have a link for the References plugin? I searched quickly on MediaWiki's site and didn't see anything. --Jeff (talk) 16:56, 7 August 2012 (UTC)
Cite extension
It defaults (I believe) to citing in a 1.1, 1.2, 1.3 style; there's SOMETHING That lets you change it to the more familiar wikipedia 'a' 'b' 'c' style, which is easier to read, imo. TheHYPO (talk) 19:15, 7 August 2012 (UTC)
qv the existing {{xkcd}} and {{explain}} templates, which generate links to a specific xkcd comic, or the corresponding explanation here, respectively; to wit, {{xkcd|29}} and {{explain|29}} produce xkcd 29 and xkcd 29, the latter could also be used this way: xkcd 29: Hitler. Either could also become the first comic in which Black Hat appears or Black Hat's first appearance. -- IronyChef (talk) 06:10, 9 August 2012 (UTC)

Mainpage category issues[edit]

Waldir already did some repairs to the {{comic}} template to keep it from sorting the Main Page into categories when the template is transcluded on the main page, but I see that other manual categorizations are still being transcluded (eg: the main page is currently categorized into category:Comics featuring Cueball. Is there a way to include the article without including its categories at all? TheHYPO (talk) 21:33, 8 August 2012 (UTC)

That doesn't seem to be related to the {{comic}} template. Apparently the categories added manually to the comic page are getting to the main page. We can, for now, wrap them in noinclude tags. Maybe later we should create a {{category}} template that does that automatically. --Waldir (talk) 23:40, 8 August 2012 (UTC)
I noted in that you'd already fixed the comic template. As I said, these were the "other manual categorizations". Noinclude would work, I suppose, but I do think we need to somehow fix that if the entire article is going to be included on the main page. TheHYPO (talk) 16:08, 10 August 2012 (UTC)

Caching issues[edit]

I seem to be seeing some caching issues with images. I can't be sure if this will still be in effect by the time anyone reads this, but at the time of writing, File:United Shapes.png, for example, is still displaying as an older revision (even though it correctly states the filesize and resolution of the current version). Viewing the "full sized image" (http://www.explainxkcd.com/wiki/images/f/fc/United_Shapes.png) still displays that older revision, as well. However, if you add a question mark to the end of the full sized URL (http://www.explainxkcd.com/wiki/images/f/fc/United_Shapes.png?), the image is correctly purged and displays the correct image (although only with that URL, not on the file page nor where the image is transcluded). In other words, there's a caching issue.

I used to edit on some Wikia sites where they also had this issue, and it drove all the editors up the wall (particularly since it ended up affecting a good portion of images when updated, sometimes for as long as several hours). It was frankly quite frustrating when Wikia refused to do anything about that problem (part of the reason I don't edit there anymore). Is there any chance someone could look into this issue? I'm not sure what entirely causes it. Omega TalkContribs 01:58, 9 August 2012 (UTC)

Aaaaand the image is updated (so the above example won't work anymore). The images definitely seem to be updating, but it's rather slow: at least a few minutes... Omega TalkContribs 02:00, 9 August 2012 (UTC)
I think it might have to do with the Job queue. If that's the case, such updates will gradually happen as edits are made to other pages (each edit takes a job from the queue and runs it). But I'm not entirely sure that's what's at play here. --Waldir (talk) 03:28, 9 August 2012 (UTC)

Related issue?[edit]

Don't know if this is related, but I'm noticing that thumbnails are displaying as red X's on alot of images - especially where I've noticed that editors have corrected the image title to lowercase in an article. One example is File:t-shirts.jpg and T-shirts - the thumbnails for the image history on the image page itself are Xs for me, as is the actualy comic on its comic page, which was at a reduced size. This isn't the only comic doing this. Hitler is as well, for example. TheHYPO (talk) 14:01, 13 August 2012 (UTC)

Creating new comics[edit]

I'm a big fan of List of all comics which I think is a great page and resource. Problem is, at least for me, the "create" button isn't working like it should. It's not preloading the {{create}} template as a starting template. If someone has time to take a look at that issue, I think it's a great idea. Is there any way that the preload could also somehow be passed the comic number, image name and comic name so the user doesn't have to reenter those? We should look into this. TheHYPO (talk) 21:15, 15 August 2012 (UTC)

Ditto. There are a few refinements that I think could be made, though.
  • It's huge, taking a lot of time to load (tables tend to do that, I suppose) so perhaps breaking it into groups, even if it's on the same page (that is, separate tables for each hundred or fraction thereof) Breaking each into sections would allow a TOC for rapid navigation, too.
  • While it might be innocuous, the (create) link isn't needed for anything that isn't redlinked, so maybe an #ifexist, for when the pages do get created, the create no longer appears.
Just thotz. Otherwise, it's a really useful page, both for visitors, and gnomes. -- IronyChef (talk) 01:58, 16 August 2012 (UTC)
The create link only appears on redlinked pages for me already. TheHYPO (talk) 15:45, 16 August 2012 (UTC)

short URLs[edit]

Hi, you should try to enable short URLs, which remove the ugly index.php from every URL. It makes navigation more intuitive and "wiki-style". It's actually quite easy to do: [1]

(Oh, and by the way, would you add WikiEditor? It's so beautiful :) [2])

Scaled Images[edit]

Some of the larger comics are being scaled down to 800px wide. But MediaWiki apparently wants a discrete image rather than scaling what's been uploaded. Is there a plan to fix this? I hope I posted to the right section lcarsos (talk) 21:39, 16 August 2012 (UTC)

Can you provide an article as an example, because I'm not sure what you mean here. What I have noticed lately, and maybe this is the same thing you're talking about is that any scaled image is not displaying and I'm not sure what the error is.
Cueball.png

For Example:

The image links to [3], which gives a 404. Maybe this is related to #short URLs? --83.243.48.2 06:49, 17 August 2012 (UTC)
When I first started posting comics, the scaling worked; so something changed to break the images. TheHYPO (talk) 14:35, 17 August 2012 (UTC)
I'll start building a list here of them as I go through. Feel free to strike out the ones that fix themselves or get fixed.
lcarsos (talk) 21:24, 17 August 2012 (UTC)
Right - so this is the same problem. Basically resized images are no longer working properly for some reason... TheHYPO (talk) 15:54, 20 August 2012 (UTC)
Here is a mediawiki discussion on this same (appraently) issue. And this is a mediawiki bug report thread that has at least one link to a patch. Perhaps someone in management can attempt to impliment some of the proposed solutions? TheHYPO (talk) 15:06, 21 August 2012 (UTC)

Caching issue with pages[edit]

I'm noticing that aside from the image scaling issue (that I really hope someone is working on), I'm noticing that pages appear to be caching - I edited the latest article but my edits don't immediately show on the main page where that article is transcluded (as of this writing, I still see dead links on the mainpage to "Comics featuring Beret Guy" "Comics featuring Ponytail" because I forgot to add "Category:" to the wiki tag, even though I've already fixed the error in the article. TheHYPO (talk) 16:38, 24 August 2012 (UTC)

Math extension[edit]

Extension:Math for mathematical formulas in "Transcript" sections (see 385 or 870). --valepert (talk) 04:41, 27 August 2012 (UTC)

External Link[edit]

The little image that is usually there to indicate an external link is not appear on some pages:

+ Home Page
+ Community Portal
+ Etc

Probably a permissions issue.  greptalk 

Spam template add noindex[edit]

Can the spam template be modified to also tag the pages as Category:Noindexed pages so that passing search engine robots don't think we're promoting those sites? I haven't leveled up enough in wiki-knowledge to be smart enough to do that on my own. lcarsos (talk) 21:38, 3 September 2012 (UTC)

Apologies if this is already implemented, but just add <includeonly>__NOINDEX__</includeonly> to the template page. That's assuming the robots.txt for this website is set up to accept instructions from the wiki, of course. --Philosopher Let us reason together. 07:55, 6 October 2012 (UTC)

Change "Discussion" to "Talk"[edit]

It seems we've borrowed a number of templates and other settings that refer to "T" or "talk" for what is still called "Discussion" here. I suggest it is changed to "Talk" now, rather than change the references back to "D" and "discussion". Mark Hurd (talk) 11:44, 5 October 2012 (UTC)

New comic template:[edit]

this guy has indicated that he has "added some interesting features to my toolbar, including adding a page template as a button" - it would be great to Add the {{create}} template code as a quick clickable button to insert when creating a new page for new comics... Can anyone with admin access to the site code add such a button?? TheHYPO (talk) 20:49, 5 November 2012 (UTC)

xkcd icon[edit]

Can anyone see the icon next to xkcd.com links? I just see a blank space. --Waldir (talk) 15:19, 20 November 2012 (UTC)

I cannot, and as far as I know, no one else can. I suspect that this is related to the image resizing bug that we are also dealing with. But, as no one is working on that, there will not be a fix for this either in the near (or indeed the foreseeable) future. lcarsos_a (talk) 15:50, 20 November 2012 (UTC)
We could simply remove it. I mean, was it that useful anyway? --Waldir (talk) 16:28, 20 November 2012 (UTC)
Actually, it wasn't related to the image scaling problem. It turns out the direct link at MediaWiki:Common.css was outdated. I just fixed that :) --Waldir (talk) 03:13, 22 November 2012 (UTC)