Bug 6616

Summary: Use official javascript and csv types, add ecmascript
Product: shared-mime-info Reporter: Ville Skyttä <ville.skytta>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla, matt+fdo
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Use official types for javascript and csv, add ecmascript
2nd rev, preserves alphabetical order by mime type
Alias text/javascript to application/javascript

Description Ville Skyttä 2006-04-16 07:31:01 UTC
The attached patch updates freedesktop.org.xml to use the official IANA
registered types for JavaScript and CSV files, and adds ECMAScript.

Note that the patch also uses "JavaScript" with capital "S" which appears to be
the "official" spelling form, so translations need an update too.
Comment 2 Ville Skyttä 2006-04-16 07:35:28 UTC
Created attachment 5329 [details] [review]
2nd rev, preserves alphabetical order by mime type
Comment 3 Bastien Nocera 2006-08-25 08:39:20 UTC
2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Use application/javascript rather than
        application/x-javascript, patch by Ville Skyttä <ville.skytta@iki.fi>
        (Closes: #6616)

2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * az.po:
        * bg.po:
        * cs.po:
        * cy.po:
        * da.po:
        * de.po:
        * el.po:
        * eo.po:
        * es.po:
        * eu.po:
        * fi.po:
        * fr.po:
        * hu.po:
        * it.po:
        * ja.po:
        * ko.po:
        * lt.po:
        * ms.po:
        * nb.po:
        * nl.po:
        * nn.po:
        * pl.po:
        * pt.po:
        * pt_BR.po:
        * ru.po:
        * rw.po:
        * sq.po:
        * sr.po:
        * sv.po:
        * uk.po:
        * vi.po:
        * zh_CN.po:
        * zh_TW.po: update s/Javascript/JavaScript/
Comment 4 Bastien Nocera 2006-08-25 08:44:01 UTC
2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Use text/csv rather than
        text/x-comma-separated-values, patch by Ville Skyttä
        <ville.skytta@iki.fi> (Closes: #6616)

2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add ECMAScript mime-type
        (application/ecmascript), patch by Ville Skyttä
        <ville.skytta@iki.fi> (Closes: #6616)
Comment 5 Ville Skyttä 2006-08-25 09:27:04 UTC
Thanks for applying the patches.

However, one bit from the patch in comment 2 was missed, I think text/javascript
should be listed as an alias to application/javascript; it is probably the most
commonly used (due to cross browser compatibility) media type for JavaScript
today and is also included in RFC 4329.
Comment 6 Ville Skyttä 2006-08-25 09:28:12 UTC
Created attachment 6685 [details] [review]
Alias text/javascript to application/javascript
Comment 7 Bastien Nocera 2006-08-25 09:29:18 UTC
Good catch, it's missed 0.19 by minutes though, sorry.

2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add text/javascript as an alias to
        application/javascript, spotted by Ville Skyttä <ville.skytta@iki.fi>
        (Closes: #6616)
Comment 8 Bastien Nocera 2007-02-02 07:40:43 UTC
*** Bug 9396 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.