https://bugzilla.wikimedia.org/show_bug.cgi?id=20939
Summary: xslt parameter of api, should insert a stylesheet with
type text/xsl, not text/xml
Product: MediaWiki
Version: 1.16-svn
Platform: All
URL: http://en.wiktionary.org/w/api.php?action=parse&prop=tex
t&page=word&format=xml&lang=en&xslt=MediaWiki:extractFir
st.xsl
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
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&action=raw"
type="text/xml" ?>
This should be
<?xml-stylesheet
href="/w/index.php?title=MediaWiki:extractFirst.xsl&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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l