https://bugzilla.wikimedia.org/show_bug.cgi?id=28103
Summary: mediawiki_mysql2postgres.pl doesn't work with non-empty $table_prefix Product: MediaWiki Version: 1.16.2 Platform: All OS/Version: All Status: NEW Severity: major Priority: Normal Component: Maintenance scripts AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: duester...@tal.de CC: innocentkil...@gmail.com Created attachment 8311 --> https://bugzilla.wikimedia.org/attachment.cgi?id=8311 fix mediawiki_mysql2postgres.pl 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. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l