[Mediawiki-l] semarbtri help request

Kelly Jones kelly.terry.jones at gmail.com
Tue Jul 17 00:49:23 UTC 2007


Thanks to everyone who replied. Answers to questions:

% I originally tried to integrate this into Semantic MediaWiki, but
the code there seems very "page-centric". There doesn't seem to be a
concept of an arbitrary tuple. I'm sure this could be integrated into
Semantic MediaWiki (and since both are open source, anyone is welcome
to try), but I found it easier to write something separate. I'd
definitely like to get a lot of Semantic MediaWiki's features, either
by merging it into my code or vica versa.

% If you put [[x::R::y]] on page z: S Page is correct. You can edit
the tuple on page z only. It will be displayed read-only on both pages
x and y. However, the display on x and y will tell you that z created
the tuple, so you know where to go to edit it.

% I'd really like to get the table data looking nicer (eg, using
Exhibits), though I'd prefer something more server-side than
client-side (not sure JSON/JavaScript is that universally supported
browser-side?)

% I'd like to get a little more done (in terms of bug fixes +
formatting) before "officially" announcing this at
http://www.mediawiki.org/wiki/Extension_Matrix

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

On 7/15/07, David Karger <karger at mit.edu> wrote:
> Suppose I put [[x::r::y]] on a page.  Does it appear on page x?  On page
> y?  Can I edit it in either of those places?  What happens if I do?
>
> Kelly Jones wrote:
> > I've now created a test site for a semantic MediaWiki that lets you
> > put the triple (x,R,y) anywhere, not just on page x:
> >
> > http://semarbtri.kgprog.com/wiki/index.php/Main_Page
> >
> > The code is available:
> >
> > http://semarbtri.kgprog.com/SemArbTri.txt
> >
> > The syntax for a triple is "[[x::R::y]]" (or just "[[R::y]]" if you're
> > already on page x).
> >
> > Broken things I'd like help with:
> >
> > % When editing an existing page, all the semantic info vanishes. Compare:
> >
> > http://semarbtri.kgprog.com/wiki/index.php/The_Light_Fantastic
> >
> http://semarbtri.kgprog.com/wiki/index.php?title=The_Light_Fantastic&action=edit
> >
> > The first page has semantic info, the second doesn't. My extension
> > does have a "in edit mode, don't display semantic data" comment + some
> > supporting code, but commenting out this code doesn't help.
> >
> > % When editing a new page, semantic info is visible, but unformatted:
> >
> > http://semarbtri.kgprog.com/wiki/index.php?title=Wizard&action=edit
> >
> > % If I try to protect against spammers by adding this to
> LocalSettings.php:
> >
> > $wgGroupPermissions['*']['edit'] = false;
> >
> > the semantic info disappears when you're viewing new (non-existent)
> > pages. I've commented this setting out for now (so I can't give an
> > example page of where this happens), but I'd like to get this fixed.
> >
> > % Minor: my code breaks the "nowiki" tag (so the main page says
> > "((x::R::y))" instead of "[[x::R::y]]" when giving an example)
> >
> > % Minor: weird empty semantic triple at the bottom of some pages:
> >
> > http://semarbtri.kgprog.com/wiki/index.php/Troll
> >
> > (am I doing the MySQL SELECT wrong?)
> >
> > % These are the "big" errors. There are many smaller errors + lots of
> > features I want to add.
> >
> > Any volunteers? No CVS or anything yet (the sf.net page is not
> > up-to-date), but please send suggestions/code improvements.



More information about the MediaWiki-l mailing list