Nicolas Vervelle schreef: > Hi, > > [EMAIL PROTECTED] a écrit : > >> * action=edit has been added. Note that $wgEnableWriteAPI = true; is >> required for this. >> > Two questions about this : > - It doesn't seem to be activated on Wikipedia. Do you have an idea when > it will be available ? > No. > - Is there a proper way to ask the API if action=edit is available (to > make code that can take advantage of it when available, but that use an > other way when not). > The best way would probably be to just go to api.php?action=edit , which will either throw an error about a missing parameter (which means action=edit is enabled) or an error saying 'edit' is an unknown value for 'action' (in which case it's disabled).
Roan Kattouw (Catrope) _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
