[02:17:46] New patchset: Mwjames; "Move some resource files" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60184 [02:24:32] New patchset: Mwjames; "Move some resource files" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60184 [02:26:37] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60184 [02:31:14] New patchset: Mwjames; "Add SMW\StatisticsAggregator class" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60092 [02:35:13] New review: Mwjames; "(7 comments)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60092 [04:28:41] New patchset: Mwjames; "Add SMWHooks::registerUnitTests test" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60185 [04:40:02] New patchset: Mwjames; "Add SMWHooks::registerUnitTests test" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60185 [07:40:50] New patchset: Mwjames; "Move SMW_PageSchemas into auxiliaries directory + SMW\Auxiliary ns" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60188 [07:47:42] New review: Mwjames; "Yaron, I don't have pageschems installed but it would be nice if you can confirm that it still works." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60188 [09:18:22] New patchset: Mwjames; "SMW\Auxiliary\Lua add framework to support Scribunto extension" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/56393 [09:21:05] New review: Mwjames; "Just a rebase to keep up with the environment. Moved everything into SMW\Auxiliary\Lua" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/56393 [14:11:48] New review: Jeroen De Dauw; "(3 comments)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60185 [14:28:50] New review: Mwjames; "(3 comments)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60185 [15:42:32] anyone around? [16:00:46] apollo79- sure [16:01:17] I could use some help with some inline queries [16:01:28] they seem to complete, but I get a warning [16:01:30] standard smw? [16:02:08] yes? Im still learning [16:02:16] I have it in a template [16:02:28] the warning is talking about nowiki [16:02:57] publicly accessible? [16:03:18] no, unfortunately [16:03:30] pastebin it is, then... [16:03:31] let me find what the warning says [16:05:41] Some part "" of the query was not understood. [16:05:50] I'll pastbin the query [16:06:35] heh, always fun with those "some part not understood" issues [16:07:35] yeah [16:07:57] http://pastebin.com/8HxfBxx4 [16:08:04] that is the query [16:08:19] it is under a section in my "Event" template [16:08:57] basically what I need it to do is pull in hosts, dynamically, that are part of that "Event" [16:09:00] are you sur the {{{Event}}} field contains a value? [16:09:15] yeah, it all seems to run [16:09:21] its showing my test host [16:09:49] it is ALWAYS a good idea to add a pipe to fields, {{{Event|}}}, and often even a default value {{{Event|No Event Specified}}} [16:10:22] I tried the pipe, let me try the default value [16:10:41] that won't help here [16:12:31] could it be that the {{{Event|}}} field itself gets filled with the result of another query, but that query returns a pagename instead of a string? [16:12:37] that always throws errors [16:13:03] ugh, dinnertime here, AFK for about an hour [16:15:38] yes. {{{Event|}}} should be a pagename [16:16:57] this is under the "Host" section of a "Event" template [16:17:42] Im trying to the show all the hosts that are affected by a "Event" and show the query results [17:15:28] re [17:15:45] apollo79- : you can't have a pagename inside a page link [17:16:07] that'd be something like [[ [[page]] ]] [17:16:27] so if {{{Event}}} is the result of a query, use link=none in that query [17:17:14] what will that do? [17:18:16] without link=none, a query generates "[[Result page]]". With link=none, it generates "Result page" [17:19:28] https://semantic-mediawiki.org/wiki/Help:Inline_queries#Standard_parameters_for_inline_queries [17:37:30] so the only thing adding link=none did was take the link to the Host page away [17:37:36] the warning is still there [17:38:04] to be clear: link=none must be in the query that fills {{{Event}}}, not the one that uses it [17:38:44] oh [17:40:07] you want {{{Event}}} to contain exactly (EXACTLY) the string that signifies the category [17:40:22] can you give me the name of an Event? [17:43:40] Test [17:44:26] Event is the category [17:44:30] unless Im missing something [17:46:22] I have a template, called Event, there is a form that builds the Event pages from that template [17:47:10] when i created a class, it made the category "Event" [17:48:17] is there even a variable named {{{Event}}}? [17:48:35] Are you sure you don't need [[Category:Event]]? [17:49:31] maybe the variable is what Im missing [17:49:48] I don't need everything from the category [17:50:00] It doesn't work that way [17:50:32] jut the "Hosts" that are apart of the Event, in this case named Test [17:50:47] in fact, it works the other way around: using [[Category:Event]] in the query LIMITS the query to zero or more results, all of which must be in that Category [17:51:38] so how will the dynamic queries only show the hosts that are apart of the event? [17:51:41] apollo79- : you won't learn using SMW by running all sorts of wizards and try to coaxe them into delivering comples results [17:52:02] I have no idea what you mean with that question [17:54:11] maybe Im not explaining what Im trying to show very well [17:54:29] I have a Event template and form [17:54:40] I created a Test event [17:54:52] I also have a Host template and form [17:55:29] I created a TestHost page and added the Event "Test" to that host [17:55:56] back on the Test event page, I need to dynamically show all the hosts that are apart of the Test event [17:57:36] hard to understand what you're doing here [17:58:13] you talk about templates and forms as if they mean something special, but I don't know whay you think they mean [17:58:43] SMW works with pages, with properties and with categories [17:58:53] the rest is scaffolding, in a way [17:59:32] so you have a page which I understand has the name "Test event" [18:00:13] you also have a page called "TestHost" [18:00:28] what properties and categories does TestHost have? [18:02:36] the template and forms are built using the semantic forms extension [18:03:53] sure, but they're just scaffolding, they themselves don't have meaning [18:04:25] so in order to do meaningful things with pages in your wiki, you need to determine what they are and what they mean [18:04:40] properties on the TestHost page are Event (in this case Test event) [18:05:04] and categories Host and Test event [18:05:06] So on TestHost theres a property [[Event::Test event]]? [18:05:41] [[Category:Host]] sounds reasonable [18:05:54] [[Category:Test event]], not so much [18:05:59] yeah, that gets added to all hosts via template [18:06:18] the Host category anyway [18:06:24] That one sounds correct [18:06:53] but the host itself isn't an event, so it shouldn't be in a category that says it is - or am I misunderstanding something? [18:07:44] the Test event category, I would think, should so anything that has to do with that event [18:07:48] so all hosts, in this case [18:08:41] "that has to do with" isn't very helpful [18:09:09] furthermore, you already have the property that points to the event, so really there's no need. [18:09:51] If TestHost is in [[Category:Host]] and is related to a specific event via [[Event::Test event]], then you can find it (and it's peers) wit the following query: [18:10:19] {{#ask: [[Category:Host]] [[Event:Test event]]}} [18:10:50] if the query appears on multiple Event pages, then you can use {{#ask: [[Category:Host]] [[Event:{{CURRENTPAGE}}]]}} [18:11:04] oh sorry, double double colons behind Event [18:11:11] {{#ask: [[Category:Host]] [[Event::Test event]]}} [18:11:21] {{#ask: [[Category:Host]] [[Event::{{CURRENTPAGE}}]]}} [18:11:55] let me try that last one, this query will appear on multiple Even pages [18:20:50] got an error [18:20:55] Hi. I've got a problem - how would I go about deleting a property? [18:21:19] One got quite mistakenly created, somehow without a definition page, and I can't figure out how to remove it [18:21:26] the part "]]" of query was not understood [18:24:34] Saruman: I have seen what Im trying to do, so I know it works. I just have to find the right way [18:27:31] Saruman: thanks for you help to this point, Im gonna continue to try things. I "think" my problem is creating the variable {{{Event}}}. Somehow tagging that to the field in the Host template [18:27:42] Saruman: Im prob wrong, but thanks for the help [18:28:39] apollo79- : ok good luck [18:28:56] if you can't figure it out, maybe try http://workingwithmediawiki.com/ [18:29:15] a very good book, concise but complete, by the author of the Semantic Forms extension [18:29:41] NoNoro: the property exists the moment some page is using it [18:30:04] so if you remove the reference to it on that page, you should be good [18:32:38] Saruman: Thanks [18:32:48] I was certain I removed the mention, I'll try to find it then [18:37:38] Hm, I can't find it anywhere, and the property page doesn't list any pages. [18:37:45] Probably because it doesn't exist [18:38:01] If I created a property page would it list the pages then and allow me to remove it again? [18:40:11] if the property page doesn't list any pages, then there shouldn't be any [18:40:38] if you removed all references to the property, then you may just have to wait for the property page itself to disappear [18:40:55] job queue and all of that [18:41:45] I was hoping for this to happen, but it's been about a week (I think so) [18:41:53] Any way to force a refresh of this [18:42:14] sure, via the command line [18:43:43] https://semantic-mediawiki.org/wiki/Help:Repairing_SMW%27s_data [18:44:31] Great, thanks. I'll have to ask one of the people with server access, but anything to clean up the mess. [18:44:57] Thanks for all the help! Bye and see you again when I run into another problem :D [18:47:25] ok! [21:49:20] Hi, random question to anyone around - why is normal text with :: in it treated like a property? [21:49:58] A page on my wiki listed an error type for some software which had some text::some other text on it. [21:50:14] It wasn't in brackets, but for whatever reason it got parsed as a property [21:50:18] should that happen?