[00:30:06] New patchset: Mwjames; "SMW\SQLStore\WantedPropertiesCollector" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/66052 [00:35:21] New review: Mwjames; "Feel free to revert but I need to moved forward here ..." [mediawiki/extensions/SemanticMediaWiki] (master) C: 2; - https://gerrit.wikimedia.org/r/66052 [00:36:45] Change merged: jenkins-bot; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/66052 [00:43:48] Change abandoned: Mwjames; "It was pushed using [1]" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/66056 [00:52:35] New patchset: Mwjames; "(Bug 44696) AskApi to support valid XML using the SMW\ApiQueryResultFormatter" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/65646 [00:57:37] New review: Mwjames; "Rebase" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/65646 [03:10:45] New patchset: Mwjames; "(Bug 49852) sortKey.toLowerCase()" [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/69617 [03:11:38] Change merged: jenkins-bot; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/69617 [07:32:06] Anyone alive? [07:32:24] no ;) [07:32:29] Running an update to 1.8 that broke the hell out of my website, wondering if there's any way to tell how many pages need updating [07:32:45] what's broken how? [07:33:38] Site worked fine before I started the update, and then I angered the gods. This is all it says now :( Jun 20 07:29:57 ip-10-68-185-110 httperror: [Thu Jun 20 07:29:57 2013] [error] [client 127.0.0.1] "" is not a valid magic word for "listerrors" Jun 20 07:29:57 ip-10-68-185-110 httperror: [Thu Jun 20 07:29:57 2013] [error] [client 127.0.0.1] "" is not a valid magic word for "describe" [07:34:21] I'm on page 35k and there's over 100k pages on my wiki. Is it parsing each one? [07:35:03] what is at 35k ? [07:35:13] you leave out too much context to understand what you mean [07:36:15] I apologize, I haven't slept in 36 hours trying to get this done >< I'm following these instructions: http://semantic-mediawiki.org/wiki/Help:Installation#Upgrading_existing_installations [07:36:48] It's chugging along through whatever it is it's updating, and a number increments each time an update occurs. I'm on update... 35258 and I'm not sure how far the rabbit hole goes [07:37:17] so just leave that running for now [07:38:17] bonsaikitten: I would, but the site is broken and needs to be up in a few hours :( http://www.wikidoc.org [07:38:32] why did you blindly upgrade a production system ?! [07:39:09] and to me it looks mostly working [07:39:13] bonsaikitten: I really, really, /really/ really didn't want to [07:39:28] Ulfr_: and you tested on a ... test system? [07:39:45] bonsaikitten: Ha! I had a test system. Then I got screamed at for going over budget :( [07:40:04] Ulfr_: so let your boss fix it, he seems to know it all [07:40:12] * bonsaikitten has little tolerance for such madness [07:40:20] bonsaikitten: I'm the only technical person at my job :( My boss is a cardiologist [07:40:24] I'm stuck with MW 1.5.6 because upgrading breaks stuff [07:40:33] * Ulfr_ really doesn't either, but also as a particular fondness for eating. [07:40:35] and I spent lots of time preparing to migrate until I gave up [07:40:58] Heh. I went from 1.17 to 1.18 without realising PCRE is evil [07:41:10] pff, pcre is good ;) [07:41:11] 24 hour hotswap between CentOS front ends to Ubuntu frontends [07:42:57] The maddening part about all of this is, I didn't even want to bloody update, but my options were obscenely arbitrary conditional code based on the whips of AskAPI, or committing myself [07:46:54] bonsaikitten: Thanks for not immediately calling me crazy even though I was gibbering like a lunatic :) [07:47:39] hrm, process failure :) [07:48:46] bonsaikitten: I executed the process perfectly. I just have unreasonable deadlines that don't appear to be >< [07:49:07] Unless you're technical. Then they're horrifying [07:49:34] * Ulfr_ Ulfr|break [07:50:06] I like it when people that don't do the work define the deadlines, then wonder why reality doesn't bend towards their mandate [13:54:28] Can anyone think of a reason why updating SMW would make vanilla mediawiki's javascript supremely unhappy? [14:30:38] $smwgScriptPath is breaking the hell out of my wiki and I can't find any example of what it should contain in my settings file. Anyone have thoughts? [14:40:53] Man SemanticStatistics is so screwed up [14:45:45] Nischayn22: Do tell [14:46:02] I am fixing it up now [14:46:04] JeroenDeDauw: Are you alive? Having a problem with SMW 1.9a and MW 1.19 [14:46:13] Dunno if I can safely downgrade tho [14:46:15] Ulfr_: What's the problem? [14:46:34] Nischayn22: I updated SMW and javascript just went on strike [14:46:49] why are you using alpha? [14:47:00] Nischayn22: Git decided I wanted to live on the edge [14:47:12] git also suggests tags? [14:47:18] 1.8.0.5 [14:47:22] I'd like to downgrade to stable but I don't want to make the current situation worse [14:47:30] * Ulfr_ also doesn't know how to make git do that [14:48:04] just find out how to checkout a particular tag [14:48:05] Ulfr_: I don't really know what changes have been made to the WMW JS recently [14:48:13] Would need to ask MWJames [14:48:24] JeroenDeDauw: Just wanted to know if it was safe to downgrade from 1.9a to 1.8 [14:49:29] New patchset: Nischayn22; "Use statistics from the stats table not Count()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [14:50:30] Ulfr_: I think so [14:50:56] JeroenDeDauw: Thanks! [14:52:28] New patchset: Nischayn22; "Use statistics from the stats table not Count()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [14:52:36] JeroenDeDauw: That fixed it, thanks for confirming :) [14:53:03] JeroenDeDauw: Hey, was it you or MWJames who worked with SemanticStatistics ? [14:55:56] Nischayn22: mostly mer [15:03:00] thingles: So now that JS is working I just checked out some of my pages.. none of my properties are working anymore. Ex: http://www.wikidoc.org/index.php/WBR131 Any thoughts on what I did wrong? [15:07:02] New review: Nischayn22; "(1 comment)" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [15:07:38] thingles: better example: http://wikidoc.org/index.php/WBR103 [15:10:46] Ulfr_: If you are upgrading I recommend the migration script [15:11:00] Nischayn22: I did, I'm technically downgrading [15:11:28] I followed all the upgrade instructions on the smw website, looks like I just have to resave pages with properties [15:11:30] I think [15:11:46] New patchset: Nischayn22; "Use statistics from the stats table not Count()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [15:11:53] Ulfr_: Which store are you using 2 or 3? [15:12:05] Nischayn22: In theory 3 [15:13:13] You can keep using 2 to restore sanity, then use the migration script to build up Store3 and then switch back [15:14:30] Well, I totally would if I hadn't deleted that trying to follow the directions [15:14:52] At this point I really don't care anymore because the problem I upgraded to fix still happens [15:16:06] New review: Mwjames; "In this case add a public method to the store in order to be able to derive the information from $th..." [mediawiki/extensions/SemanticMediaWiki] (master) C: -1; - https://gerrit.wikimedia.org/r/69668 [15:16:07] Ah, deleted [15:16:51] Nischayn22: Directions said it was to delete the old data store in my defense [15:21:34] Is there any particular reason why a query using the AskAPI would return an empty set? I'm tossing it like 31 possible properties using OR but it seems to break arbitrarily [15:50:14] Ulfr_: I tried using the AskAPI at one point, and couldn't get it working - I switched back to using Special:Ask, which functions as an API if you use the CSV or JSON formats. [15:51:21] yaron: Teach me your ways [15:51:33] Um... [15:51:41] Do you know about Special:Ask? [15:52:14] yaron: Yup. I'm fairly proficient with it, and all of my queries work fine with it [15:52:22] yaron: How do I feed it JSON? [15:52:33] You don't feed it JSON, you have it feed JSON. [15:52:47] You can do that by just selecting the JSON format from the format dropdown. [15:53:00] ...and then copy the resulting URL. [15:53:05] yaron: Can I do that with jQuery? [15:53:10] Do what? [15:53:38] yaron: Oh, I get what you're saying. I can't do that :( I have variable queries I'm running [15:53:50] What's a variable query? [15:55:27] yaron: Uh, I'm making a quiz program. Users select a set of Main and Sub categories. The query giving me greif is the one that goes and gets all possible questions that meet that criteria [15:55:44] Right, okay - you can use Special:Ask for that. [15:56:07] The GUI on that page is just a helper - the key thing is creating a Special:Ask URL for any specific query. [15:56:13] You can do that in Javascript. [15:56:38] yaron: :o [16:02:54] Of COURSE Special:Ask starts 500ing on me [16:08:26] JeroenDeDauw: Out of curiosity, why do you not urldecode API queries? Does that happen somewhere I'm not seeing? [16:10:35] yaron: This works so much better. Ermaigerd [16:13:20] yaron: So Special:Ask and AskAPI are wired up differently? [16:13:39] I use AskAPI all - the - time and it works well, didn't know you could do that with Special:Ask [16:14:29] yaron: curious if you've done thinking on allowing Semantic Forms to support responsive skins? [16:14:44] I've gotten a long ways as is, see my test page here if curious: http://wikiapiary.com/w/index.php?title=Special:FormEdit&form=Website%2FForeground&target=Test+form+with+Foreground [16:15:31] but there are some input types fight really hard (notably textarea and datetime). I'm considering submiting a patch or a gerrit commit but wanted to see if you had already gone down any paths related to this [16:16:03] oops. that URL will need a useskin as well: http://wikiapiary.com/w/index.php?title=Special:FormEdit&form=Website%2FForeground&target=Test+form+with+Foreground&useskin=foreground [16:21:30] * Ulfr_ needs some sleep. Tired brain used dyslexcia to turn useskin=foreground into something giggle-worthy [16:22:44] New review: Nischayn22; "That's too much work, let me find a workaround" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [16:30:07] New patchset: Nischayn22; "Use statistics from the stats table not Count()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [16:42:13] The evil lies within TESTS :D [17:05:30] thingles: sorry, I just saw this now. [17:05:36] What do you mean by responsive skins? [17:05:51] The kind where you can change the browser size, and the layout moves around? [17:06:04] yeah... see http://foreground.wikiwonders.net/wiki/Special:FormEdit/Test_form_inputs/Test as example [17:06:41] so, mostly, no tables anywhere. :-) [17:06:53] Cool. So, what's missing in SF? [17:07:23] mainly some class decoration that is needed to be added... [17:07:58] multiple forms introduce bigger challenges, but really just focusing on the standard input types now [17:08:23] hence that test page [17:08:41] btw.. garrickvanburen just joined and is writing the Foreground skin with full Semantic Forms support [17:08:41] What do you mean by class decoration? [17:08:54] hi. [17:08:58] Cool. Hi! [17:10:06] garrickvanburen would know best, but for example the input type=datetime had class names for the dates, but not the times [17:10:15] so, form the code that I'm seeing, each form in the DatePicker has a class applied: dayInput, yearInput. [17:10:26] Oh, I se. [17:10:28] see. [17:10:39] but the same isn't true of the fields in the TimePicker. [17:10:39] somehow he just worked through that in the last commit though [17:11:10] another one is that textarea insists on assigning cols [17:11:22] Well, I'd be happy to accept any patches for that kind of thing - and I'm sure Stephan would be (he's the author of SFI, which is where datetimepicker is defined). [17:11:38] great [17:12:01] Ah, cols... I thought textarea actually just set "width: 100%" by default. [17:12:11] It's been a while. [17:12:12] default seems to be cols=80 [17:12:45] you fine with a few diff's? we can try to figure out gerrit but frankly it scares me. ;-) [17:13:00] Yes, I fine. [17:13:21] (btw, these are all standard inputs, not SFI) [17:13:50] Alright, cool. [17:14:11] will make sure they are off master when and if we do [17:14:12] Why - garrickvanburen mentioned TimePicker. [17:15:08] Yeah, I'm afraid to do anything more with Get/Gerrit than I need to... [17:15:45] yaron: check outt his link for how nice this can work: http://wikiapiary.com/w/index.php?title=Special:FormEdit&form=Website%2FForeground&target=Test+form+with+Foreground&useskin=foreground [17:15:45] resize it and stuff adapts really, really nice [17:15:45] also using a lot of show on select to make things dynamic [17:17:35] Oh, nice! The menu and tabs things are cool. [17:18:42] yeah [17:18:51] renders better than Header Tabs too. :-) [17:19:31] Oh, you're not using Header Tabs? [17:19:38] So how do you define the tabs? [17:19:48] right now they're defined in the template. [17:20:13] You mean, in the form definition? [17:20:33] more code, but works better and is responsive. Header Tabs is a no go for responsive [17:20:55] yeah [17:21:24] see: bsite/Foreground&action=edit [17:21:30] oops [17:21:37] http://wikiapiary.com/w/index.php?title=Form:Website/Foreground&action=edit [17:22:19] Oh, I see - it's all HTML (and a bunch of JS and CSS behind the scenes, I assume) for the tabs. [17:22:38] yeah [18:08:23] New patchset: Mwjames; "Use statistics from the stats table not Count() " [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668 [18:11:00] New review: Mwjames; "This is why we are writing tests." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/69668