[Mediawiki-l] add new page via mysql

zehetner at molgen.mpg.de zehetner at molgen.mpg.de
Tue Sep 30 12:26:59 UTC 2008


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 at 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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 







More information about the MediaWiki-l mailing list