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

       Web browser: ---
             Bug #: 29891
           Summary: $smwgNamespacesWithSemanticLinks does not work for
                    some namespaces
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


In LocalSettings.php $smwgNamespacesWithSemanticLinks can be set to 

$smwgNamespacesWithSemanticLinks = array(
    NS_MAIN         => true,
    NS_TALK         => false,
    NS_USER         => true,
    NS_USER_TALK         => false,
    NS_PROJECT         => true,
    NS_PROJECT_TALK     => false,
    NS_MEDIAWIKI         => false,
    NS_MEDIAWIKI_TALK     => false,
    NS_TEMPLATE         => true,
    NS_TEMPLATE_TALK     => false,
    NS_HELP         => true,
    NS_HELP_TALK         => false,
    NS_CATEGORY         => true,
    NS_CATEGORY_TALK     => false,
    SMW_NS_PROPERTY        => true,
    SMW_NS_PROPERTY_TALK     => false,
    SMW_NS_TYPE         => true,
    SMW_NS_TYPE_TALK     => false,
    SMW_NS_CONCEPT         => true,
    SMW_NS_CONCEPT_TALK     => false,
    SF_NS_FORM         => true,
    SF_NS_FORM_TALK        => false
);

And, unfortunately, it still does not work for for Category, Template,
Property, and Form. Those are either semantically inaccessible, or otherwise
problematic. For example, these simple queries will sometimes give a
modification date, and sometimes not:

{{#ask: [[Template:+]] | ?Modification date}}
{{#ask: [[Property:+]] | ?Modification date}}

I have not been able to get forms to produce any modification date information,
using a similar query:

{{#ask: [[Form:+]] | ?Modification date}}

Semantic mediawiki completely breaks on category wildcards, by showing every
page in the wiki, not just the categories:

{{#ask: [[Category:+]] | ?Modification date}}

A workaround for this bug is to use DynamicPageList (DPL). It is a miserable
substitute for the powerful semantic features of SMW that are supposed to work.
However, several people have had to turn to it until SMW works fully. 

http://smw.referata.com/wiki/Add_page_metadata_properties_to_a_page_(using_DPL)

http://www.mediawiki.org/wiki/Extension_talk:DynamicPageList_(Wikimedia)#Feature_Request:_DPL_query_with_SMW_properties

In addition, SMW persistently shows deleted pages, which is a related bug that
I'll post separately:

http://semantic-mediawiki.org/wiki/Help_talk:Selecting_pages#Filtering_out_deleted_pages.3F

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to