Re: [SMW-devel] Modern chat solution as alternative to IRC?
I've no idea how to use IRC, actually, for me it's something like BBS, something from the history lesson. Gitter and Slack will at least provide a slight possibility of somebody to appear. - Yury Katkov On Thu, Jul 27, 2017 at 1:32 PM, Stephan Gambke via Semediawiki-devel < semediawiki-devel@lists.sourceforge.net> wrote: > > The SMW IRC chat seems pretty dead these days (albeit not completely). > > I tend to pretty often have quick questions I that would be very > suitable for a chat (need a quick answer, or throwing some questions > back and forth, making the mailing list too slow), and find that the IRC > chat is too silent to be of much use (I got some good answers sometimes, > but it is not "reliable"). > > A lot of projects seem to get very good use of some of the more modern > chat solutions like slack, or gitter (We actually even put up a gitter > chat for SMW at https://gitter.im/SemanticMediaWiki ... ). > > What are people"s opinions ... would it be reasonable to push for using > some such solution more (e.g. the gitter chat)? > > > I don't understand how changing the chat system would create more traffic. > What you are proposing appears to me to be an attempt of a technical > solution for a social problem. IRC my not be the most modern system, but > there are web frontends available and I don't think that more people would > come to chat about SMW if only the interface was more shiny. And > multiplying the communication channels might even be counterproductive as > it spreads the people available for conversation over even more places. As > you noted, there already is (or was?) an SMW chat on Gitter that apparently > did not get traction. > Finally, if you don't ask questions because the channel seems so quiet > (and other people do the same) then it is probably not a surprise if the > channel stays quiet. Or, in other words, start using the existing channel > and maybe stay around a while to answer other people's questions, and we > might see some more traffic. > > Just my 2 cents. > > Stephan > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SMW Search extensions
Hi Ryan! I you want a fully-fledged faceted search with full-text search features, like the one you see in Amazon, and that can replace MediaWiki search, then the answer is no. There is no such tool for SMW. Your options: 1) Semantic Drilldown. Faceted search without fulltext search support. + Very nice setup interface and very flexible extension. - Incomprehensible appearance by default: you will have to write your own CSS to make it clear. - can be slow on the big amount of properties 2) Filtered result format. Good for visualizing the queries (1K-2K pages I guess). Nice setup of facets, allow search by property values. Don't include fulltextsearch by pages. - Yury Katkov On Fri, Aug 22, 2014 at 4:58 PM, Ryan Glasnapp ryan.glasn...@gmail.com wrote: Is anyone aware of any Search extensions that interface with SMW? I know SMW+ used to have one, but that's been gone for a while. Mostly I'm just thinking something that allows you to filter search results based on properties. Thanks! --Ryan -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Accessing Semantic Forms fields from within form input
Yeah, I've looked at how dropdown input is organized - it seems that you first generate possible values making the list of option tags, and after that mark the currently selected option with attribute :selected. This way, if I need totally dinamic behavior of an input, I have to patch the php side too, because the current value is not available as javascript variable. - Yury Katkov On Tue, Jul 29, 2014 at 11:15 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, How the current value is specifically set depends on which input it is... but the inputs themselves don't know anything other than the parameters that they're called with (which should be enough, of course). -Yaron On Tue, Jul 29, 2014 at 3:12 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi! This part I know. But I meant the javascript side - how the current value is loaded there? Is there a method that allows me to retrieve the current template field value whil I'm in js? - Yury Katkov On Tue, Jul 29, 2014 at 5:49 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Well, each form input's own file (contained in /includes/forminputs) contains a getHTML() method, which in turn has a $cur_value parameter that holds the current value. All those getHTML() methods are called from SFFormPrinter::formHTML(), a monstrously large method that's really the heart of Semantic Forms. Look for the variables $cur_value and $cur_value_in_template in that function. -Yaron On Tue, Jul 29, 2014 at 10:39 AM, Yury Katkov katkov.ju...@gmail.com wrote: Yes, that kind of autocomplatetion might require some kind of custom Javascript solutio I'm trying to develop exactly that. For now I'm able to load the list of option tags for all my dropdown, but I can't figure out, how to initialize my dropdown with the current value. Yaron, what function populates forms inputs with the current values (taken from templates)? - Yury Katkov On Wed, Jul 23, 2014 at 12:44 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Oh... that's a lot of files! Yes, that kind of autocomplatetion might require some kind of custom Javascript solution. Although, if the goal is to have a wiki page for each of those files, another option is to just create a page for each file automatically, with the first 2-4 of those template fields already filled in. You could do that with the Data Transfer extension, or a custom script; the latter might be better, given the massive size of the data. -Yaron On Tue, Jul 22, 2014 at 12:43 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) Sorry... I thought it requires the creation of form input or patching the SF, so I asked it here. Thanks for the way, but it will not work for me because: 1) we will probably have 50-100 servers 2) each of the servers will have lot's of files: sometimes several terabytes of 10M images. That's a lot. 3) I've used the example for the file server and it's my current need/ However I'm very interested in a generic API calls from withing the semantic form when we put some data in the form and sending the ajax call to an api with our current field values as the parameters. for now I will try to solve this with javascript extension that listens the blur() action and the REST-API that is responsible for delivering the information - Yury Katkov On Tue, Jul 22, 2014 at 4:09 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) You didn't explicitly say it, but I'm guessing that (a) the set of file names to be autocompleted on is all the files contained in that file server, and (b) this information is not stored anywhere in the wiki. Assuming that, I think there's a way to do this, but it takes some work, and it's a hack. First, you'd need to write some web-based script, outside of the wiki, that, when you go to the URL for that script, outputs a table with two columns: a server name and a file name; containing the entire list of all the relevant files and of course the server for each. It can be done as CSV, XML or JSON, though I would think the easiest way to do it would be as CSV. Then you should install the External Data extension, if you don't have it already, and, in one page in the wiki (it can be any page), have a call to #get_web_data and then #store_external_table, so that all of that data gets stored as subobjects. It's important that the #store_external_table call uses the same semantic properties that are used in the template. So if your template has properties like Has server and Has filename, the #store_external_table call should look something like: {{#store_external_table:Server-file pair |Has server={{{server}}} |Has filename={{{file
Re: [SMW-devel] Accessing Semantic Forms fields from within form input
Yes, that kind of autocomplatetion might require some kind of custom Javascript solutio I'm trying to develop exactly that. For now I'm able to load the list of option tags for all my dropdown, but I can't figure out, how to initialize my dropdown with the current value. Yaron, what function populates forms inputs with the current values (taken from templates)? - Yury Katkov On Wed, Jul 23, 2014 at 12:44 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Oh... that's a lot of files! Yes, that kind of autocomplatetion might require some kind of custom Javascript solution. Although, if the goal is to have a wiki page for each of those files, another option is to just create a page for each file automatically, with the first 2-4 of those template fields already filled in. You could do that with the Data Transfer extension, or a custom script; the latter might be better, given the massive size of the data. -Yaron On Tue, Jul 22, 2014 at 12:43 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) Sorry... I thought it requires the creation of form input or patching the SF, so I asked it here. Thanks for the way, but it will not work for me because: 1) we will probably have 50-100 servers 2) each of the servers will have lot's of files: sometimes several terabytes of 10M images. That's a lot. 3) I've used the example for the file server and it's my current need/ However I'm very interested in a generic API calls from withing the semantic form when we put some data in the form and sending the ajax call to an api with our current field values as the parameters. for now I will try to solve this with javascript extension that listens the blur() action and the REST-API that is responsible for delivering the information - Yury Katkov On Tue, Jul 22, 2014 at 4:09 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) You didn't explicitly say it, but I'm guessing that (a) the set of file names to be autocompleted on is all the files contained in that file server, and (b) this information is not stored anywhere in the wiki. Assuming that, I think there's a way to do this, but it takes some work, and it's a hack. First, you'd need to write some web-based script, outside of the wiki, that, when you go to the URL for that script, outputs a table with two columns: a server name and a file name; containing the entire list of all the relevant files and of course the server for each. It can be done as CSV, XML or JSON, though I would think the easiest way to do it would be as CSV. Then you should install the External Data extension, if you don't have it already, and, in one page in the wiki (it can be any page), have a call to #get_web_data and then #store_external_table, so that all of that data gets stored as subobjects. It's important that the #store_external_table call uses the same semantic properties that are used in the template. So if your template has properties like Has server and Has filename, the #store_external_table call should look something like: {{#store_external_table:Server-file pair |Has server={{{server}}} |Has filename={{{file}}} }} (The property name in the first argument doesn't matter.) Now, within the form, you just need to use values dependent on within the Filename field. Let's say that the template is called File information, and the first two template fields are Server and Filename. The Filename field tag in the form might look like: {{{field|Filename|input type=text with autocomplete|values dependent on=File information[Server]}}} ...and hopefully that will work. Who knows, stranger things have happened. :) What makes this more of a hack is that the wiki page with the #store_external_table call will need to have its data regularly refreshed in order to capture any changes to the set of files. That can be done by resaving the page, or calling an SMW data refresh in some way. -Yaron On Tue, Jul 22, 2014 at 5:45 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron, everyone! Very often I need to perform some actions while being inside the form. For example right now I have this form: http://i.imgur.com/cYNHSFN.png I need the following behavior: 1) User picks the file server from the dropdown 2) The form sends the js-query to the server and retrieves the filenames. 3) the Filename field got populated with autocompletion values - possible filenames. How do you think is possible to achieve such behavior? - Yury Katkov -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight
Re: [SMW-devel] Accessing Semantic Forms fields from within form input
Hi! This part I know. But I meant the javascript side - how the current value is loaded there? Is there a method that allows me to retrieve the current template field value whil I'm in js? - Yury Katkov On Tue, Jul 29, 2014 at 5:49 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Well, each form input's own file (contained in /includes/forminputs) contains a getHTML() method, which in turn has a $cur_value parameter that holds the current value. All those getHTML() methods are called from SFFormPrinter::formHTML(), a monstrously large method that's really the heart of Semantic Forms. Look for the variables $cur_value and $cur_value_in_template in that function. -Yaron On Tue, Jul 29, 2014 at 10:39 AM, Yury Katkov katkov.ju...@gmail.com wrote: Yes, that kind of autocomplatetion might require some kind of custom Javascript solutio I'm trying to develop exactly that. For now I'm able to load the list of option tags for all my dropdown, but I can't figure out, how to initialize my dropdown with the current value. Yaron, what function populates forms inputs with the current values (taken from templates)? - Yury Katkov On Wed, Jul 23, 2014 at 12:44 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Oh... that's a lot of files! Yes, that kind of autocomplatetion might require some kind of custom Javascript solution. Although, if the goal is to have a wiki page for each of those files, another option is to just create a page for each file automatically, with the first 2-4 of those template fields already filled in. You could do that with the Data Transfer extension, or a custom script; the latter might be better, given the massive size of the data. -Yaron On Tue, Jul 22, 2014 at 12:43 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) Sorry... I thought it requires the creation of form input or patching the SF, so I asked it here. Thanks for the way, but it will not work for me because: 1) we will probably have 50-100 servers 2) each of the servers will have lot's of files: sometimes several terabytes of 10M images. That's a lot. 3) I've used the example for the file server and it's my current need/ However I'm very interested in a generic API calls from withing the semantic form when we put some data in the form and sending the ajax call to an api with our current field values as the parameters. for now I will try to solve this with javascript extension that listens the blur() action and the REST-API that is responsible for delivering the information - Yury Katkov On Tue, Jul 22, 2014 at 4:09 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) You didn't explicitly say it, but I'm guessing that (a) the set of file names to be autocompleted on is all the files contained in that file server, and (b) this information is not stored anywhere in the wiki. Assuming that, I think there's a way to do this, but it takes some work, and it's a hack. First, you'd need to write some web-based script, outside of the wiki, that, when you go to the URL for that script, outputs a table with two columns: a server name and a file name; containing the entire list of all the relevant files and of course the server for each. It can be done as CSV, XML or JSON, though I would think the easiest way to do it would be as CSV. Then you should install the External Data extension, if you don't have it already, and, in one page in the wiki (it can be any page), have a call to #get_web_data and then #store_external_table, so that all of that data gets stored as subobjects. It's important that the #store_external_table call uses the same semantic properties that are used in the template. So if your template has properties like Has server and Has filename, the #store_external_table call should look something like: {{#store_external_table:Server-file pair |Has server={{{server}}} |Has filename={{{file}}} }} (The property name in the first argument doesn't matter.) Now, within the form, you just need to use values dependent on within the Filename field. Let's say that the template is called File information, and the first two template fields are Server and Filename. The Filename field tag in the form might look like: {{{field|Filename|input type=text with autocomplete|values dependent on=File information[Server]}}} ...and hopefully that will work. Who knows, stranger things have happened. :) What makes this more of a hack is that the wiki page with the #store_external_table call will need to have its data regularly refreshed in order to capture any changes to the set of files. That can be done by resaving the page, or calling an SMW data refresh in some way. -Yaron On Tue, Jul
[SMW-devel] Accessing Semantic Forms fields from within form input
Hi Yaron, everyone! Very often I need to perform some actions while being inside the form. For example right now I have this form: http://i.imgur.com/cYNHSFN.png I need the following behavior: 1) User picks the file server from the dropdown 2) The form sends the js-query to the server and retrieves the filenames. 3) the Filename field got populated with autocompletion values - possible filenames. How do you think is possible to achieve such behavior? - Yury Katkov -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Accessing Semantic Forms fields from within form input
Hi Yaron! (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) Sorry... I thought it requires the creation of form input or patching the SF, so I asked it here. Thanks for the way, but it will not work for me because: 1) we will probably have 50-100 servers 2) each of the servers will have lot's of files: sometimes several terabytes of 10M images. That's a lot. 3) I've used the example for the file server and it's my current need/ However I'm very interested in a generic API calls from withing the semantic form when we put some data in the form and sending the ajax call to an api with our current field values as the parameters. for now I will try to solve this with javascript extension that listens the blur() action and the REST-API that is responsible for delivering the information - Yury Katkov On Tue, Jul 22, 2014 at 4:09 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, (First, it doesn't matter that much, but this question should probably have been sent to the SMW users list.) You didn't explicitly say it, but I'm guessing that (a) the set of file names to be autocompleted on is all the files contained in that file server, and (b) this information is not stored anywhere in the wiki. Assuming that, I think there's a way to do this, but it takes some work, and it's a hack. First, you'd need to write some web-based script, outside of the wiki, that, when you go to the URL for that script, outputs a table with two columns: a server name and a file name; containing the entire list of all the relevant files and of course the server for each. It can be done as CSV, XML or JSON, though I would think the easiest way to do it would be as CSV. Then you should install the External Data extension, if you don't have it already, and, in one page in the wiki (it can be any page), have a call to #get_web_data and then #store_external_table, so that all of that data gets stored as subobjects. It's important that the #store_external_table call uses the same semantic properties that are used in the template. So if your template has properties like Has server and Has filename, the #store_external_table call should look something like: {{#store_external_table:Server-file pair |Has server={{{server}}} |Has filename={{{file}}} }} (The property name in the first argument doesn't matter.) Now, within the form, you just need to use values dependent on within the Filename field. Let's say that the template is called File information, and the first two template fields are Server and Filename. The Filename field tag in the form might look like: {{{field|Filename|input type=text with autocomplete|values dependent on=File information[Server]}}} ...and hopefully that will work. Who knows, stranger things have happened. :) What makes this more of a hack is that the wiki page with the #store_external_table call will need to have its data regularly refreshed in order to capture any changes to the set of files. That can be done by resaving the page, or calling an SMW data refresh in some way. -Yaron On Tue, Jul 22, 2014 at 5:45 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron, everyone! Very often I need to perform some actions while being inside the form. For example right now I have this form: http://i.imgur.com/cYNHSFN.png I need the following behavior: 1) User picks the file server from the dropdown 2) The form sends the js-query to the server and retrieves the filenames. 3) the Filename field got populated with autocompletion values - possible filenames. How do you think is possible to achieve such behavior? - Yury Katkov -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] usage of values from URL
Hi everyone! I'm trying to figure out how the autocompletion on outside values works. [1] Is that possible to use it for the dropdowns? I'm trying to do that but have no results. I've added this to the LocalSettings.php: $sfgAutocompletionURLs['discourse'] = ' http://discoursedb.org/w/api.php?action=sfautocompletesubstr=newproperty=Was_written_byformat=json '; I've created the following field in the form: {{{field|Was written by|input type=dropdown|values from url=discourse|remote autocompletion}}} I expect that the dropdown will be populated with the values from discoursedb: Bangor Daily News editorial board Gavin Newsom, etc ... but nothing happens. What do I do wrong? [1] https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values - Yury Katkov -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] usage of values from URL
Hi Yaron! You should replace substr in that URL with substr - that might just be the issue. I don't think I should... I don't need any parameters, try to click on the link - it produces perfect results. - Yury Katkov On Mon, Jul 21, 2014 at 4:07 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, You should replace substr in that URL with substr - that might just be the issue. However, I should note that we're currently, as part of Jatin Mehta's Google Summer of Code project on SF autocompletion, working on improving autocompletion on external values. Right now the setup is quite limited - you need to basically set up an API that outputs the necessary values in a specific JSON format, unless you happen to be autocompleting on values from another SMW-based wiki. Jatin's project will hopefully expand that considerably, making use of functionality like that of the External Data extension to allow for flexibly getting value sets from a variety of formats. I don't know if you were planning to create such a mini-API already, but, if you're willing to wait a month or two, it could be that that effort would no longer be necessary. -Yaron On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I'm trying to figure out how the autocompletion on outside values works. [1] Is that possible to use it for the dropdowns? I'm trying to do that but have no results. I've added this to the LocalSettings.php: $sfgAutocompletionURLs['discourse'] = ' http://discoursedb.org/w/api.php?action=sfautocompletesubstr=newproperty=Was_written_byformat=json '; I've created the following field in the form: {{{field|Was written by|input type=dropdown|values from url=discourse|remote autocompletion}}} I expect that the dropdown will be populated with the values from discoursedb: Bangor Daily News editorial board Gavin Newsom, etc ... but nothing happens. What do I do wrong? [1] https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values - Yury Katkov -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] usage of values from URL
my point is that I don't need substr at all. My URL is static and I'm totally satisfied. - Yury Katkov On Mon, Jul 21, 2014 at 5:50 PM, Yaron Koren ya...@wikiworks.com wrote: Oops, sorry, you're right - it's the string new in the URL that you should replace with substr. On Mon, Jul 21, 2014 at 11:43 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! You should replace substr in that URL with substr - that might just be the issue. I don't think I should... I don't need any parameters, try to click on the link - it produces perfect results. - Yury Katkov On Mon, Jul 21, 2014 at 4:07 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, You should replace substr in that URL with substr - that might just be the issue. However, I should note that we're currently, as part of Jatin Mehta's Google Summer of Code project on SF autocompletion, working on improving autocompletion on external values. Right now the setup is quite limited - you need to basically set up an API that outputs the necessary values in a specific JSON format, unless you happen to be autocompleting on values from another SMW-based wiki. Jatin's project will hopefully expand that considerably, making use of functionality like that of the External Data extension to allow for flexibly getting value sets from a variety of formats. I don't know if you were planning to create such a mini-API already, but, if you're willing to wait a month or two, it could be that that effort would no longer be necessary. -Yaron On Mon, Jul 21, 2014 at 6:06 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I'm trying to figure out how the autocompletion on outside values works. [1] Is that possible to use it for the dropdowns? I'm trying to do that but have no results. I've added this to the LocalSettings.php: $sfgAutocompletionURLs['discourse'] = ' http://discoursedb.org/w/api.php?action=sfautocompletesubstr=newproperty=Was_written_byformat=json '; I've created the following field in the form: {{{field|Was written by|input type=dropdown|values from url=discourse|remote autocompletion}}} I expect that the dropdown will be populated with the values from discoursedb: Bangor Daily News editorial board Gavin Newsom, etc ... but nothing happens. What do I do wrong? [1] https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Autocompleting_on_outside_values - Yury Katkov -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Adding Site Settings support to SMW?
Hi! On Wed, Jul 16, 2014 at 3:37 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, On Wed, Jul 16, 2014 at 1:32 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Yaron! I think that for SiteSettings this patch could make sense although I'm strongly against such interdependencies between extensions (after trying to contribute to PageSchemas) Could you expand on that? It's just a lot harder to contribute the code when there is such a dependency. In order to contribute the code I have to make changes not in one extension but in two or three. This can create inconsistency, like the one we can see now in Page Schemas: there are some features that are presented in PS but the code in SF still doesn't have support for them, because the changes haven't been accepted. I understand that you've had in mind the following scenario: there is Page Schemas and everyone can register their own extension in it. It didn't work well in the Page Schemas case but it can in principle work in case of Site Settings since it's not SMW-specific. Is AdminLinks mentioned in SMW? That's really strange and surprising - I thought it's just a header button and the predefined wikipage for the content (well, maybe it can also check, which extensions are installed). Every extension-related link in Special:AdminLinks is added by that extension. -Yaron -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Adding Site Settings support to SMW?
Hi Yaron! I think that for SiteSettings this patch could make sense although I'm strongly against such interdependencies between extensions (after trying to contribute to PageSchemas) Is AdminLinks mentioned in SMW? That's really strange and surprising - I thought it's just a header button and the predefined wikipage for the content (well, maybe it can also check, which extensions are installed). - Yury Katkov On Wed, Jul 16, 2014 at 4:25 AM, Yaron Koren ya...@wikiworks.com wrote: Hi, There are three extensions of mine that take a similar approach, where they provide a generic framework and other extensions add their own specific functionality in via hooks: Admin Links, Page Schemas and Site Settings. Semantic MediaWiki already hooks into the first two: Admin Links via a function, and Page Schemas with a class. [1] Site Settings [2] is the newest of these three, and SMW doesn't connect to it yet, but I would like to add code in to SMW to do that, most likely via another class, that would be called SMWSiteSettings. The code that interfaces with Page Schemas caused some controversy before on this mailing list (though the Admin Links code never did), so I thought I'd ask about it here before trying to send in a patch. I'm not planning on adding any testing code for this new code, just like there isn't for the Admin Links and Page Schemas code in SMW; but my philosophy, as I explained before when we talked about Page Schemas, is that, even in the worst case where the code crashes completely, it will not affect any of the other SMW functionality, so it can safely be ignored by SMW developers. I certainly hope to be able to add such a patch in, but I look forward to any questions or comments. [1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/includes/SMW_PageSchemas.php [2] https://www.mediawiki.org/wiki/Extension:Site_Settings -Yaron -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Filtered SemanticResultFormat table support
Hi! Do I understand correctly, that you've created a patch for filtered that you want to share with the community? If so, any code in filtered result format is very welcomed! Stephan Gambke is the lead developer for filtered, you can also add me to the code review (hopefully James and Jeroen will be able to review your code too). You can create a pull-request here: https://github.com/SemanticMediaWiki/SemanticResultFormats Cheers, - Yury Katkov On Fri, Jun 20, 2014 at 10:10 AM, Kristian Stauffer kristian.stauf...@gmail.com wrote: Hi all. Our company had a need for wiki table support for filttered ResultFormat. It is now completed, I'd like to ask if I should contribute code. I see from talk page that this is something that others have also requested. -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Dependent page updates
Presently I'm doing this with pywikipediabot that's watching recent changes - Yury Katkov On Thu, May 29, 2014 at 11:38 PM, Benjamin Pelletier bjpcalt...@gmail.com wrote: Bump. Is it possible to prompt semantic updates for other pages in response to a change in a given page? On Wed, May 21, 2014 at 4:07 PM, Benjamin Pelletier bjpcalt...@gmail.com wrote: I have some properties auto-generated by a template that refer to characteristics of other pages of the same name in different namespaces. For instance, for my TestPage, I want to set the property Has condition reports according to the presence of the Conditions:TestPage page and Has last condition report update according to the Modification date of Conditions:TestPage. This is easy to do and works great a lot of the time. But, when those linked pages change, the root page doesn't update its properties automatically. So, if I have a link that creates Conditions:TestPage, clicking that link and creating the page doesn't change the Has condition reports page until I edit TestPage again. Is there any way I can specify conditional updates? I'd like TestPage to recompute its properties any time Conditions:TestPage is modified. Thanks, Ben -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SMW 2.0 or 10.0?
+1 to 10.0 unless any super cool features are coming. 2.0 was good enough for the version where subobjects or Triple store support were introduced - Yury Katkov, WikiVote On Sun, Jan 19, 2014 at 3:37 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Ok, I give in: +1 to 2.0 :-) Markus On 18/01/14 19:27, Nischay Nahata wrote: I didn't follow the full discussion but 2.0 makes more sense to me. On Sat, Jan 18, 2014 at 11:15 PM, James HK jamesin.hongkon...@gmail.com mailto:jamesin.hongkon...@gmail.com wrote: Hi, From a visibility point of view, jumping from 1.9 to 10 seems a bit gigantic (even though you can argue the rational behind dropping 1 where 10 follows 9) but I'm more in favour of going with 2 instead. Cheers On 1/19/14, Jeroen De Dauw jeroended...@gmail.com mailto:jeroended...@gmail.com wrote: Hey, It seems there is general agreement on having the next big SMW release have a semver.org http://semver.org complaint version number. However there are two options that have been proposed and both work: 2.0 and 10.0. The former one increments the first number, changing it from the meaningless 1 at the front to be the actual MAJOR version. The later drops the meaningless 1, shifting the current actual MAJOR version 9 to its correct location, and then incrementing it as should be done with each new major release. I'm fine with both, though need to make some decision. So please indicate your preference. So far we have 1 point for 10.0 from Markus and 1 point for 2.0 from Yaron. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net mailto:Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Cheers, Nischay Nahata -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Making SMW semver.org compliant
Hi everyone! I find myself difficult to understand the notion of MAJOR in semver.org : MAJOR version when you make incompatible API changes IMHO MAJOR version - is when the amount of new stable tested features reach some threshold, or when some key characteristics of the software become significantly better (e.g. SMW 2.0 works 400% faster). See this list for more examples of stuff that I think can be the reason for increasing any version of SMW. [1] The API incompatibility is just a drawback, the inevitable evil which surely should be introduced with the version. Since the versioning is related not only with programming but also with marketing, I think it's strange to make API incompatibilities the major factor for increasing the version number. [1] http://semantic-mediawiki.org/wiki/SMW_users_survey_results#Development_priorities - Yury Katkov, WikiVote On Fri, Jan 17, 2014 at 12:11 AM, Yaron Koren ya...@wikiworks.com wrote: Hi, It sounds like your real question is, Shouldn't we have changed to 2.0 already? :) I don't know the answer to that, but I can't imagine anyone would object to increasing the version number to 2.0, 3.0 etc. if/when it makes sense to do that. (I don't think avoiding a 1.10, 1.11 etc. is by itself a good-enough reason to jump to the next number - although I may be guilty of sometimes doing that when setting version numbers for my own extensions - but anyway, ideally there are enough large-scale improvements to accompany the small ones that this sort of thing doesn't often become an issue.) On Thu, Jan 16, 2014 at 2:34 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, I think it would be nice if SMW was http://semver.org/ compliant. This means version numbers would look like MAJOR.MINOR.PATCH with a possible stability suffix. This is very close to what we are already doing, except that we are sticking a 1. in front of it. Having this shifted by one might not be confusing to people familiar with the SMW release cycle, though might be surprising to those who are not. How about switching to this schema for out next major release, which would then end up being 2.0? If we make this switch, the next major release seems like the best point to do this. Coincidentally one advantage to picking this release for such a change is that it makes us skip 1.10, which some users might think is smaller than 1.9.0. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Annotating in SMW
Hi Yaron! I'm in favor in semantifying everything but here I'd agree with you - I don't yet see the usecase where it would be useful to have semantified inline comments. Or any comments and discussions, for that matter. - Yury Katkov, WikiVote On Tue, Dec 17, 2013 at 6:28 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Bernhard, This seems like a case of the when you have a hammer, everything looks like a nail principle. :) If the extension used - whether it's Annotator or anything else - is keeping annotation information, it's presumably using one or more of its own database tables to do that. And so the most logical place to put tools to query and display that information would be in that extension itself, not via SMW. You could make the case for a Semantic Annotator extension that stores the text directly via SMW, but I don't see the benefit in that. The use cases you present are all (not surprisingly) self-contained - there's nothing like show, in a table, all annotations for pages about cars from before 1950. So I don't see much synergy in being able to query everything together. This starts to get into the larger question of whether SMW should be able to query any wiki-related data - the so-called semantification concept - but I would think if we're going to have that discussion, we should have that larger discussion, and not tie it to this particular feature. -Yaron On Tue, Dec 17, 2013 at 8:25 AM, Krabina Bernhard krab...@kdz.or.atwrote: Great, I didn't know about MashaJS. Is there a test wiki around. In the discussion there is a hint that it does not work with HeaderTabs... Which use cases do you have in mind that involved queryable inline comments? There can be reasons, where a) I want to have an overview of remarks that users made and the talk page and/or version history is too cumbersome, because you have to switch around all the time. If you want to ask users for comments on a text, a regular wiki is not very usable. annotations are great here. b) users don't want to/dare to/should not edit the text itself, but still should have to possibility to add/enhance/comment on the text It would be great to have features like: * show only annotations of user X on the page * show the text with annotations of users X and Y, but not from Z * show the users with most annotations ... regards, Bernhard - Ursprüngliche Mail - Hi Bernhard! Nice extension, reminds me of MashaJS: http://www.mediawiki.org/wiki/Extension:MashaJS Which use cases do you have in mind that involved queryable inline comments? - Yury Katkov, WikiVote On Tue, Dec 17, 2013 at 11:55 AM, Krabina Bernhard krab...@kdz.or.at wrote: Dear all, I just want to draw your attention to an interesting feature currently missing in MW/SMW: the ability to easily annotate a (wiki) document. There are lots of usecases for this and there are some first results. The interesting thing of course would be to make annotations semantic and therfore queryable! If anyone is interested, please look here: http://www.mediawiki.org/wiki/Extension:Annotator (I'm not in any way involved in this, I just stumbled across it and thought it's very interesting). -Bernhard -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP
Re: [SMW-devel] SemanticResultFormats on GitHub
Is this a replacement of Gerrit or just another possbile way to contribute? - Yury Katkov, WikiVote On Sun, Dec 1, 2013 at 6:07 AM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, It is now possible to contribute to SemanticResultFormats via GitHub! https://github.com/SemanticMediaWiki/SemanticResultFormats This repo is also used to run the SRF tests against multiple different PHP, database and MW version/type combinations. https://travis-ci.org/SemanticMediaWiki/SemanticResultFormats And it is the repo used by Packagist. (Indeed, it is not possible to install SRF via Composer!) https://packagist.org/packages/mediawiki/semantic-result-formats Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Offline Semantic Forms
Nice case! I remember the proposal to integrate Extension:Drafts with Semantic Forms but this sounds even more radical! I can tell from my journeys through SF code that this would be a challenge: the majority of form is generated on a server side. Benedikt, what do you think about using Miga for that case? - Yury Katkov, WikiVote On Fri, Nov 22, 2013 at 2:18 PM, Benedikt Kämpgen benedikt.kaemp...@kit.edu wrote: Hello Yaron, Hello Semantic forms experts, In our medical project I talked about at SMWCon [1], we have the following requirement: * We create a full-fledged form for annotating patients in an online SMW. * Physicians want to reuse that form to offline fill in the form for patients. Offline, since patient data should not be stored in the online SMW. * After a form has been filled in, its contents are not fixed. Physicians may want to modify the content at a later stage. * An RDF export of the filled-in form should be possible to be created to be stored in a secure FTP server. The only way we currently see is to have for the physicians separate offline versions of SMW with the imported template, form pages. But this seems to require a lot of effort in synchronising the online and offline SMW. Thus, we are wondering whether it would be possible to somehow export an full-fledged offline version of a form. I'm thinking of making this a seminar topic for one of our students. Any help on this would be greatly appreciated, e.g., * What is your opinion about this use case? * Are there implementations one could somehow build on? * How difficult does it seem? All the best, Benedikt [1] http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/Challenges_with_Annotating_Liver_Patient_Data_for_Cognition-Guided_Surgery -- AIFB, Karlsruhe Institute of Technology (KIT) Phone: +49 (721) 608 48941 Email: benedikt.kaemp...@kit.edu Web: http://www.aifb.kit.edu/web/Hauptseite/en -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] OWA problem?
I very much like the idea of this multilanguage support feature ( [[myproperty@ru:blabla]] ). The syntax is ok too, IMHO and it would be easy to serialize there multilanguaged properties in RDF and use in RDF store. John, I think it would be useful to document your vision about this feature somewhere at semantic-mediawiki.org or in Bugzilla, because this conversation will be lost in archives. I'm not completely sure if there's a lot of parties interested in that feature: the majority of wikis I've seen are singlelingual. Semantic-mediawiki.org and webplatform.org are notable exceptions. Can you specify what kinds of wikis are going to need that feature? I think it's good to have all that documented even if you don't have any funds and there's no volunteer yet to do that job. Funds and volunteers tends to appears from time to time :) - Yury Katkov, WikiVote On Wed, Nov 20, 2013 at 1:15 PM, John McClure jmccl...@hypergrove.comwrote: Soory to drag on, but also of note is that /[[propname@ :: value]]/ could default to the wiki's language, this being another option for undefined properties... Any property names with a trailing ampersand could default to /[[Has type::text]]/, and values of any defined /[[Has type::text]]/ property when used without an ampersand default to the wiki's language. Syntactically this seems like the most practical way to handle iso languages for text properties. Undefined /[[Has type::code]]/ properties can get similar syntactic sugar. That brings up /[[Has type::page]]/, making me wonder about the special property /Has subobject/ ... what is its type? Not a 'wiki page', it's a subobject. Both must be exported in RDF (eventually) as legitimate targets of an /owl:ObjectProperty/ named something like /smw:Has_subobject/ to associate named-subobjects. To apply the above method to undefined properties as to whether they point to pages or subobjects, suggests that property names that begin with a hash character can default to /[[Has type::subobject]]/ otherwise default to /[[Has type::page]]/. Multilingual relations should be possible too: /[[MyProperty::pgnm]]/ defaults to wiki's language and /[[MyProperty@es::spanish-pgnm]]/ and /[[#MyProperty@de :: german-subobjname]]/ operate as above. With the expectation that subobject links are resolved at some point in the process via /{{#subobject: subobjectname}}/. The big impact on queries might be via a dot operator, to specify a predicate property within a certain named subobject, say in a Concept eg /[[ MyProperty#subobject-name-or-pattern@za.subobject-property-name@za :: property-value-or-pattern ]]/. Maybe some formulation works with /[[ Has subobject ::~ {{FULLPAGENAME}}#mypattern ]]/ that doesn't involve arrays but I don't see how. But if it's okay to mark a pattern with a tilde character then we have terrific shorthand for pagenames and objectnames as predicate values. To select all pages named with an index suffix, e.g. could be /[[~pgnm*]]/. To select all subpages is even simpler: /[[~pgnm/*]]/. Similarly to select subobjects on these pages could get as complicated as /[[~pgnm*#objname*]]/ but more usual would be just /[[~pgnm#objname*]]/. On 11/19/2013 5:43 PM, John McClure wrote: Maybe we should think about a fork called Semantic Web Mediawiki (SWM) hehe. Seriously though this moment I'm interested in what people think of indicating language in SMW syntax by using the ampersand character, eg /property-name@language-code/ - would this be a too-complex change to SMW, and can this supported by the Ask library? I don't like property names like Description - English but that's all there is in today's SMW to support wikis used by multilingual communities -- while perfectly legal its stupidly mechanical to define properties this way. How do people feel about any value for a type:text property, say /Property:Description/, can be annotated with its language such as (1) [[Description@es::spanish-text]] (2) {{#set:Description@es=spanish-text}} (3) {{#ask: [[Description@es::+]] |?Description@en =english-label|?Description@es=spanish-label}} (4) any others? Properties of type:code would not have this capacity of course. And this way, RDF exports -- which from the note below have ongoing importance? -- can properly indicate the language of a text-string. How diffiucult a change is this? I don't see it having any worrisome perfomance problem at all, and it would be immensely useful for multi-lingual communities. Thanks/john On 11/19/2013 2:03 PM, Yaron Koren wrote: Hi John, I just wanted to respond to one part: Surely you're aware the community so highly esteems your contributions to OWL specifications, that it has a directly consequent, unflinching justifiable belief that SMW is a /faithful RDF implementation/. I don't believe this is true. To recap, what you're saying is: (a) most users of SMW care about RDF and the like, (b
[SMW-devel] Videos and slides for the first SMWCon day
Hi everyone! The first day of the conference is online! You can watch the videos and slides for every one of the talks. I think that was a great day and every talk was fantastic. We had talks about science, talks about business, talks about big data and talks about small companies. There was three presentations about Wikidata - it's great to see how fast they're growing. You can either use this playlist on youtube: ... or you can click on the links to the videos in conference website: http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/Conference_days I especially recommend you to watch the following talks: 1) If you'reconcerned about big amounts of data - Blue Brain talk is for you. They manage metadata about neurons and describe challenges they've faced. Besides Martin is an awesome speaker: http://youtu.be/BLcIJTXJxes 2) If you're thinking about using SMW in your business, have a look and these two: http://youtu.be/--MlUTB0g6M and http://www.youtube.com/watch?v=dP8SwTh9itI . 3) If you want to use SMW in your large company as knowledgebase you will find MITRE talk very interesting: http://youtu.be/--MlUTB0g6M - Yury Katkov, WikiVote -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] ajax=true - thinking about new global parameter for all Result Formats
Hi everyone! I think that it would be cool to have the following three parameters for #ask-queries: |ajax=true #if true, than results are retriewed with ajax |update button=true #if true, the update button appears so that user can update only the results of the query |update time=30 #the query will update its results with ajax every 30 seconds Now one of the common issue for many use cases of SMW is that it's not responsive enough. I mean the caching. The situation can be somewhat improved with NOCACHE extension but the system performance is growing dramatically. With these three options we would have very flexible system since every query can be updated every several seconds, or completely on demand. Two questions: 1) I think that a lot of parties will be interested in that feature and we can try some groupfunding. Do you also think so? 2) could such feature be implemented in SMW core, that is: for all result formats? Or must we add these parameters to every result format separately? - Yury Katkov, WikiVote -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats
That wasn't very technical :-) Not every format supports this functionality and this is also not going to happen. I'd say, that's managerial point of view AKA I decline this functionality with no explanation, like here: [1]. Come on, Jeroen, you can do better than that! Forcing them to do is makes little sense And this is problem domain/application point of view, which only reflect your experience. In some of our applications wiki supports some offline process and there it's crucial to have thi kind of 'update' button in every query including broadtable, ul, ol, filtered and maps. And yes, people there don't know anything about wikis. I can imagine similar problem in case of BPM (Alexander Gesinn) and enterprise architecture - well anywhere where you need the information to update quickly. I bet they's now using NOCACHE or struggling to explain their users why their results doesn't appear instantly. [1] http://comments.gmane.org/gmane.science.linguistics.wikipedia.technical/64153 , scroll to Tim Starling - Yury Katkov, WikiVote On Mon, Nov 18, 2013 at 12:10 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, 2) could such feature be implemented in SMW core, that is: for all result formats? Or must we add these parameters to every result format separately? I'll answer this question from the technical side. Not every format supports this functionality and this is also not going to happen. (Forcing them to do is makes little sense.) Thus having a global parameter that does not work for a lot of the result formats is rather awkward. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] ajax=true - thinking about new global parameter for all Result Formats
Sorry if it have looked like an attack or if I've offended you, Jeroen, I have to mind my tongue and emotions. So, what do you think about this feature from purely technical point of view? How hard is that? How much would it change the artictecture if implemented? - Yury Katkov, WikiVote On Mon, Nov 18, 2013 at 12:30 AM, Yury Katkov katkov.ju...@gmail.com wrote: That wasn't very technical :-) Not every format supports this functionality and this is also not going to happen. I'd say, that's managerial point of view AKA I decline this functionality with no explanation, like here: [1]. Come on, Jeroen, you can do better than that! Forcing them to do is makes little sense And this is problem domain/application point of view, which only reflect your experience. In some of our applications wiki supports some offline process and there it's crucial to have thi kind of 'update' button in every query including broadtable, ul, ol, filtered and maps. And yes, people there don't know anything about wikis. I can imagine similar problem in case of BPM (Alexander Gesinn) and enterprise architecture - well anywhere where you need the information to update quickly. I bet they's now using NOCACHE or struggling to explain their users why their results doesn't appear instantly. [1] http://comments.gmane.org/gmane.science.linguistics.wikipedia.technical/64153 , scroll to Tim Starling - Yury Katkov, WikiVote On Mon, Nov 18, 2013 at 12:10 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, 2) could such feature be implemented in SMW core, that is: for all result formats? Or must we add these parameters to every result format separately? I'll answer this question from the technical side. Not every format supports this functionality and this is also not going to happen. (Forcing them to do is makes little sense.) Thus having a global parameter that does not work for a lot of the result formats is rather awkward. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Ask 1.0 released!
Hi Jeroen! Good stuff! Hopefully writing result formats will become even easier and more pleasant task! What do you think to do with growong number of dependencies of SMW? It seems that by SMW 1.11 we're going to need to install Validator, DataValues, Ask and maybe something else in order to install SMW. Of course, there is a Composer but I'm pretty sure that there's not much people using it. Maybe we should pack SMW tarball with these extensions? - Yury Katkov, WikiVote On Mon, Nov 18, 2013 at 4:10 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey John, Any discussion which version of smw is expected to have this common library There is no discussion about this, as quite some work needs to happen before we can use Ask in SMW. All I can provide is a guess for the first release in which SMW might realistically be using this library, which is SMW 1.11. That is all assuming we manage to stick to our release roadmap this time. I assume it's the same syntax as before, minus subobjects? This library is a set of entities that represent data and contain some business logic. It does not define syntax. When SMW adopts this library, it can retain its current wikitext parsing and formatting code. Though I hope this code will have been rewritten by that point (without functional changes), as it is very much legacy code as well. A library build on top of this new one provides the serialization and deserialization code for the Ask language that will be used by the Wikidata project. This could be used in SMWs web API instead, or as addition to, the wikitext serialization of Ask. A release announcement of this will follow hopefully soon. https://github.com/wmde/AskSerialization Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] making result format compatible with more versions of SMW
Hi Jeroen! I've seen that in the last version of Validator a lot of stuff have been refactored. The sideeffect of that is that I don't know how result format can be compatible with both versions of Validator. Can you provide any recipe for that? - Yury Katkov, WikiVote -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] OWA problem?
2Niklas: Open World Assumption. Just some philoshophical mumbo-jumbo from the Semantic Web era. :D Seriously though, what are the alternatives, John? Set the property types to Undefined? - Yury Katkov, WikiVote On Sun, Nov 10, 2013 at 1:43 PM, Niklas Laxström niklas.laxst...@gmail.com wrote: What is OWA? -Niklas -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] A list of suggested developments for undergrads to try?
Ah, I see now! Jeroen, I though you're interested in such things - if load testing can be reproduced we can use it to precisely measure the effect of optimization. Can you recommend Steve the tools you prefer? I actually have created a document for that on our website: http://semantic-mediawiki.org/wiki/Load_testing_for_SMW . However I'm not very qualified and I'm pretty sure that people like Nischay, Markus, Yaron, Jeroen, James can formulate everying much better that I. - Yury Katkov, WikiVote On Thu, Nov 7, 2013 at 8:28 PM, Chenoweth, Stephen V cheno...@rose-hulman.edu wrote: Yury, Yes indeed, and thanks for the idea. I was thinking that any tool my students created to do the load testing should be reusable, if possible. Steve Chenoweth Assoc Prof, CSSE RHIT -Original Message- From: ganqtur...@gmail.com [mailto:ganqtur...@gmail.com] On Behalf Of Yury Katkov Sent: Thursday, November 07, 2013 11:22 AM To: Chenoweth, Stephen V Cc: Jeroen De Dauw; James HK; Semantic MediaWiki developers Subject: Re: [SMW-devel] A list of suggested developments for undergrads to try? Sorry, Steve, I've completely lost your point. :) Are you in favor of giving this load testing task to your students? - Yury Katkov, WikiVote On Thu, Nov 7, 2013 at 5:16 PM, Chenoweth, Stephen V cheno...@rose-hulman.edu wrote: Yury, Thanks - I am picturing that my students would create a test harness to generate the activity for load testing of SMW. This sounds like a project which also could end up with some generally usable code, if done right. E.g., the ability to point to a file of typical activity someone wants to use for their own wiki. My students are just ending the term before when they would begin working on this and the other idea recommended. It's a perfect time to get them to volunteer to take this on as a project for next term's design class. Steve Chenoweth Assoc Prof, CSSE RHIT -Original Message- From: ganqtur...@gmail.com [mailto:ganqtur...@gmail.com] On Behalf Of Yury Katkov Sent: Wednesday, November 06, 2013 2:05 PM To: Chenoweth, Stephen V Cc: Jeroen De Dauw; James HK; Semantic MediaWiki developers Subject: Re: [SMW-devel] A list of suggested developments for undergrads to try? Hi! Another thing is load testing to know the limitations of the platform. As far as I know there is no public study about SMW capacity. And it's a great topic for students: you have to do load testing in real job quite often. I also think that we will have a lot of mentor for this task that will help to define testing factors/measures. - Yury Katkov, WikiVote On Wed, Nov 6, 2013 at 9:31 PM, Chenoweth, Stephen V cheno...@rose-hulman.edu wrote: Jeroen, Thank you very much! This sounds like a well-defined target for my students. I agree that they might finish it sooner rather than later, so I appreciate that it could lead to additional work. I'll run this past my class, and will let you know if there are immediate questions, etc. Thanks again, Steve Chenoweth Assoc Prof, CSSE RHIT From: Jeroen De Dauw [mailto:jeroended...@gmail.com] Sent: Wednesday, November 06, 2013 12:17 PM To: James HK Cc: Neill Mitchell; Chenoweth, Stephen V; Semantic MediaWiki developers Subject: Re: [SMW-devel] A list of suggested developments for undergrads to try? Hey, With regards to the objective to engage in OO and design pattern development, Semantic Results Formats does have several design issues (misuse of inheritance, violation of SRP etc.) which are rather counter-productive to the stated objective. I second this. SRF is not suited to learn students how to something well. The same holds for MediaWiki and SMW. We are working on removing the later from the list, though it is not there yet. So, do you have specific ideas that come to mind? How about creating a fresh implementation of our wikitext ask query parser? This would be fairly self contained and can be done without touching the existing implementation in SMW core. When its ready it could then be used to replace the existing implementation, though this step would likely be out of scope. This can be developed without knowledge of MW or SMW (expect Ask queries), and requires neither to be installed. Implementation would start from scratch, though one can look at the existing one in SMW. The people doing this can thus experiment with several designs, do not have to bother with unrelated code, and work on top of well designed code, rather then the typical example of legacy code. The role of this parser would be to turn an ask query definition in wikitext into the corresponding PHP object definition. The input would thus be something like [0] into a Query [1] object. This is something that needs to happen at some point before we can implement related new functionality. So it'd be very helpful if this item was tackled
Re: [SMW-devel] SMW Seattle meetup group formed
Good one! John are you aware of SMW users in Seattle? I'm thinking of creating the group in Moscow but I know personally only 3-4 people who use it. - Yury Katkov, WikiVote On Wed, Nov 6, 2013 at 3:44 AM, John McClure jmccl...@hypergrove.com wrote: Hello, here in Seattle USA I have started http://www.meetup.com/Semantic-MediaWiki Since I dilly-dallied, Meetup.com sent me a 50% coupon. Try it in your town! cheers/jmc On 10/31/2013 5:31 AM, Samuel Lampa wrote: Dear all, Thanks for a super-great SMWCon! It provided lots of inspiration to continue pursuing and promoting SMW for fun and profit, but foremost, it was great to meet all of you in person again (and some for the first time)! :) As you might have heard at the very end of the last day, the first SMW meetup.com group was formed during the conf as well, so I just wanted to invite any Swedes (or Swede-wannabes) to come and join the group: http://meetup.com/smwsthlm (And surely, there will soon be local meetup groups in many more cities :) ) We'll try to make a wider announcement in other channels as well later, but it would be nice to have at least a few SMW:ers in the group to start with, so as not to scare off newcomers :) Cheers // Samuel -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Wikidata shows the way (with link)
Not found it seems - Yury Katkov, WikiVote On Thu, Nov 7, 2013 at 4:12 AM, John McClure jmccl...@hypergrove.com wrote: Hi - outreach to the enterprise community tell about SMW Wikidata DBpedia this article contains deserved praise Hope y'all 'like' it! [1] mike2.openmethodology.org/blogs/information-development/?p=4560 -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Streaming of the confernce
Hi everyone! Those of you who couldn't attend SMWCon in the flesh have the oportunity to enjoy the streaming of the conference! Here is the link, tell me if anything goes wrong: https://webconf.vc.dfn.de/smwcon2013-1/ - Yury Katkov, Program Chair -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135991iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] The future of the SMW query stores
I suppose that Mongo have been chosen because of its scalability, right? - Yury Katkov, WikiVote On Wed, Oct 16, 2013 at 5:20 AM, david mason vid_semediawiki-de...@zooid.org wrote: May I suggest that ElasticSearch is considered instead of MongoDB. ElasticSearch is the index engine of the new MediaWiki Search, so end users won't need to set up and support multiple data stores. Like MongoDB it is a document store that natively uses JSON, and is really easy to set up and run (a .deb is available). It's super easy to work with and since it's based on Lucene incredibly powerful for many operations. I've used both Mongo and ES and definitely prefer the latter. They each have their strengths, MongoDB is more of a key value store, ES is more of a search server (though I'd assert it could do the KV stuff adding very useful search operations and no additional infrastructure if using MW search), in either case this seems like it would be a big win in terms of better structured, more accessible data! David On 15 October 2013 20:08, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, The last release introduced SQLStore3, a partial rewrite of SQLStore2, improving on the performance of its predecessor. That is not the end of the story for the SMW query stores though. This email was prompted by work MWJames is doing in supporting MongoDB \o/ https://gerrit.wikimedia.org/r/#/c/88534/ For a while now, there have been two items on our Roadmap about utilizing new libraries I created for the Wikidata project, that are both based on, and usable by, SMW components. * https://semantic-mediawiki.org/wiki/Roadmap#Make_use_of_DataValues_library * https://semantic-mediawiki.org/wiki/Roadmap#Make_use_of_Ask_library There now is a third such component, which might enable us to get a nice improvement to our SQLStore without all to much effort. I described this here: https://semantic-mediawiki.org/wiki/Wikibase_QueryEngine This is still quite far off, assuming no one else jumps on it, given that it requires the earlier two items to be finished first. Feedback on the idea is however welcome. And awareness of these preliminary plans, or rather possibilities (I'm not committed to doing this at this point), is good for those doing or planning to do something related to the SMW storage infrastructure. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] how to know the validation option for the parameters in SMWResultPrinter::getParamDefinitions( )?
Hi Jeroen! Can you recommend any result formats that use Validator in the right and intense way? - Yury Katkov, WikiVote On Sat, Oct 12, 2013 at 4:56 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey Yury, This is unfortunately not properly documented, and as with a lot of MW code, the answer is, at least for now, look at the source. This is certainly not a good answer and something that should be addressed. Rather then answering in detail here, I'll be adding documentation incrementally to the README file of Validator with the aim of having the basics covered there by the time of its 1.0 release, which will be shortly before the SMW 1.9 one. The README can be seen here: https://github.com/wikimedia/mediawiki-extensions-Validator/blob/master/README.md Some quick replies: What values can I use for the values of the key 'default'? Anything. This is self defined. Where did these words 'message', 'values', 'default', 'aliases' come from? This is the definition format in array form as defined by Validator. Are there any other interesting words to use (for example 'mandatory' would be nice or 'type')? There is a type field. A param is mandatory if it does not have a default. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] how to know the validation option for the parameters in SMWResultPrinter::getParamDefinitions( )?
During the debugging I saw a lot of interesting fields in SMWParamFormat: * toLower * trimValue * applyManipulationsToDefault * dependencies * default * validationFunction * type I'm particularly interested in how to use validationFunction: can I assign my validation callback like that? I tried but nothing have happened. public function getParamDefinitions( array $definitions ) { $params = parent::getParamDefinitions( $definitions ); $params['do awesome'] = array( validationFunction = MyClass::isDoAwesomeValid ); } It seems that I can do the following for the same effect, is that the only way? public function getParamDefinitions( array $definitions ) { $startpr = array( 'name' = 'do awesome', 'message' = 'srf_paramdesc_doawesome', 'default' = '', ); $params['do awesome']= ParamDefinitionFactory::singleton()-newDefinitionFromArray( $startpr ); $params['do awesome']-setValidationCallback(ChapTimeline::isDoAwesomeValid); } - Yury Katkov, WikiVote On Wed, Oct 16, 2013 at 4:19 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Jeroen! Can you recommend any result formats that use Validator in the right and intense way? - Yury Katkov, WikiVote On Sat, Oct 12, 2013 at 4:56 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey Yury, This is unfortunately not properly documented, and as with a lot of MW code, the answer is, at least for now, look at the source. This is certainly not a good answer and something that should be addressed. Rather then answering in detail here, I'll be adding documentation incrementally to the README file of Validator with the aim of having the basics covered there by the time of its 1.0 release, which will be shortly before the SMW 1.9 one. The README can be seen here: https://github.com/wikimedia/mediawiki-extensions-Validator/blob/master/README.md Some quick replies: What values can I use for the values of the key 'default'? Anything. This is self defined. Where did these words 'message', 'values', 'default', 'aliases' come from? This is the definition format in array form as defined by Validator. Are there any other interesting words to use (for example 'mandatory' would be nice or 'type')? There is a type field. A param is mandatory if it does not have a default. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 -- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60135031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] how to know the validation option for the parameters in SMWResultPrinter::getParamDefinitions( )?
Hey guys, especially Validator lovers and especially Jeroen! If I understand correctly we can now use this beautiful function SMWResultPrinter::getParamDefinitions in our result printers to validate if all the parameters of {{#ask}} function is ok. Typically the text of overrided getParamDefinitions function looks like that: public function getParamDefinitions( array $definitions ) { $params = parent::getParamDefinitions( $definitions ); $definitions['limit']-setDefault( $GLOBALS['smwgQMaxInlineLimit'] ); $definitions['link']-setDefault( 'none' ); $definitions['headers']-setDefault( 'hide' ); ### new params: ### $params['titles'] = array( 'message' = 'srf_paramdesc_pagetitle', 'values' = array( 'show', 'hide' ), 'aliases' = array( 'pagetitle', 'pagetitles' ), 'default' = 'show', ); $params['hidegaps'] = array( 'message' = 'srf_paramdesc_hidegaps', 'values' = array( 'none', 'all', 'property', 'record' ), 'default' = 'none', 'manipulatedefault' = false, ); } It looks like magic for me but I feel that these are very powerful spells. Where did these words 'message', 'values', 'default', 'aliases' come from? What values can I use for the values of the key 'default'? Are there any other interesting words to use (for example 'mandatory' would be nice or 'type')? Is there any documentation on that anywhere? Cheers, - Yury Katkov, WikiVote -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMWCon Fall 2013 - the program is published, the conference is sold out!
Hi everyone! First of all, here is the program: http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/Tutorial_day http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/Conference_days We expected 40-50 people to come to the conference and got 85! There is no tickets left. If you're not lucky this year and won't be able to participate in the conference, feel free to ask questions to the speakers right now and wait for the streaming and recording! We will publish the link to an online streaming several days before the event so that you'll be able to watch the conference from your homes. I'm sure that right now our presenters are preparing for their talks. If you got interested in some particular topic and you want the speaker to highlight some specific details about it - you have the unique chance to ask the speaker before the presentation begin! To do that, go to the discussion page of the talk and ask your questions. Finally here are some talks that I've found most exiting: - http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/Semantic_MediaWiki_and_Neuroscience_Data_-_A_Blue_Brain_Perspectiv Martin Telefont will give a talk about using SMW for BlueBrain project. It's actually very famous project in which they model the neo-cortex of the human brain all the way down to the molecular level. Martin will talk about how they're trying to apply crowdsourcing principles and SMW-based tools. -- http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013/DBpedia_Mappings_wiki Anja will talk about DBpedia - the biggest knowledgebase in Linked Data. DBpedia itself is awesome and is used for linguistic, open government and recearch, but Anja will concentrate on the Mappings.Dbpedia - a tool for adjusting DBpedia parsers. You can visit mappings.dbpedia.org and have a look at the tool itself. -- http://goo.gl/kMaE7d , http://goo.gl/Js2yWB, http://goo.gl/Q86KSL SmartCore, OWL Wiki Forms, Automatic Semantic Forms and PageSchemas are the tools that generate the structure of your wiki and help you to forget the syntax of Templates and Forms! During the tutorial day and the conference Yaron, Michael, Erwin and Lloyd will show you these tools in action. -- We have a lot more scientific, business-oriented and technical talks. I'm sure that it's going to be the best SMWCon ever! See you in Berlin! - Yury Katkov, Program Chair -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [MediaWiki-l] Mediawiki virtual file system. Call for feedback.
I like MediaWiki IDE part in your proposal but I think that you have to rather concentrate on different features: * Improving the existing syntax highlighting schemas for MediaWiki markup. I saw that several editors have highlighting but it's incomplete * Indentation. This is probably insolvable problem but without indentation the templates look horrible * Autocompletion * Autocompletion of parser function parameters, * Autocompletion of template parameters, * Autocompletion of page names, template names, category names, {{MAGIC WORDS}}, __OTHER MAGIC WORDS__ : there is a lot of stuff to autocomplete! * Renaming and replacing. Presently I use MassEditRegex extension but it's a minimum! It can't even undo its changes! * Brace detection. Something to ease this nightmare with single and double brackets, double braces and triple braces. - Yury Katkov, WikiVote On Fri, Sep 20, 2013 at 11:53 PM, Alexey Klimovich god.vedm...@gmail.com wrote: Hi, everyone! I want to call for community feedback about my idea: Problem === When gearing up site based on Mediawiki, especially, with Semantic Mediawiki and Semantic Forms extensions installed, we encounter with need of Mediawiki customization for project-specified requirements. This includes two main steps: 1). Create wiki structure with pages, categories, templates, forms, etc. 2). Install configure mediawiki extensions and possibly write new ones for site customization. There is a problem. Crating process of Mediawiki based site is inconsistent! One things we should do in IDE, another things - on site. Jumping from one window to another. Idea === Now, lets imagine: what if we can work with Mediawiki pages as if they be normal text files in our system? We gain advantages: - Edit wiki pages in favorite text editor (like SublimeText, Vim, etc.) - Edit wiki pages right in your favorite IDE, near Mediawiki php files. And even more in future: - Zip or copy wiki pages to computer. Edit offline. Upload changes later. - Use any native program to work with pages like files: searchreplace, syntax highlight, auto-complete in IDE, etc. Solution My offer is to create tool which will mount Mediawiki pages as files in local virtual drive. Virtual file system. MediawikiFS. Summary I have already coded very early working prototype (only for Windows yet). You can test it here: http://mediawikifs.com You can read more information and support my idea and proposal at: http://meta.wikimedia.org/wiki/Grants:IEG/MediawikiFS Feel free to ask questions and features if interested! ___ MediaWiki-l mailing list mediawik...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMWCon Fall 2013: 2nd Call for Contributions. Registration.
Dear semantic wiki users and developers, We are very happy to announce that early bird registration to the 8th Semantic MediaWiki Conference is now open [2]! Important facts reminder: -- * Dates: October 28th to October 30th 2013 (Monday to Wednesday) * Location: AO Berlin Hauptbahnhof, Lehrter Str. 12, 10557 Berlin, Germany * Conference wiki page: https://semantic-mediawiki.org/wiki/SMWCon_Fall_2013 * Participants: Everybody interested in semantic wikis, especially in Semantic MediaWiki, e.g. users, developers, consultants, business representatives and researchers. We welcome new contributions from you: -- * We encourage contributions about applications and development of semantic wikis; for a list of topics, see [1] * Please propose regular talks, posters or super-short lightning talks on the conference website. We will provide feedback to you and do our best to consider your proposal in the conference program * Tutorials and presentations will be video and audio recorded and made available for others after the conference. * If you've already announced your talk it's now time to expand its description News on participation, tutorials and keynote: -- * You can now officially register for the conference [2] and benefit from early bird fees until September 14, 2013 * The tutorial program has been announced and available [3]. This year we have two tutorial tracks: ** The beginner's tutorials are focused on business applications of semantic wikis ** The developer's tutorials will help you to become Semantic MediaWiki programmer: contributing to core and and writing extensions for your specific needs * Professor Yolanda Gil from the University of Southern California [4] will give a keynote on scientific data curation Organizers and sponsors -- * Wikimedia Deutschland e. V. [5] has become the official organiser of SMWCon Fall 2013 * Thanks to our sponsors WikiVote [6] (platinum) and ArchiXL [7] (gold) fees for this SMWCon remain low If you have questions you can contact Yury Katkov (Program Chair), Benedikt Kämpgen (General Chair) or Karsten Hoffmeyer (Local Chair) per e-mail (Cc). We will be happy to see you in Berlin! Yury Katkov, Program Chair [1] http://semantic-mediawiki.org/wiki/SMWCon Fall 2013/Announcement [2] http://de.amiando.com/PVADAOV.html [3] http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013#Program [4] http://www.isi.edu/~gil/ [5] https://www.wikimedia.de/wiki/Hauptseite [6] http://wikivote.ru/ [7] http://www.archixl.nl/ -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Status of faceted search for SMW
Hi guys! Year after year I listen and read about various teams working on their implementations of filtered/faceted search for Semantic MediaWiki. Does anyone has the results that don't require patching the core? Something like that maybe? http://i.imgur.com/pwNmMiq.png Cheers! - Yury Katkov, WikiVote -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Status of faceted search for SMW
Hi Yaron! My basic requirement for faceted search is that it must be a faceted search, that is: 1) It must include good full-text search engine. Ideally with morphology support. Super ideally - with some fancy things like search query analysis and adaptive algorithms. 2) It must include filters (facets) that works together with good full-text search engine. it seems that Drilldown, Miga and filtered don't have (1). I'm trying SolrSearch now. - Yury Katkov, WikiVote On Fri, Aug 16, 2013 at 4:56 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, There are, of course, a number of existing faceted search solutions that don't require any patches: - The Semantic Drilldown extension - The Special:RunQuery page of Semantic Forms - The filtered result format in Semantic Result Formats (I'm assuming it still works, though I don't know) - The SolrStore extension (again, I assume it works) - Miga (http://migadv.com) - not a MediaWiki extension, but can be used to provide a faceted search interface for SMW data My guess is that you have some specific interface requirement, like that it should look like Exhibit, but I don't know. -Yaron On Fri, Aug 16, 2013 at 2:11 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi guys! Year after year I listen and read about various teams working on their implementations of filtered/faceted search for Semantic MediaWiki. Does anyone has the results that don't require patching the core? Something like that maybe? http://i.imgur.com/pwNmMiq.png Cheers! - Yury Katkov, WikiVote -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Status of faceted search for SMW
hmmm? Is it likely to meet (2) requirement? 2) It must include filters (facets) that works together with good full-text search engine. - Yury Katkov, WikiVote On Fri, Aug 16, 2013 at 5:37 PM, David H. Mason vid_semediawiki-de...@zooid.org wrote: You may want to wait until WMF selects a search solution: http://www.mediawiki.org/wiki/Search That way people won't have to set up Solr whatever else is selected, if it's not Solr. (I'm hoping for ElasticSearch, which is also based on Lucene and is currently a little easier to manage, though they're both quite simple these days). The addition of decent search for MW/SMW will be very much welcome, as would interactive faceted search. I would be able to help with front end (Javascript) work on this. I've already written custom facetted search for MW using Solr. But ideally it will work with existing Semantic Result Formats without hacks. David On Fri, Aug 16, 2013 at 05:26:30PM +0400, Yury Katkov wrote: Hi Yaron! My basic requirement for faceted search is that it must be a faceted search, that is: 1) It must include good full-text search engine. Ideally with morphology support. Super ideally - with some fancy things like search query analysis and adaptive algorithms. 2) It must include filters (facets) that works together with good full-text search engine. it seems that Drilldown, Miga and filtered don't have (1). I'm trying SolrSearch now. - Yury Katkov, WikiVote On Fri, Aug 16, 2013 at 4:56 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, There are, of course, a number of existing faceted search solutions that don't require any patches: - The Semantic Drilldown extension - The Special:RunQuery page of Semantic Forms - The filtered result format in Semantic Result Formats (I'm assuming it still works, though I don't know) - The SolrStore extension (again, I assume it works) - Miga (http://migadv.com) - not a MediaWiki extension, but can be used to provide a faceted search interface for SMW data My guess is that you have some specific interface requirement, like that it should look like Exhibit, but I don't know. -Yaron On Fri, Aug 16, 2013 at 2:11 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi guys! Year after year I listen and read about various teams working on their implementations of filtered/faceted search for Semantic MediaWiki. Does anyone has the results that don't require patching the core? Something like that maybe? http://i.imgur.com/pwNmMiq.png Cheers! - Yury Katkov, WikiVote -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Advanced tutorials on SMWCon - we need an experienced people
Hi guys! SMWCon is approaching and as always we will have a tutorial day. Since we have two rooms available I propose to do a separate track of tutorials for advanced users. Possible advanced topics can include: MediaWiki and SMW extension development Triple stores and SMW Debugging and writing good bugreports Tricks with templates, forms and Lua Using (and maybe ever writing) bots and data importing extensions in conjunction with SMW Using rules Using external services for enriching the data inside the wiki I'm pretty sure that there are a lot of people reading this list that have an expertise in some of these areas and are eager to listen about other topics. If you want to give a tutorial or have an ideas on how to improve the advanced tracks, please don't hesitate to add yourself as a presenter on the conference wikipage: http://semantic-mediawiki.org/wiki/SMWCon_Fall_2013 - Yury Katkov, WikiVote -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMWCon Fall 2013 - Call for Tutorials
Hello to all semantic wiki gurus! SMWCon Fall 2013 is coming and we’re now preparing the tutorials. If you are an experienced user of SMW or another semantic wiki software and have good presentation skills you can apply for giving a tutorial. We roughly divide the tutorials into two basic groups: basic and advanced. Basic tutorials are designed for newbies in semantic wikis and those who want to organize their knowledge in a systematic fashion. Here are the possible topics for them (each of these topics may also include hands-on session): * Intro to MediaWiki * Intro to SMW+SRF * Intro to SF * Intro to Page Schemas * Intro to M+SM * Adding and querying information from Wikidata * Intro to some other semantic wiki (??) Advanced tutorials are for experienced users and are concentrated on new features, tuning up and best practices. We’ve come up with the following ideas of such tutorials but you are free to extend this list: * Programming extensions for MW (+hands-on) * Programming SMW core (+hands-on) * Programming extensions for SMW (+hands-on) * Making money from SMW: intro into consulting business * Importing and exporting data. Using bots with SMW (+hands-on?) * Giving and getting support - how to debug and write good bugreports * Using triple stores and SMW * Using Wikidata extensions in the enterprise == How to become a tutorial presenter? == Just create the page for your proposed tutorial in our conference wikipage and describe in the details (provide the presentation or write 7-10 paragraphs of text) the topic you want to cover. Since the tutorials must be of a guaranteed high quality we will peer-review your submission and will contact you afterwards. == Additional requirements for the tutorials == The tutorial is different from the regular talk and require much more responsibility from the presenter. Because of that we recommend to: * Use only freely available tools (open source or freeware). * Allowed time for the tutorials is approximately 1 hour. * if you plan a hands-on session, please describe it in details. The time for hands-on can be up to 2,5 hours. == Deadlines == * You should finish your abstract (5-6 paragraphs of text) by the 1st of August. * Post your abstract to semantic-mediawiki.org using Template:Talk * The full tutorial description will be required until 30th of September. * We will surely contact you several time to discuss the details and help preparing Cheers, Yury Katkov, WikiVote!, Program Chair -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMWCon poster for university billboards
Hi everyone! If you're hanging out somewhere near one of the European university (preferrably German ) we have an easy way to promote SMW and SMWCon: this beautiful poster (3Mb): http://semantic-mediawiki.org/w/images/8/85/SMWCon_Fall_2013_poster.png 1) Print it 2) Go to the nearest university 3) Find a billboard 4) Pin it there 5*) You can pin it in your company as well! 6) Take a photo of it and share it with us on Facebook so that we could all be proud with you ;-) If you want to make the poster better, here is its SVG version: http://semantic-mediawiki.org/w/images/6/68/SMWCon_Fall_2013_poster_source.svg Cheers, Yury Katkov, WikiVote, Program Chair -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Semantic Extra Property Types?
well it's an old problem of ours: in enterprise wikis you always have such strings. I consider it a new type because of special way of sorting. For example the consider the identifiers of some objects in a government database: 1A-1, 2A-1, 3A-1, ... , 10A-1, 11A-1 If you store them in a string they will be sorted like this 1A-1, 10A-1, 2A-1, 3A-1, ... , 11A-1 The workaround solution looks too ugly for me: it's storing all the parts of my identifier in a different properties like: [[ID first number::10]][[ID letter::A]][[ID second number::1]] This way we won't be able to show the whole ID in a standard result formats (like broadtable) as a one whole entity and should constantly rely on a format=template. Other than sorting this type should work as a simple string. - Yury Katkov, WikiVote On Tue, Jul 16, 2013 at 5:07 PM, Leonard Wallentin leo_wallen...@hotmail.com wrote: Can you elaborate a bit on the number-string thing; How would you want it to work? /Leo ___ Leonard Wallentin leo_wallen...@hotmail.com @leo_wallentin +46 (0) 735 - 933 543 From: katkov.ju...@gmail.com Date: Tue, 16 Jul 2013 07:25:21 +0400 Subject: Re: [SMW-devel] Semantic Extra Property Types? To: leo_wallen...@hotmail.com CC: semediawiki-devel@lists.sourceforge.net Hi Leo! The duration would be good. I usually need the hybrid number-string type with complex sorting for values like 2-5 years or 2A-4/323 - Yury Katkov, WikiVote On Mon, Jul 15, 2013 at 9:50 PM, Leonard Wallentin leo_wallen...@hotmail.com wrote: Hello, we already have extensions like Semantic Result Formats, Semantic Forms Input and Semantic Extra Special Properties to gather useful but less common formats. Would it make sense to create a similar collection of extra types (possibly moving less used existing ones, like temperature, from SMW core to the extension)? Are there some types that are commonly requested? As for me, I'm missing duration (like [[Cooking time::1h]] or [[Personal best::01:09.48]]). I realize that localization will be difficult for that one, but at least ISO 8601 (PT6M4S) and a few commonly occuring formats (08:42.00, 8時42分, 8 h 42 min, etc) might be possible to implement. Are there other possible types that are missing out there (that someone actually needs)? /Leo ___ Leonard Wallentin leo_wallen...@hotmail.com @leo_wallentin +46 (0) 735 - 933 543 -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Semantic Extra Property Types?
Hi Leo! The duration would be good. I usually need the hybrid number-string type with complex sorting for values like 2-5 years or 2A-4/323 - Yury Katkov, WikiVote On Mon, Jul 15, 2013 at 9:50 PM, Leonard Wallentin leo_wallen...@hotmail.com wrote: Hello, we already have extensions like Semantic Result Formats, Semantic Forms Input and Semantic Extra Special Properties to gather useful but less common formats. Would it make sense to create a similar collection of extra *types* (possibly moving less used existing ones, like temperature, from SMW core to the extension)? Are there some types that are commonly requested? As for me, I'm missing duration (like [[Cooking time::1h]] or [[Personal best::01:09.48]]). I realize that localization will be difficult for that one, but at least ISO 8601 (PT6M4S) and a few commonly occuring formats (08:42.00, 8時42分, 8 h 42 min, etc) might be possible to implement. Are there other possible types that are missing out there (that someone actually needs)? /Leo ___ Leonard Wallentin leo_wallen...@hotmail.com @leo_wallentin +46 (0) 735 - 933 543 -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] parse SMW-properties inside tag function
Hi everyone! So I have the following string: [[propname::foo]],[[propname2::bar]]] I want to turn it into HTML a tags. I'm now sitting inside parser hook and struggling with recursiveTagParse() and parse() functions but without an efect: ... $parser-setHook( 'backlinktags', 'WikivoteBacklinkTags::addGetParameters' ); ... static public function addGetParameters($input, array $args, Parser $parser, PPFrame $frame) { $str = [[propname::foo]],[[propname2::bar]]]; $output = recursiveTagParse($str, $frame); // $output=, and that's bad } Any ideas on how to parse my string into html? - Yury Katkov, WikiVote -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] parse SMW-properties inside tag function
I figured it out myself. For correct work, parse() should be used. If you want to use your tag in templates, don't forget to add replaceVariables: static public function addGetParameters($input, array $args, Parser $parser, PPFrame $frame) { if (!isset($args['property'])) return $input; $input = $parser-replaceVariables($input,$frame); $parser1 = new Parser(); /** * @var ParserOutput */ $output = $parser1-parse($input, $frame-getTitle(), $parser-getOptions(), true, true, null); // the rest is the logic of my extension - Yury Katkov, WikiVote On Mon, Jul 1, 2013 at 10:49 AM, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! So I have the following string: [[propname::foo]],[[propname2::bar]]] I want to turn it into HTML a tags. I'm now sitting inside parser hook and struggling with recursiveTagParse() and parse() functions but without an efect: ... $parser-setHook( 'backlinktags', 'WikivoteBacklinkTags::addGetParameters' ); ... static public function addGetParameters($input, array $args, Parser $parser, PPFrame $frame) { $str = [[propname::foo]],[[propname2::bar]]]; $output = recursiveTagParse($str, $frame); // $output=, and that's bad } Any ideas on how to parse my string into html? - Yury Katkov, WikiVote -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Using SMW queries to find information about the wiki
Welcome to our s13n club, Mark! Making something non-semantic available for SMW queries is what it all about. There is a way today to program that, like it's done in [1] - maybe that can help. Some time ago I've described the problem here: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification There is no elegant solution to it yet and the issue is not pressing enough for wiki-companies, so no one have yet funded the development in this way. Maybe you can? ;-) [1] http://www.mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties - Yury Katkov, WikiVote On Thu, Jun 27, 2013 at 11:33 PM, Mark A. Hershberger m...@everybody.org wrote: I'm helping Mozilla with their wiki and they have the following request: https://bugzilla.mozilla.org/show_bug.cgi?id=887939 Create widgets: X Most Popular in Last Y Days and Last X Edits Since they're using SMW, I thought there might be a way to query for the recent edits or page counters. No one in #semantic-mediawiki seemed to know of a way to do this, though. I poked through the SMW extensions, but nothing jumped out at me. So, my next thought is to make the page counter and recent edit list available for SMW queries. Any pointers on how to do that? That said, maybe I'm just completely missing some obvious functionality of SMW because of my own ignorance. In that case, I seek enlightenment. Thanks for any help! Mark. -- http://hexmode.com/ A man is not that which can be put into a grave, but is rather that which the universe cannot contain. -- St Nikolai Velimirovich -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Maps and Semantic Maps: integrating other mapping services
We've once integrated Yandex maps to Extension:Maps. It was pretty easy, we needed just to inherit some classes and write a bit of javascript spaghetti. The code itself if very easy to read, IMO - Yury Katkov, WikiVote On Wed, Jun 26, 2013 at 7:21 PM, Krabina Bernhard krab...@kdz.or.at wrote: I found come more documentation (again in German): http://www.wien.gv.at/viennagis/schnittstellen.html -Bernhard - Ursprüngliche Mail - Hi Jeroen, it seems that the development of Maps and Semantic Maps has slowed down a bit recently? In my work for a first SMW installation in the City of Vienna I was asked whether (and how) it would be possible to use the Vienna mapping services instead of openlayer, google or yahoo. So we want to display data using maps/semantic maps on the Vienna city map. Is there some documentation on how to add a new mapping service? There is some documentation on how to use the Viennese GIS API: http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/generierter-code.html http://www.wien.gv.at/viennagis/bedienungshinweise/einbindung/javascript.html How good is your German yet? ;-) Unfortunately, the English docs is quite basic: http://www.wien.gv.at/english/help/citymap.html regards, Bernhard -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Replacement for Wiki of the Month Coordinator
Is that possible to create a working group for defining Wiki of the Month or do that collaboratively? Some people would want to judge but they don't have enough disipline to do that every month. - Yury Katkov, WikiVote On Tue, Jun 4, 2013 at 11:24 AM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: Hi Desiree, first to the second part of your message: this is really great news, congratulations! The not-so-great news (though it hardly matches the other) is that we now need somebody to step up as WOTM coordinator. Before we worry about that, let me first thank you for your work -- you did a truly wonderful job on this. WOTM makes a great contribution to SMW, both as a resource for people to learn about SMW and for projects to showcase their sites. When we started this feature in 2010, we were not sure if this would continue for more than a year -- already back then, it has not always been easy to find suitable candidates for each month. You managed to keep the series running, and I was often impressed by the variety of great sites you (and Yaron) came up with. By today, WOTM is not just a catalogue of SMW sites but a showcase of original and inspiring community projects from around the world. I really hope that we can find somebody to continue this success story. (To those who consider becoming volunteers: just ask us if you are not sure what this job requires.) So thanks again, Desiree, and all the best wishes to the three of you, Markus On 03/06/13 19:14, Desiree Gennaro wrote: Hello Everyone, Unfortunately, I am going to need to find a new volunteer to take over coordinating the featured wiki of the month starting in August. My husband and I will be welcoming the birth of our first child, Carly, in early September. I know myself and Yaron will be available to answer any questions and provide guidance as needed to make the transition go more smoothly. Anyone who is interested can send an email to wikiofthemo...@semantic-mediawiki.org and I will gladly answer any questions or provide any additional information requested. Best Regards, Desiree Gennaro -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j ___ Semediawiki-user mailing list semediawiki-u...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-user -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Importing and exporting RDF
I also would love to hear anyone's experience in collaborative RDF\OWL ontology creation and support in SMW. I personally recommend OntoWiki for this task, but maybe it's because of lack of expertise. - Yury Katkov, WikiVote On Fri, Jun 21, 2013 at 7:55 PM, Beebe, Mary J bee...@battelle.org wrote: We would like to set up a semantic wiki to make changes to an ontology. It needs to be able to import an RDF and then make changes to the entities and properties then export it back out. Online I saw a little talk about an extension - Ontology Import but it did not look promising. What would people suggest for importing/exporting ontologies? Thank, Mary -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Semantic MediaWiki conference: call for participation
Dear users, developers and all people interested in semantic wikis, We are happy to announce SMWCon Fall 2013 - the 8th Semantic MediaWiki Conference: * Dates: October 28th to October 30th 2013 (Monday to Wednesday) * Location: AO Berlin Hauptbahnhof, Lehrter Str. 12, 10557 Berlin, Germany * Conference wikipage: https://semantic-mediawiki.org/wiki/SMWCon_Fall_2013 * Participants: Everybody interested in semantic wikis, especially in Semantic MediaWiki, e.g., users, developers, consultants, business representatives, researchers. SMWCon Fall 2013 will be supported by the Open Semantic Data Association e. V. [1]. Our platinum sponsor will be WikiVote ltd, Russia [2]. Following the success of recent SMWCons, we will have one tutorial day and two conference days. Participating in the conference: To help us planning, you can already informally register on the wikipage, although a firm registration will later be needed. Contributing to the conference: If you want to present your work in the conference please go to the conference wikipage and add your talk there. To create an attractive program for the conference, we will later ask you to give further information about your proposals. Tutorials and presentations will be video and audio recorded and will be made available for others after the conference. ==Among others, we encourage contributions on the following topics== ===Applications of semantic wikis=== * Semantic wikis for enterprise workflows and business intelligence * Semantic wikis for corporate or personal knowledge management * Exchange on business models with semantic wikis * Lessons learned (best/worst practices) from using semantic wikis or their extensions * Semantic wikis in e-science, e-learning, e-health, e-government * Semantic wikis for finding a common vocabulary among a group of people * Semantic wikis for teaching students about the Semantic Web * Offering incentives for users of semantic wikis ===Development of semantic wikis=== * Semantic wikis as knowledge base backends / data integration platforms * Comparisons of semantic wiki concepts and technologies * Community building, feature wishlists, roadmapping of Semantic MediaWiki * Improving user experience in a semantic wiki * Speeding up semantic wikis * Integrations and interoperability of semantic wikis with other applications and mashups * Modeling of complex domains in semantic wikis, using rules, formulas etc. * Access control and security aspects in semantic wikis * Multilingual semantic wikis If you have questions you can contact me (Yury Katkov, Program Chair), Benedikt Kämpgen (General Chair) or Karsten Hoffmeyer (Local Chair) per e-mail (Cc). Hope to see you in Berlin Yury Katkov, Program Chair [1] http://www.opensemanticdata.org/ [2] http://wikivote.ru -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] branch policy
Hi developers! The current version of SMW is 1.8, but in gerrit I can see the branches that are called 1.9 and 1.9-features. Plus of course we have the master. WHere is the most recent code and how all these branches differ from each other? - Yury Katkov, WikiVote -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] branch policy
Thanks James! - Yury Katkov, WikiVote On Thu, May 16, 2013 at 4:43 PM, James HK jamesin.hongkon...@gmail.com wrote: Hi, You only need the master branch (which runs all necessary unit tests), all others are for internal use (1.9-features isn't used at all as certain features are not handled differently) Cheers On 5/16/13, Yury Katkov katkov.ju...@gmail.com wrote: Hi developers! The current version of SMW is 1.8, but in gerrit I can see the branches that are called 1.9 and 1.9-features. Plus of course we have the master. WHere is the most recent code and how all these branches differ from each other? - Yury Katkov, WikiVote -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] URIResolver's urly URLs in 4store
Thanks Markus! I'll try to come up with some code - it will increase readability dramatically. - Yury Katkov, WikiVote On Tue, May 14, 2013 at 4:49 PM, Markus Krötzsch mar...@semantic-mediawiki.org wrote: On 11/05/13 20:35, Yury Katkov wrote: When I use 4store as database for properties my cyrillic URLs are very urly. Here is one of examples: http://127.0.0.1/wikivote/**index.php/%D0%A1%D0%BB%D1%83%** D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%**D1%8F:URIResolver/-D0-A1-D0-** B2-D0-BE-D0-B9-D1-81-D1-82-D0-**B2-D0-BE-3A-D0-94-D0-B0-D1-82-** D0-B0_-D0-BF-D0-BE-D1-81-D0-**BB-D0-B5-D0-B4-D0-BD-D0-B5-D0-** B9_-D0-BF-D1-80-D0-B0-D0-B2-**D0-BA-D0-B8-23auxhttp://127.0.0.1/wikivote/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:URIResolver/-D0-A1-D0-B2-D0-BE-D0-B9-D1-81-D1-82-D0-B2-D0-BE-3A-D0-94-D0-B0-D1-82-D0-B0_-D0-BF-D0-BE-D1-81-D0-BB-D0-B5-D0-B4-D0-BD-D0-B5-D0-B9_-D0-BF-D1-80-D0-B0-D0-B2-D0-BA-D0-B8-23aux Isn't that an awful URL? I would be much happier if I had something like that instead: http://127.0.0.1/wikivote/**index.php/Служебная:** URIResolver/Заглавная_страницаhttp://127.0.0.1/wikivote/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:URIResolver/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0 Is that possible? The URLs currently go through an encoding that eliminates all non-ascii characters (URL encoding) and then replaces % by -. This ensures that all generated URLs also can be used in MediaWiki links (e.g., in article names pointing to the Special URI resolver page), and that we can always produce valid RDF/XML exports (this syntax requires some URI parts to occur in XML element names, which leads to additional constraints). I still think that one would not need to escape Cyrillic letters for these reasons. If you have code that does the job better (encoding and decoding, capturing all symbols that cause trouble in XML or MW but nothing else), then we could make this an option (all of this encoding is in one file, so it can be changed). Markus - Yury Katkov, WikiVote --**--** -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_**d2d_mayhttp://p.sf.net/sfu/neotech_d2d_may __**_ Semediawiki-devel mailing list Semediawiki-devel@lists.**sourceforge.netSemediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/**lists/listinfo/semediawiki-**develhttps://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Webinar for amateur SMW programmers
Thanks James for your comments! Some of the links were really interesting to read! Do you want to participate in the webinar as a teacher? - Yury Katkov, WikiVote On Fri, May 10, 2013 at 3:01 PM, James HK jamesin.hongkon...@gmail.com wrote: Hi, I would like to suggest that unit/functional/integration tests would be the best solution for this. I know it's not easy to get into a testing culture, but various projects including parts of SMW are adopting this. It solves these problems: This is certainly the right approach which also reflects the encouragement that new code only gets deployed if unit test(s) being provided to describe the intended behaviour. The reason for this is to shield against regressions, make change interdependencies more visible, and help verify edge cases. Currently SMW 1.9 deploys a set of 45+ phpunit test classes [j.1] together with 13+ qunit test suites [j.2]. I'd suggest that beginners working with experts should be encouraged to create tests as a way to understand the current code base, and that ... Yes, if someone really wants to understand how SMW works and desires to contribute in a meaningful way, he or she should start with unit tests (either extend existing ones or create additional tests for functions which have not yet been covered; for an analysis about the coverage statistics use [2]). ... running tests suites should be a standard activity in releases. Jenkins and Travis (hosted) are two continuous integration platforms. Every time we submit code to the master phpunit tests are being run through Jenkins [j.3, j.4] and we await that qunits test are being handled by Jenkins as well [j.5]. == Suggestions == If you are working with the SMW code base: * Don't get scared just because some fancy jargon is being used or you can't find what you are looking for it at first sight * Don't try to understand the code by simply reading it, use the means of interacting with it. * If you are not sure what the code does write a test [0, 1] and extend its class/method documentation == Addendum == * When using PHP, facilitate the SMW namespace [a.1] and for JavaScript use the smw namespace to avoid polluting the global $/window namespace [a.2, a.3, a.4] * If you have new functionality, write your code, use dependency injection [a.5] (to enforce loose coupling between objects) and provide unit tests that will verify that those methods do what they suppose to do * Avoid static classes/methods [a.6] unless you are doing class independent object factoring, hook interaction * Split methods into units which will allow easy assertion (even if it means the code gets a bit longer) * JavaScript should follow similar rules by providing qunit tests and encapsulate modules [j.2, a.3, a.7, a.8] * Use type hinting where possible [a.9] * Use meaningful in-code comments (describe what the method does, what parameters being used, what is expected as return, when this method was first introduced) in order for docxygen (PHP) or jsduck(JavaScript) to generate valid documentation and help others to understand its indented behaviour * Avoid turning protected/private into public methods unless it is necessary and instead use the ReflectionClass [a.10] for testing (SMW has as several tests that is following this schema) * If you can't test (create) certain objects because of their complexity (e.g SMWQueryResult) use a mock or stub object [a.11, a.12, a.13] == Links == [0] http://www.semantic-mediawiki.org/wiki/Unit_tests [1] http://net.tutsplus.com/tutorials/php/hands-on-unit-testing-with-phpunit/ [2] http://phpunit.de/manual/3.2/en/code-coverage-analysis.html [j.1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=tree;f=tests/phpunit [j.2] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=tree;f=tests/qunit [j.3] http://sourceforge.net/mailarchive/message.php?msg_id=30370087 [j.4] https://integration.wikimedia.org/ci/job/mwext-SemanticMediaWiki-testextensions-master/ [j.5] https://gerrit.wikimedia.org/r/#/c/53535/ [a.1] http://www.php.net/manual/en/language.namespaces.rationale.php [a.2] https://gist.github.com/hallettj/64478 [a.3] http://yuiblog.com/blog/2007/06/12/module-pattern/ [a.4] http://www.javascripttoolbox.com/bestpractices/#namespace [a.5] http://net.tutsplus.com/tutorials/php/dependency-injection-in-php/ [a.6] http://misko.hevery.com/2008/12/15/static-methods-are-death-to-testability/ [a.7] http://qunitjs.com/cookbook/ [a.8] http://benalman.com/talks/unit-testing-qunit.html [a.9] http://php.net/manual/en/language.oop5.typehinting.php [a.10] http://www.mikeyd.com.au/2011/01/20/how-to-use-phps-reflectionclass-to-test-private-methods-and-properties-with-phpunit/ [a.11] http://net.tutsplus.com/tutorials/php/all-about-mocking-with-phpunit/ [a.12] http://codeutopia.net/blog/2009/06/26/unit-testing-4
Re: [SMW-devel] Webinar for amateur SMW programmers
Hi-hi-hi! I've written a page about our first webinar! http://semantic-mediawiki.org/wiki/1st_SMW_webinar_for_developers Feel free to change the page, add your thoughts, interesting topics and so on. And add yourself to the list of participants! - Yury Katkov, WikiVote On Sun, May 12, 2013 at 2:56 PM, Yury Katkov katkov.ju...@gmail.com wrote: Thanks James for your comments! Some of the links were really interesting to read! Do you want to participate in the webinar as a teacher? - Yury Katkov, WikiVote On Fri, May 10, 2013 at 3:01 PM, James HK jamesin.hongkon...@gmail.com wrote: Hi, I would like to suggest that unit/functional/integration tests would be the best solution for this. I know it's not easy to get into a testing culture, but various projects including parts of SMW are adopting this. It solves these problems: This is certainly the right approach which also reflects the encouragement that new code only gets deployed if unit test(s) being provided to describe the intended behaviour. The reason for this is to shield against regressions, make change interdependencies more visible, and help verify edge cases. Currently SMW 1.9 deploys a set of 45+ phpunit test classes [j.1] together with 13+ qunit test suites [j.2]. I'd suggest that beginners working with experts should be encouraged to create tests as a way to understand the current code base, and that ... Yes, if someone really wants to understand how SMW works and desires to contribute in a meaningful way, he or she should start with unit tests (either extend existing ones or create additional tests for functions which have not yet been covered; for an analysis about the coverage statistics use [2]). ... running tests suites should be a standard activity in releases. Jenkins and Travis (hosted) are two continuous integration platforms. Every time we submit code to the master phpunit tests are being run through Jenkins [j.3, j.4] and we await that qunits test are being handled by Jenkins as well [j.5]. == Suggestions == If you are working with the SMW code base: * Don't get scared just because some fancy jargon is being used or you can't find what you are looking for it at first sight * Don't try to understand the code by simply reading it, use the means of interacting with it. * If you are not sure what the code does write a test [0, 1] and extend its class/method documentation == Addendum == * When using PHP, facilitate the SMW namespace [a.1] and for JavaScript use the smw namespace to avoid polluting the global $/window namespace [a.2, a.3, a.4] * If you have new functionality, write your code, use dependency injection [a.5] (to enforce loose coupling between objects) and provide unit tests that will verify that those methods do what they suppose to do * Avoid static classes/methods [a.6] unless you are doing class independent object factoring, hook interaction * Split methods into units which will allow easy assertion (even if it means the code gets a bit longer) * JavaScript should follow similar rules by providing qunit tests and encapsulate modules [j.2, a.3, a.7, a.8] * Use type hinting where possible [a.9] * Use meaningful in-code comments (describe what the method does, what parameters being used, what is expected as return, when this method was first introduced) in order for docxygen (PHP) or jsduck(JavaScript) to generate valid documentation and help others to understand its indented behaviour * Avoid turning protected/private into public methods unless it is necessary and instead use the ReflectionClass [a.10] for testing (SMW has as several tests that is following this schema) * If you can't test (create) certain objects because of their complexity (e.g SMWQueryResult) use a mock or stub object [a.11, a.12, a.13] == Links == [0] http://www.semantic-mediawiki.org/wiki/Unit_tests [1] http://net.tutsplus.com/tutorials/php/hands-on-unit-testing-with-phpunit/ [2] http://phpunit.de/manual/3.2/en/code-coverage-analysis.html [j.1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=tree;f=tests/phpunit [j.2] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/SemanticMediaWiki.git;a=tree;f=tests/qunit [j.3] http://sourceforge.net/mailarchive/message.php?msg_id=30370087 [j.4] https://integration.wikimedia.org/ci/job/mwext-SemanticMediaWiki-testextensions-master/ [j.5] https://gerrit.wikimedia.org/r/#/c/53535/ [a.1] http://www.php.net/manual/en/language.namespaces.rationale.php [a.2] https://gist.github.com/hallettj/64478 [a.3] http://yuiblog.com/blog/2007/06/12/module-pattern/ [a.4] http://www.javascripttoolbox.com/bestpractices/#namespace [a.5] http://net.tutsplus.com/tutorials/php/dependency-injection-in-php/ [a.6] http://misko.hevery.com/2008/12/15/static-methods-are-death-to-testability/ [a.7] http://qunitjs.com/cookbook/ [a.8] http://benalman.com/talks
[SMW-devel] URIResolver's urly URLs in 4store
When I use 4store as database for properties my cyrillic URLs are very urly. Here is one of examples: http://127.0.0.1/wikivote/index.php/%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:URIResolver/-D0-A1-D0-B2-D0-BE-D0-B9-D1-81-D1-82-D0-B2-D0-BE-3A-D0-94-D0-B0-D1-82-D0-B0_-D0-BF-D0-BE-D1-81-D0-BB-D0-B5-D0-B4-D0-BD-D0-B5-D0-B9_-D0-BF-D1-80-D0-B0-D0-B2-D0-BA-D0-B8-23aux Isn't that an awful URL? I would be much happier if I had something like that instead: http://127.0.0.1/wikivote/index.php/Служебная:URIResolver/Заглавная_страница Is that possible? - Yury Katkov, WikiVote -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SPARQL queries to my wiki
Hi everyone! So I've set up my SMW with 4store. How is it possible to query its data with sparql? I mean is there any way to do something like {{#sparql: SELECT * WHERE {?x ?y ?z} LIMIT 10 | format=broadtable }} I've seen SparqlExtension [1] but's outdated now. [1] http://www.mediawiki.org/wiki/Extension:SparqlExtension - Yury Katkov, WikiVote -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SPARQL queries to my wiki
It's very unfortunate that #ask interface and SPARQL are now not connected at all. We have a great deal of result formats for #ask, but #ask is not as powerful as SPARQL and to process complex queries we need to use format=template many times which makes the code less readable. With SPARQL we can use Spark [1] and Sgvizler [2] but they don't have all these terrific result formats that we have with #ask. I wonder if it's thoretically possible to use our result formats to format sparql queries without rewriting the whole thing? [1] http://www.mediawiki.org/wiki/Extension:Spark [2] https://code.google.com/p/sgvizler/ - Yury Katkov, WikiVote On Sun, May 12, 2013 at 12:19 AM, Dan Bolser dan.bol...@gmail.com wrote: This is high on my wish-list too, and I believe it's possible to implement with 'plumbing'. I had a go a while back with RAP, and was able to issue sparql queries from within SMW. I don't have good internet at the moment, or I'd search the archive for you to find that discussion. Actually, I was using SPARQL to query an endpoint on the semantic web, not my wiki itself, but if the wiki is configured as an end point, then it's just a specific case of that general feature. Now that SMW is implemented in a more RDF-ish way, in theory you could pull in semantic web data and handle it with SMW extensions... (but I'm probably over-simplifying ;-) Cheers, Dan. On 11 May 2013 20:45, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! So I've set up my SMW with 4store. How is it possible to query its data with sparql? I mean is there any way to do something like {{#sparql: SELECT * WHERE {?x ?y ?z} LIMIT 10 | format=broadtable }} I've seen SparqlExtension [1] but's outdated now. [1] http://www.mediawiki.org/wiki/Extension:SparqlExtension - Yury Katkov, WikiVote -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Webinar for amateur SMW programmers
Jeroen, I guess you'll be the one who teaches, right? - Yury Katkov, WikiVote On Fri, May 10, 2013 at 12:21 PM, Dan Bolser dan.bol...@gmail.com wrote: Thanks for organizing this Yury, can you set up a doodle to try to tie people to a date? Also, I guess we need to offer a box of chocolate to each developer who takes part! ;-) Any confirmed? Cheers, Dan. On 9 May 2013 18:08, Yury Katkov katkov.ju...@gmail.com wrote: (I've changed the subject name. See previous e-mails if you need a context.) PROBLEM: Nobody understand how SMW works and how to inprove it, except 2-4 core developers. The documentation of the code is not sufficient for a new deloper to quickly start participating in SMW development. GOAL: Eliminate the barriers that hinder new developers from participation. Create the documentation for the programmers but waste minimum of core developers' time. IDEA: Organize a hangout/webinar where the gurus describe the basic concepts in the code, relations between the main classes in SMW and ways to implement the common use cases of improving SMW. PLANNED RESULTS: 1) videorecord of the webinar 2) Architechture Guide improved by webinar participants 3) Some howtos on how to solve real problems in SMW. I think we can create a wikipage of the topics that can be discussed on such webinar. This can also be used in SMW tutorials on the next SMWCon. - Yury Katkov, WikiVote On Thu, May 9, 2013 at 8:31 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, Maybe smth like webinars or google hangouts with core developers could be an option? I understand that it's easier to describe the architecture verbally than to write a guide. I'm volunteering to do the technical writing job, I think I know at least two more developers who also can help with writing down. I'd be happy to join such a hangout. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Webinar for amateur SMW programmers
(I've changed the subject name. See previous e-mails if you need a context.) *PROBLEM*: Nobody understand how SMW works and how to inprove it, except 2-4 core developers. The documentation of the code is not sufficient for a new deloper to quickly start participating in SMW development. *GOAL*: Eliminate the barriers that hinder new developers from participation. Create the documentation for the programmers but waste minimum of core developers' time. *IDEA*: Organize a hangout/webinar where the gurus describe the basic concepts in the code, relations between the main classes in SMW and ways to implement the common use cases of improving SMW. *PLANNED RESULTS: * 1) videorecord of the webinar 2) Architechture Guide improved by webinar participants 3) Some howtos on how to solve real problems in SMW. I think we can create a wikipage of the topics that can be discussed on such webinar. This can also be used in SMW tutorials on the next SMWCon. - Yury Katkov, WikiVote On Thu, May 9, 2013 at 8:31 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, Maybe smth like webinars or google hangouts with core developers could be an option? I understand that it's easier to describe the architecture verbally than to write a guide. I'm volunteering to do the technical writing job, I think I know at least two more developers who also can help with writing down. I'd be happy to join such a hangout. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] images as property values in PageSchemas
Yaron, I reread your idea but I'm not sure that I got it right Do you propose to automatically add File: text in the beginning of uploaded filename like here? http://i.imgur.com/MU31Tw9.png - Yury Katkov, WikiVote On Wed, May 8, 2013 at 4:59 PM, Jamie Thingelstad ja...@thingelstad.comwrote: Hello Yaron, I agree that having to add the namespace in the template is confusing, but my initial reaction to adding File: if it is set to uploadable is no. Perhaps I'm being overly pedantic, but I think of a property for a page that is targeting a different namespace, most commonly I see this with a User page. If you have a field that you default=current user you need to add the namespace to that to link back to the user page. I realize that's a little apples and oranges, but still comes to mind for me. Or values from namespace= which if I'm remembering right doesn't prepend the namespace, also requiring the template to add it. So, perhaps it is worth considering more sweeping changes that add namespace clarification to a lot of things, but that would probably just introduce equal confusion the other way. My $0.02. Jamie Thingelstad http://www.thingelstad.com/ ja...@thingelstad.com mobile: 612-810-3699 find me on AIM Twitter http://twitter.com/thingles Facebookhttp://www.facebook.com/thingles LinkedIn http://www.linkedin.com/in/jthingelstad On May 7, 2013, at 3:46 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, What about my suggestion? I'm also curious if anyone else has an opinion on having uploadable fields add the File: to file names. This would be a somewhat big change, so people may have opinions on it one way or another. On Tue, May 7, 2013 at 4:41 PM, Yury Katkov katkov.ju...@gmail.comwrote: For now I can just add some lines of code to the form generator: if uploadable option is here it will generate [[property::File:filename]] instead of just [[property::filename]]. I've proposed checkbox solution because of the folowing. In my opinion Page Schemas can be great visual tool to edit forms and templates very quicky. Now the editing of the schema slows because I have to look up tag parameters. More buttons, dropdowns and checkboxes could speed up the editing process. - Yury Katkov, WikiVote On Wed, May 8, 2013 at 12:28 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Hm, that's true... I hadn't thought of that. Some checkbox could be added to the Page Schemas form, but maybe the better solution is just to have uploadable fields in SF start adding a File: to the beginning of file names they've uploaded. It's something that various people have asked about, but I never took that seriously - I liked the cleanliness of not including the namespace, and just having the file name. But maybe that cleanliness is more trouble than it's worth - I know that, even without this Page Schemas issue, the fact that a File: needs to be added to the template has caused a considerable amount of confusion. The main counter-argument might be that this approach is already in place on a lot of wikis, so making a change to the upload setup would require people to change a lot of existing pages; but then again, backward-compatibility can't be a reason to never make a change, and the Replace Text extension might be able to help with that sort of thing anyway. Any thoughts? -Yaron On Tue, May 7, 2013 at 4:02 PM, Yury Katkov katkov.ju...@gmail.comwrote: Hi Yaron, all! It's possible now to create uploadable fields in forms via PageSchemas: we just create a Page property and specifily the field as uploadable in additional paramerest. There is however an issue. When I generate the templates I need the File namespace to be added in front of the filename: [[someproperty::File:MyCoolPicture.jpg]] Instead I have the following: [[someproperty::MyCoolPicture.jpg]] and my image not appears on the page. Yaron, what's your advice on how to better handle that in a PageSchemas if I want to add this feature? What about adding a checkbox uploadable to the Field definition? - Yury Katkov, WikiVote -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Learn Graph Databases - Download FREE O'Reilly Book
Re: [SMW-devel] images as property values in PageSchemas
And also given that, a single checkbox that says Uploadable? probably wouldn't be enough - the better option would probably be to have a new form input for each template field (in the Edit schema form) that said something like This field always links to pages in this namespace (leave blank if none): _. Hmm. The caption you've proposed is only about namespaces now. What about: Prepend the field value with the following text ? This way we will broad the usecase further. - Yury Katkov, WikiVote On Wed, May 8, 2013 at 5:26 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Yes, that's what I was proposing before, but I'm no longer proposing it. :) -Yaron On Wed, May 8, 2013 at 9:22 AM, Yury Katkov katkov.ju...@gmail.comwrote: Yaron, I reread your idea but I'm not sure that I got it right Do you propose to automatically add File: text in the beginning of uploaded filename like here? http://i.imgur.com/MU31Tw9.png - Yury Katkov, WikiVote On Wed, May 8, 2013 at 4:59 PM, Jamie Thingelstad ja...@thingelstad.comwrote: Hello Yaron, I agree that having to add the namespace in the template is confusing, but my initial reaction to adding File: if it is set to uploadable is no. Perhaps I'm being overly pedantic, but I think of a property for a page that is targeting a different namespace, most commonly I see this with a User page. If you have a field that you default=current user you need to add the namespace to that to link back to the user page. I realize that's a little apples and oranges, but still comes to mind for me. Or values from namespace= which if I'm remembering right doesn't prepend the namespace, also requiring the template to add it. So, perhaps it is worth considering more sweeping changes that add namespace clarification to a lot of things, but that would probably just introduce equal confusion the other way. My $0.02. Jamie Thingelstad http://www.thingelstad.com/ ja...@thingelstad.com mobile: 612-810-3699 find me on AIM Twitter http://twitter.com/thingles Facebookhttp://www.facebook.com/thingles LinkedIn http://www.linkedin.com/in/jthingelstad On May 7, 2013, at 3:46 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, What about my suggestion? I'm also curious if anyone else has an opinion on having uploadable fields add the File: to file names. This would be a somewhat big change, so people may have opinions on it one way or another. On Tue, May 7, 2013 at 4:41 PM, Yury Katkov katkov.ju...@gmail.comwrote: For now I can just add some lines of code to the form generator: if uploadable option is here it will generate [[property::File:filename]] instead of just [[property::filename]]. I've proposed checkbox solution because of the folowing. In my opinion Page Schemas can be great visual tool to edit forms and templates very quicky. Now the editing of the schema slows because I have to look up tag parameters. More buttons, dropdowns and checkboxes could speed up the editing process. - Yury Katkov, WikiVote On Wed, May 8, 2013 at 12:28 AM, Yaron Koren ya...@wikiworks.comwrote: Hi Yury, Hm, that's true... I hadn't thought of that. Some checkbox could be added to the Page Schemas form, but maybe the better solution is just to have uploadable fields in SF start adding a File: to the beginning of file names they've uploaded. It's something that various people have asked about, but I never took that seriously - I liked the cleanliness of not including the namespace, and just having the file name. But maybe that cleanliness is more trouble than it's worth - I know that, even without this Page Schemas issue, the fact that a File: needs to be added to the template has caused a considerable amount of confusion. The main counter-argument might be that this approach is already in place on a lot of wikis, so making a change to the upload setup would require people to change a lot of existing pages; but then again, backward-compatibility can't be a reason to never make a change, and the Replace Text extension might be able to help with that sort of thing anyway. Any thoughts? -Yaron On Tue, May 7, 2013 at 4:02 PM, Yury Katkov katkov.ju...@gmail.comwrote: Hi Yaron, all! It's possible now to create uploadable fields in forms via PageSchemas: we just create a Page property and specifily the field as uploadable in additional paramerest. There is however an issue. When I generate the templates I need the File namespace to be added in front of the filename: [[someproperty::File:MyCoolPicture.jpg]] Instead I have the following: [[someproperty::MyCoolPicture.jpg]] and my image not appears on the page. Yaron, what's your advice on how to better handle that in a PageSchemas if I want to add this feature? What about adding a checkbox uploadable to the Field definition? - Yury Katkov, WikiVote -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- WikiWorks
Re: [SMW-devel] images as property values in PageSchemas
The current implementation seems weird for me too. It's very clear that 'uploadable' is a distinct form input and not the parameter of some other form input. What was the rational behind that? - Yury Katkov, WikiVote On Wed, May 8, 2013 at 6:14 PM, Jamie Thingelstad ja...@thingelstad.comwrote: Just to throw out an alternative suggestion since we are on the topic. What about handling uploadable fields as there own input type? We currently have: {{{field|Image|uploadable|image preview|default=Default website image.png}}} what if it was something like: {{{field|Image|input type=upload|preview|default=Default website image.png}}} It is nice to be able to reuse the generic input type for pages for uploadable content, but, I could see optimizations. Some thoughts: - This would allow the File namespace to be prepended automatically if so desired, considering it a different input type. - It could allow (in the future) for a more pleasant upload experience than the current iframe of the upload form (one of the most confusing aspects of MediaWiki for new users in my experience). - It could allow new things like this must be a PDF with require filetype=pdf or something. Just an idea. It feels like a good direction to me. And backwards compatibility could be maintained for some period of time. Jamie Thingelstad http://www.thingelstad.com/ ja...@thingelstad.com mobile: 612-810-3699 find me on AIM Twitter http://twitter.com/thingles Facebookhttp://www.facebook.com/thingles LinkedIn http://www.linkedin.com/in/jthingelstad On May 8, 2013, at 9:01 AM, Yaron Koren ya...@wikiworks.com wrote: I suppose that's true... although in practice I've never seen values get prepended with anything other than a namespace. You could have a field containing all subpage names, of course, but I've never seen that done, and on a semantic level it doesn't really make sense to do that. On the other hand, maybe that simpler wording would be clearer for users. On Wed, May 8, 2013 at 9:40 AM, Yury Katkov katkov.ju...@gmail.comwrote: And also given that, a single checkbox that says Uploadable? probably wouldn't be enough - the better option would probably be to have a new form input for each template field (in the Edit schema form) that said something like This field always links to pages in this namespace (leave blank if none): _. Hmm. The caption you've proposed is only about namespaces now. What about: Prepend the field value with the following text ? This way we will broad the usecase further. - Yury Katkov, WikiVote On Wed, May 8, 2013 at 5:26 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Yes, that's what I was proposing before, but I'm no longer proposing it. :) -Yaron On Wed, May 8, 2013 at 9:22 AM, Yury Katkov katkov.ju...@gmail.comwrote: Yaron, I reread your idea but I'm not sure that I got it right Do you propose to automatically add File: text in the beginning of uploaded filename like here? http://i.imgur.com/MU31Tw9.png - Yury Katkov, WikiVote On Wed, May 8, 2013 at 4:59 PM, Jamie Thingelstad ja...@thingelstad.com wrote: Hello Yaron, I agree that having to add the namespace in the template is confusing, but my initial reaction to adding File: if it is set to uploadable is no. Perhaps I'm being overly pedantic, but I think of a property for a page that is targeting a different namespace, most commonly I see this with a User page. If you have a field that you default=current user you need to add the namespace to that to link back to the user page. I realize that's a little apples and oranges, but still comes to mind for me. Or values from namespace= which if I'm remembering right doesn't prepend the namespace, also requiring the template to add it. So, perhaps it is worth considering more sweeping changes that add namespace clarification to a lot of things, but that would probably just introduce equal confusion the other way. My $0.02. Jamie Thingelstad http://www.thingelstad.com/ ja...@thingelstad.com mobile: 612-810-3699 find me on AIM Twitter http://twitter.com/thingles Facebookhttp://www.facebook.com/thingles LinkedIn http://www.linkedin.com/in/jthingelstad On May 7, 2013, at 3:46 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, What about my suggestion? I'm also curious if anyone else has an opinion on having uploadable fields add the File: to file names. This would be a somewhat big change, so people may have opinions on it one way or another. On Tue, May 7, 2013 at 4:41 PM, Yury Katkov katkov.ju...@gmail.comwrote: For now I can just add some lines of code to the form generator: if uploadable option is here it will generate [[property::File:filename]] instead of just [[property::filename]]. I've proposed checkbox solution because of the folowing. In my opinion Page Schemas can be great visual tool to edit forms and templates very quicky. Now
Re: [SMW-devel] [SF] Turning uploadable into input type=upload
Hi Yaron! I don't know neither if 'textarea+uploadable' makes a lot of sense nor if it's used by anyone. Let us forget for a minute about textarea+uploadable and focus on text+uploadable. I think it's possible to create a input type=uploadable that will be inherited from input type=text and will have all autocompletion functons. Yury Katkov, WikiVote On Wed, May 8, 2013 at 6:34 PM, Yaron Koren ya...@wikiworks.com wrote: Hi, I'm turning this into another thread, since I think it's unrelated to the original topic - I believe the namespace issue is the same regardless of the form field syntax. I think it makes sense to keep it as uploadable instead of turning it into a separate input type, because it can have all the variations of standard text inputs - it can be either a text or a textarea field, it can have all the autocompletion options, etc. There's nothing that says that every value that goes into an uploadable field has to be uploaded with that form; so autocompletion may be useful there. -Yaron On Wed, May 8, 2013 at 10:23 AM, Yury Katkov katkov.ju...@gmail.comwrote: The current implementation seems weird for me too. It's very clear that 'uploadable' is a distinct form input and not the parameter of some other form input. What was the rational behind that? - Yury Katkov, WikiVote On Wed, May 8, 2013 at 6:14 PM, Jamie Thingelstad ja...@thingelstad.comwrote: Just to throw out an alternative suggestion since we are on the topic. What about handling uploadable fields as there own input type? We currently have: {{{field|Image|uploadable|image preview|default=Default website image.png}}} what if it was something like: {{{field|Image|input type=upload|preview|default=Default website image.png}}} It is nice to be able to reuse the generic input type for pages for uploadable content, but, I could see optimizations. Some thoughts: - This would allow the File namespace to be prepended automatically if so desired, considering it a different input type. - It could allow (in the future) for a more pleasant upload experience than the current iframe of the upload form (one of the most confusing aspects of MediaWiki for new users in my experience). - It could allow new things like this must be a PDF with require filetype=pdf or something. Just an idea. It feels like a good direction to me. And backwards compatibility could be maintained for some period of time. Jamie Thingelstad http://www.thingelstad.com/ ja...@thingelstad.com mobile: 612-810-3699 find me on AIM Twitter http://twitter.com/thingles Facebookhttp://www.facebook.com/thingles LinkedIn http://www.linkedin.com/in/jthingelstad On May 8, 2013, at 9:01 AM, Yaron Koren ya...@wikiworks.com wrote: I suppose that's true... although in practice I've never seen values get prepended with anything other than a namespace. You could have a field containing all subpage names, of course, but I've never seen that done, and on a semantic level it doesn't really make sense to do that. On the other hand, maybe that simpler wording would be clearer for users. On Wed, May 8, 2013 at 9:40 AM, Yury Katkov katkov.ju...@gmail.comwrote: And also given that, a single checkbox that says Uploadable? probably wouldn't be enough - the better option would probably be to have a new form input for each template field (in the Edit schema form) that said something like This field always links to pages in this namespace (leave blank if none): _. Hmm. The caption you've proposed is only about namespaces now. What about: Prepend the field value with the following text ? This way we will broad the usecase further. - Yury Katkov, WikiVote On Wed, May 8, 2013 at 5:26 PM, Yaron Koren ya...@wikiworks.comwrote: Hi Yury, Yes, that's what I was proposing before, but I'm no longer proposing it. :) -Yaron On Wed, May 8, 2013 at 9:22 AM, Yury Katkov katkov.ju...@gmail.comwrote: Yaron, I reread your idea but I'm not sure that I got it right Do you propose to automatically add File: text in the beginning of uploaded filename like here? http://i.imgur.com/MU31Tw9.png - Yury Katkov, WikiVote On Wed, May 8, 2013 at 4:59 PM, Jamie Thingelstad ja...@thingelstad.com wrote: Hello Yaron, I agree that having to add the namespace in the template is confusing, but my initial reaction to adding File: if it is set to uploadable is no. Perhaps I'm being overly pedantic, but I think of a property for a page that is targeting a different namespace, most commonly I see this with a User page. If you have a field that you default=current user you need to add the namespace to that to link back to the user page. I realize that's a little apples and oranges, but still comes to mind for me. Or values from namespace= which if I'm remembering right doesn't prepend the namespace, also requiring the template to add it. So, perhaps it is worth
Re: [SMW-devel] LTS (again), coordinated (git) development strategy?
On Wed, May 8, 2013 at 4:04 AM, Dan Bolser dan.bol...@gmail.com wrote: Hi all, I'm afraid I still haven't read the thread discussing LTS and the clusterf resulting from a typical SMW/SF install requiring about 20 independently maintained but interrelated extensions (it's always going to be hard!). On this topic two ideas came to mind: 1) Would adopting this kind of branching model (if it isn't already) help to improve maintaining stable branches: http://nvie.com/posts/a-successful-git-branching-model/ 2) What can we learn from Drupal development, where multiple modules are integrated via extensive use of APIs? Speaking as a dumb user, can we start a 'developer documentation' page on smw.org? I like the idea. Still the knowledge about what's happening inside SMW is distributed between 2-4 core developers. They don't have time to describe it and I guess love programming much more than writing documentation. I love writing documentation and tutorials much more than programming but I can't figure out what's happening in the code by reading the code. I'd love to find the solution of virtuous circle. I know it's a pain in the neck, but explaining design decisions to newbs has many long term advantages, not least, forcing the logic to be explicit helps it to be reviewed 'internally' (by the developers concerned) and useful ideas may be generated 'externally' (by the wider community). Making developer documentation should help attract new developers as well as help users to understand dependencies. Cheers, Dan. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] images as property values in PageSchemas
Hi Yaron, all! It's possible now to create uploadable fields in forms via PageSchemas: we just create a Page property and specifily the field as uploadable in additional paramerest. There is however an issue. When I generate the templates I need the File namespace to be added in front of the filename: [[someproperty::File:MyCoolPicture.jpg]] Instead I have the following: [[someproperty::MyCoolPicture.jpg]] and my image not appears on the page. Yaron, what's your advice on how to better handle that in a PageSchemas if I want to add this feature? What about adding a checkbox uploadable to the Field definition? - Yury Katkov, WikiVote -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] images as property values in PageSchemas
For now I can just add some lines of code to the form generator: if uploadable option is here it will generate [[property::File:filename]] instead of just [[property::filename]]. I've proposed checkbox solution because of the folowing. In my opinion Page Schemas can be great visual tool to edit forms and templates very quicky. Now the editing of the schema slows because I have to look up tag parameters. More buttons, dropdowns and checkboxes could speed up the editing process. - Yury Katkov, WikiVote On Wed, May 8, 2013 at 12:28 AM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, Hm, that's true... I hadn't thought of that. Some checkbox could be added to the Page Schemas form, but maybe the better solution is just to have uploadable fields in SF start adding a File: to the beginning of file names they've uploaded. It's something that various people have asked about, but I never took that seriously - I liked the cleanliness of not including the namespace, and just having the file name. But maybe that cleanliness is more trouble than it's worth - I know that, even without this Page Schemas issue, the fact that a File: needs to be added to the template has caused a considerable amount of confusion. The main counter-argument might be that this approach is already in place on a lot of wikis, so making a change to the upload setup would require people to change a lot of existing pages; but then again, backward-compatibility can't be a reason to never make a change, and the Replace Text extension might be able to help with that sort of thing anyway. Any thoughts? -Yaron On Tue, May 7, 2013 at 4:02 PM, Yury Katkov katkov.ju...@gmail.comwrote: Hi Yaron, all! It's possible now to create uploadable fields in forms via PageSchemas: we just create a Page property and specifily the field as uploadable in additional paramerest. There is however an issue. When I generate the templates I need the File namespace to be added in front of the filename: [[someproperty::File:MyCoolPicture.jpg]] Instead I have the following: [[someproperty::MyCoolPicture.jpg]] and my image not appears on the page. Yaron, what's your advice on how to better handle that in a PageSchemas if I want to add this feature? What about adding a checkbox uploadable to the Field definition? - Yury Katkov, WikiVote -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] plans on integrating VisualEditor with Semantic Forms
It's now enabled on 15 language wikis and on mediawiki.org: https://blog.wikimedia.org/2013/04/25/visualeditor-alpha-in-15-languages/ Go to Special:Settings to enable it. - Yury Katkov, WikiVote On Mon, May 6, 2013 at 4:51 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, I would definitely like to see SF support VisualEditor, whether it's me or someone else adding that support. I wasn't aware that VisualEditor was being used yet on Wikipedia (other than I guess in demo areas), or even that it was in a usable state. Where is it being used? -Yaron On Mon, May 6, 2013 at 7:55 AM, Yury Katkov katkov.ju...@gmail.comwrote: Hi Yaron! So Visual Editor is now working on Wikipedias and that means that it's mature enough and its code is less likely to dramatically change over time. The same follows from the Roadmap [1]. Yaron, do you have any plans on integrating VisualEditor with Semantic Forms? I address the same question to other developers: if you have intentions to integrat SF and VE, maybe we can work together? [1] https://docs.google.com/spreadsheet/ccc?key=0Aoizbfxc5g6KdEkza0xkQnJlM0o0TXlwQXhDOUFvYnc#gid=0 - Yury Katkov, WikiVote -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] SMW to LaTeX, MSWord, PDF?
Hi-hi! It's good enough if you don't have strict requirements to your documents. Unfortunately I do have them: all the margins, paddings, indents, fonts, styles, thicknesses of the borders, references etc. have to be exactly as written in the standards. Because of that I'm thinking about converting the data to XML and then processing, but it's possible that this task have other solutions. - Yury Katkov, WikiVote On Tue, Apr 23, 2013 at 12:56 PM, Argbert argb...@gmx.de wrote: Hey Yury, ** ** maybe not exactly what you wanted, but at least a dirty workaround: ** ** If you copy and paste page content of SMW (out of the browser, e.g. Firefox) into word, it adapts the format (without images) quite well – headlines, bullet points etc. Using a Word template can finally enable you to quickly generate a facy document. ** ** Still no solution for your users to download a document. :/ ** ** Regards ** ** Argi ** ** *Von:* Yury Katkov [mailto:katkov.ju...@gmail.com] *Gesendet:* Mittwoch, 17. April 2013 16:48 *An:* SMW developer list *Betreff:* [SMW-devel] SMW to LaTeX, MSWord, PDF? ** ** Hi guys! ** ** We're making a collective document with MediaWiki and want to allow the user to export the whole document in MsWord and PDF formats. The idea is to create XML-representation of the result and then turn it to doc and pdf. * *** ** ** 1) I have no idea how to implement the conversion to MSWord. Maybe with XSL and FOP? 2) It would be great to first generate the LaTeX representation and then compile it to the document. Which tools can you recommend to convert XML\JSON to Latex? ** ** - Yury Katkov, WikiVote -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SIO] Querying internal object properties
To Yaron: The whole point of a wiki is to be able to collaboratively create content, where it doesn't really matter who added what. I would say that this is very dogmatic point of view. That's not always true. Just to name a few, knowing the authorship can boost the author's motivation, it can help you to figure out the one's usefulness and reputation. I think that all the wikis presented today disregard the question of the authorship not because of the original wiki philosophy but because of inertia of thinking. To Marcelo: What do you mean by classify the contribution? I've once done a simple extension CollaborationDiagram [1] that visualizes the contributions of the authors of the wikipage do you want to do anything similar? There was a great project of analyzing contributions called WikiTrust: they have measured the quality of an edit based on how much time did this edit existed without being replaced/roll-backed. They have also measured the reputation of the authors of the wikis [2]. Also why do you need the data in semantic format? Maybe it would be easier to just count the data in PHP? [1] http://www.mediawiki.org/wiki/Extension:CollaborationDiagram [2] http://www.wikitrust.net/ - Yury Katkov, WikiVote On Sun, Apr 21, 2013 at 9:15 PM, Yaron Koren ya...@wikiworks.com wrote: The more relevant question, to me, is *why* you would want to do any of this. The whole point of a wiki is to be able to collaboratively create content, where it doesn't really matter who added what. So why you need to query on this data? On Sun, Apr 21, 2013 at 1:03 PM, Marcelo Chiaradía chiaradiamarc...@gmail.com wrote: Yeah, I know. I've been checking the Semantic Extra Special Properties extension, but it only solves half of my problem. This is my situation: I need to save somehow the author that made a contribution to a page, and somehow classify it regarding the information modified by him. First I thought an easy solution including a checkbox in the semantic form for the classification problem (like is minor edit), but it looks a lot more complex. So now Im considering the develop of my own extension to semantify this information, following the Semantic Extra Special Properties and s13n approach. I guess there's no easier way to do it, rigth? Cheers, Marcelo. 2013/4/21 Yaron Koren ya...@wikiworks.com Hi, This seems like a bad hack. I assume this is part of your effort to have the page store the usernames of all its contributors? If so, the Semantic Extra Special Properties extension may be the better approach - I believe it stores that information using the Page author property: https://www.mediawiki.org/wiki/Extension:Semantic_Extra_Special_Properties -Yaron On Sat, Apr 20, 2013 at 3:05 PM, Marcelo Chiaradía chiaradiamarc...@gmail.com wrote: Hi everyone, I have saved an internal object which has several properties: {{#set_internal:isInternalObjectOf |property1=value1 |property2=value2 |name=object_name }} I have a situation where eventually I need to define a new internal object using the properties of the object saved before as values. The way I found to do this is through semantic queries: {{#set_internal:isInternalObjectOf |property1={{#ask: [[-property1::[[name::object_name]] ]]}} |property2={{#ask: [[-property2::[[name::object_name]] ]]}} }} The sintax may be not quite correct, just to show the idea. The problem with this approach is that for every property, I have to make a new query. Is there some way to do this with only one query? Thanks in advance. Marcelo. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Fwd: [Analytics] Datavisualization.ch's favorite tools for data visualization
Hi everyone, Hook at those visualizations and tools! They can be very nice ideas for future Result Formats! http://selection.datavisualization.ch/ - Yury Katkov, WikiVote -- Forwarded message -- From: Ori Livneh o...@wikimedia.org Date: Sat, Apr 20, 2013 at 11:42 AM Subject: [Analytics] Datavisualization.ch's favorite tools for data visualization To: A mailinglist for the Analytics Team at WMF and everybody who has an interest in Wikipedia and analytics. analyt...@lists.wikimedia.org Datavisualization.ch Selected Tools is a collection of tools that we, the people behind Datavisualization.ch, work with on a daily basis and recommend warmly. This is not a list of everything out there, but instead a thoughtfully curated selection of our favourite tools that will make your life easier creating meaningful and beautiful data visualizations. I presume many of these are familiar to regulars of this list, but perhaps not all -- many were new to me. http://selection.datavisualization.ch/ -- Ori Livneh ___ Analytics mailing list analyt...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/analytics -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [SF] - Defining properties for user editor
http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification - maybe this can help, hoewever I don't know if the code still runs the same way it used to. - Yury Katkov, WikiVote On Fri, Apr 19, 2013 at 4:06 AM, Marcelo Chiaradía chiaradiamarc...@gmail.com wrote: Hello everybody, I have the following situation: I've defined a semantic form to edit pages within a particular category. Anytime a user edit my pages with the semantic form, I would like to add a semantic property to the page, which relates the page with the user who made the edition. Something like [[userEditor::CURRENTUSER]] The thing is that I would like to keep record of all the user that edit the page. I mean, my page could have several userEditor relationships then. Morover, I have my SF separated in two main sections using the Header Tab extension. I need to use different properties to relate the user editor, regarding the tab that made the edition. For example, if the user edited the page through tab 1, then I should use userEditor_Tab_1. If tab 2, userEditor_Tab_2. I've been looking through a the smw and mediawiki extensions, and thinking a lot about how to do it, but can't find a way. I read about SemanticExtraSpecialProperties EUSER feature, but it solves the problem partially. Any ideas will be much appreciated. I'm going crazy trying to solve it. thanks in advance, Marcelo. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Russian SMW introduction - proofreading needed
http://habrahabr.ru/post/173877/ - it's here! Horray! Thank you Vitaliy, Irina, Vasiliy and Dmitry for your comments! - Yury Katkov, WikiVote On Thu, Apr 18, 2013 at 7:12 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi everyone! I've written the tutorial on SMW for the very popular Russian collective blog Habrahabr. If somebody knows Russian, please proofread me here: https://docs.google.com/document/d/1OCzyqgazR0G1WauLyOYdYfOXf8FVOuCAspYJRWb5r5c/edit Otherwise you can enjoy beautiful pictures. - Yury Katkov, WikiVote -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] Russian SMW introduction - proofreading needed
Hi everyone! I've written the tutorial on SMW for the very popular Russian collective blog Habrahabr. If somebody knows Russian, please proofread me here: https://docs.google.com/document/d/1OCzyqgazR0G1WauLyOYdYfOXf8FVOuCAspYJRWb5r5c/edit Otherwise you can enjoy beautiful pictures. - Yury Katkov, WikiVote -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] SMW to LaTeX, MSWord, PDF?
Hi guys! We're making a collective document with MediaWiki and want to allow the user to export the whole document in MsWord and PDF formats. The idea is to create XML-representation of the result and then turn it to doc and pdf. 1) I have no idea how to implement the conversion to MSWord. Maybe with XSL and FOP? 2) It would be great to first generate the LaTeX representation and then compile it to the document. Which tools can you recommend to convert XML\JSON to Latex? - Yury Katkov, WikiVote -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] status of github mirrors
Hi guys! I see that many mediawiki extensions have their mirrors on github. Can we fork you there and use github mechanism of pull-requests to contribute to the code? Or is gerrit is the only option now? - Yury Katkov, WikiVote -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] status of github mirrors
Hi Jeroen! On Thu, Mar 14, 2013 at 7:13 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, is it possible '''not to see Gerrit at all''' and use Github for contributing Not in general. The mirrors under the wikimedia GitHub account are one way. If you want more info on that, you can ask on wikitech or look on mw.org. I know it has been asked on wikitech before, so perhaps there are some docs on it now. use Github for contributing to semantic extensions If someone with push rights on the main repo maintains a mirror on GitHub where you can submit pull requests for a particular extension, then that could work. It does however fragment the review queue and makes your code less visible to other developers. ''not to see Gerrit at all What is your main motivation for desiring this? (There are a pile of plausible ones ;p) I like they way it's integrated in WMF ecosystem but the user interface of Gerrit is the thing that is extremely unfriendly for me. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] is SMW tested on development versions of MW
Sorry Jeroen, I meant no offence, I just tried to install Guided Tour extension for several hours without checking its compatibility with MW1.21 :) Great! We will try use wmf releases of MW plus the latest SMW in our platform. - Yury Katkov, WikiVote On Wed, Mar 13, 2013 at 6:32 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey Yury, Wikimedia developers have disgusting habit to create extensions that depend on the development or alpha version or of MW. Because of that we want to use the latest MW. So the question is: does anybody checks the compatibility of SMW with alpha versions of MW? Did you not just answer your question yourself by saying we have the annoying habit of developing against master? If that is the case, which it indeed is, then SMW will work with master no? :) A related question I would find less odd if asked would be since the devs tend to work against master, does SMW master work with older MW versions?, to which the answer is, yes, most of the time. There are some people running latest SMW dev together with stable MW releases. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Property Names in Semantic Result Formats
Hi Jeroen! The questions are not addressed to me, but I can answer them as well. On Wed, Mar 13, 2013 at 9:14 PM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, Why are you trying to fetch more information from the store in your result format? Normally a result format ought to work given just a query result object. There are exceptions like Filtered result format, aren't there? Also, why are you making your result format dependent on Semantic Forms? That seems very strange. I also sometimes do that because Utils classes in Forms and Result Formats are awesome and should really be included in SMW PHP programming API. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] is SMW tested on development versions of MW
Hi guys! Wikimedia developers have disgusting habit to create extensions that depend on the development or alpha version or of MW. Because of that we want to use the latest MW. So the question is: does anybody checks the compatibility of SMW with alpha versions of MW? - Yury Katkov, WikiVote -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] good ways for merging
Thanks Dan! That helps! I wonder are there any good practices to store the open source code that we depend on and sometimes modify a bit... Maybe git submodules can help here? - Yury Katkov, WikiVote On Sat, Mar 9, 2013 at 3:48 PM, Dan Bolser dan.bol...@gmail.com wrote: On 8 March 2013 10:24, Yury Katkov katkov.ju...@gmail.com wrote: Hi guys! I'm quite ashamed to ask such a newbie questions but anyway: how do you usually merge your changes? So we're now depend on Forms 2.5.1 and have made some modifiactions there. We want to depend on Forms 2.5.2, patch it with our changes and send the patches to developers. I've tried to use PhpStorm merge tool but it overwrites the changes instead of merging them. Another issue is that we don't have .git directory in our patched Forms2.5.1 This is a little tricky, but can be overcome... first git clone SF, then checkout the version that you've patched. Then create a new branch and carefully apply (and commit) your changes to that branch. Now you could try to rebase or simply generate a .patch to send to devs. Git gives you more than enough rope to hang yourself, so don't worry if you get tied in knots to begin with! (Just make sure your changes are backed up!) HTH, Dan. - Yury Katkov, WikiVote -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Assistance with SMW Queries
It's possible to use simple pattern matching (wildcards) in a queries, not a fulltext searching: http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Wildcards - Yury Katkov, WikiVote On Sat, Mar 9, 2013 at 1:30 AM, Michael Alaimo malaimo...@gmail.com wrote: I would like to utilize the default SMW query language to query a MediaWiki page content along side of property information. For example I have a property called `section_number` and a set of pages which use this property. I wish to use a full text search in a subset of sections. Is it possible to use Special:Ask to query for page contents using something like a fulltext search? I was unable to find this in the semnatic media wiki documents. Mike -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Assistance with SMW Queries
It's only for text property values. - Yury Katkov, WikiVote On Mon, Mar 11, 2013 at 9:29 PM, Michael Alaimo malaimo...@gmail.comwrote: Yury, Would you please tell me if it is possible to use the wild card on any page content or only page content that is contained in a text property. Mike On Mon, Mar 11, 2013 at 1:06 PM, Yury Katkov katkov.ju...@gmail.comwrote: It's possible to use simple pattern matching (wildcards) in a queries, not a fulltext searching: http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Wildcards - Yury Katkov, WikiVote On Sat, Mar 9, 2013 at 1:30 AM, Michael Alaimo malaimo...@gmail.comwrote: I would like to utilize the default SMW query language to query a MediaWiki page content along side of property information. For example I have a property called `section_number` and a set of pages which use this property. I wish to use a full text search in a subset of sections. Is it possible to use Special:Ask to query for page contents using something like a fulltext search? I was unable to find this in the semnatic media wiki documents. Mike -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] resourceLoader and SMW-extensions
try asking this question on wikitech-l mailing list or on the support desk - the audience there is broader: http://www.mediawiki.org/wiki/Project:Support_desk - Yury Katkov, WikiVote On Tue, Mar 12, 2013 at 3:34 AM, Lists li...@psycholutions.com wrote: Hello, I experienced that resourceLoader is somtimes not fast enough although we are using $(document).ready(function(){ for 3party Js-libraries. This causes runtime errors which could have been avoided by using $wgOut-addHeadItem and or the position:top-flag while registering modules. The topic (Load delay) is also mentioned here: http://www.mediawiki.org/wiki/Talk:ResourceLoader#Top-loaded_site_scripts_42 09 Are there any new approaches to solve this problem, disscussed or practised by the SMW-community? Thanks and cheers, Steve -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] good ways for merging
Hi guys! I'm quite ashamed to ask such a newbie questions but anyway: how do you usually merge your changes? So we're now depend on Forms 2.5.1 and have made some modifiactions there. We want to depend on Forms 2.5.2, patch it with our changes and send the patches to developers. I've tried to use PhpStorm merge tool but it overwrites the changes instead of merging them. Another issue is that we don't have .git directory in our patched Forms2.5.1 - Yury Katkov, WikiVote -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] MediaWiki code style file for PhpStorm
Hi guys! if any of you use PhpStorm, I think you'll find this code style file useful. Now I set up only PHP style. Maybe it should be versioned somewhere in MediaWiki git? Here is the instruction where to put it: http://www.jetbrains.com/phpstorm/webhelp/copying-code-style-settings.html - Yury Katkov, WikiVote ?xml version=1.0 encoding=UTF-8? code_scheme name=mediawiki option name=OTHER_INDENT_OPTIONS value option name=INDENT_SIZE value=4 / option name=CONTINUATION_INDENT_SIZE value=8 / option name=TAB_SIZE value=4 / option name=USE_TAB_CHARACTER value=true / option name=SMART_TABS value=true / option name=LABEL_INDENT_SIZE value=0 / option name=LABEL_INDENT_ABSOLUTE value=false / option name=USE_RELATIVE_INDENTS value=false / /value /option XML option name=XML_LEGACY_SETTINGS_IMPORTED value=true / /XML codeStyleSettings language=PHP option name=KEEP_LINE_BREAKS value=false / option name=KEEP_CONTROL_STATEMENT_IN_ONE_LINE value=false / option name=CLASS_BRACE_STYLE value=1 / option name=METHOD_BRACE_STYLE value=1 / option name=CATCH_ON_NEW_LINE value=true / option name=SPACE_AROUND_UNARY_OPERATOR value=true / option name=SPACE_WITHIN_PARENTHESES value=true / option name=SPACE_WITHIN_METHOD_CALL_PARENTHESES value=true / option name=SPACE_WITHIN_METHOD_PARENTHESES value=true / option name=SPACE_WITHIN_IF_PARENTHESES value=true / option name=SPACE_WITHIN_WHILE_PARENTHESES value=true / option name=SPACE_WITHIN_FOR_PARENTHESES value=true / option name=SPACE_WITHIN_CATCH_PARENTHESES value=true / option name=SPACE_WITHIN_SWITCH_PARENTHESES value=true / option name=SPACE_WITHIN_ARRAY_INITIALIZER_BRACES value=true / option name=DOWHILE_BRACE_FORCE value=3 / option name=WHILE_BRACE_FORCE value=3 / option name=FOR_BRACE_FORCE value=3 / indentOptions option name=USE_TAB_CHARACTER value=true / /indentOptions /codeStyleSettings /code_scheme -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Create semantic property as simple long text
By the way if you're Russian, we have gorgeous documentation here: http://semantic-mediawiki.org/wiki/Help:%D0%A0%D1%83%D0%BA%D0%BE%D0%B2%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%BE_%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8F I'm now working on translating the pages about datatypes; most of the main docs have already been translated. - Yury Katkov, WikiVote On Tue, Feb 26, 2013 at 2:08 PM, s9gf4ult s9gf4...@gmail.com wrote: This works, thanks ! -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] [Semediawiki-user] Extreme Export Task
I think that the result format csv is better for you than RDF. Honestly I don't know the existing way to import the modified data back to SMW. For my project I had to write a bot. How do you plan to do so? - Yury Katkov, WikiVote On Tue, Feb 26, 2013 at 4:51 PM, Lists li...@psycholutions.com wrote: Hi, well there is nothing more to say. That's it. May be it is not really extreme :-). One question was should I parse the RDF or retrieve the data native via SMW-API. I think I will use PHPExcel and the SMW-API so I don't have to deal with the login-API and the RDF-parsing part. I actually ask more for best practise experiences/approaches to save time. I' m also interested in successfully TESTED ETL-apporaches. c u -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Create semantic property as simple long text
First of all ensure that the page Property:Teaser exists and contains the following text: [[has type::text]] Then ensure that you have the latest version of SMW: only the latest version can search on Text properties. - Yury Katkov, WikiVote On Tue, Feb 26, 2013 at 10:55 AM, s9gf4ult s9gf4...@gmail.com wrote: Hello, I am trying to create semantic property just like that. [[Teaser::some long text . ]] But when I am doing the ask query like that {{#ask: [[Teaser::+]] | ?Teaser }} the result is empty, until I reduce the length of [[Teaser::]] content. And when I reduce the length of the teaser text I receive a link to the new article instead of simple text. I beleive this is because too long text can not be a title of an article and SMW tries to interpret it as. How to say SMW that the Teaser property is just simple text, not an article ? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] semantic properties do not show up on factbox
That's true in my case too. Let's create a bug? - Yury Katkov, WikiVote On Tue, Feb 19, 2013 at 8:16 AM, Lists li...@psycholutions.com wrote: SMW 1.8.x Hello, semantic properties do not show up on factbox if programatically generated via PHP. Someone allready commented this with the advice to invalidate the cache without explaining how. I guess I do this and it seems to be a real bug not a cache problem. Here comes the code...every tip/hint/fix is very welcome! [...] SMWDIProperty::registerProperty( '___EXIFSOFTWARE', '_str','MyNewProp'); SMWDIProperty::registerPropertyAlias( '___EXIFSOFTWARE', 'MyNewProp' ) [...] public function UpdateDataBefore($store, $data ){ global $wgUser,$wgEnableParserCache,$wgParser; $wgParser-disableCache(); $wgEnableParserCache = false; $str = EinTestString; $property = new SMWDIProperty( '___EXIFSOFTWARE' ); $dataItem = new SMWDIString( $str ); $data-addPropertyObjectValue($property, $dataItem); [...] PS: 1. The Properties show up on Special:Browse but not on the factbox! Also the PHP-generated properties are automatically declared as special properties...I don't know why. 2. If someone could provide some code snipped too, to demonstrate how to manipulate --$data-- on the fly in an UpdateDataBefore-handler this would be very very nice and open some doors to new innovations. This doc here is not enough: http://semantic-mediawiki.org/wiki/SMW_Hooks/SMWStore::updateDataBefore c u Steve -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] CRUD-Example-Page?
Hi! Honestly I can add my PLASE to yours. :) Feel free to add your use cases of how you'll use semantic data that is set from php: http://semantic-mediawiki.org/wiki/User:Yury_Katkov/s13n_stands_for_semantification Also Current approaches to s13n there describes how we're doing that in WikiVote. - Yury Katkov, WikiVote On Wed, Feb 20, 2013 at 3:30 AM, Lists li...@psycholutions.com wrote: Hello Folks, Could someone PLEASE, PLEASE, PLEASE publish a CURD (create, read, update, delete) -Standard Sample Page for semantic properties maintained/modified by PHP. This would open the door for many extension developers mainly focused on PHP. I even would make it possible to write mobile extensions without the relatively poor SF-API and use own API's. I believe this would only need some minutes of a SMW-professional and could give the whole project a big push. Another good idea would be to link the developer documentation in the sidebar of semantic-mediawiki.org. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
[SMW-devel] altering the sorting
Hi guys! I have item numbers that are sorted like this: 1.1, 1.10, 1.11, 1.12, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9 - well you know this sorting problem. Is it possible to program the new sorting for my item numbers so that they are sorted like this? Which part of the code should I look at first? 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12 - Yury Katkov, WikiVote -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] altering the sorting
Hi Jeroen! My answers are inline On Mon, Feb 18, 2013 at 8:47 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, What sort are you talking about exactly? The one done by ask or sort done by some specific result format? The former is done using the sortkey of the DataItems in the db query. If you have a property of type string, and thus have StringDataItem objects, then the sortkey will just be the string, and your db will sort how it thinks it should sort strings. If your property is of type number, then it should be treated as a number by the db, so you ought to get the second list you provided in that case. What are you dealing with exactly? If they are numbers, just make sure the prop type is correct. If you have version numbers, such as 1.8.0.2, It's more like version numbers: of course technically those are strings and not numbers. But if they are sorted alphabetically the result is like in my first e-mail. I'm trying now to create my DataItem and override getSortKey() function. then I'm not sure how you'd go about having this sorted correctly by the db engine, as you'd need the StringDataItem to somehow provided a sensible sortkey for your version nr, which clearly it can't, since it does not (and should not) know about version numbers. well somebody should know about them, or should be able to learn from me about them :) In fact we have a_lot of such quasi-numbers that are sorted incorrectly because they are represented as strings, like those: 1) 1.1.91.9.81.12.3 - those are not integers or floats and have to be parsed and then sorted 2) Version 1 beta Version 1 pre-release Version 1 - here the sorting should consider the special words like beta and pre-release 3) Hoary Hedgehog Breezy Badger Lucid Lynx Oneiric Ocelot Precise Pangolin Quantal Quetzal - here the sorting have to be set manually in the code Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] altering the sorting
Thanks Yaron, I get the idea: you split the sortable and not sortable parts of the value and then set the type of sortable to Number. After that it will be possible to use this sortable part as sortkey in queries. That should work, I'm trying it now. Ok, now a pure scientific question: is it possible to programmaticaly create a new datatype with its unique way of sorting? - Yury Katkov, WikiVote On Mon, Feb 18, 2013 at 9:13 PM, Yaron Koren ya...@wikiworks.com wrote: Hi Yury, You should separate the parts of the version string using #explode (from the ParserFunctions extension), and then store the second half with a property of type Number. If the version number can be 2.1 and the like, then you can do something like turn the version number into parts A and B, and then set the property to a value like A * 100 + B, using #expr. -Yaron On Mon, Feb 18, 2013 at 12:06 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hi Jeroen! My answers are inline On Mon, Feb 18, 2013 at 8:47 PM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, What sort are you talking about exactly? The one done by ask or sort done by some specific result format? The former is done using the sortkey of the DataItems in the db query. If you have a property of type string, and thus have StringDataItem objects, then the sortkey will just be the string, and your db will sort how it thinks it should sort strings. If your property is of type number, then it should be treated as a number by the db, so you ought to get the second list you provided in that case. What are you dealing with exactly? If they are numbers, just make sure the prop type is correct. If you have version numbers, such as 1.8.0.2, It's more like version numbers: of course technically those are strings and not numbers. But if they are sorted alphabetically the result is like in my first e-mail. I'm trying now to create my DataItem and override getSortKey() function. then I'm not sure how you'd go about having this sorted correctly by the db engine, as you'd need the StringDataItem to somehow provided a sensible sortkey for your version nr, which clearly it can't, since it does not (and should not) know about version numbers. well somebody should know about them, or should be able to learn from me about them :) In fact we have a_lot of such quasi-numbers that are sorted incorrectly because they are represented as strings, like those: 1) 1.1.91.9.81.12.3 - those are not integers or floats and have to be parsed and then sorted 2) Version 1 beta Version 1 pre-release Version 1 - here the sorting should consider the special words like beta and pre-release 3) Hoary Hedgehog Breezy Badger Lucid Lynx Oneiric Ocelot Precise Pangolin Quantal Quetzal - here the sorting have to be set manually in the code Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- WikiWorks · MediaWiki Consulting · http://wikiworks.com -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Obtain data as simple array
I'm not sure that it should work in a maintenance script. Also why do you think that the result shouldn't be empty in your case? Anyway, here how I figured this way - I've executed the query from Special:Ask and ran the debugger :) - Yury Katkov, WikiVote On Fri, Feb 1, 2013 at 4:51 PM, s9gf4...@gmail.com wrote: ** Yes, you use GET in this case. If you use API from your javascript No, I dont need to get data from javascript, I need to receive data with php on server side and generate the page, I hoped that I can do it with some Semantic API, but it is not so simple as I thought. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Obtain data as simple array
Hi-hi! I would use SMW ask API for that. The returning json object is little bit complex, but this is not usually a big problem http://semantic-mediawiki.org/wiki/Ask_API - Yury Katkov, WikiVote On Thu, Jan 31, 2013 at 4:21 PM, s9gf4...@gmail.com wrote: ** Hello, I am hacking SMW, because I need to retrive some data from the mediawiki database and use it to render skin. I know this is the dirty hack, but I do not see another way. I need execute query like this {{ #ask: [[Title picture::+]] [[Category: some category]] | ?Title picture | format = ## here some special format ? ## | limit=10 }} and receive the answer like a simple array array(0 = array(self = Title object, Title_picture = Title object), 1 = array(self = Title objec . While the actual data is receiving by format function, specified in the query, I dont have any idea how to receive data like simple array. Do I need to write my own format function ? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
Re: [SMW-devel] Obtain data as simple array
Yes, you use GET in this case. If you use API from your javascript, it's good enough and very common. The other way is to construct the query on a server-side. I have some amount of examples here, but some of them are outdated since the class structure have changed: http://semantic-mediawiki.org/wiki/User:Ganqqwerty/programming_examples http://wikimedia.7.n6.nabble.com/How-to-get-property-values-from-SMW-Was-The-right-type-for-storing-IP-addresses-td4982384.html- here are two ways (mine is dirty and slow but universal and Markus' is clean but specifically for the task) to make queries from PHP Cheers! - Yury Katkov, WikiVote On Fri, Feb 1, 2013 at 9:38 AM, s9gf4...@gmail.com wrote: I would use SMW ask API for that. Is this means I must use HTTP GET query to retrive the data from myself ? Can I receive JSON encoded data without query ? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan___ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel