Last modified: 2012-02-26 17:35:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36740, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34740 - SemanticMediaWiki: can mime type be dependent on parameters?
SemanticMediaWiki: can mime type be dependent on parameters?
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-26 17:35 UTC by Van de Bugger
Modified: 2012-02-26 17:35 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Van de Bugger 2012-02-26 17:35:38 UTC
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?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links