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

       Web browser: ---
             Bug #: 36777
           Summary: [SRF] [calendar]1.8 alpha; Using template option
                    produces Invalid argument supplied for foreach()
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticResultFormats
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The following #ask call

{{#ask:
  [[Category:News item]]
  [[News date::>{{#calendarstartdate:}}]]
  [[News date::<{{#calendarenddate:}}]]
  |?News date
  |format=calendar
  |template=Query/Scenario/Calendar/Template
}}

do not display any content via the template but instead produces:

Warning: Invalid argument supplied for foreach() in
/srv/semantic-mediawiki_org/www/w/extensions/SemanticResultFormats/Calendar/SRF_Calendar.php
on line 186

An actual example can be seen at [1] using Semantic Result Formats (Version 1.8
alpha) (r113946)

[1]
http://www.semantic-mediawiki.org/w/index.php?title=Special:RunQuery/Query/Scenario&month=3&year=2012&title=Special:RunQuery/Query/Scenario&sf_free_text=&wpRunQuery=Run%20query&Query/Scenario[scenario]=Calendar&Query/Scenario[lang]=en

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