On 4 November 2014 20:45, Brad Jorsch (Anomie) bjorsch@wikimedia.org wrote:
- People may store data in JSON blobs that must be parsed where a module
using mw.loadData would be more appropriate.
- People may write templates that attempt to bypass the normal MediaWiki
parameter handling mechanism in favor of passing a JSON blob, which would likely lead to page wikitext that is harder for end users to understand.
If people want a function they will write something that will do it. Remember how ParserFunctions got an "if" statement? It was after excessively creative users had cobbled together one from whatever absolutely hideous hacks they could.
So if you know there's a demand for this, I strongly suggest thinking hard and supplying a good implementation, else it is certain the users will come up with a hideous one.
- d.