Talk:Lua scripting/Requirements

''Lifted from a discussion on Bot request on enwiki. Emphasis my own:''
 * The massive switch in is extremely expensive to render. It is in many ways better to update the individual articles.


 * Tim Starling has recently commented on this, re: #switch basically being used to implement databases or key/value pairs. There's currently no upper limit on the number of switch cases you can have, but in the future an upper limit of 2000 may be set, so you should be aware of that. The issue when rendering is not the time it takes to parse (it's still very fast), but the amount of memory used, which can sometimes send the servers into swap on larger/more prevalent templates. For this particular template, I'd defer to Wikipedia:Don't worry about performance for the moment.

There's a requirement to think about. Josh Parris (talk) 01:01, 21 February 2012 (UTC)

Access structured data
http://meta.wikimedia.org/wiki/New_Wikidata is being implemented by http://blog.bn2vs.com/2012/03/04/wikidata-wikipedia-2-0/ - Lua scripts will need to be able to access this structured data (for example, to populate an infobox).

Thought ought to be given to Semantic Wikimedia, whatever that is. Josh Parris (talk) 03:08, 7 March 2012 (UTC)