[13:27:21] (CR) Yaron Koren: [V: 2] Making SF pass JSHint test [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/151970 (https://bugzilla.wikimedia.org/61630) (owner: Jatin) [13:43:37] (CR) Foxtrott: "Sorry, was busy the last few days." [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/151970 (https://bugzilla.wikimedia.org/61630) (owner: Jatin) [13:44:38] (PS1) Jatin: fixed 'class=' parameter for new Tokens input type [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/154266 [13:52:44] (CR) Yaron Koren: [C: 2] fixed 'class=' parameter for new Tokens input type [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/154266 (owner: Jatin) [13:52:51] (CR) jenkins-bot: [V: -1] fixed 'class=' parameter for new Tokens input type [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/154266 (owner: Jatin) [13:53:09] (CR) Yaron Koren: [V: 2] fixed 'class=' parameter for new Tokens input type [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/154266 (owner: Jatin) [14:45:04] I'm trying to pass image page names to a template, but for some reason I'm getting image links instead... what's going on? http://vps753.greenhost.nl/acceptatie/index.php/Hoofdpagina#Personen (under the heading personen) [14:45:12] (wikisource: http://vps753.greenhost.nl/acceptatie/index.php?title=Hoofdpagina&action=edit§ion=1 ) [14:49:19] so I'm trying to get the image page name, not the image [14:52:58] ok, I'm assuming the option does not exist, and writing even more convoluted wikicode :-P [14:53:36] it's just that with a lot of SMW stuff, there's much that SHOULD , almost, just, work, just around the corner, but that one tiny thing you need does not :-/ [14:54:00] So then you override with template output format.. but then... again... the one tiny thing you need to Make It Work is not there [14:54:14] which is not the fault of the programmers per-se, I realize [14:54:17] just frustrating :-P [15:04:14] ohai Yaron [15:06:20] kim_bruning: hi, what's up. [15:06:32] Oh, you've got some issues. [15:06:48] yeah, I'm just going to wizard ssome more :-) [15:07:01] *nod* since the galleries aren't really working for me eh? :-) [15:07:43] And I can't really recommend wikidata to anyone either yet, since that's still embryonic in so many ways [15:08:11] You mean Wikibase? [15:09:24] I guess I do [15:09:28] Anyway, you should have a "link=none" in your query; that's at least one problem. [15:09:36] well, I did [15:09:44] it suppresssed the page links, but not the image links [15:10:08] Oh... that sounds like an SMW bug, then. [15:10:19] You can probably get around it by changing the property types. [15:10:24] I could [15:10:30] but then everything ELSE breaks [15:10:43] You mean, non-template queries? [15:10:50] indeed [15:11:07] Fine - just have the infobox template store additional properties. [15:11:18] That's one way to do it, yup :-) [15:11:22] It already does store some [15:11:43] of course that comes with the penalty of having to runJobs.php again [15:11:46] [15:11:52] That sounds horrible. [15:11:55] :-P [15:12:06] it's a comparatively large wiki :-P [15:12:23] I think I can do it with a bunch of parserfunctions [15:12:27] don't worry, I'll live :-) [15:12:43] Oh, great, I was getting worried. [15:12:50] Ha! Really? ;-) [15:13:26] No comment. :) [15:14:26] I need to mess with the infoboxes some more anyway [15:15:45] well, joy... [15:16:16] so the unaltered stuff ALSO shows images :-/ [15:16:25] right, yes, need to alter infoboxes [15:16:36] [15:17:48] I don't understand, but let me know if you need more help. [15:18:27] I did the first thing you suggested, but That Didn't Quite Work Out (tm) [15:19:03] so now I'm diving back all the way to the beginning and hopefully won't need to start over entirely [15:19:09] That would be bad ;-) [15:19:22] Just frustrated [15:21:54] The first thing I suggested was adding "link=none". [15:22:05] ok, then the second thing [15:22:21] Changing the property types? [15:22:45] nvm. I'm currently adding additional properties of type text [15:22:54] Ah, the third thing. [15:23:17] yeah, because I thought I already had a property of type text, but for some bleeping reason it was showing images anyway [15:23:36] * kim_bruning has a good guess as to why [15:23:52] (to wit, they put square brackets around image links) [15:24:18] so now I figure I'll use #set to deal with the clean code [15:27:13] Thanks for helping btw :-) [15:28:22] Ah! [15:28:30] Cool, I'm glad I could help out. [15:28:37] well, let's hope this works [15:28:44] debugging {{{{{{{{{{{{{}}}}}}}}}}}}}}} is hell ^^;; [15:30:24] and then vi decides to introduce linebreaks ^^;;; [15:30:26] Not my day [15:40:55] and explode won't work on image, because both have | and I don't think you can do quoted-strings... [15:41:51] * kim_bruning bonks my head on the table [15:43:03] nor will #replace :-/ [15:44:32] hmm, PAGENAMEmight save me [15:45:14] pagename DOES save me! [15:45:37] (if it's too hard, you're doing it wrong :-p) [15:58:41] pagename does save me.... after a lot more work yet [15:59:35] I do still need to strip [[]] [15:59:39] :-( [16:12:55] :-/ [16:15:20] hi kim_bruning [16:15:58] Hi Nikerabbit :-) [16:16:10] Now running into parserfunctions issues ^^;; [16:39:35] that's always fun [16:41:59] Ok, what are the odds that I run into multiple bugs on the same day? :-/ [16:42:20] [16:42:33] * kim_bruning pulls my (remaining) hair out [17:05:27] hello all. [17:06:21] this might be sort of unconventional, but I am trying to get a mediawiki instance with semantic mediawiki working from behind a SOCKS proxy. [17:07:05] I have a testing mw machine on another network. I'm working from home, so I made a SOCKS proxy via an SSH tunnel so I could access it. [17:07:40] unfortunately, the semantic mediawiki markup is not read at all. it just displays as regular wiki content would. [17:08:10] my feeling is that my configuration, enableSemantics("localhost"), isn't the right thing for this setup. [17:08:28] despite that I type "localhost" in my web browser to access the wiki. [17:10:38] it's a pretty obscure problem, but does anyone have any hints that could point me in the right direction? [18:10:21] [SemanticMediaWiki] mwjames created test-sortable-query (+1 new commit): http://git.io/MUdE_A [18:10:21] SemanticMediaWiki/test-sortable-query c50169a mwjames: Add SortableQueryTest... [18:12:42] davexunit, hmm, that's somewhat puzzeling [18:13:02] davexunit, try with plain port-forwarding instead? [18:13:57] kim_bruning: how does the enableSemantics thing work, anyhow? why do I have to enable it for a particular hostname? [18:14:00] just curious [18:14:14] good question, I never looked into that ^^;; [18:15:04] heh [18:15:48] I can't find any deeper documentation on it at all [18:16:45] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#2219 (test-sortable-query - c50169a : mwjames): The build failed. [18:16:45] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/c50169a89c21 [18:16:45] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/32658765 [18:17:16] davexunit: kim_bruning: AFAIK that hostname is only used for RDF export. If you don't use that you can put in anything you like. [18:18:19] I just spotted something like that in the documentation [18:18:48] so something else is causing the problem [18:19:20] davexunit, semantic markup should display exactly as regular links and markup, actually [18:19:34] kim_bruning: ah, okay. thanks. [18:19:36] davexunit, the difference being that you should have an extra option in the sidebar [18:19:58] perhaps I broke something else and only noticed it when I started working remotely. [18:20:01] view properties or something of the ilk [18:20:11] you saw something else when working locally? [18:21:20] kim_bruning: yeah, but the problem is that I'm not 100% sure that I didn't do something else to screw it up between now and then. [18:21:49] well, make a test page with a test property? [18:22:44] http://semantic-mediawiki.org/wiki/Help:Testing [18:24:33] will do [18:37:13] is it working? :-) [18:37:56] kim_bruning: heh, sorry. I'll need a bit of time. chasing down another issue that I just found. :P [18:38:22] working out the kinks in a script to automatically deploy a mediawiki instance [18:39:06] I had one of those, once [18:39:11] and I screwed something up and now I can't login. added a bad extension. [18:39:13] awww [18:39:32] composer took a lot of pain out of this process. [18:39:42] I was trying to manage extensions without it and it was horrible. [18:40:30] composer does more than just smw? [18:41:17] I wrote a few hacky package recipes to add the other things I need. [18:41:33] but handling smw was a big load off my shoulders. [18:43:51] of course, if I try to deploy smw to a firewalled server, it's never going to fly ^^;; [18:44:13] heh [18:56:09] kim_bruning: the test worked. I guess the problem is something else. [18:57:47] wonder what broke this page... [18:58:11] [SemanticMediaWiki] mwjames opened pull request #497: Add SortableQueryTest (master...test-sortable-query) http://git.io/xM6YYg [18:59:31] davexunit: Did you by any chance fiddle with the enabled namespaces? [19:00:31] yeah, well I'm using someone else's fiddlings anyway. [19:00:38] I inherited a wiki to maintain. [19:02:13] well done :-) [19:02:21] wikis are never too complicated [19:02:36] until someome starts scribbeling too much smw and parserfunctions ;-) [19:02:45] this one had a lot of cruft. [19:02:52] a lot of stuff that wasn't used anymore. [19:02:58] that [19:03:00] s normal too [19:04:19] so I'm trying to enforce that all configs stay in a git repo so the setup is reproducable elsewhere. [19:09:52] that can be good and bad [19:10:02] * kim_bruning tends to keep configs out of git, because strange things break [19:10:21] specially LocalSettings.php [19:10:46] though I suppose you could easily automate keeping different LocalSettings for different Local Situations ;-) [19:11:47] yeah, I have different configs for different environments [19:12:10] but it's nice having the composer.json file and the script that sets up everything in version control. [19:13:16] :-) [19:15:27] hopefully it will save the next guy some time. I had to reverse engineer this thing. [20:26:11] [SemanticMediaWiki] mwjames force-pushed test-sortable-query from c50169a to 0ea3322: http://git.io/pMDFdg [20:26:11] SemanticMediaWiki/test-sortable-query 0ea3322 mwjames: Add SortableQueryTest... [20:41:38] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#2221 (test-sortable-query - 0ea3322 : mwjames): The build has errored. [20:41:38] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/c50169a89c21...0ea3322b68f7 [20:41:38] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/32669650 [20:50:45] [SemanticMediaWiki] mwjames force-pushed test-sortable-query from 0ea3322 to 1e9986d: http://git.io/pMDFdg [20:50:45] SemanticMediaWiki/test-sortable-query 1e9986d mwjames: Add SortableQueryTest... [21:04:49] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#2222 (test-sortable-query - 1e9986d : mwjames): The build has errored. [21:04:49] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/0ea3322b68f7...1e9986dbcfdc [21:04:49] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/32671663 [21:08:17] [SemanticMediaWiki] mwjames force-pushed test-sortable-query from 1e9986d to f8c12ee: http://git.io/pMDFdg [21:08:17] SemanticMediaWiki/test-sortable-query f8c12ee mwjames: Add SortableQueryTest... [21:14:11] [SemanticResultFormats] JeroenDeDauw pushed 3 new commits to master: http://git.io/J0_kUA [21:14:11] SemanticResultFormats/master 0f4c253 Translation updater bot: Localisation updates from https://translatewiki.net.... [21:14:11] SemanticResultFormats/master dd6992b Translation updater bot: Localisation updates from https://translatewiki.net.... [21:14:11] SemanticResultFormats/master a835b25 Translation updater bot: Localisation updates from https://translatewiki.net.... [21:30:08] [SemanticMediaWiki] mwjames deleted test-sortable-query at f8c12ee: http://git.io/UYB_kA