Hi Alessandra, I think it would be safer and probably also easier to write the content of the pages in a simple file and then use the pagefromfile script. I used it to seed a wiki with thousands of pages.
See: http://meta.wikimedia.org/wiki/Pagefromfile.py
Cheers, Gu
Quoting Alessandra alessandra.bilardi@gmail.com:
Hi all, I need to insert ~100 pages as http://www.gbrowse.org/wiki/index.php/Chlamydomonas_reinhardtii each page will be about one different organism and I have got a list about which organism to insert. Is it possible to insert pages via mysql? Is there a method to create pages via mysql? I could create a script to create pages via mysql, but I don't understand which tables about wikidb I must modify. Can you hep me about?
-- Alessandra Bilardi, Ph. D.
CRIBI, University of Padova, Italy http://www.linkedin.com/in/bilardi
La semplicità è la più alta forma di perfezione (Leonardo Da Vinci) Keep simple, stupid (KISS, IT)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l