Last modified: 2013-02-18 10:56:29 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 T19829, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17829 - A simple XML "skin" to be used with XSLT
A simple XML "skin" to be used with XSLT
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 6884
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-07 02:22 UTC by René Kijewski
Modified: 2013-02-18 10:56 UTC (History)
1 user (show)

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


Attachments

Description René Kijewski 2009-03-07 02:22:54 UTC
It would be great, if there would be a very simple XML output/skin to be used with XSLT.
I mean a wiki text like

 ==Header==
 *a
 *b<ref name="ref">[http://example.com/ Reference]</ref>
 text
 <refences/>

could be rendered to something like

 <mediawiki title="Wikipedia" wgArticlePath="/wiki/$1" . . .>
  <user name="127.0.0.1" id="" newmessages="true" . . . />
  <sidebar>
   . . .
  </sidebar>
  <page wgArticleId="4711" wgTitle="Test" wgCanonicalNamespace="" . . . />
   <content wgCurRevisionId="31173">
    <h indent="2" achnor="Header">Header</h>
    <list type="unordered">
     <li>a</li>
     <li>b<ref name="ref"/></li>
    </list>
    <p>text</p>
    <references/>
   </content>
   <references>
    <ref name="ref">
     <link href="http://example.com/">Reference</link>
    </ref>
   </references>
  </page>
  . . .
 </mediawiki>

so that a really custom skin could be created. I don't know if this would be posible. Maybe it would break with too many existing extensions. The <content> would almost be the same as it's now with HTML. I know, a new skin would not be enough to achieve my proposal.
Comment 1 Antoine "hashar" Musso (WMF) 2013-02-18 10:56:29 UTC
XSLT use to be fun years ago. Given the complexity of managing XSLT / XML output, we are not going to ever implement such support.

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


Navigation
Links