https://bugzilla.wikimedia.org/show_bug.cgi?id=64067

            Bug ID: 64067
           Summary: UploadWizard blocks upgrade when used with PostgreSQL
           Product: MediaWiki extensions
           Version: REL1_22 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: UploadWizard
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

If I try to run "php maintenance/update.php" on a wiki that uses PostgreSQL as
the database while UploadWizard is installed, it fails because
extensions/UploadWizard/UploadWizard.sql tries to create a table uw_campaigns
using syntax that is not valid in PostgreSQL.

If I inactivate the extension by commenting out the:
require_once( "$IP/extensions/UploadWizard/UploadWizard.php" );
then the upgrade completes.  This leaves the uw_compaigns table missing.  

Are there other extensions with db-engine-specific behavior, to serve as an
example of the right way to fix this?

Presumably this problem applies to other branches as well, I only tested on
1.22.5 so far.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to