Apply patch from Karsten Düsterloh in Bug #28103.
authorMark A. Hershberger <mah@users.mediawiki.org>
Fri, 22 Apr 2011 18:47:17 +0000 (18:47 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Fri, 22 Apr 2011 18:47:17 +0000 (18:47 +0000)
commitfcdb3fa87a2f56fb1eaee427ba30fbc43c99c41d
treebce697cc3fe61381af695e2d00f7230bf3c7d588
parentce597275536c68b1f1f64332a39dcb6d1550c0e6
Apply patch from Karsten Düsterloh in Bug #28103.

Karsten writes:

    If the $table_prefix is not empty, several table renamings will happen,
    including for 'pagecontent' and 'mwuser'. This breaks the import into postgres,
    because
    - 'pagecontent' doesn't exist (temporarily renamed to 'text')
    - 'mwuser' won't exist later (temporarily renamed to 'mw_mwuser')
    Also, some sequence names are wrong.
    Furthermore, some of the generated ALTER statements lack the final semicolon

    The attached patch contains the changes I had to do to make this run.
maintenance/postgres/mediawiki_mysql2postgres.pl