On 18.02.2013, 18:57 Brad wrote:

> On Mon, Feb 18, 2013 at 7:24 AM, Yuri Astrakhan <[email protected]> 
> wrote:
>> How useful would it be for Lua to access to the query/content/parser API be?
>>
>> I am suspecting there could be a lot of creative usages of this, including
>> getting data from the wikidata (which won't have to do anything special to
>> enable this)

> Personally, I'd be extremely wary of allowing Lua (which is run in the
> middle of the page parse, remember) to be issuing HTTP requests on WMF
> sites. Especially after seeing how slow using ForeignAPIRepo for file
> accesses makes my local test wiki.[1]

No HTTP access is needed, however, this changes nothing: allowing API
calls from Lua opens such a nice can of worms that we don't want to do
it at the same time as Lua rollout, too much fun.

-- 
Best regards,
  Max Semenik ([[User:MaxSem]])


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

Reply via email to