Difference between revisions of "User talk:Jeff"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Header template)
(Bugging you again....: nothing's coming to mind now)
Line 29: Line 29:
 
Could you take a look at [//www.explainxkcd.com/wiki/index.php?limit=10000&tagfilter=&title=Special%3AContributions&contribs=user&target=Philosopher&namespace=8&year=&month=-1] and tell me if I'm thinking in about the same way as you are here?  Also, I've brought up [[MediaWiki:Tagline]] and [[Explain XKCD:Community portal]], as it'd be cool to have a tagline. --''[[User:Philosopher|Philosopher]]''&nbsp;<sup>[[User talk:Philosopher|Let us reason together.]]</sup> 10:46, 1 August 2012 (EDT)
 
Could you take a look at [//www.explainxkcd.com/wiki/index.php?limit=10000&tagfilter=&title=Special%3AContributions&contribs=user&target=Philosopher&namespace=8&year=&month=-1] and tell me if I'm thinking in about the same way as you are here?  Also, I've brought up [[MediaWiki:Tagline]] and [[Explain XKCD:Community portal]], as it'd be cool to have a tagline. --''[[User:Philosopher|Philosopher]]''&nbsp;<sup>[[User talk:Philosopher|Let us reason together.]]</sup> 10:46, 1 August 2012 (EDT)
 
:With you 100% on the File Delete reasons.  Thanks.  I agree also about having a tagline.  What do you think it should be? --[[User:Jeff|Jeff]] ([[User talk:Jeff|talk]]) 11:13, 1 August 2012 (EDT)
 
:With you 100% on the File Delete reasons.  Thanks.  I agree also about having a tagline.  What do you think it should be? --[[User:Jeff|Jeff]] ([[User talk:Jeff|talk]]) 11:13, 1 August 2012 (EDT)
 +
::Nothing's coming to mind right now.  Perhaps someone else will think of something. --''[[User:Philosopher|Philosopher]]''&nbsp;<sup>[[User talk:Philosopher|Let us reason together.]]</sup> 17:54, 2 August 2012 (EDT)
  
 
== Idea ==
 
== Idea ==

Revision as of 21:54, 2 August 2012

This is Jeff's talk page.

Comments

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)

Request

Hi Jeff,

Just thought I'd run this up the flagpole... any thought about installing the ParserFunctions extension? I think this site could benefit from a few templates that would aid in indexing/categorizing the entries as content is migrated, and ParserFunctions would make some really impressive things possible... but installing any extension or not would be up to you.

Also, do you have any feelings about us users creating templates in the Template namespace, which we could use to maintain the content? Just wanted to get your thumbs-up before/if I did something like that. Just want to play nice. Love the site, and the new wiki format.

- PT IronyChef (talk) 03:05, 1 August 2012 (EDT)

ParserFunctions are awesome, yup! --Philosopher Let us reason together. 06:56, 1 August 2012 (EDT)
Yes to both. I have enabled ParserFunctions and Templates sound like a great idea. IronyChef, please send me an email at the address on the blog and I'll make you an admin if necessary to edit templates. --Jeff (talk) 08:03, 1 August 2012 (EDT)

Robots.txt

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)

Bugging you again....

Could you take a look at [1] and tell me if I'm thinking in about the same way as you are here? Also, I've brought up MediaWiki:Tagline and Explain XKCD:Community portal, as it'd be cool to have a tagline. --Philosopher Let us reason together. 10:46, 1 August 2012 (EDT)

With you 100% on the File Delete reasons. Thanks. I agree also about having a tagline. What do you think it should be? --Jeff (talk) 11:13, 1 August 2012 (EDT)
Nothing's coming to mind right now. Perhaps someone else will think of something. --Philosopher Let us reason together. 17:54, 2 August 2012 (EDT)

Idea

Hi

I created a draft for the comic pages. It's still work in progress, but I'd like to retrieve feedback.

Also, maybe we could autmatically import comics using the JSON data Randall gives us ([2]). This way, we could also include transcripts. --SlashMe (talk) 15:23, 1 August 2012 (EDT)

Hm, I should add a link to my draft: User:SlashMe/Testpage ;-) --SlashMe (talk) 06:54, 2 August 2012 (EDT)

I updated the page, including links to the next/previous comic similar to Template:ComicHeader. I used comic 472, because it has a lot of metadata (link, news, HTML title, etc.). --SlashMe (talk) 07:32, 2 August 2012 (EDT)

Header template

Hi, I've created a template called Template:ComicHeader, which might make things easier when creating comic pages (and also provide better consistency between the pages). I've used it on the Internal monologue page, to display the comic number and the date it was published. The template also adds the page to the Comics category.

You just need to add:

{{ComicHeader|1089|August 1, 2012}}

…to the start of the page (replacing the comic number and date).

I'll try to make the template look a bit nicer, but the great thing about templates of course, is that once they're updated, the changes are reflected on all the pages that include that template. --Yirba (talk) 18:46, 1 August 2012 (EDT)

By the way, I'm thinking of maybe programming something that would allow you to easily import the comic image and alt text from xkcd without having to upload the images manually and the like. You'd just have to host a single PHP file on your server and make a few changes to the MediaWiki configuration. Of course, you'd be able to see source code and everything to make sure I'm not trying to do something fishy. :-P Let me know what you think. :-) --Yirba (talk) 18:54, 1 August 2012 (EDT)
Yirba - I like the idea. My email is [email protected] - send me what you put together and we can sort it out. --Jeff (talk) 19:37, 1 August 2012 (EDT)
Ditto on the Template. Up-vote. Any thought on harvesting the pre-wiki content from ExplainXKCD with some sort of a Python, Perl, or PHP script? (That sounds more like a 'bot than something that would have to be hosted, though.) IronyChef (talk) 01:52, 2 August 2012 (EDT)
I was thinking of putting it into a infobox, please see above. I also intended to automatically extract data from xkcd, which would lack descriptions, but at least we would have data like title, image and transcripts. Also, there are some other data like links (e.g. 832), news (which are displayed in xkcd's header, e.g. 739) and titles which contain HTML (259 and 472). I also extracted all those data. When we agree on a page layout, I could begin programming a bot. --SlashMe (talk) 06:54, 2 August 2012 (EDT)
Hmmm… an infobox may be a good idea. And a bot that imports data from xkcd might be handy. Anyway, here's something I programmed that would allow for access to the xkcd API from the wiki itself. Essentially, you'd put this xkcdinfo.php (source, download) file somewhere on the server (e.g. at http://www.explainxkcd.com/xkcdinfo.php) and include it in MediaWiki's interwiki table (ensuring iw_trans == 1):
INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ('xkcdinfo', 'http://www.explainxkcd.com/xkcdinfo.php?input=$1', 0, 1);
After enabling scary transclusion in LocalSettings.php, you'd then be able to send queries to the xkcd JSON API via this file. In other words, {{xkcdinfo:32-title}} would make comic 32's title appear. {{xkcdinfo:55-alt}} would make comic 55's image text appear. I've also set it so you could enter {{xkcdinfo:100-embed}}, and it would make the comic 100 image appear on the wiki page. Feel free to use it however you want (if at all), and modify the code should you wish. (Hint: Using the number 0 for the comic number will query the most recent comic, so {{xkcdinfo:0-num}} will return the current comic number. Also, adding "raw:" before "xkcdinfo:" might be more useful in some instances. E.g.: {{raw:xkcdinfo:555-title}})--Yirba (talk) 14:50, 2 August 2012 (EDT)
Nice idea, altough this would mean to load all data from xkcd whenever a page is viewededited (I think this is the way MediaWiki caches the data). This is a lot of traffic for little data. I'd say to include the metadata statically, but linking the external image seems a good thing to me. Again, it'd be great if you gave me feedback for my idea. --SlashMe (talk) 15:54, 2 August 2012 (EDT)
Yes, the data would be loaded from xkcd for each edit. You can, however, substitute (subst) the template for data that is unlikely to change. And therefore the data would indeed be stored statically. I like the layout you've come up with. It could perhaps do with a bit of tweaking here and there, but the general idea is good. --Yirba (talk) 17:16, 2 August 2012 (EDT)
What kind of tweaking do you mean? I know the code is a bit messy, if you have a better idea, please tell me (or do it yourself - hey, it's a wiki!). The CSS should be placed in an external file, but for now, it's ok. --SlashMe (talk) 17:51, 2 August 2012 (EDT)

Main Image

The main image (top left) is not the best image ever. You really need to update it.

Maybe: Wiki.png

Just an idea, because that text looks weird, or at least please add a transparent background instead of white for the logo (and center the text). --Grep (talk) 21:39, 1 August 2012 (EDT)

I like it. What does everyone else think? (PS - don't forget to sign your entries on this page!) --Jeff (talk) 21:18, 1 August 2012 (EDT)
I could go with that. Had been kicking around some ideas, and if I had any artistic aptitude, it might have looked very much like that: the black-hat retort; alternately: the lowercase blue xkcd that RM uses (sans comic figure watermark) with a "Explain" in a hand-written typeface in some other color splashed across the top left part of those letters. And yes, definitely with transparency. Just thoughts... ultimately, whatever the consensus is... IronyChef (talk) 01:51, 2 August 2012 (EDT)
Something like one of the following?
Wiki2.pngWiki3.pngwiki4.png
--Grep (talk) 12:40, 2 August 2012 (EDT)