[01:31:28] I've got an #ask query displaying in table format. One of the returned properties is an image. Is there a way to set the size of the image? [07:43:56] New review: Foxtrott; "(1 comment)" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70544 [09:40:17] hi all :) [12:28:45] FYI, I disabled the Sparql config in my localsettings.php and the query results become consistent. [12:34:39] Would that suggest that with Category:Person defined in the query, the query goes to the MySQL database? [13:44:52] Hi, first time on IRC, quick question about semantic mediawiki, hope I'm in the right place! [17:50:47] hi [17:51:13] when using the api.php to query semantic mediawiki, it tells me "You need read permission to use this module" [17:51:25] are there authentication parameters to add to the api.php call? [17:52:38] good question [17:52:50] I'd assume you'd need to add user account details [17:55:46] mebby check https://www.mediawiki.org/wiki/API:Login [17:58:17] api.php?action=login&lgname=user&lgpassword=password [17:58:48] thanks! [17:59:10] np [18:24:17] New patchset: Foxtrott; "Escape tooltip only once" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70665 [18:36:34] New patchset: Foxtrott; "Escape tooltip only once" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70665 [18:36:55] Change merged: jenkins-bot; [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70665 [18:50:09] zuloyd: by the way, you should pay attention: login method is 2 step ( see api.php for help ) [19:01:27] zuloyd already left [19:27:26] Afternoon everyone. I was wondering something. I'm getting an error whenever I try using SMW_refreshData on the command line. Anyone has this error? Call to undefined function smwfGetStore() in /home/hydra/public_html/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php on line 147 [19:28:10] Telshin: what version of SMW? [19:28:27] 1.8.0.1 [19:28:39] running on mediawiki 1.19.x [19:28:54] and on what store are you running? 2 or 3? [19:29:41] Store? [19:30:34] is this an upgrade from an earlier version of SMW? [19:30:39] Nope [19:30:47] then you're running on 3 [19:30:49] $smwgDefaultStore [19:31:21] ok [19:31:28] did php SMW_setup.php give you any errors? [19:31:33] Nope [19:32:02] We moved the site over to a new host and noticed that the data was not all there, hence why we needed to refresh it. [19:32:26] The admin panel version is causing the site to load WAY too slow, so I saw that I could run the refresh on the data in chunks a bit better. [19:32:51] yah that makes sense [19:33:20] However, this is the error I keep getting right now. [19:34:14] publicly accesisble wiki? [19:34:50] did refreshData run OK on the old host? [19:35:13] Never tried on the command line. [19:35:19] Yes, it is publicly accesisble [19:35:33] link? [19:35:37] And we've never had to run the process before today. [19:35:42] dota2.gamepedia.com [19:39:12] run the command with -v for verbose? [19:40:53] hmm doesn't look like that will do very much [19:41:27] neh, I'm out of normal ideas [19:41:34] won't bother you with the crazy ones [19:41:54] I'll try to conjure up a yaron [19:41:56] Saruman: I think there is nothing to be done, this sounds like a genuine bug [19:42:08] if bug then upgrade [19:42:10] What's all this? [19:42:28] Oh, I don't think I can help. [19:42:37] oh ok [19:42:49] It's a huge farm, so it will have to be tested like crazy before we could move on an upgrade. [19:42:51] Telshin, there's an 1.8.0.5 version out [19:43:13] that's a minor upgrade, does your farm require massive testing for that? [19:43:24] My business does, yes [19:43:28] ok [19:43:35] serious stuff, that dota [19:43:38] Minor or not, we test everything before we mess with something as big as that. [19:43:45] (Not dota, but the whole farm) [19:43:57] heh, refreshingly good adminship [19:44:11] well, wild ideas then [19:44:19] I'm all ears [19:44:29] is Validator called before SMW? [19:44:34] Yep [19:45:12] got enableSemantics present? [19:45:18] Aye [19:45:22] bleh [19:46:05] mebby try explicitly declaring the backend store? [19:46:17] Did [19:46:20] $smwgDefaultStore = 'SMWSQLStore3'; [19:46:22] Still goes boom! [19:46:35] ah, the sweet sound of ordnance [19:46:46] oh wait, this is sysadmin [19:46:57] In this case, boom is a PHP Fatal Error. [19:47:28] yah, and I'm not much of a PHP wizard [19:47:37] And looks like comparing .1 to .5, the smwfGetStore line did not change. So the upgrade will not help us out. [19:47:50] well it's not that line that's the problem [19:48:03] it's the fact that it calls a function somewhere else that isn't there [19:48:22] "undefined function" [19:49:13] that suggests to me that either some PHP files are out of order, so smwfGetStore is there, but not yet when RefreshData is called [19:49:27] or the file that defines the function is missing or corrupted or somehting [19:50:21] Yeah [19:50:45] smwfGetStore is called from several files [19:50:59] strange that the RefreshData script cannot find it [19:51:09] is your LocalSettings.php symlinked, by any chance? [19:51:21] Nope [19:52:22] do you have a dev server sitting around? [19:52:45] I'd be interested to learn if the error exists if you disable all extensions except for Validator/SMW [19:55:00] also, you could compare your deployed SMW1.8.0.1 with a freshly extracted tarball, to see if mebby some file is missing or corrupted [19:55:13] Of course we have a dev server :P [19:55:15] or has strange attributes [19:55:40] We're starting to do a comparison now. Just wanted to jump in here and see if people knew offhand if I was doing something wrong. [19:55:49] ok [19:55:52] As soon as find out wtf, I'll let you guys know. [19:55:57] that'd be great [19:56:01] good luck [19:56:04] (unless it's something so noobish that I'm embarassed) [19:56:39] well tell us anywya, mebby we must adapt the docs [19:56:46] Will do [19:56:50] Thanks for all the help, Saurman [19:56:55] Thanks for all the help, Sarumamn [19:56:56] ==b [19:57:02] Gah, you know what, I'm done typing for now. [20:21:27] New patchset: Foxtrott; "bugfixes: Ajax error handler, use correct data from web request, setup parser" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/70745 [20:46:51] I'm trying to use Special:Import and am getting a bunch of warnings, then an error, from SMW. [20:46:53] Warning: array_key_exists() expects parameter 2 to be array, boolean given in /Library/WebServer/jwsmith/w/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Writers.php on line 386 [20:47:02] Anybody seen this before? [20:48:40] MW 1.20.3, PHP 5.3.15, SWM 1.8.0.4 [20:59:22] Well, I submitted a bug report. [21:04:21] hi [21:05:17] is it possible in a smw calendar to show recurring dates as separate entries? I have a single wiki page for a recurring date and it has multiple [[Has date:: ...]] [21:05:40] currently it displays only one entry and then all the dates are in one cell [21:09:47] oh I just realized that it isn't really a calendar but a table [21:09:58] even though I used format=calendar [21:09:59] that's weird [21:11:08] here is the query I use: http://pastebin.com/9H4HPCKR [21:11:14] any ideas what could be the problem?