Hi Subbu,
I have another two question:
1. According to the roadmap, you will research the “HTML-only wiki support”
and “DOM-based templating”. Does it mean that if you launch these
functions, wikitext will no longer be supported, even the round-trip
doesn’t work?
2. In “MediaWiki_DOM_spec” there are a lot of discussing and implemented
status. Will the parsoid output change a lot in the future? What is the
approximate percentage?
Thanks
Feng Yi
On Wed, Sep 11, 2013 at 8:00 PM, <wikitext-l-request(a)lists.wikimedia.org>wrote;wrote:
Send Wikitext-l mailing list submissions to
wikitext-l(a)lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
or, via email, send a message with subject or body 'help' to
wikitext-l-request(a)lists.wikimedia.org
You can reach the person managing the list at
wikitext-l-owner(a)lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Wikitext-l digest..."
Today's Topics:
1. Re: Diff between real Parsoid result and Introduction page
(Subramanya Sastry)
----------------------------------------------------------------------
Message: 1
Date: Tue, 10 Sep 2013 13:13:59 -0700
From: Subramanya Sastry <ssastry(a)wikimedia.org>
To: wikitext-l(a)lists.wikimedia.org
Subject: Re: [Wikitext-l] Diff between real Parsoid result and
Introduction page
Message-ID: <522F7D87.2010905(a)wikimedia.org>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
On 09/10/2013 02:18 AM, Feng Yi wrote:
Hi,
I'm in google wiki knowledge team and currently work on Parsoid.
I found there are some diffs between
http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec and real
Parsoid output.
For example: /RFC 1945 /
in page:
<arel="mw:ExtLink/PMID"
resource="http://purl.org/commons/html/pmid/20610307"
href="//www.ncbi.nlm.nih.gov/pubmed/20610307?dopt=Abstract <
http://www.ncbi.nlm.nih.gov/pubmed/20610307?dopt=Abstract>"
about="#_:PMID-20610307-1234"
class="external mw-magiclink-pmid">
PMID 20610307
</a>
in Parsoid:
*<a typeof="mw:ExtLink/RFC"
href="//tools.ietf.org/html/rfc1945
<http://tools.ietf.org/html/rfc1945>" rel="mw:ExtLink/RFC">RFC
1945</a></p>*
/
/
I have removed the "parsoid-data" and other global tags, but still
a lot of diff.
The page is updated several days ago, so is the released Parsoid
not newest?
Hi Feng,
The spec for RFC is this:
<a rel="mw:ExtLink/RFC"
href="http://tools.ietf.org/html/rfc1945"
resource="urn:ietf:rfc:1945"
about="#_RFC-1945-1234"
class="external mw-magiclink-rfc">
RFC 1945
</a>
and output after discarding data-parsoid is:
<a rel="mw:ExtLink/RFC"
href="//tools.ietf.org/html/rfc1945"
typeof="mw:ExtLink/RFC">
RFC 1945
</a>
So, there are diffs, yes. We are in the process of cleaning up our spec
(and actively making a few changes) -- in some cases, the spec is
outdated, and in other cases, the spec has information about proposed
changes (but not yet implemented). In the next week or so, we'll try to
clean up our spec (removing/updating outdated information, or adding
annotations where the spec is proposing changes).
Thanks for alerting us about the mismatch.
Subbu.