MediaWiki has a database table for external links - this table contains 
all of the externally referenced items for each page (most recent 
revision only).

It appears that that these are updated only when a page is modified.  
However, since SMW supports queries (eg, ask), it would seem that if the 
ask result returned an external link, that it would be preferable to 
update the various links tables appropriately.

I realize that at *best* this could be done when the page is rendered - 
that is, if a user modifies page A, and the ask query on page B changes 
as a result, links would not be updated until B was rendered (at the 
earliest).  As it stands, links do not update until B is *saved*.

It appears that the MW maintenance script "refreshLinks.php" doesn't 
parse tags, so it only sees the SMW ask markup, not the result set 
[otherwise this could be run periodically to refresh the link data].

I can certainly understand why MW wouldn't want to do this normally, 
since dynamic content isn't really the purpose of a wiki - but it is 
something that SMW effectively provides.

Any thoughts on this would be greatly appreciated!

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to