[14:40:26] How do I link to semantic query? [14:40:49] "limit=0" seems to work [14:41:04] but the result page has duplicate first columsn [14:41:19] but the result page has duplicate mainlabel columns [20:30:23] Hi all. one of my wikis is intermittently returning "Fatal exception of type MWException", which having debugging enabled appears to be due to "Exception from line 225 of .../Job.php: Invalid job command: 'SMW\UpdateJob'" [20:30:31] this is sudden, as of yesterday afternoon [20:30:52] i found this discussion: https://semantic-mediawiki.org/wiki/Thread:Help_talk:Installation/Re:_Warning:_Class_'%E2%80%A6'_not_found_in_%E2%80%A6/reply_(4) [20:30:59] but i'm not sure how to troubleshoot [20:31:39] fwiw, the line in SMW_UpdateJob.php defines it as "SMWUpdateJob" but I've found versions in github that show it as "SMW\UpdateJob" [20:41:46] So does anyone have any thoughts on "Invalid job command 'SMW\UpdateJob", why it would suddenly be causing a problem on only 1 of 5 wikis? [20:51:17] Yaron: Hi, I found an issue with links to queries. {{#ask: [[SOME QUERY]]|?Property|mainlabel=some text}} , when mainlabel is defined, query page will show duplicate columns [20:51:54] ...and when there's no "mainlabel" parameter, there are no duplicates? [20:52:14] Yaron: yes [20:52:51] roland_: that's weird! I don't know. I would suggest creating a bug report for this on GitHub; I'm not actually an SMW developer, so I can't help you that much. [20:53:07] there was a bug a few years ago, which is resolved, but not [20:54:15] ? [20:55:30] https://bugzilla.wikimedia.org/show_bug.cgi?id=33473 is it possible to reopen this? [21:25:08] jcl: could it be that you have a low version of PHP, that doesn't recognize PHP "namespaces"? [21:26:45] Unlikely. I have 5 wiki vhosts in a single apache and this is the only affected one. [21:27:36] I'm tracing the code to see if I can figure out why 'SMW\UpdateJob' is being passed to Job::factory in Job.php rather than 'SMWUpdateJob'. [21:28:35] the backtrace is basically Mediawiki->run ---> MediaWiki->restInPeace ---> MediaWiki->doJobs ---> Job::pop ---> Job::factory('SMW\UpdateJob', ...) and then that's where the invalid job command comes from [21:28:59] so I want to figure out what's inserting it like that. i can't find that string, with the backslash, anywhere [21:30:55] hmm, something about $wgJobClasses, perhaps?! [21:32:28] so i see where SMW_Setup.php adds SMWUpdateJob and SMWRefreshJob to $wgJobClasses, but not what's adding a job with the string SMW\UpdateJob [21:33:38] in theory i could just $wgJobClasses['SMWUpdateJob'] = 'SMW\UpdateJob' perhaps, but I'm not sure about that and I wouldn't think I'd need to [21:34:04] er, not exactly, that'd have to be an array with both strings, but that's the gist i'd think [21:36:02] just ran the strings command against all .ibd file in the wiki's databse but no occurrences of UpdateJob :P [21:36:40] same with .MYD files, just to be sure [21:41:27] Yaron: a question about field properties... in 'page schema' field parameters: mandatory doesn't need any arguments, but uploadable needs to be set 'uploadable=true' [21:41:58] is this intentional, or a little bug [21:42:09] It's a bug. [21:42:28] want a bug report? [21:43:29] I don't have a strong opinion on that. [21:44:08] ok, then I just tell you here :P [21:53:49] Is it possible to generate a link from a property value; for example: property value is 1234 and it should show up as a link to 'http://some.web.page/1234' ? [22:04:37] roland_: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues [22:04:41] oh nvm [22:16:35] How can I determine what is probably creating MediaWiki jobs incorrectly, i.e. passing 'SMW\UpdateJob' to Job::factory rather than 'SMWUpdateJob'? [22:25:50] hmm, maybe nothing is adding jobs, i'm looping over a select * from job on the command line and then refreshing the wiki over and over, periodically getting the fatal mwexception caused by the bad job::factory call, but nothing is showing up, unless it's just too fast for the command line to see [22:26:17] but the wiki is calling 'delete from job where job_id = 1' so something must be happening [23:20:58] roland_: if you're asking about doing that within an #ask query, you might need to use the "template" format.