[02:28:26] New patchset: Mwjames; "SMW\ApiAsk + SMW\ApiAskArgs fix bug 51091, add unit tests, and improve code coverage" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72889 [02:35:37] New patchset: Mwjames; "Rename ApiSMWInfo to keep commit history" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72890 [02:38:43] New patchset: Mwjames; "Rename ApiSMWInfo to keep commit history" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72890 [02:41:37] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72890 [02:47:07] New patchset: Mwjames; "SMW\ApiAsk + SMW\ApiAskArgs fix bug 51091, add unit tests, and improve code coverage" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72889 [03:09:17] New patchset: Mwjames; "SMW\ApiAsk + SMW\ApiAskArgs fix bug 51091, add unit tests, and improve code coverage" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72889 [03:26:16] New patchset: Mwjames; "SMW\SerializerCompositor divide responsibility [WIP]" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72891 [03:56:44] New patchset: Mwjames; "SMW\SerializerCompositor divide responsibility [WIP]" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/72891 [13:35:54] Ok, I'm officially stuck [13:35:59] I'm using subobjects [13:36:23] I'd like to list some subobjects along with their pages in a table [13:37:41] {{#ask [[-Has subobject::+]] |?property1 |?property2 ...}} works to show all subobjects anywhere [13:38:38] what would I do to ... [13:38:40] Oh, [13:38:51] .... well, thanks for all the help! ;-) [13:39:22] {{#ask: [[-Has subobject::[[some other property::value]]}} [13:39:25] sort of gets that done [13:40:11] yes, this isn't the busiest of IRC channels [13:42:34] LOL yes, but sometimes just asking an empty channel helps already ;-) [13:43:02] true dat! [13:43:12] plus, it records the question for posterity [13:43:51] http://ur1.ca/9gmt7 [13:48:33] ooh, we're logged! [13:48:58] yes, we do all we can to assist the NSA and friends [13:49:01] :-p [13:52:46] ah... hmph [13:52:56] when I use templates to do subqueries: [13:53:17] apparantly it passes through things like: [13:53:56] [[:mypage#subobject|mypage#subobject]] [13:54:06] which If I feed it to a #ask: [13:54:37] {{#ask: [[:mypage#subobject|mypage#subobject]] |?property1 |?property2}} [13:54:44] it chokes on the piped part :-( [13:55:16] clear [13:55:30] [[:mypage#subobject]] seems fine, but [[:mypage#subobject|mypage#subobject]] breaks :-/ [13:55:44] I'd say: the #ask syntax is {{#ask: | }} [13:55:58] but TFM says this should work... or -more likely- PEBKAC and I'm missing something blazingly obvious ;-) [13:56:01] your piped part clutters the - apparently [13:56:05] yeah [13:56:26] quite so [13:56:31] The Fine Manual is not always entirely completely up to date & detail [13:57:03] basically the piped part is coming out of an ask with format=template [13:57:30] I find that strange [13:57:46] I'd assume the piped part is added _by the template_ [13:58:19] {{#ask: [[-Has subobject::[[some other property::value]]|format=template|template=the place I put the next ask in ^^;;}} [13:58:28] {{#ask: [[-Has subobject::[[some other property::value]]|format=template|template=the place I put the next ask in}} [13:58:29] if not, then you might want to check if there's a query somewhere that returns a page, but without you having specified |link=none for that result [13:59:00] and then its {{#ask: {{{1}}} |?property1 |?property2}} [13:59:21] unfortunately I have no experience with subqueries [13:59:31] :-/ [13:59:39] link=none sounds interesting [13:59:39] nevertheless, {{{1}}} should be filled with a pagename, not wit a page link [14:00:06] i.e. the query that finds a page that winds up in {{{1}}} should have |link=none in it [14:01:19] And That, Ladies and Gentlemen , is absotively posolutely not in TFM [14:01:41] of course, if I now go back to TFM, it'll turn out to have link=none sprinkled liberally ;-) [14:01:55] well I'm quite sure I found that in the fine manual several years ago [14:02:13] mebby it got buried in the mean time [14:02:37] if you know what you're looking for, it's always easier to find it [14:02:52] so the trick is to learn what you're actually looking for [14:03:01] and thus, you've today succeeded, right? [14:03:06] well, maybe [14:03:08] let's see [14:03:15] it's the google paradox [14:03:20] the more you know, the more you can find [14:03:25] yes [14:03:25] if you don't know it, you can't find it [14:03:35] the only time you NEED to find it, is if you don't know it :-P [14:03:35] plus: information != knowledge [14:03:51] plus: data != information [14:04:01] :-P [14:04:08] well, lemme go see if I can make this here work [14:04:20] I dabble a bit in ICT architecture knowledge management [14:04:44] it'd be nice if there was a template debugger built in to mw [14:04:50] now it's subst: breadcrumbs [14:05:24] I say MW2.0! [14:05:35] * Saruman runs for cover [15:14:31] hah, it's been 5PM, time for my guitar! [15:18:55] [15:22:40] hiya [15:25:34] anyone encounter an "Invalid marker" and traceback when running the SMW update script? [15:28:19] if anyone can offer advice on how to troubleshoot and fix invalid markers, that would be great. [15:28:42] I do have the traceback if anyone can glean any useful info from it [16:26:26] drobbins, the one time I had this it was caused by a conflict with a different extension [16:26:50] drobbins, I don't know if there's a general solution [16:37:55] SRF seems to want the class SMW\ResultPrinter, which I don't have. [16:38:04] Am I trying to run a version of SRF that is too new for my version of SMW? [16:38:57] I'm running a "1.8 alpha" version of SMW. [16:39:02] should I try going to 1.8.0.5? [16:39:28] What version of SRF are you running? [16:47:31] um [16:47:39] right now, disabled. [16:47:44] for the moment. [16:47:56] I am wondering if I need to bump SMW and Validator in lock-step. [16:48:12] I tried bumping validator and the latest version does not seem to be happy with my current version of SMW. [16:48:27] Yes, they do. [16:48:43] Or rather, yes, you do. [16:49:02] okay. I can try that. [16:49:16] Then I need to try to get to Special:SMWAdmin, upgrade tables, and I should be ok? [16:49:49] I do have a full db backup and I have logged the current working versions of validator and SMW. [16:49:55] so I can always check out the older versions. [16:53:02] looks like semantic internal objects needs to be bumped first. I am getting class SMWSQLStore2 not found. [16:54:33] New patchset: Yaron Koren; "New version: 2.5.3" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/72978 [16:55:33] Change merged: Yaron Koren; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/72978 [16:59:38] always a bit tricky to get all extensions playing nice together. [17:00:31] yaron: know if I can bump SIO first? then lock-step SMW and Validator? [17:00:46] The order doesn't matter. [17:36:01] yaron: any SQL issues that I'll run into -- a bit worried that SMWSQLStore2 disappeared [17:36:28] I don't think so... [17:36:39] It didn't appear; you're just no longer using it. [17:36:49] Disappear, rather. [17:41:56] Hey all, is there any problem with SMW and mediawiki 1.22? [17:42:32] Because Specail:Ask is whitescreening on me [17:49:33] Ulfr_: see http://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#You_see_a_Blank_Page [17:50:43] yaron: There's bupkis in my error log from php, and setting $wgShowExceptionDetails gives me a blank white page as well. When I try to run any queries via the api or special:ask it gives a 500 error. If nothing springs to mind I'll keep puttering. [17:51:52] Did you try following the instructions in that URL I linked? [17:52:57] yaron: No, doing so now. Just trying to avoid doing that because it's in production [17:53:34] yaron: Fatal error: Class '\ValueValidators\RangeValidator' not found in /home/webapps/wikidoc/extensions/Validator/includes/ParamProcessor/ParamDefinitionFactory.php on line 181 [17:53:43] There you go. [18:41:00] JeroenDeDauw: poke. [19:01:47] trying to figure out why SRF is just not doing anything. [19:01:52] it is enabled, version 1.8 with my wiki. [19:01:57] let me make sure it is being enabled. [19:02:30] yep. enabled. [19:02:38] but I'm not getting any results. [19:03:26] I think it may be working now. [19:03:45] well, it's semi-working [19:03:54] see top of http://wiki.zenoss.org/Spamtest [19:04:28] possibly because my request was too long [19:04:55] working :) [19:05:08] well, there is still a warning that appears on the page (little ! triangle) [19:11:57] drobbins: there's a syntax error in there [19:12:00] can't have [[Complexity::]] [19:12:11] oh [19:12:14] must be something like [[Complexity::]] or [[Complexity::+]] [19:12:23] okay [19:13:13] + returns all? [19:13:43] yah [19:13:56] "any page that has a value for Complexity [19:14:40] I am trying to adapt an existing example. I probably am doing it wrong. [19:15:27] I have some internal subobjects that have a numerical complexity value. Would be cool to get a few more demo charts. [19:15:35] Ulfr|HavingACry: looks like you do not have DataValues loaded [19:16:07] I'll play around with it later a bit more. [19:24:58] yaron: remember how I asked about a Category result format that would aggregate identical entries, and optionally display a count? [19:25:18] Maybe... [19:25:47] yaron: I have an example of where it would be handy... [19:26:03] yaron: if you look at http://wiki.zenoss.org/Spamtest -- under UI Test. [19:26:38] I am querying internal subobjects, and since I have multiple sub-objects that match, I am getting multiple identical entries in the category index. [19:26:47] you can see this for "Advanced Device Details" and others. [19:28:03] Could it be that the data structure here is somewhat unusual, by the way? [19:28:11] I don't think so. [19:28:27] Each ZenPack has zero or more releases. Each release has ComplexityTags. [19:28:48] Ah, okay. [19:28:50] I am trying to create a list of ZenPacks that have at least one release with "UI" in the ComplexityTags [19:29:16] I want to link to the ZenPack page. [19:29:25] Well, you could query on the pages themselves, with something like "[[-Release of.ComplexityTags::UI]]". [19:33:08] yaron: oh! that will work? hmmmmm.... I'll test it [19:34:11] yaron: appears to be working, thank you very much [19:34:18] Sure. [19:42:06] hrm, Special:Ask is throwing a 500 error :( [19:43:14] yaron: this is appearing in my php error log: http://pastebin.com/0CU7bDtk [19:45:12] disabled exhibit result format, looks like that will fix it [19:45:47] Oh, strange. [19:46:13] yaron: now, I can get to my real issue. There should be more ZenPacks listed in the "Impact Test" on the Spamtest page. [19:46:20] yaron: somehow, it's not getting them all. [19:46:52] hrm, the Ask page is showing a small set too. [19:46:58] I'll see if I can refresh the missing ones. [19:47:08] these tags are getting set from an External Data JSON import. [19:48:52] re-saving the page seemed to have fixed it. So it looks like I need to try to get the SMW update to complete successfully. [19:49:01] from the cmdline, I had a traceback. So there could be issues. [19:52:46] yaron: any idea on this monstrosity?: http://pastebin.com/CrYs7c1K [19:53:49] It looks like it's coming from some page that has a map on it, but I don't now more than that. [19:55:25] okay. [19:55:38] so some template expansion that is triggering some bug or causing naughtiness [19:55:46] I only have a few pages/templates with maps. [19:55:48] will look [19:58:49] yaron: any other tips on how to find the offending page? [19:59:01] yaron: I don't see anything with an explicit height of 350 [19:59:11] No, the code is doing that. [19:59:23] Split up the refresh into chunks, by ID. [20:00:02] how is that done? [20:01:17] I don't remember... if you read the top of SMW_refreshData.php, I think it explains it. [20:02:08] ah ok [20:02:16] is that a way to fix this problem, or just work around it? [20:02:38] ok, doing it. [20:03:16] this should help me find the page ID of the offending page, I think. Maybe with an SQL query, I can identify the page name. [20:04:35] looks like page id 741 [20:05:29] appears to be 740 [20:06:30] I think I now have the page title of that offending page, via SQL query [20:07:32] strangely, it's just a non-descript user page with a template that is used on many other pages, which inserts a google map [20:07:59] drobbins: Ours is not to question why, just to kill the offending entry with fire. [20:08:06] well, his geographic coordinates are wrong. [20:08:16] Ulfr_: this sounds like a good plan :) [20:09:09] I think I fixed it. His geographic coordinates were a string, resulting in some kind of parsing error I guess. [20:09:15] Braver man than I, rawdogging into a MW SQL database [20:09:19] now that I can get all page data updated, let's see if this fixes my query [20:09:33] Ulfr_: well I just did a query on the page_id to get the page title. Then I did the fix on the wiki [20:10:40] My DB is just in a master/slave setup and gets a lot of traffic. I always hate going in with the sql console [20:13:47] I am gaining mad mediawiki skillz [20:14:41] You don't have skillz until you've dealt with whitespace giving you problems [20:17:36] what kind of problems? [20:18:30] It's evil. Just evil. [20:19:30] drobbins: http://wikidoc.org/index.php?title=Template:Pancytopenia&action=edit [20:19:41] At one point I turned that template into an automated Semantic Template [20:19:51] then again I don't really consider myself a mw pro yet [20:20:32] I've done a software directory using SMW [20:22:56] I really like SMW. [20:23:35] It's pretty cool. Allows a lot of functionality within mw [22:06:03] New patchset: Reedy; "Add .gitreview and .gitignore" [mediawiki/extensions/SMWHalo] (master) - https://gerrit.wikimedia.org/r/73103