https://bugzilla.wikimedia.org/show_bug.cgi?id=17829

           Summary: A simple XML "skin" to be used with XSLT
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]


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.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to