| *** everton137 has joined #cc | 00:03 | |
| *** nathany has quit IRC | 00:08 | |
| *** JED3 has quit IRC | 00:19 | |
| *** nkinkade has joined #cc | 00:39 | |
| *** nkinkade has left #cc | 00:40 | |
| *** luisv has quit IRC | 00:42 | |
| *** JoiIto has joined #cc | 01:06 | |
| *** oshani has joined #cc | 01:07 | |
| *** everton137 has quit IRC | 01:27 | |
| *** everton137 has joined #cc | 01:42 | |
| *** uliseslima has quit IRC | 01:42 | |
| *** JoiIto has quit IRC | 01:51 | |
| *** jgay has quit IRC | 01:59 | |
| *** oshani has quit IRC | 02:04 | |
| *** JED3 has joined #cc | 04:03 | |
| *** ankitg has joined #cc | 05:06 | |
| *** ankitg has quit IRC | 05:07 | |
| *** JED3 has quit IRC | 05:18 | |
| *** paroneayea has quit IRC | 05:33 | |
| *** d00b has quit IRC | 05:33 | |
| *** mralex has quit IRC | 05:33 | |
| *** freer has quit IRC | 05:33 | |
| *** pyrak has quit IRC | 05:33 | |
| *** 13WAAGRQG has quit IRC | 05:33 | |
| *** anttil has quit IRC | 05:33 | |
| *** johnsu01 has quit IRC | 05:33 | |
| *** papyromancer has quit IRC | 05:33 | |
| *** Danny_B has quit IRC | 05:33 | |
| *** CIA-63 has quit IRC | 05:33 | |
| *** nb has quit IRC | 05:33 | |
| *** paulproteus has quit IRC | 05:33 | |
| *** paroneayea has joined #cc | 05:35 | |
| *** mralex has joined #cc | 05:35 | |
| *** d00b has joined #cc | 05:35 | |
| *** nb has joined #cc | 05:35 | |
| *** Danny_B has joined #cc | 05:35 | |
| *** johnsu01 has joined #cc | 05:35 | |
| *** freer has joined #cc | 05:35 | |
| *** papyromancer has joined #cc | 05:35 | |
| *** anttil has joined #cc | 05:35 | |
| *** paulproteus has joined #cc | 05:35 | |
| *** 13WAAGRQG has joined #cc | 05:35 | |
| *** pyrak has joined #cc | 05:35 | |
| *** CIA-63 has joined #cc | 05:35 | |
| *** mralex has quit IRC | 05:36 | |
| *** freer has quit IRC | 05:36 | |
| *** pyrak has quit IRC | 05:36 | |
| *** 13WAAGRQG has quit IRC | 05:36 | |
| *** anttil has quit IRC | 05:36 | |
| *** johnsu01 has quit IRC | 05:36 | |
| *** papyromancer has quit IRC | 05:36 | |
| *** mralex has joined #cc | 05:37 | |
| *** johnsu01 has joined #cc | 05:37 | |
| *** freer has joined #cc | 05:37 | |
| *** papyromancer has joined #cc | 05:37 | |
| *** anttil has joined #cc | 05:37 | |
| *** pyrak has joined #cc | 05:37 | |
| *** 13WAAGRQG has joined #cc | 05:37 | |
| *** Kaetemi has quit IRC | 06:12 | |
| *** everton137 has quit IRC | 06:17 | |
| *** everton137 has joined #cc | 06:19 | |
| *** ankitg has joined #cc | 07:10 | |
| *** ankitg has quit IRC | 07:13 | |
| *** mralex has quit IRC | 07:17 | |
| *** TDJACR has quit IRC | 07:51 | |
| *** bassel has joined #cc | 08:28 | |
| *** bassel has quit IRC | 08:40 | |
| *** JED3 has joined #cc | 09:18 | |
| *** JED3 has quit IRC | 09:24 | |
| *** bassel has joined #cc | 10:27 | |
| *** MarkDude has quit IRC | 10:52 | |
| *** bassel has quit IRC | 10:55 | |
| *** Danny_B has quit IRC | 11:06 | |
| *** ea4xgr has joined #cc | 12:15 | |
| *** sama has joined #cc | 13:04 | |
| *** everton137 has quit IRC | 13:11 | |
| *** wormsxulla has quit IRC | 13:15 | |
| *** bassel has joined #cc | 13:25 | |
| *** wormsxulla has joined #cc | 13:34 | |
| *** oshani has joined #cc | 13:49 | |
| *** akila87 has joined #cc | 13:51 | |
| ea4xgr | oshani: hello | 13:55 |
|---|---|---|
| oshani | hello ea4xgr | 13:55 |
| ea4xgr | oshani: thank you for your interest in the License Validation Service (as its developer) | 13:55 |
| ea4xgr | :) | 13:55 |
| oshani | welcome | 13:56 |
| *** nkinkade has joined #cc | 14:23 | |
| *** JoiIto has joined #cc | 14:24 | |
| *** JoiIto has quit IRC | 14:37 | |
| *** oshani has quit IRC | 14:57 | |
| *** JoiIto has joined #cc | 15:03 | |
| *** JoiIto has quit IRC | 15:09 | |
| *** ea4xgr has quit IRC | 15:18 | |
| *** bassel has quit IRC | 15:37 | |
| *** bassel has joined #cc | 15:51 | |
| *** sama has quit IRC | 15:54 | |
| *** michi_ has joined #cc | 15:58 | |
| *** d00b has quit IRC | 16:05 | |
| *** Kaetemi has joined #cc | 16:17 | |
| *** oshani has joined #cc | 16:31 | |
| *** michi_ has quit IRC | 16:41 | |
| *** akozak has joined #cc | 16:49 | |
| *** mralex has joined #cc | 16:56 | |
| *** akila87 has left #cc | 17:10 | |
| akozak | I wish i was a regex wizard. | 17:23 |
| akozak | SMW only returns dates in the format XX MONTH YEAR | 17:24 |
| akozak | and if you have a date range for an event, youd only be able to display it as XX MONTH YEAR - XX MONTH YEAR | 17:24 |
| akozak | but I'm guessing you could define an array being the elements in that string and then compute the difference | 17:25 |
| akozak | but you'd need some regex to split it up | 17:25 |
| akozak | maybe I could just split out each character | 17:25 |
| akozak | into an array element | 17:25 |
| akozak | hmmm | 17:25 |
| *** jgay has joined #cc | 17:39 | |
| *** michi_ has joined #cc | 18:04 | |
| akozak | mralex, i could use your input: http://wiki.creativecommons.org/Events | 18:09 |
| mralex | wow, someone's gone and beefed up that page a lot ;) | 18:10 |
| akozak | I wonder who :) | 18:10 |
| akozak | there really ought to be a better way to develop pages like this in a sandbox without clogging up the recent changes feed | 18:12 |
| mralex | well there is wiki-staging.cc.org | 18:12 |
| akozak | hmmm | 18:13 |
| akozak | that might work, although it's missing the data and a couple extensions I use | 18:14 |
| akozak | data as in the pages that get queried | 18:14 |
| mralex | akozak: it's confusing that some event titles link to a wiki page and some link to an external page | 18:22 |
| mralex | akozak: imo, they should all link to a wiki page, with an optional external page link | 18:23 |
| mralex | that is, swap the linking around | 18:23 |
| mralex | 18 April 2010- | 18:24 |
| mralex | 18 April 2010 | 18:24 |
| mralex | that's weird too | 18:24 |
| mralex | it looks ok if the event spans multiple days, but otherwise it shouldn't look like that | 18:24 |
| mralex | (but i guess that might just be malformed data in the system? since other single day events have the correct date format) | 18:25 |
| mralex | (data validation FTW) | 18:26 |
| mralex | oh weird, i see events that span multiple days aren't displaying the full date range on the index page | 18:29 |
| mralex | the event pages look pretty nice | 18:29 |
| mralex | date formatting is a bit iffy tho | 18:30 |
| akozak | mralex, wow conditional fail | 18:31 |
| akozak | one sec | 18:31 |
| akozak | mralex, yea I can't control the date display unless I learn some regex | 18:32 |
| akozak | or unless I'm missing something in SMW | 18:32 |
| mralex | how come the dates show up formatted differently on the events index? | 18:33 |
| akozak | mralex, I think it's because the events index dates get pulled from the #ask query, whereas the wiki pages get displayed based on how the form spit out the template call | 18:34 |
| mralex | weird | 18:34 |
| *** michi_ has quit IRC | 18:34 | |
| akozak | and as far as I know, I can't change either very easily | 18:35 |
| akozak | which sucks | 18:35 |
| mralex | is it a matter of how the data is input in the first place? | 18:35 |
| akozak | mralex, possible. if you look at http://wiki.creativecommons.org/Special:AddData/Event you can see how the fields are formatted | 18:36 |
| akozak | they have input type=date | 18:36 |
| *** MarkDude has joined #cc | 18:36 | |
| mralex | the edit form for an event is quite slick too | 18:36 |
| mralex | way more user friendly than i recall | 18:36 |
| akozak | :) | 18:36 |
| mralex | how do i get to the event item page template? | 18:37 |
| akozak | http://wiki.creativecommons.org/Template:Event | 18:37 |
| mralex | oh, yeah, right at the bottom of hte edit page itself.. :P | 18:37 |
| akozak | my biggest pet peeve about mediawiki is that you essentially have to make your templates have ugly code if you want to avoid unwanted <p> generation | 18:39 |
| mralex | yeah | 18:39 |
| mralex | i was wondering why it looked all compacted and ugly | 18:39 |
| akozak | then again it wasn't designed to be a development environment | 18:39 |
| mralex | i thought there was soemthing you could put in at the top to make it not autoformat… __NO_UGLY__ or something | 18:39 |
| mralex | (not that, but like that) | 18:40 |
| akozak | wow that would be amazing. ill look into it. | 18:40 |
| mralex | i'm pretty sure you can force it | 18:40 |
| *** nathany has joined #cc | 18:40 | |
| akozak | as in force it not to inject formatting to the page? | 18:41 |
| mralex | yeah | 18:41 |
| akozak | I don't see it in http://www.mediawiki.org/wiki/Help:Magic_words | 18:42 |
| mralex | ah, i guess not then. oh well. | 18:42 |
| akozak | I would love that feature | 18:43 |
| akozak | anyway, I still have to make links for all of the properties in the event templte (i.e. link "conference" to a query that lists conferences) | 18:44 |
| akozak | err, e.g. haha | 18:44 |
| akozak | mralex, changed the links around like you suggested | 18:47 |
| mralex | cool | 18:48 |
| mralex | and dates are appearing correctly :D | 18:48 |
| akozak | yes | 18:49 |
| akozak | i had the conditional reversed | 18:49 |
| mralex | ah, heh | 18:49 |
| akozak | i need a cheat sheet for that stuff | 18:49 |
| mralex | hrmm | 18:51 |
| mralex | any way to make pages like http://wiki.creativecommons.org/Special:Ask/-5B-5Bdate::-3E2010-2D04-2D13-5D-5D-20-0A-20-20-5B-5BCategory:Event-5D-5D/-3FDate%3D/-3FLocation%3D/-3FEventType%3D/-3FEventCategory%3D/-3FMainurl%3D/-3FEnd-20date%3D/sort%3DDate/order%3DASC/format%3Dtemplate/template%3DEvent-20List/link%3Dnone have a proper page title? | 18:51 |
| mralex | (also DANG that's an ugly url) | 18:51 |
| akozak | haha | 18:51 |
| mralex | not much you can do about that, i know | 18:51 |
| akozak | I could potentially just create another page with a query that has a higher limit | 18:52 |
| akozak | like 50 events | 18:52 |
| mralex | could you have a page that contains the search query, including pagination? | 18:52 |
| mralex | although it's easy to say we won't ever have that many events in the list | 18:54 |
| akozak | well, the problem is that the link at the end of the query is automatically generated | 18:54 |
| akozak | you can tell because the whole div is a link | 18:54 |
| mralex | ah | 18:54 |
| akozak | so it would take some clever queries to do your own clean pagination | 18:54 |
| mralex | how about a "get everything" query, and add some javascript pagination? | 18:54 |
| akozak | I'm not sure how you would tell the query to break itself up | 18:55 |
| akozak | as in, send the first 10 elements to one div, the second to another, etc | 18:55 |
| akozak | you might be able to do it by month though | 18:56 |
| akozak | actually... | 18:56 |
| akozak | query for April in one div, May in another, etc | 18:56 |
| akozak | and the next page link would go to the next month | 18:56 |
| *** michi_ has joined #cc | 18:57 | |
| akozak | that will take some clever use of parserfunctions to set the current month and the subsequent queries... | 18:57 |
| akozak | mralex, do you know of any similar use of javascript on the wiki that I could look at as an example? | 19:02 |
| mralex | hm, i don't. just imaging what jquery could do with it. | 19:06 |
| mralex | imagining | 19:06 |
| *** jgay has quit IRC | 19:10 | |
| *** pyrak has quit IRC | 19:13 | |
| *** pyrak has joined #cc | 19:13 | |
| akozak | ugh, I figured out how to output a strong of the next month, but I just realized December will break the query. | 19:17 |
| akozak | string* | 19:17 |
| akozak | because then it would query for January of the current year | 19:18 |
| mralex | hmm | 19:21 |
| akozak | this is a pretty trivial problem, except when you only have mediawiki extensions as tools | 19:21 |
| *** stas has quit IRC | 19:29 | |
| *** stas has joined #cc | 19:30 | |
| *** oshani has quit IRC | 20:01 | |
| *** oshani has joined #cc | 20:05 | |
| *** shellac has joined #cc | 20:23 | |
| *** michi__ has joined #cc | 20:30 | |
| *** oshani has quit IRC | 21:03 | |
| *** michi__ has quit IRC | 21:13 | |
| *** oshani has joined #cc | 21:13 | |
| *** michi_ has quit IRC | 21:13 | |
| *** shellac has quit IRC | 21:23 | |
| *** shellac has joined #cc | 21:31 | |
| *** bassel has quit IRC | 22:01 | |
| *** oshani has quit IRC | 22:03 | |
| akozak | nkinkade, around? | 22:32 |
| nkinkade | akozak: Yeah. | 22:32 |
| akozak | nkinkade, weird wiki problem... the Recent Changes link in the toolbox isn't a link anymore. | 22:33 |
| akozak | can you click on it? | 22:33 |
| nkinkade | akozak: Ooops. | 22:33 |
| nkinkade | I made a change this morning that localized the text, and it seemed to be all working. | 22:33 |
| nkinkade | Let me see. | 22:34 |
| akozak | ahh | 22:34 |
| *** hw has joined #cc | 22:37 | |
| *** hw has left #cc | 22:37 | |
| nkinkade | akozak: Fixed. Sorry about that. | 22:49 |
| akozak | nkinkade, no problem. I didn't have the faintest idea what could've caused that. | 22:50 |
| nkinkade | Just a blunder on my part. :-) | 22:50 |
| *** oshani has joined #cc | 23:30 | |
| *** nathany has quit IRC | 23:31 | |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!