Last modified: 2013-02-18 10:56:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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