<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 17, 2013 at 8:23 PM, Matthew Flaschen <span dir="ltr"><<a href="mailto:mflaschen@wikimedia.org" target="_blank">mflaschen@wikimedia.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12/17/2013 10:11 AM, Daniel Schwen wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
    See also<br>
    <a href="https://www.mediawiki.org/__wiki/Extension:__PronunciationRecording" target="_blank">https://www.mediawiki.org/__<u></u>wiki/Extension:__<u></u>PronunciationRecording</a><div><div class="h5"><br>
    <<a href="https://www.mediawiki.org/wiki/Extension:PronunciationRecording" target="_blank">https://www.mediawiki.org/<u></u>wiki/Extension:<u></u>PronunciationRecording</a>> .<br>
      That's planned to run on Wiktionary (and upload to Commons), so it<br>
    probably won't use OAuth, but I agree it's great that OAuth is<br>
    opening so many doors.<br>
<br>
<br>
This wouldn't even need an Extension. Some site JS would suffice.<br>
</div></div></blockquote>
<br>
True, though some of the supporting code does need an extension (WAV to Ogg Vorbis translation uses TimedMediaHandler).<br>
<br>
However, an extension allows for better i18n (it's already been translated in over a dozen languages on TranslateWiki.Net; see <a href="https://translatewiki.net/w/i.php?title=Special%3AMessageGroupStats&group=ext-pronunciationrecording#sortable:3=desc" target="_blank">https://translatewiki.net/w/i.<u></u>php?title=Special%<u></u>3AMessageGroupStats&group=ext-<u></u>pronunciationrecording#<u></u>sortable:3=desc</a>).<br>
</blockquote><div><br></div><div>Not totally true for several reasons:<br>1. Extensions can be harder to implement, as they require a lot of MediaWiki specific knowledge. Just creating a tool in any language on Labs can be pretty easy and OAuth allows for integration with the Wikimedia wikis. This is mostly true for Wikimedia wikis. Having a MediaWiki extension also allows third parties to benefit more easily.<br>
</div><div>2. There is a ready to use i18n library for Labs. It's called Intuition. Documentation is at <a href="https://github.com/Krinkle/TsIntuition/wiki/Documentation">https://github.com/Krinkle/TsIntuition/wiki/Documentation</a> and Intuition with 15 or so supported tools is being translated at <a href="http://translatewiki.net">translatewiki.net</a> (<a href="https://translatewiki.net/wiki/Translating:Intuition">https://translatewiki.net/wiki/Translating:Intuition</a> ). It currently is only available for PHP as far as I know, but I could imagine that Krinkle may change the message format to JSON, which would make it easier to also support other programming languages more easily.<br>
</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
It also provides more flexibility later.</blockquote><div> </div><div>It depends on what later is. The main issue that I have with tools at tool labs and gadgets, is that they are not easily available for other consumers.<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><br>
<br>
Matt Flaschen<br>
</div></div></blockquote></div><br></div><div class="gmail_extra">Cheers!<br clear="all"></div><div class="gmail_extra"><br>-- <br>Siebrand Mazeland<br>Product Manager Language Engineering<br>Wikimedia Foundation<br><br>
M: +31 6 50 69 1239<br>Skype: siebrand<br><br>Support Free Knowledge: <a href="http://wikimediafoundation.org/wiki/Donate" target="_blank">http://wikimediafoundation.org/wiki/Donate</a>
</div></div>