On 01/12/2014 02:16 AM, Jiang BIAN wrote:
> Hi Gabriel,
> 
> I noticed the spec hasn't been updated yet (will you do that once the
> change is checked in?)

Yes, I was asking here in advance so that it can inform our discussion.

> And could you also document that the "post-processing" will be available
> for clients that need "elaborated" information? (maybe via an additional
> API or put an additional cgi parameters, those information can be easily
> gotten them back)

We'll document the code needed to distinguish external from internal
links [1], and will also add documentation for the URL bases of
RFC/PMID/ISBN links. The latter is already needed with the current spec.

Both encodings provide the same information. In the current spec the
external vs. internal distinction is encoded redundantly in two
attributes (rel and href), while the proposal is to encode this in the
href attribute only.

Gabriel

[1]: var isExternal = /^[a-zA-Z]+:/.test(href)

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

Reply via email to