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

       Web browser: ---
             Bug #: 30424
           Summary: #ask within template for property subquery returns
                    nothing
           Product: MediaWiki extensions
           Version: any
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


[MW 1.17, SMW 1.6]
I'm trying to do a subquery based on a property, as described in:
http://semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_for_properties

If I understand correctly, the general idea is:
-In Page 1: template1 including #ask query for pages that link to this page,
returning a given property and formatted using template 2
-In Template 2: #ask query for pages with a property equal to the passed value

I have put together something in the sandbox at:
http://sandbox.semantic-mediawiki.org/wiki/Canada
The two templates are:
http://sandbox.semantic-mediawiki.org/wiki/Template:Subquerytest1
http://sandbox.semantic-mediawiki.org/wiki/Template:Subquerytest2
(I realize it's a wierd useless example, but I was trying to use existing
sandbox data)

It returns an odd error there, but on my server, the subquery returns nothing
at all, even if I replace {{{2}}} with a literal value.  Is there a setting I'm
missing, or is there a bug?

-- 
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