As a free project, Google could make a point of providing a special
API which would allow wikitext markup translation. Currently there are
a number of issues with the translation of raw wikitext. (Translated
in article edit mode):

http://translate.google.com/translate?hl=en&sl=auto&tl=es&u=http://en.wikipedia.org/w/index.php%3Ftitle%3DGoogle_Translate%26action%3Dedit

Internal links appear to be fine, but template tags ({{tag}}),
external links [http://...], and interwiki links [[ar:جوجل]] typically
get borked in various ways. http gets capitalized to Http for some
reason. Template tags are converted to parentheses, and their contents
transposed. RTL issues play a role in the interwiki links, and keeping
existing carriage returns in place could mitigate this.

Article headers (== Example ==) likewise get messed up.

This is of course, not to mention the useless <span onmouseover=>
tags, and their transposed content.
Dealing with most of these rules appears to be rather simple, and
containing these rules in a particular API is likewise.
Offering checkbox switched usage of this tool would be quite useful
for WikiMedians.

Reply via email to