Tuesday, 2010-04-13

*** everton137 has joined #cc00:03
*** nathany has quit IRC00:08
*** JED3 has quit IRC00:19
*** nkinkade has joined #cc00:39
*** nkinkade has left #cc00:40
*** luisv has quit IRC00:42
*** JoiIto has joined #cc01:06
*** oshani has joined #cc01:07
*** everton137 has quit IRC01:27
*** everton137 has joined #cc01:42
*** uliseslima has quit IRC01:42
*** JoiIto has quit IRC01:51
*** jgay has quit IRC01:59
*** oshani has quit IRC02:04
*** JED3 has joined #cc04:03
*** ankitg has joined #cc05:06
*** ankitg has quit IRC05:07
*** JED3 has quit IRC05:18
*** paroneayea has quit IRC05:33
*** d00b has quit IRC05:33
*** mralex has quit IRC05:33
*** freer has quit IRC05:33
*** pyrak has quit IRC05:33
*** 13WAAGRQG has quit IRC05:33
*** anttil has quit IRC05:33
*** johnsu01 has quit IRC05:33
*** papyromancer has quit IRC05:33
*** Danny_B has quit IRC05:33
*** CIA-63 has quit IRC05:33
*** nb has quit IRC05:33
*** paulproteus has quit IRC05:33
*** paroneayea has joined #cc05:35
*** mralex has joined #cc05:35
*** d00b has joined #cc05:35
*** nb has joined #cc05:35
*** Danny_B has joined #cc05:35
*** johnsu01 has joined #cc05:35
*** freer has joined #cc05:35
*** papyromancer has joined #cc05:35
*** anttil has joined #cc05:35
*** paulproteus has joined #cc05:35
*** 13WAAGRQG has joined #cc05:35
*** pyrak has joined #cc05:35
*** CIA-63 has joined #cc05:35
*** mralex has quit IRC05:36
*** freer has quit IRC05:36
*** pyrak has quit IRC05:36
*** 13WAAGRQG has quit IRC05:36
*** anttil has quit IRC05:36
*** johnsu01 has quit IRC05:36
*** papyromancer has quit IRC05:36
*** mralex has joined #cc05:37
*** johnsu01 has joined #cc05:37
*** freer has joined #cc05:37
*** papyromancer has joined #cc05:37
*** anttil has joined #cc05:37
*** pyrak has joined #cc05:37
*** 13WAAGRQG has joined #cc05:37
*** Kaetemi has quit IRC06:12
*** everton137 has quit IRC06:17
*** everton137 has joined #cc06:19
*** ankitg has joined #cc07:10
*** ankitg has quit IRC07:13
*** mralex has quit IRC07:17
*** TDJACR has quit IRC07:51
*** bassel has joined #cc08:28
*** bassel has quit IRC08:40
*** JED3 has joined #cc09:18
*** JED3 has quit IRC09:24
*** bassel has joined #cc10:27
*** MarkDude has quit IRC10:52
*** bassel has quit IRC10:55
*** Danny_B has quit IRC11:06
*** ea4xgr has joined #cc12:15
*** sama has joined #cc13:04
*** everton137 has quit IRC13:11
*** wormsxulla has quit IRC13:15
*** bassel has joined #cc13:25
*** wormsxulla has joined #cc13:34
*** oshani has joined #cc13:49
*** akila87 has joined #cc13:51
ea4xgroshani: hello13:55
oshanihello ea4xgr13:55
ea4xgroshani: thank you for your interest in the License Validation Service (as its developer)13:55
*** nkinkade has joined #cc14:23
*** JoiIto has joined #cc14:24
*** JoiIto has quit IRC14:37
*** oshani has quit IRC14:57
*** JoiIto has joined #cc15:03
*** JoiIto has quit IRC15:09
*** ea4xgr has quit IRC15:18
*** bassel has quit IRC15:37
*** bassel has joined #cc15:51
*** sama has quit IRC15:54
*** michi_ has joined #cc15:58
*** d00b has quit IRC16:05
*** Kaetemi has joined #cc16:17
*** oshani has joined #cc16:31
*** michi_ has quit IRC16:41
*** akozak has joined #cc16:49
*** mralex has joined #cc16:56
*** akila87 has left #cc17:10
akozakI wish i was a regex wizard.17:23
akozakSMW only returns dates in the format XX MONTH YEAR17:24
akozakand if you have a date range for an event, youd only be able to display it as XX MONTH YEAR - XX MONTH YEAR17:24
akozakbut I'm guessing you could define an array being the elements in that string and then compute the difference17:25
akozakbut you'd need some regex to split it up17:25
akozakmaybe I could just split out each character17:25
akozakinto an array element17:25
*** jgay has joined #cc17:39
*** michi_ has joined #cc18:04
akozakmralex, i could use your input: http://wiki.creativecommons.org/Events18:09
mralexwow, someone's gone and beefed up that page a lot ;)18:10
akozakI wonder who :)18:10
akozakthere really ought to be a better way to develop pages like this in a sandbox without clogging up the recent changes feed18:12
mralexwell there is wiki-staging.cc.org18:12
akozakthat might work, although it's missing the data and a couple extensions I use18:14
akozakdata as in the pages that get queried18:14
mralexakozak: it's confusing that some event titles link to a wiki page and some link to an external page18:22
mralexakozak: imo, they should all link to a wiki page, with an optional external page link18:23
mralexthat is, swap the linking around18:23
mralex18 April 2010-18:24
mralex18 April 201018:24
mralexthat's weird too18:24
mralexit looks ok if the event spans multiple days, but otherwise it shouldn't look like that18: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
mralexoh weird, i see events that span multiple days aren't displaying the full date range on the index page18:29
mralexthe event pages look pretty nice18:29
mralexdate formatting is a bit iffy tho18:30
akozakmralex, wow conditional fail18:31
akozakone sec18:31
akozakmralex, yea I can't control the date display unless I learn some regex18:32
akozakor unless I'm missing something in SMW18:32
mralexhow come the dates show up formatted differently on the events index?18:33
akozakmralex, 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 call18:34
*** michi_ has quit IRC18:34
akozakand as far as I know, I can't change either very easily18:35
akozakwhich sucks18:35
mralexis it a matter of how the data is input in the first place?18:35
akozakmralex, possible. if you look at http://wiki.creativecommons.org/Special:AddData/Event you can see how the fields are formatted18:36
akozakthey have input type=date18:36
*** MarkDude has joined #cc18:36
mralexthe edit form for an event is quite slick too18:36
mralexway  more user friendly than i recall18:36
mralexhow do i get to the event item page template?18:37
mralexoh, yeah, right at the bottom of hte edit page itself.. :P18:37
akozakmy biggest pet peeve about mediawiki is that you essentially have to make your templates have ugly code if you want to avoid unwanted <p> generation18:39
mralexi was wondering why it looked all compacted and ugly18:39
akozakthen again it wasn't designed to be a development environment18:39
mralexi thought there was soemthing you could put in at the top to make it not autoformat… __NO_UGLY__ or something18:39
mralex(not that, but like that)18:40
akozakwow that would be amazing. ill look into it.18:40
mralexi'm pretty sure you can force it18:40
*** nathany has joined #cc18:40
akozakas in force it not to inject formatting to the page?18:41
akozakI don't see it in http://www.mediawiki.org/wiki/Help:Magic_words18:42
mralexah, i guess not then. oh well.18:42
akozakI would love that feature18:43
akozakanyway, 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
akozakerr, e.g. haha18:44
akozakmralex, changed the links around like you suggested18:47
mralexand dates are appearing correctly :D18:48
akozaki had the conditional reversed18:49
mralexah, heh18:49
akozaki need a cheat sheet for that stuff18:49
mralexany 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
mralexnot much you can do about that, i know18:51
akozakI could potentially just create another page with a query that has a higher limit18:52
akozaklike 50 events18:52
mralexcould you have a page that contains the search query, including pagination?18:52
mralexalthough it's easy to say we won't ever have that many events in the list18:54
akozakwell, the problem is that the link at the end of the query is automatically generated18:54
akozakyou can tell because the whole div is a link18:54
akozakso it would take some clever queries to do your own clean pagination18:54
mralexhow about a "get everything" query, and add some javascript pagination?18:54
akozakI'm not sure how you would tell the query to break itself up18:55
akozakas in, send the first 10 elements to one div, the second to another, etc18:55
akozakyou might be able to do it by month though18:56
akozakquery for April in one div, May in another, etc18:56
akozakand the next page link would go to the next month18:56
*** michi_ has joined #cc18:57
akozakthat will take some clever use of parserfunctions to set the current month and the subsequent queries...18:57
akozakmralex, do you know of any similar use of javascript on the wiki that I could look at as an example?19:02
mralexhm, i don't. just imaging what jquery could do with it.19:06
*** jgay has quit IRC19:10
*** pyrak has quit IRC19:13
*** pyrak has joined #cc19:13
akozakugh, I figured out how to output a strong of the next month, but I just realized December will break the query.19:17
akozakbecause then it would query for January of the current year19:18
akozakthis is a pretty trivial problem, except when you only have mediawiki extensions as tools19:21
*** stas has quit IRC19:29
*** stas has joined #cc19:30
*** oshani has quit IRC20:01
*** oshani has joined #cc20:05
*** shellac has joined #cc20:23
*** michi__ has joined #cc20:30
*** oshani has quit IRC21:03
*** michi__ has quit IRC21:13
*** oshani has joined #cc21:13
*** michi_ has quit IRC21:13
*** shellac has quit IRC21:23
*** shellac has joined #cc21:31
*** bassel has quit IRC22:01
*** oshani has quit IRC22:03
akozaknkinkade, around?22:32
nkinkadeakozak: Yeah.22:32
akozaknkinkade, weird wiki problem... the Recent Changes link in the toolbox isn't a link anymore.22:33
akozakcan you click on it?22:33
nkinkadeakozak: Ooops.22:33
nkinkadeI made a change this morning that localized the text, and it seemed to be all working.22:33
nkinkadeLet me see.22:34
*** hw has joined #cc22:37
*** hw has left #cc22:37
nkinkadeakozak: Fixed.  Sorry about that.22:49
akozaknkinkade, no problem. I didn't have the faintest idea what could've caused that.22:50
nkinkadeJust a blunder on my part. :-)22:50
*** oshani has joined #cc23:30
*** nathany has quit IRC23:31

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!