[02:27:16] I have an ask that outputs a table. One of the properties output is an image. Is there anyway to set the image's size? [02:53:39] I'm trying with template format but I get [[[[File:blah.png]]|50px]] which, well, clearly doesn't work. [03:29:37] Fenyx4: adding "|link=none" to the query might help. [08:26:43] New patchset: Foxtrott; "bugfixes: Ajax error handler, use correct data from web request, setup parser" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70745 [08:29:13] New patchset: Foxtrott; "fix bug (autoedit does never finish on error)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/68289 [08:29:33] Change merged: Foxtrott; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/68289 [08:32:18] New review: Foxtrott; "JS fix is duplicate of Ib433027469fbe8143ac4eb27f38eca0dabbeb4df" [mediawiki/extensions/SemanticForms] (master) C: -2; - https://gerrit.wikimedia.org/r/70745 [08:33:31] Change abandoned: Foxtrott; "Don't need it anymore. Don't have the time to do this properly." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/50943 [12:10:49] yaron: Much belated thank you. [13:34:56] hello. [13:35:22] I have a question about Semantic Forms... [13:36:07] Is possible use a "conditional" sub - form? [13:36:48] I use show on select but I need include some templates only in some cases... [13:37:03] the templates are always included... [13:38:21] greetings [13:39:06] hello [13:40:46] hi, I'm trying to "count" a property fin articles in our semantic wiki ... i was wondering if there is a way to do that with query creator or in a different way; i couldnt spot such a topic while looking it up [13:41:42] we have "workshops" that have templates that denote "sessions" ; what i want to do is count the session property [13:50:16] uwe__: "count" format can only count results, and results are the pages found [13:50:27] so you can't use a query to count properties [13:51:12] can't you set a session number in the template, and put the number of sessions in a property at the end of the page? [13:51:58] e.g. {{#vardefine:sessionnr|{{#expr: {{#var:sessionnr}} + 1}}}} in the session template [13:52:22] and below the last session template [[NumberOfSessions:: {{#var:sessionnr}}]] [13:52:46] then you can use {{#show: [[]]|?NumberOfSessions}} [14:33:35] Saruman, hmmm ... [14:35:41] yah, another workaround [14:42:43] Saruman, i'm not sure what you meanexactly ... [14:44:11] let me show you an example of a workshop [14:44:13] http://arabdigitalexpression.org/wiki/%D8%A3%D9%81%D9%8A%D8%B4_%D9%88_%D8%AA%D8%B4%D8%A8%D9%8A%D9%87 [14:44:36] sorry, its written right-to-left, it might be a bit confusing [14:44:44] so i have a template per sessoin [14:45:12] wich the infobox on the left shows, and i have a template for the workshop, the upper box [14:47:23] well, im not sure how to collect the properties from other templates in the page, as there is not one template in the page [14:49:05] but probably you just explained that but i did not get it :) [14:54:51] Any update on a way to upload images to the edit/create pages with SMW without having to upload the images first via Special:Upload? [14:55:11] i know someone mentioned msupload may be an option but its not fully setup for use with smw yet [14:56:42] kevindank, um, while creating forms, i have an option of creating fields for uploadable content ... is what you want something else ? [14:57:16] uwe__: No, i have that option as well. Im looking to be able to upload images within the free text area [14:57:23] without having to leave the page to go to Special:Upload [14:57:52] I use fckeditor currently on a 1.17 setup, however im open to anyway i can use smw forms + be able to upload images within the free text area [14:58:28] if its a hack, a plugin, a theme, javascript i dont care...Wiki's longterm usage depends on finding a way to upload images within free text while still using smw [14:59:12] I've had no luck with getting the richmedia extension working at all [15:01:43] kevindank, no idea ... [15:07:55] uwe__: oomph... that's hard for me to read [15:09:34] what I explained was the use of the Variables extension [15:09:58] if one template sets or alters a variable, another template can use it [15:10:27] http://www.mediawiki.org/wiki/Extension:Variables [19:08:52] so, I'm trying to help wikimo with https://bugzilla.mozilla.org/show_bug.cgi?id=887939 and realized this may be super-easy in SMW. [19:09:45] my question: is there a way that SMW can display "last 5 edits" using wiki markup? [19:15:34] hexmode: Don't think so. Not out of the box, anyway. You could probably write an extension that stroes the data of the last 5 edits so you could query it [19:15:41] *stores* [19:21:13] Ftrott: yeah, that was my though initially, but then I thought SMW might have something built-in already [19:21:36] hexmode: Don't think so [19:21:38] I should look for how to make those properties available to SMW, though [19:29:49] New patchset: Foxtrott; "bugfix (timeline loaded partially)" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/70867 [19:35:22] Just a heads up [19:35:22] 2013/06/27 19:22:33 [error] 22513#0: *3471112 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /home/hydra/public_html/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php on line 417" while reading response header from upstream, client: 108.172.100.217, server: _, request: "GET /Elder_Titan HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "dota2.gameped [19:35:22] a.com", referrer: "http://dota2.gamepedia.com/Dota_2_Wiki" [19:35:28] This is using the current version [19:40:01] hexmode: You could use the 'Modification date' property if 'Last 5 edited pages' is good enough for you [19:41:01] Ftrott: so, maybe that is an easy win after all. Could you point me to an example? (I'm a SMW noob.) [19:42:20] hexmode: That property is a special property on every page. Just {{#ask:[[Modification date::+]]|limit=5}} should do the trick [19:43:58] Or better do {{#ask:[[Modification date::+]]|?Modification date|sort=Modification date|order=desc|limit=5}} [19:45:43] (assume you guys are talking about the email request) [19:45:48] that recently modified is easy [19:45:51] the other one would be harder [19:46:02] There is also a 'number of page views' property. But that counts all views [19:46:07] thingles: Yes. [19:46:12] thingles: yes, ty [19:46:25] I would love to give them a widget to use from wikiapiary... http://wikiapiary.com/wiki/MozillaWiki [19:46:44] I think edit index is a pretty great metric.. [19:47:09] thingles: I'll mention that [19:48:25] hexmode: For implementing your own properties, have a look at the SemanticExtraSpecialProperties extension [19:48:46] * hexmode falls in love with IRC all over again [19:49:56] thingles: http://wikiapiary.com/wiki/Dota_2_Wiki log on that is weird. that wiki is a recent import fwiu [19:51:00] odd.. not collecting data it seems. I'll look into it [19:51:52] huh.. is gamepedia all MW based? [19:51:56] I should farm this thing [19:54:23] hexmode: the new skin working for you? good/bad/ok? [19:54:35] still being refined [19:55:00] I like it. Wish I had your skills. [19:55:18] ditto. :-) [19:55:36] if you want to play, you can get it at http://foreground.wikiwonders.net/wiki/Main_Page [19:55:37] Ah, but I've got artistic kids... I should put them to work. :) [19:56:04] also working on one based on Pure CSS called Filament: http://filament.wikiwonders.net/wiki/Main_Page [19:56:07] thingles: What does "farming" it do? (besides the wiki page) http://wikiapiary.com/wiki/Farm:Gamepedia [19:56:47] write a bot that syncs all wikis from that hoster into WikiApiary http://wikiapiary.com/wiki/WikiApiary:Farming [19:57:33] \o/ that would probably mean a big influx. DO IT. [19:57:52] I did that with Wikkii a couple weeks ago.. +3,000 wikis [19:58:07] if anyone has a hostlist of some sort I can index I would be happy to [19:58:44] I can probably mine this list http://www.gamepedia.com/wikis?page=8 [19:59:17] heh.. there is enough edits in this farm that maybe we can get past 3 billion. :-) [19:59:43] thingles: do you have a ranking of farms? [20:00:00] by edits, users active users, yes [20:00:20] by wiki would also be nice [20:00:29] link to farm rank? [20:00:31] oh, rank a wiki in it's farm? planning on adding that [20:01:27] ranking of farm by # of wikis/active wikis? (or is that users?) [20:02:33] heh.. BeautifulSoup will parse through these pages just fine. Nice. Shouldn't be too hard to make a farmer for gamepedai [20:04:22] hexmode: you see my new "poor mans" issue management solution that runs in SMW? http://wikiapiary.com/wiki/Issue:Create_a_farmer_bot_for_Gamepedia [20:05:04] poor man's issue tracker is pretty nice [20:05:11] also, you've got issues. [20:05:17] :-) [20:05:19] ba da bump! [20:05:41] I've got a bot that will syndicate that whole thing as an "app" to any wiki that has the necessary extensions [21:28:11] New patchset: Foxtrott; "bugfixes: use correct data from web request, setup parser" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70745 [21:30:11] Change merged: jenkins-bot; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70745 [21:38:43] hiya [21:44:29] anyone know a good way to display a list of things but strip the namespace from each item? [21:44:36] in this case, a list of pages [21:45:33] |format=template + http://www.mediawiki.org/wiki/Extension:StringFunctions [21:49:44] Vedmaka: that's the direction I was thinking. [21:50:18] with explode I think [21:50:45] {{#explode:{{{1}}}|:|-1}} [21:52:05] ? [21:53:29] weird, do I not have parserfunctions installed? [21:53:53] drobbins: yes, looks good [21:54:11] odd. Not expanding. [21:54:25] getting literal {{#explode: }} text. [21:54:54] is explode relatively new? Guessing no. [21:55:22] will test on a scratch page [21:56:10] ok, looks like I have an outdated parserfunctions with no explode in it. [21:56:19] now fixing that. [21:58:56] hmm, its not in parserfuntions but in StringFunctions extension, also looks like you should put $wgPFEnableStringFunctions = true; variable in LocalSettings.php [21:59:20] aha. [21:59:28] so disabled by default then? [21:59:31] thanks [21:59:46] I think StringFunctions was merged into ParserFunctions [22:00:14] It has. [22:00:30] But you still have to turn them on in LocalSettings. [22:00:39] (Why isn't it on by default?) [22:00:42] gotcha. Now fixed. Thanks. [22:00:48] Don't know. Should be imo. [22:06:54] drobbins: I think you have to activate StringFunctions [22:07:18] Oops, should read all before writing. :) [22:08:57] ;)