[00:15:22] New review: Jeroen De Dauw; "James, sorry to hear about your merge troubles. I know how frustrating this can be and it's such a w..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47090 [02:23:26] New review: Mwjames; "Well, I never planned to implement a factory method here and now but since it is done I can already ..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 1; - https://gerrit.wikimedia.org/r/47090 [02:47:03] New review: Mwjames; "++ smw.dataItem.number, I probably go for https://github.com/jquery/globalize since in MW 1.19 no li..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 1; - https://gerrit.wikimedia.org/r/47090 [11:55:47] Saruman are you there? [11:57:13] yes, but busy for next 10 minutes [11:58:07] ok bb in 10 [12:14:13] I recently asked you about array map [12:14:58] how to transport multiple values in a template call [12:15:50] the code was: |topic={{#arraymap:{{{topic|}}}|,|x|x||}} [12:16:14] the problem now is, #subobject cannot seem to understand the pipe [12:21:06] example: this is not how I want to store the information http://domerich.funpic.de/wiki/index.php/Neue_Praktiken_bei_der_Breitbandentwicklung [12:23:10] ok lemme see [12:24:32] Domerich, you have ParserFunctions on your site [12:24:42] do you have $wgPFEnableStringFunctions = true; in your LocalSettings.php? [12:25:54] ah never mind, #replace will run into the same problem [12:26:10] I do have parser functions yes [12:26:20] because I can do #ifeq stuff [12:26:51] isn't there a " " ofr /* thing like in php? [12:26:55] but have you enabled the string functions? [12:27:01] I dont know [12:27:01] $wgPFEnableStringFunctions = true; in your LocalSettings.php [12:27:06] let me check [12:27:55] require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); [12:27:55] $wgPFEnableStringFunctions = true; [12:28:35] so they must be enabled then [12:28:40] ok, so although it won't work: [12:29:11] |topic={{#replace:{{{topic|}}}|,||}} [12:29:20] simpler than #arraymap [12:29:27] (as Yaron pointed out) [12:29:44] should I give it a try then? [12:29:52] nah it wont work [12:29:59] It just wont take HTML lingo [12:30:16] I will stick to my ugly workaround ^^ [12:30:25] lemme test something [12:30:34] sure you can modify my code [12:30:42] http://domerich.funpic.de/wiki/index.php?title=Vorlage:MarkText&action=edit [12:31:40] putting the html code in directly won't work either [12:32:24] do you happen to know the maximum number of topics that marktext must be able to accept? [12:32:46] I set it to be three [12:33:04] but that's not a real world szenario [12:33:50] |topic={{{topic}}} [12:33:51] ? |topic={{#if:{{{1|}}}|{{{1}}}|}} [12:33:51] ? |topic={{#if:{{{2|}}}|{{{2}}}|}} [12:34:02] thats what I did with unnamed parameters [12:35:42] |topic={{#explode:{{{topic|}}}|,|1}} [12:35:45] |topic={{#explode:{{{topic|}}}|,|2}} [12:35:47] etc [12:36:07] what is this? [12:36:17] won't work either; i suspect parser order messes us up [12:36:26] okay [12:36:31] dont bother [12:36:33] http://www.mediawiki.org/wiki/Extension:StringFunctions#.23explode: [12:36:36] thanks for taking your time [12:36:38] ok [12:37:15] I just will state it wont work in my paper ^^ [12:37:19] I guess thats good enough [12:39:57] my for the gurus it would be interesting to implement that though [12:40:07] I think something like this would be possible in PHP [12:40:33] even though I have close to no knowledge about php [12:40:44] I think the problem lies more in the information model [12:41:05] if you require the user to enter multiple topics, why do they wind up in a single field? [12:42:55] how do you mean? [12:43:15] it should be possible to assign multiple values to a variable [12:43:25] like whats your favorite color [12:43:31] oh I have multiple so its black and blue [12:44:11] or maybe someone has two fathers even thought its not really possible ^^ [16:45:48] New review: Jeroen De Dauw; "Needs https://gerrit.wikimedia.org/r/#/c/44573/" [mediawiki/extensions/SemanticResultFormats] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/43774 [16:47:59] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/44573 [16:48:33] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticResultFormats] (master) - https://gerrit.wikimedia.org/r/43774 [17:25:00] New review: Jeroen De Dauw; "Seeing a bunch of failures when running QUnit tests. PHPUnit ones pass." [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/47090 [17:27:12] New review: Jeroen De Dauw; "mediawiki.cldr: global failure (1, 0, 1)" [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/47090 [17:32:32] New review: Mwjames; "I3f4b522b is needed otherwise the tests will fail" [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47090 [17:32:45] New patchset: Jeroen De Dauw; "fixed compat issue in #MapsDoc" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/47352 [17:33:10] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/47352 [17:48:20] New review: Mwjames; "I did run them three times now with:" [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47090 [17:52:21] Change merged: Jeroen De Dauw; [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/46737 [17:56:22] New review: Mwjames; "mw.config.get( wgMonthNames ) is supported since MW 1.18" [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47090 [17:59:18] New review: Jeroen De Dauw; "mediawiki.cldr: global failure (1, 0, 1)Rerun" [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/46933 [18:00:03] New review: Jeroen De Dauw; "ext.smw.dataItem.time: instance (1, 0, 1)Rerun" [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/46933 [18:03:57] New review: Jeroen De Dauw; "Looks like I am not getting these errors when I remove this from my localsettings:" [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/46933 [18:05:21] New review: Jeroen De Dauw; "When enabling legacy globals I am still getting this error: http://pastebin.com/J7bgpQUn" [mediawiki/extensions/SemanticMediaWiki] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/46933 [18:10:11] New review: Mwjames; "This one is valid one, it's my fault since I changed this in the factory() commit from Local to UTC ..." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/46933 [18:21:20] New patchset: Mwjames; "smw.dataItem.factory() to enable dataItem type hinting during parseJSON()" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/47090 [18:22:12] New review: Mwjames; "Tests should run now for both " [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/47090 [20:16:04] New patchset: Mwjames; "SMW\DISerializer add tests" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/47366