Hi all,

Our team has begun building templates to "hide" SMW tags.    This has
become very useful and in some cases we have built wikipedia style
"infoboxes" that hide SMW tags.  The infobox templates hide semantic
markup, and act as "eye candy" to lure unsuspecting editors into
contributing semantic relations.  We love it and it is working.

But here is my question, recently I went to change a one of these templates
that was used by about 50 other wiki pages. After I changed the name of a
semantic relation in the template I then checked some of the pages that use
the template.  Sure enough the page "appeared" to have changed with the new
semantic relation.  (For example  I was changing the relation "is authored
by::" to simply "author::".)    What I then noticed was that even though
individual pages showed the new relation (author::) correctly,  query
results on other pages were not showing the change correctly but indeed
were still showing the old name of the relation. (Is authored by)

So of course my instinct was to clear caches like mad.  I tried the cache
of the query page, the template, some of the individual pages that used the
template.   Nothing worked!

I then discovered that if I "edited" a page that called the template" and
"saved" it, the query results (on some other page) would then be updated
with the new relation name. (author).  Yikes,  I was up until 1:00 am
editing and saving pages..,  This is a live site and I knew that in the
morning people would look....

Anyway I would love to avoid this problem again!   What can I do when
templates containing relations change and the results need to be propagated
out to every query that references SMW relations  embedded in templates?
Was there a trick I did not know about?  Is something coming 0.7 that
addresses this?  Have others experienced this?

Mike
                                                                           
      Mike Axelrod                                                         
      Solution Architect                                                   
      Enterprise Architecture & Integration Team                           
      Excellus, Inc.                                                       
      [EMAIL PROTECTED]                                         
      office: 585-301-8345                                                 
                                                                           






-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to