On Dienstag, 4. August 2009, sirisha mosalikanti wrote: > Hi, > I have th efollowin gconfiguration. > MediaWiki Version 1.13.3 > Semantic MediaWiki Version 1.4.1 > UBUNTU 2.6.27-9-server > Is there any way to avoid deleted pages in the ask queries results?
Deleted pages should never appear in queries that ask for specific properties. A deleted page is in no category and has no semantic data. The only way to retrieve these pages is to ask for *all* pages, or for all pages in a certain namespace, since these criteria filter by page name, not by existence (non- existing pages must sometimes be represented in SMW records internally since they could be the value of some property on an existing page; SMW does currently not implement a garbage collection to really delete non-existing pages when nobody needs them any more). A general way to filter for existing pages is to add a generic condition [[modification date::+]] that restricts to pages that have a modification date. If this returns non-existing pages, then your database records are not consistent (maybe some update job was lost, something crashed, or some old data was not deleted appropriately). See the SMW manual on "Repair" for ways of refreshing your records if needed. Note that there is a separate mailing list for SMW questions that will give you more answers in general. Regards, Markus P.S. SMW 1.4.3 will be released soon. Consider upgrading to avoid running into problems that have been fixed already. Same holds for your MW version, which is rather old already. -- Markus Krötzsch Institute AIFB, Universität Karlsruhe (TH), 76128 Karlsruhe phone +49 (0)721 608 7362 fax +49 (0)721 608 5998 m...@aifb.uni-karlsruhe.de www http://korrekt.org http://semantic-web-book.org http://semantic-mediawiki.org
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l