[12:35:47] Hello [12:39:27] I'm trying to add a new attribute to the contact form, i've added it to the forms page and see it when i edit a contact, but i can't see it on the page of a contac nor can i #ask for it. A push in the right direction would be much appriciated. [13:02:59] Leoric: you need to add it to the template as well. [13:04:29] i added it to Formular:Kontakte (sry, it's a german version) with "{{FormTab01Zeile | [[Attribut:Skype|Skype]] | {{Fragezeichen|Skype Name}}{{{field|Skype|size=80|}} }}} }}" [13:05:21] i see it in the right position when i edit the form [13:05:58] but the "Attribut:Skype" pages stays empty and so does the #ask [13:08:00] and i tried to add it as different datatypes, string(with and without allowed values) and text [13:25:08] g2g, i'll try ma luck throwing it at the mailing list. But thanks for the input anyway Yaron. bye [14:04:39] heya... after moving a wiki from one server to the other I get some strange log errors where the wiki tries to access files in their old destination "/home/foo/w/extensions/SemanticForms/skins/collapse-minus.png) is not within the allowed path(s)....." [14:05:52] (the files are now in a chrooted environment and somewhere within /var/www/vhosts/...../wiki/" [14:24:42] Hello! Is anyone still here, or is everyone en-route to london? ^^;; [14:26:11] I found an interesting corner-ish case in semantic result formats gallery: http://vps753.greenhost.nl/acceptatie/index.php/Personen [14:26:45] compare info3 with info4 , there should be 9 images in both. However, images from instantcommons are not showing under info3 [14:27:36] Am I doing something wrong? Or is the gallery result format at fault? ^^;; [14:30:38] * kim_bruning wonders if Yaron will be at wikimania? [14:30:52] * kim_bruning guesses so ... (checks program) [14:39:16] hmm, no semantic on the wikimania program, how about that? [14:53:02] [SemanticMediaWiki] kghbln pushed 1 new commit to master: http://git.io/ewIaUA [14:53:02] SemanticMediaWiki/master c7b9b4f Karsten Hoffmeyer: Update RELEASE-NOTES.md... [14:54:57] [SemanticMediaWiki] kghbln pushed 1 new commit to master: http://git.io/F-tx2w [14:54:57] SemanticMediaWiki/master 989e59c Karsten Hoffmeyer: Update RELEASE-NOTES-2.0.md... [15:38:08] kim_bruning: hi; no, I won't be at Wikimania. [15:38:34] You could try doing the same query with the "table" format or some such, to try to isolate the problem. [15:40:44] That's what I did, right? [15:41:01] I don't know. [15:41:21] http://vps753.greenhost.nl/acceptatie/index.php/Personen [15:41:48] wait, I altered that query [15:41:49] 1 sec [15:42:10] Anyway, does the same problem happen in the table? [15:42:25] nope! :-) [15:43:11] I do have a lot of un-done jobs atm [15:43:26] jobqueue is pretty large indeed [15:43:37] but I'd expect this subset of pages to work [15:44:05] and the gallery is ==info 3== , table == info 4 == [15:44:10] Well, the two queries are hitting the same set of data. [15:44:17] right? [15:44:20] ...regardless of which jobs have run. [15:44:29] [15:44:48] so my first thought is something I ran into earlier with #ifexists [15:45:13] that there's a check to see if the image exists in the wiki, which of course some don't (since they're InstantCommons) [15:45:43] but I could be way off track. 99% of the time the bug is in one's own work, not in the extension :-) [15:47:00] how come you're not at wikimania btw? or are you going to wikisym instead or so? [15:47:26] ;-) [15:47:28] No, not going to either. [15:48:25] Okay :-) [15:48:45] Which are the two relevant queries, that are just like one another except for the format? [15:49:46] there was actually 1 extra clause [15:49:55] * kim_bruning triplechecks [15:50:33] http://vps753.greenhost.nl/acceptatie/index.php/Personen [15:50:48] 2 relevant queries are under ==Info 3 == and ==Info 4== [15:51:48] the latter just has the format=gallery and related config removed [15:55:54] That's quite a difference in the output! [15:56:55] quite so [15:57:02] some of it is explainable [15:57:36] to wit, only pages with afbeeldingb are actually showable in gallery [15:58:03] (with non-null afbeeldingb column) [15:58:12] sorry this is in dutch. Dutch project and all ^^;; [15:58:12] That doesn't seem to explain any of these differences... [15:58:24] No problem. [15:58:35] well, if I make a local info page for an instantcommons image [15:58:38] it shows up ;-) [15:58:52] * kim_bruning tries [15:59:31] yup, bingo [15:59:47] * kim_bruning reloads http://vps753.greenhost.nl/acceptatie/index.php/Personen [15:59:56] Hans van den Bergh shows up under Info 3 [16:00:03] so it's InstantCommons related [16:00:43] my earlier problem with IfExists said that I should be looking for Media: not File: if I want to see if an image exists at all (instantcommons inclusive) [16:01:13] But I'm unsure where I might want to be looking in the php for that [16:01:36] (#IfExists comes from ParserFunctions of course) [16:02:21] Oh, strange... so "table" respects InstantCommons but "gallery" doesn't. [16:02:43] *nod* [16:02:44] Maybe there's hack to get around that, but that seems like a bug in Semantic Result Formats - I would suggest filing a bug report for it. [16:03:06] I also may have a small budget to get it fixed [16:03:12] Great. [16:04:13] Oh wait, you're in .us though :-/ It's hard to transfer money to/from .us :-/ [16:04:18] doable though [16:05:42] * kim_bruning will look up where to file bug reports [16:06:12] I wouldn't be fixing this bug, anyway - I haven't done SRF/SMW coding in a long time. [16:06:36] Ah, hence :-) [16:08:33] * kim_bruning was also wondering if I could do stuff like only return results that start with A, B, C ... etc, if I want to control output myself. (due to there being a Design Bureau and all ^^;;) [16:10:21] Well, there's the "listwidget" format, or something like that, that does that... although I don't know if it can be combined with gallery stuff... [16:11:45] not alphabet AND page at the same time [16:11:49] but it does have b y alphabet at least [16:12:08] * kim_bruning have to do some coding this autumn ;-) [16:12:13] may have to do some coding [16:12:20] (like I would ^^;;) [16:19:00] Yaron: thanks for your help so far! [16:20:30] Yaron: any ideas where I might be able to find said hack btw? ^^;; [16:21:02] well, I guess the workaround might be to not use gallery at all, and just build everything using templates IIRC [16:37:28] kim_bruning: oh, I have no idea if it's possible... you mentioned something about #ifexists. [16:40:48] ^^;; [16:51:47] [SemanticMediaWiki] JeroenDeDauw pushed 2 new commits to master: http://git.io/yAG97A [16:51:47] SemanticMediaWiki/master b9474f9 Translation updater bot: Localisation updates from https://translatewiki.net.... [16:51:47] SemanticMediaWiki/master adaba38 jeroendedauw: Merge branch 'master' of ssh://wmfgerrit/mediawiki/extensions/SemanticMediaWiki [18:31:03] [SemanticMaps] JeroenDeDauw pushed 1 new commit to master: http://git.io/-4vWcA [18:31:03] SemanticMaps/master d6ece4e Translation updater bot: Localisation updates from https://translatewiki.net.... [18:33:33] [SemanticMediaWiki] kghbln pushed 1 new commit to master: http://git.io/vRo7xw [18:33:33] SemanticMediaWiki/master 75eb30b Karsten Hoffmeyer: Update RELEASE-NOTES.md... [18:35:06] [SemanticMediaWiki] kghbln pushed 1 new commit to master: http://git.io/ICqepQ [18:35:06] SemanticMediaWiki/master 0cf933e Karsten Hoffmeyer: Update RELEASE-NOTES-2.0.md... [18:52:13] [SemanticMaps] JeroenDeDauw pushed 1 new commit to master: http://git.io/_Qh86w [18:52:13] SemanticMaps/master 22976da jeroendedauw: Update dependency versions [18:55:19] [SemanticMaps] JeroenDeDauw pushed 1 new commit to master: http://git.io/va4Nqw [18:55:20] SemanticMaps/master 4cf65da jeroendedauw: Update bootstrap.php [18:56:28] [SemanticMaps] JeroenDeDauw pushed 1 new commit to master: http://git.io/ErbPsQ [18:56:28] SemanticMaps/master 641c9d3 jeroendedauw: Update rel notes [18:56:38] [SemanticMaps] JeroenDeDauw tagged 3.1 at master: http://git.io/EbtTMA [21:09:17] (PS1) Jatin: Making SF pass JSHint test [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/151970 (https://bugzilla.wikimedia.org/61630) [21:09:19] (CR) jenkins-bot: [V: -1] Making SF pass JSHint test [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/151970 (https://bugzilla.wikimedia.org/61630) (owner: Jatin) [21:44:15] (CR) Foxtrott: [C: 1] "I am always somewhat apprehensive when changing == to ===, but the patch looks good." [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/151970 (https://bugzilla.wikimedia.org/61630) (owner: Jatin)