https://bugzilla.wikimedia.org/show_bug.cgi?id=18406


Markus Krötzsch <mar...@semantic-mediawiki.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal
            Summary|Ghostpages                  |Pages without wiki content
                   |                            |in query results
                   |                            |("ghostpages")




--- Comment #1 from Markus Krötzsch <mar...@semantic-mediawiki.org>  2009-07-06 
08:25:53 UTC ---
This is normal behaviour, but I agree that it can be confusing. SMW creates
internal objects as soon as they are used in any annotation, and these objects
are never deleted. I am aware that this can be confusing, but it is necessary
to correctly handle queries that ask for the existence of annotations. E.g. the
query [[property::+]] returns all pages that have some value for "property"
even if this value is a page that does not exist yet.

This makes some sense: an annotation [[property::pagename]] assigns the value
"pagename" even if there is no page of that title yet. This is the reason why
the semantic object "pagename" must exist even if there is no wiki page. If you
only want to retrieve existing pages, you can query for [[Modification
date::+]].

To improve SMW's behaviour here, the internal query construction would need to
be changed so that top-level namespace queries are extended with additional
side-conditions that restrict results to existing pages.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to