From: Yaron K. <ya...@gm...> - 2010-03-19 17:15:09
|
Hi, No, I wasn't talking about Special:Browse. The display of internal objects could definitely be improved, though I wouldn't call it a bug per se - just something that SMW should ideally handle better. You're right that executing raw SQL is not good. :) However, I think it's the best option at the moment. -Yaron On Fri, Mar 19, 2010 at 1:00 PM, Liangent <lia...@gm...> wrote: > Yaron, did you mean that not displaying internal objects in > Special:Browse was a bug in SIO and will it be fixed later? > > I had a look at my database, and I found SMW's data storage was not > that simple. I think executing raw SQL in an extension based on SMW to > get internal object data is not good -- for example, it may introduce > more bugs and what if SMW's schema changes? > > On 3/19/10, Yaron Koren <ya...@gm...> wrote: > > That's an interesting question - the SIO extension should probably have > some > > functions to retrieve all the internal objects for, say, a given page, > but > > it doesn't. Until then, the easiest approach might be to get the values > you > > need through direct SQL querying. > > > > -Yaron > > > > On Fri, Mar 19, 2010 at 7:52 AM, Liangent <lia...@gm...> wrote: > > > >> Then how can I get SIOs in PHP, for example, in my own extension? > >> > >> On 3/19/10, Bob MacCallum <unc...@gm...> wrote: > >> > I don't think you can browse SIOs like that. > >> > > >> > Instead you can do an #ask: or Special:Ask to get the information you > >> need. > >> > > >> > On Fri, Mar 19, 2010 at 5:47 AM, Liangent <lia...@gm...> wrote: > >> >> Hi, > >> >> > >> >> I created [[A]] which contained an internal object. In > >> >> [[Special:Browse/A]], I saw the internal object and its 'browse > >> >> properties' link pointed to [[Special:Browse/A-231]]. But on > >> >> [[Special:Browse/A-231]] I saw the same content as > >> >> [[Special:Browse/A]] and it seemed impossible to view properties of > >> >> the internal object. What's the problem? > >> >> > >> >> > >> > ------------------------------------------------------------------------------ > >> >> Download Intel® Parallel Studio Eval > >> >> Try the new software tools for yourself. Speed compiling, find bugs > >> >> proactively, and fine-tune applications for parallel performance. > >> >> See why Intel Parallel Studio got high marks during beta. > >> >> http://p.sf.net/sfu/intel-sw-dev > >> >> _______________________________________________ > >> >> Semediawiki-user mailing list > >> >> Sem...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > >> >> > >> > > >> > > >> > > >> > -- > >> > http://darwintunes.org - a test-tube for cultural evolution > >> > http://evolectronica.com - survival of the funkiest > >> > http://compare-stuff.com - confused? you will be! > >> > http://twitter.com/darwintunes > >> > http://twitter.com/bobmaccallum > >> > > >> > >> > >> > ------------------------------------------------------------------------------ > >> Download Intel® Parallel Studio Eval > >> Try the new software tools for yourself. Speed compiling, find bugs > >> proactively, and fine-tune applications for parallel performance. > >> See why Intel Parallel Studio got high marks during beta. > >> http://p.sf.net/sfu/intel-sw-dev > >> _______________________________________________ > >> Semediawiki-user mailing list > >> Sem...@li... > >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user > >> > > > > > > > > -- > > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |