[04:49:49] New patchset: Mwjames; "Replace MediaWikiTestCase with simpler interface + clean-up unit tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60624 [05:02:02] New review: Mwjames; "I can stall this being merged for a day or so but since those tests now derive methods from Semantic..." [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/60624 [10:02:04] New patchset: Vedmaka Wakalaka; "Extended Page Schemas integration" [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/53864 [10:10:26] New review: Vedmaka Wakalaka; "I have realized, that we was not able use $template_fields bocause it holds SFTemplateField[], which..." [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/53864 [11:23:30] New review: Yaron Koren; "Okay, this is looking better. The $field_options and $template_options additions are a little awkwar..." [mediawiki/extensions/SemanticForms] (master) - https://gerrit.wikimedia.org/r/53864 [17:27:25] Today I have come to ask about JavaScript involved in autocomplete. [17:27:35] Somethihng different :) [17:29:21] This is a Special page, so I can't just use #forminput. So I am inserting the "add new" form with JS. It works fine. Now I want to make it autocomplete typed page names as well. [17:30:11] In other places, I have successfully used #forminput with a "autocomplete with category|namespace" attribute and it works - it's a really useful feature. [17:30:58] I expected that if I insert the complete HTML that's generated by #forminput, it would work *except* for the autocomplete. This is the case. No surprise. [17:32:07] Now my question - is there a JS function I can call on my inserted form to make it autocomplete? Something to attach the events to the form? [17:33:44] Alternately, is there a simple way to get the usual #forminput working on a Special page? This would probably be better, letting the wiki handle the form as normal, but I don't imagine it's possible. [18:26:32] Frank_: what is this special page? [18:27:22] Special:FilterNamespacesCategories [18:27:38] I use jQuery to insert the form into the page. [18:27:51] It's part of some extension you're creating? [18:29:03] Actually, it's called CategoryFilter. You wrote it. [18:29:27] I... don't believe I wrote it. :) [18:29:46] Anyway, you're modifying the extension? [18:29:56] I did modify it a little, so you could set the page title with a URL parameter. [18:30:11] @author Yaron Koren :) [18:30:25] I've never heard of this extension. [18:30:36] My guess is that the author just copied that from some other file. [18:30:45] That could be. [18:30:52] Alright, I guess it doesn't matter; I was just curious. [18:31:02] I understand. [18:31:14] Anyway, I think you can replicate a #forminput call by calling SFParserFunctions::renderFormInput(), or something like that. [18:31:32] It might be a little tricky to get the arguments set up correctly, but that should work. [18:32:15] I'll look up SFParserFunctions::renderFormInput() [18:32:33] I assume that this is an unreleased, proprietary extension? [18:33:21] I can't recall where I got it. I either found it online, or it was already part of my project. I honestly couldn't tell you. [18:33:32] Alright. [18:34:08] Even if you didn't write, it, I appreciate your help to modify it. This is such a great community. [18:34:27] Cool. Yeah, I agree. [18:35:20] I couldn't make it to the conference in NYC this spring, but hopefully I'll make it next year. [18:35:41] Thanks again! [18:38:08] Sure. [20:03:16] Heh, you weren't kidding about the arguments. Tricky. [21:15:07] can halo be installed on a 1.8 SMW ?