[Mediawiki-l] Importing only new articles

Platonides Platonides at gmail.com
Mon Apr 5 21:57:29 UTC 2010


Patrick Flaherty wrote:
> Hi all,
> I'm looking for a way to import about 10,000 articles into a wiki. The only
> catch is about 1000 of these articles have already been created. Ideally i
> would like to import only the articles that don't exist and not have any
> article get overwritten by the import. Is there a good extension/tool to
> prevent an import from overwriting pages that already exist? I have a
> feeling that the answer is no and I will have to write a code that would
> query the api and disregard found articles. Has anyone done this before?
> 
> Thanks so much,
> Patrick

php maintenance/importTextFile.php --nooverwrite





More information about the MediaWiki-l mailing list