On Wed, Nov 10, 2010 at 3:53 AM, yanick bajazet
<[email protected]> wrote:
>
> To import a new page, I used the script ImportTextFile.php.
>
> I just had to create a text file with the content of my new page and call the 
> script with my text file as argument like that :
>
>>php  ImportTextFile.php MyTextFile.txt
>
> I don't see how I could do the same with the api.php. Can you tell me what is 
> the command line to retrieve the current page or a page name "PAGE_1" with 
> the script api.php?
>
> I tried some lines found on the web using action=query and export but I don't 
> get anywhere. It's seems I'm not using as I should de script api.php.
>

http://www.mediawiki.org/wiki/API:Edit

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to