[02:22:58] yaron, are you there? [02:23:07] Hello, yes. [02:23:29] i am dealing with #forminput [02:23:51] i want to add an extra string automatically to the input name [02:24:39] i.e: you type the name "Test" but the target article results in "Test/es" [02:24:44] I don't think you can do that.... [02:24:54] You can *prepend* a string, but not append one. [02:25:16] yeah, i saw that [02:25:23] any quick trick to do it¡ [02:25:24] ? [02:25:32] maybe with query string? [02:26:09] Well, you could use #formlink instead, and have the page create the title with page name formula... [02:26:20] (with a) [02:28:52] you mean, defining the the end title in the "target="? [02:30:06] No, defining the whole page name formula - I'm talking about switching to the "one-step process". [02:37:40] yaron, but using #formlink dont allow me to have an inputbox [02:50:02] Yaco: yes, that's right. It's a different approach. [02:50:35] But with the current code, I think it's the only approach that would work for what you're trying to do. [03:25:46] yaron [03:26:20] how can i include constants values inside a form definition (that i can then print in the template)? [03:30:46] with hidden values! [03:33:22] Yes. [03:45:05] yaron [03:45:20] the input type "categories" results in a list of comma separeted values [03:45:33] is there any way to display them as categories in the resulting article? [03:45:52] (each value in [[Category:*]] [03:46:39] Yes, definitely - you just need to use #arraymap. [10:42:27] hi yaron [10:42:45] is it possible to remove the "None" option added to "radiobutton" type? [10:43:41] seems that mandatoryy dont work there [11:51:01] Yaco: hello. You need to both set it to mandatory, and set "default=" to one of the values there. [11:54:35] thanks Yaco [11:54:37] yaron [14:42:45] yaron: I'm using ED to talk to a server that puts some data in the HTML headers.... [14:54:19] yaron: I guess it calls for another format? [14:54:34] Why, what's the issue? [14:55:00] Oh, I see - you're trying to access that data. [14:55:34] Well, HTML is technically a subset of XML, so it might actually be possible to query it with XPath... [15:02:11] yaron: I guess I can try... it should be in the response [15:03:04] http://www.biodas.org/documents/spec-1.6.html#response ## example [15:12:50] yaron: I think the header gets consumed by php [15:12:55] you can get access to it [15:14:23] What is it you want? I don't quite understand. [15:15:21] yaron: that above link shows the information returned in the header, I want to pull that into the page [15:15:35] Did you try using XPath? [15:15:55] how do I write XPath against the HTTP header? [15:16:11] X-DAS-Version: DAS/1.6 [15:16:20] ^^ Example line of header [15:16:47] yaron: it may not be an issue, I should investigate more about this protocol [15:17:21] Alright. I don't know, in any case - I don't have any more ideas about how to get it. [15:22:14] yaron: cheers, I'll have a look, and if I need it, think about what to add [15:22:38] seems silly to pass this data only in the header, there may be some other way to get it in the XML [17:09:04] hello [17:09:25] can any1 out here help me in getting started with semantic mediawiki [17:09:56] i read a few articles on smw and it interested me right away [19:40:31] Hello. I just wanted to point out that there is a PHP error on http://semantic-mediawiki.org/wiki/Help:Template_format [19:40:45] I think it has been there for a while, unless it went away and came back [19:52:18] SigilBaram: that page looks ok to me; what PHP error do you see? [19:52:47] Undefined variable: listsep in /srv/semantic-mediawiki_org/www/core/extensions/SemanticMediaWiki/includes/queryprinters/ListResultPrinter.php on line 146 [19:52:58] where on that page? [19:53:03] along with a ton of similar ones [19:53:04] the top [19:53:34] Looks like it is repeating that and "finallistsep" [19:53:39] very peculiar, as the page looks absolutely fine on my screen [19:54:19] can you refresh the page? [19:54:36] I tried that. clearing my cache atm. [19:55:54] the php error must have originated server-side,but I don't get the error right now [19:56:07] Just purged it.Should work now [19:56:09] same issue in other browsers [19:56:17] oh wait IE is fine... [19:56:41] Oh it was a cache issue? [19:56:46] prolly [19:57:05] SigilBaram: Yes, but on the server side [19:57:07] the PHP error will have been on the server at some point in time, and the page got in your browsers cache at that moment [19:57:16] but at this moment, it's not on the server [19:57:37] Forgot to try perging the page heh [19:57:45] hehe [19:57:52] Saruman: Rather, the PHP error will have been on the server at some point in time, and got then cached by the server [19:57:57] or something like that [19:58:20] Ftrott: doesn't acocunt for the fact that SigilBaram saw it, but I didn't [19:58:42] Saruman: Does too. You are probably locked in, while SigilBaram is not [19:58:47] if you were logged in you would see a different cached version potentially [19:58:51] ahhhh .... true [19:58:53] Locked in users don't get cached pafes [19:58:58] ^ pages [19:59:13] ...and that is how I learn something new every day [19:59:39] tnx for the lesson :-) [19:59:43] :) [20:00:10] Yeah I knew about the server side caching but forgot to try purging the page heh [20:00:41] Thanks. XD [20:55:48] New review: Foxtrott; "I do not think that the patch changes the behaviour of the code. Please, could you describe a situat..." [mediawiki/extensions/SemanticForms] (master) C: -1; - https://gerrit.wikimedia.org/r/53270