[02:31:17] (CR) Yaron Koren: [C: 2 V: 1] "Great, thanks! Hopefully SF is now just a moderate offender." [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/111521 (owner: Chad) [02:31:22] (Merged) jenkins-bot: Remove a bunch of the $wgTitles in SemanticForms [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/111521 (owner: Chad) [11:09:37] (PS1) Netbrain: Initial import [extensions/SemanticHighcharts] - https://gerrit.wikimedia.org/r/117843 [11:10:08] (CR) Netbrain: [C: 2 V: 2] Initial import [extensions/SemanticHighcharts] - https://gerrit.wikimedia.org/r/117843 (owner: Netbrain) [12:13:38] (CR) Siebrand: Initial import (1 comment) [extensions/SemanticHighcharts] - https://gerrit.wikimedia.org/r/117843 (owner: Netbrain) [12:52:54] (PS1) Netbrain: Fixed i18n documentation Added german i18n Added readme [extensions/SemanticHighcharts] - https://gerrit.wikimedia.org/r/117850 [14:46:28] (PS1) Yaron Koren: Fixed "values dependent on" for when first input is dropdown or radiobutton [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/117864 [14:49:37] (CR) Yaron Koren: [C: 2 V: 1] Fixed "values dependent on" for when first input is dropdown or radiobutton [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/117864 (owner: Yaron Koren) [14:49:39] (Merged) jenkins-bot: Fixed "values dependent on" for when first input is dropdown or radiobutton [extensions/SemanticForms] - https://gerrit.wikimedia.org/r/117864 (owner: Yaron Koren) [16:01:22] suppose I want to store in semantic mediawiki LEGO sets and record which pieces they contain. Each piece has a shape and a color and a LEGO set has different pieces with different shapes and colors. And it seems wrong to write [[has green plate:6]] and [[has yellow plate:2]] because then I loose the ability how many parts of type plates the set has no matter the color [16:01:29] so how can I store the data? [16:02:31] *loose the ability to query for... [16:03:30] so in fact it would be: [[has plate:green,6]] and [[has plate:yellow,2]] (storing a tuple but I dont know if this is possible) because each piece has two properties: shape and color [16:04:18] but even if I can add a tuple like this as a datatype, does that allow me to, say, list all parts of a given color a set contains for example? [16:13:36] would it make sense to use the External Data extension for this and save the list of parts and their quantity and color as a table? [16:20:25] josch: I never liked records, I'd go with subobjects instead. Never worked with the external data extension. [16:29:43] ah okay, I didnt know about subobjects [16:37:05] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#1036 (master - a911367 : Jeroen De Dauw): The build was broken. [16:37:05] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/a0d229717496...a911367cb703 [16:37:05] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/20465876 [16:46:45] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#1037 (master - 0bfb5bf : jeroendedauw): The build was broken. [16:46:45] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/a911367cb703...0bfb5bf90c44 [16:46:45] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/20465906 [16:59:09] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#1038 (master - 2832ef7 : Jeroen De Dauw): The build was broken. [16:59:09] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/0bfb5bf90c44...2832ef7284fd [16:59:09] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/20465957 [17:28:09] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#1040 (master - 05485ee : Jeroen De Dauw): The build was broken. [17:28:09] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/cbf79f5ab89e...05485eeca7a9 [17:28:10] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/20466227 [17:43:09] [travis-ci] SemanticMediaWiki/SemanticMediaWiki#1041 (master - 8ec77fe : Jeroen De Dauw): The build was broken. [17:43:09] [travis-ci] Change view : https://github.com/SemanticMediaWiki/SemanticMediaWiki/compare/05485eeca7a9...8ec77fef29df [17:43:09] [travis-ci] Build details : http://travis-ci.org/SemanticMediaWiki/SemanticMediaWiki/builds/20466293 [18:21:50] for all the unique property values, I'm trying to create a list of links (to the Special:SearchByProperty page) that would show all the wiki pages that have that value [18:22:15] I'm using the exact method described at http://clkoerner.com/2013/05/01/creating-a-navigable-list-of-property-values-in-semantic-mediawiki/ [18:22:26] (uses arraymap and arraydefine) [18:23:04] the end result is perfect, except the wiki links are not parsed... meaning [[Special.... ]] is output to the page [18:53:49] (CR) Siebrand: [C: 2 V: 2] "Nice." [extensions/SemanticHighcharts] - https://gerrit.wikimedia.org/r/117850 (owner: Netbrain) [20:35:28] What would be the right syntax for a hook to use SF_CreatePageJob to create pages for all red links in a page, after the page is saved? I tried $wgHooks['ArticleSaveComplete'][] = 'SF_CreatePageJob'; but it doesn't work [20:35:50] Yaron, if you're not too busy, could you please provide some guidance? Thank you :) [20:36:03] Ah, hello. [20:36:18] Hi Yaron! [20:36:39] If you're creating an extension, you might be better off just reproducing that "create page" functionality in your extension... it's not that much code. [20:36:56] Is that the only thing your code requires SF for? [20:37:35] Yes. I don't think I'm creating an extension, I'm just making a few tweaks here and there to adapt mediawiki with SMW to use as a wiki-brain of sorts [20:37:42] Yes it is [20:37:56] What do you mean, tweaks? Where is your code going? [20:38:22] For example I'm making Special:Whatlinkshere transcludable [20:38:42] so it extends IncludableSpecialPage instead [20:39:03] So, you're modifying core MediaWiki, and adding code in to LocalSettings.php? [20:39:13] Yes [20:39:25] Alright. Also - in what way are you using SMW? [20:40:30] SF_CreatePageJob for the original purpose I stated. Also, SMW can do "backlinks" for relations (properties?) rather trivially so it sounded attractive [20:40:59] (Backlinks are useful if you want to see the connectivity of a particular thought in the wiki-brain.) [20:41:10] Sure. [20:41:19] So are you going to make every link in your wiki a property tag? [20:41:25] Sorry, I meant to say, I'm using SF_CreatePageJob for the original purpose I stated. I forgot to start the sentence. [20:41:33] I got it. [20:41:54] That is one option I am considering. [20:42:01] Ah. [20:42:38] Well, if you don't end up doing that, making use of SMW and SF sounds like some serious overkill, just for the sake of using that page-creation job class... [20:44:03] Perhaps. I have a handful of features and SMW seems to always have potentially useful capabilities. Another one is autocompletion in Semantic Forms. [20:44:12] But I agree. It's probably overkill. [20:44:22] I probably just need to learn how to create a hook for the page-creation [20:44:43] At the moment I just want to make something that is usable as a wiki-brain, then take my time to improve it [20:45:22] I need transcluded backlinks in each page, link autocompletion, and automatic page creation (pages of red lnks are automatically created). I got two out of three already. [20:45:55] You need forms to use SF's autocomplete... [20:46:17] Otherwise, you might be better off using VisualEditor. [20:46:18] I'm using Visual Editor for autocomplete for the time being [20:46:50] yes. I'll look into SF after I somehow enable the auto-page creation [20:48:01] Well, I'd say it might be worth it to look into it now first, to decide if you really need SMW/SF/Validator/etc. at all. [20:49:48] If I could only reproduce the create page functionality now, I could start using the wiki-brain, though, which would be very nice [20:53:37] How do you feel about copying over the CreatePageJob code into, say, LocalSettings.php? It might make the task easier. [20:55:47] That would be fine. My knowledge is too superficial to be concerned, I'm afraid [20:57:10] I plan to use this wiki-brain for the rest of my life so I'll have time to learn. I have a huge amount of knowledge to put into it, so my mediawiki incompetence is a bottleneck now :) [20:57:27] That's quite a plan. [20:57:49] How much PHP experience do you have, by the way? Or general programming, for that matter? [20:58:32] PHP, none. Programming: C, C++, Python, Octave, some CUDA... [20:58:49] learning about constructor this very second [20:59:50] Cool. [20:59:53] I suppose my hook has to pass the $title argument [23:54:22] (CR) Netbrain: [C: 2 V: 2] Fixed i18n documentation Added german i18n Added readme [extensions/SemanticHighcharts] - https://gerrit.wikimedia.org/r/117850 (owner: Netbrain)