I found that the page can't be edit by MediaWiki API when it's content have <DPL></DPL> . And then I remove the <DPL></DPL> from this page , it can be edit by MediaWiki API now. Could you please tell me what's the problem for this?
-----Original Message----- From: mediawiki-api-bounces@lists.wikimedia.org [mailto:mediawiki-api-bounces@lists.wikimedia.org] On Behalf Of Roan Kattouw Sent: 2009年6月11日 17:21 To: MediaWiki API announcements & discussion Subject: Re: [Mediawiki-api] postAPI
2009/6/11 Nan Li nan.li@glu.com:
You mean I should create a special page to Call MediaWiki API? Actually I want to find another way to call MediaWiki API. I use curl to post parameters to MediaWikiAPI to edit page. The post parameters are: $post = "title=$page&action=edit&basetimestamp=$ts&starttimestamp=$sts&token=$token&text=$newtext" . Then I use curl to post request. But when the $newtext too long , this request will occur error. Http 500 internal error. So I want to find another way to resolve it.
Could you please give me any help or suggestions? Thanks
Look in the PHP error log to see what caused the 500.
Roan Kattouw (Catrope)
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api