Hello Jeroen, thank you for answering. Now I see the problems too and will reduce the project accordingly to provide only managing of well declared text parts in the front end while announcing the exceptions of functionality. By the way just for interest, could you answer the following questions too?
- Is there a db-scheme available for SMW? - Do you know a parser-funktion of object parser or another object which will turn wiki-text into HTML-markup? thank you, stevie -----Ursprüngliche Nachricht----- Von: Jeroen De Dauw [mailto:jeroended...@gmail.com] Gesendet: Freitag, 8. Juni 2012 14:41 An: Lists Cc: Semediawiki-devel@lists.sourceforge.net Betreff: Re: [SMW-devel] in place editing and SMW Hey, In-line editing gets rather tricky when parser functions are involved. Since most SMW data ends up being passed via templates, having an inline editor for templates would go a long way, but I think this already exists to some extend. Editing arbitrary properties is a lot harder, since they might be set using the extended link syntax or #set, both of which can take things such as template parameters and the results of other functions. And they might even just be computed by SMW (ie Modification date). So I'd be very careful to not reinvent the wheel, since effort in this direction has already been done, and also not underestimate the difficulty to get this to work nicely. > Do I have to make changes on the server side to the SMW-Tables or will this automatically happen after a page refresh with the new page content? The data held in the SMW tables is "secondary data" in the sense that it is computed by parsing the actual page content. It should always be possible to get rid of the data in the tables and regenerate it from the actual page content. So if you go write directly to the tables and not have it changed in the actual page, you'll run into problems. So a working (although maybe not very efficient) approach would be modifying the page content and just saving it, without caring at all how SMW deals with the data. In this case your integration with SMW would mainly consist of understanding the extended link syntax and #set. Good luck with your project :) Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel