Unfortunately I don't have control over the client side. So indeed it would be to force the api to create new types, not something that could be done in an extension anyway... However, $_GET does work. I remember however having read that this wasn't adviced but can't find where or why. I imagine it can be because of the risk of not going through xss filtering etc. But in case there is no such risk (i never return user input) it may be just ok?
Greetings
On 07.01.2013 22:42, Brad Jorsch wrote:
On Mon, Jan 7, 2013 at 5:10 PM, webmaster@numerica.cl wrote:
Hello again. I've got another question using the api:
One of the params my api receives is the binary representation of an hexadecimal value (the info hash),
Why not pass the hex representation, or base36, like list=allimages does for its sha1 parameter? MediaWiki isn't really geared towards taking arbitrary binary data in GET/POST parameters.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api