Skip to Content.

swikig - [swikig] semarbtri help request

swikig AT

Subject: Semantic Wiki Interest Group

Text archives

[swikig] semarbtri help request

Chronological Thread 
  • From: "Kelly Jones" <kelly.terry.jones AT>
  • To: mediawiki-l AT, semediawiki-user AT, swikig AT
  • Subject: [swikig] semarbtri help request
  • Date: Sun, 15 Jul 2007 18:37:20 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Hflr5V6LPvtX2LyP510PARI2NfgellBK+6hoN7R9ADIQe+s0v2gqDnp11OOMmQl7ruTuLB6ubceWb3Yzyj3eg8dka15Og2GEza7kXm1uThV19AFVKKQTxEDj54GbRn+GwWhqQU5uMJ6OWfjFTErk6rtQfDbMKfXWmQ1QNOvtjM0=
  • Envelope-to: swikig AT
  • List-archive: <>
  • List-id: Semantic Wiki Interest Group <>

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:

The code is available:

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:

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:

% 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:

(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 page is not
up-to-date), but please send suggestions/code improvements.

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.

Archive powered by MHonArc 2.6.16.

Top of Page