[Thread imported from devel list] Two frequently asked questions for the list.
On Saturday 10 February 2007 23:01, Udi Oron wrote: ... > > Oh, > > I still need an answer for this one: > >> And I've got a newbie question: > >> How do I force all pages to recreate/purge/refresh, so they will appear > >> in semantic searches? This could be two different questions: (1) How do I force every page to be purged, so that inline queries do not come from the cache but are recomputed? By default, MediaWiki clears its caches whenever the file LocalSettings.php was modified. To clear the cache once, just touch this file. To switch off caching completely, you can add the line $wgCacheEpoch = date("YmdHis"); at the bottom of your LocalSettings.php. This should be done only on not so large wikis. (2) My articles contain semantic annotations but they are not found in semantic searches. What can I do? This can happen when article texts are imported into the database without being properly created in the wiki, when attributes have been used in an article before they were defined (with a proper type), or when annotations are imported into articles via templates and have not been saved since the template was annotated. The factboxes will always show what is currently in a pages text. To see what is really in the database, you can look at the RDF feed. Similar problems appear in MediaWiki with categories (e.g. templates that include category statements will not affect categorisation until the categorised articles are saved again, even though the category is printed below the article). To fix this, you need to run a maintenance script that touches every problematic article. MediaWiki supplies the script maintenance/Rebuildall.php to do this. This process can take some time to complete. Hope this helps, Markus > > Thanks! > > Udi -- Markus Krötzsch Institute AIFB, University of Karlsruhe, D-76128 Karlsruhe [EMAIL PROTECTED] phone +49 (0)721 608 7362 www.aifb.uni-karlsruhe.de/WBS/ fax +49 (0)721 693 717
pgpQ051gvMXcO.pgp
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel