Yanick, the file is just the same as you'd enter via the editor. I've sent you separately a copy of the script and control file I use for the automated import.
Cheers,
/Sam
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: 15 October 2010 14:49 To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Create new wiki pages automatically
I look at importTextFile.php, It should be ok but I wonder about the format of the file to import.
I don't see into importTextFile.php what is the expexted syntax or format for the file to import.
Sincerely, Yanick.
Date: Fri, 15 Oct 2010 14:03:56 +0100 From: Sam.Sexton@thomsonreuters.com To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Create new wiki pages automatically
Yanick, no need to apologise - your English is a lot better than my French! Have a look at maintenance/importTextFile.php. I've used that
to
create an automated upload from a user-accessible directory.
/Sam
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: 15 October 2010 13:41 To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Create new wiki pages automatically
Hello,
I would like to create new wiki pages without using the web interface but with a script (by example). Is there anyway to do something like that?
Sorry for my english, I'm french.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and
information company.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be the views of Thomson Reuters.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.