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

       Web browser: ---
             Bug #: 34740
           Summary: SemanticMediaWiki: can mime type be dependent on
                    parameters?
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


I am working on generic template-controlled result printer. I noticed that (a
descendant of) SMWResultPrinter object is used in such a way:

1. Method getMimeType is called first,
2. Then handleParameters method is called.

It makes impossible to write ResultPrinter which MIME type depends on
arguments, e. g.:

{{ #ask: ...
| mime-type = application/gpx+xml
| ...
}}

Is it possible to call handleParameters before getMimeType?

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