Closed
Bug 111520
Opened 23 years ago
Closed 20 years ago
Add application/xhtml+xml to "select from list"
Categories
(bugzilla.mozilla.org :: General, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: WeirdAl, Assigned: endico)
Details
(Keywords: xhtml)
XHTML is a technology we are attempting to support a great deal. However, for XHTML-based bugs, it would be priceless to be able to choose a mime-type directly from a bug report. Currently, Bugzilla supports a straight-forward attachment link: Created an attachment (id=58900) However, if I as a Bugzilla user could choose multiple mime-types via link for this attactioment, it would be invaluable: Created an attachment (id=58900, application/xhtml+xml) (application/xml) (text/xml) (text/html) Suggestion: (1) Add application/xhtml+xml to select box of preset mime-types (2) Include for this particular mime-type in Bugzilla comments the ability to choose mime-type by clicking on a link. This would make testing of XHTML-specific bugs ten times easier.
Comment 1•23 years ago
|
||
-> m.o/bugzilla issues According to http://bugzilla.mozilla.org/showattachment.cgi?attach_id=57627 there are only 10 such usages ATM, though
Assignee: myk → endico
Component: Creating/Changing Bugs → Bugzilla: Other moz.org Issues
Product: Bugzilla → mozilla.org
QA Contact: matty → myk
Version: unspecified → other
Reporter | ||
Comment 2•23 years ago
|
||
Yes, but we file a LOT of XHTML-specific attachments as text/html and/or text/xml just to see the comparison. That's what the xhtml keyword is for.
Comment 3•23 years ago
|
||
didn't say it wouldn't be useful... Anywya, changing summary to split the bugzilla issue (downloading one file with multiple mime-types) and the m.o issue (adding the new type to the list) - alex will file a new bug
Summary: Add application/xhtml+xml to "select from list", provide multiple mime-types → Add application/xhtml+xml to "select from list"
Reporter | ||
Comment 4•23 years ago
|
||
Spun off bug 111522 for the multiple mime-types from bug reports issue.
Reporter | ||
Comment 5•22 years ago
|
||
I looked at Bugzilla 2.14.3, and I thought to myself in editing the code, "gee, that is remarkably painless..." <source:code> <option value="text/plain">plain text (text/plain)</option> <option value="text/html">HTML source (text/html)</option> <option value="application/xhtml+xml">XHTML source (application/xhtml+xml)</option> <option value="application/xml">XML source (application/xml)</option> <option value="image/gif">GIF image (image/gif)</option> </source:code> The code above is for the current Bugzilla running. I don't have the ability at the moment to create a patch. Would someone do the honors?
Reporter | ||
Comment 6•22 years ago
|
||
I am a dunce; I forgot about the modularization of Bugzilla. Ignore the above; the following is based on Bugzilla 2.16. \template\en\default\attachment\content-types.html.tmpl <option value="text/plain">plain text (text/plain)</option> <option value="text/html">HTML source (text/html)</option> <option value="application/xhtml+xml">XHTML source (application/xhtml+xml)</option> <option value="application/xml">XML source (application/xml)</option> <option value="image/gif">GIF image (image/gif)</option> <option value="image/jpeg">JPEG image (image/jpeg)</option> <option value="image/png">PNG image (image/png)</option> <option value="application/octet-stream">binary file (application/octet-stream)</option> This also adds the XML source option; for some reason it seems a little odd to me to add XHTML and not add XML. Can someone whip up a patch for this? AFAIK, this patch would be devastatingly simple.
Comment 7•21 years ago
|
||
I also would like to have this feature. It's very useful as Mozilla application/xhtml+xml code doesn't seem to share a great deal with other things. Most of my recent bugs have been because Mozilla behaves less well in this mode.
Comment 8•21 years ago
|
||
FYI: If you save a file as .xhtml and let Bugzilla auto-detect it will recognize XHTML and apply the application/xhtml+xml MIME-type to the file.
Comment 9•20 years ago
|
||
WONTFIX. See the stats in bug 118083. If we add any more, it'll be application/zip and text/xml. Gerv
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
Updated•13 years ago
|
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•