Last modified: 2009-11-15 16:19:34 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 T22939, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20939 - xslt parameter of api, should insert a stylesheet with type text/xsl, not text/xml
xslt parameter of api, should insert a stylesheet with type text/xsl, not tex...
Status: RESOLVED DUPLICATE of bug 19528
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.16.x
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Roan Kattouw
http://en.wiktionary.org/w/api.php?ac...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-02 05:27 UTC by Bawolff (Brian Wolff)
Modified: 2009-11-15 16:19 UTC (History)
6 users (show)

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


Attachments

Description Bawolff (Brian Wolff) 2009-10-02 05:27:46 UTC
When you use the xslt parameter of the api. it inserts a line of the form:

<?xml-stylesheet href="/w/index.php?title=MediaWiki:extractFirst.xsl&amp;action=raw" type="text/xml" ?>

This should be

<?xml-stylesheet href="/w/index.php?title=MediaWiki:extractFirst.xsl&amp;action=raw" type="text/xsl" ?>

As all browsers recognize text/xsl (despite it being technically "non-standard"), well text/xml is not recognized by internet explorer. See [[w:Xslt#XSLT_media_types]].

Cheers,
Bawolff
Comment 1 Alexandre Emsenhuber [IAlex] 2009-10-02 08:41:39 UTC

*** This bug has been marked as a duplicate of bug 19528 ***

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


Navigation
Links