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

       Web browser: ---
             Bug #: 41268
           Summary: Nesting of templates withing ask-queries
                    (format=template) is limited to 2 template levels (SMW
                    1.7.1)
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


If a page "Origin" contains an ask query 1 with format=template,
template=Nested1, and Nested1 contains an ask query 2 with template=Nested2,
and Nested2 contains an ask query 3 with template=Nested3 (which contains no
further ask-query, but simple display), the query fails.

We tested, that both the sequence:

Origin-with-ask-query 1 + Nested1-with-ask-query 2 + Nested2-with-ask-query 3
(with format changed to table instead of template, making Nested3 unused)

and

Nested1-with-ask-query 2 + Nested2-with-ask-query 3 + Nested3-simple-rendering

works fine. This seems to indicate that it is not the number of ask-queries
(which is the same in both cases), but the depth of nested ask-template-formats
is limiting.

The described depth of nesting is necessary if a result shall be presented with
two levels of subheadings (grouped by factor 1, then grouped by factor 2).

I have not found this limitation documented and believe it is unexpected low. 
Some limitation of levels of subheadings may be reasonable, allowing only one
level of subheadings in a report seems over-constrained and I wonder whether
this is intentional or a bug.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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