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

           Summary: Can't save article text after installation because
                    logging.log_user_text doesn't exist
           Product: MediaWiki
           Version: 1.16-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Database
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I installed MW from HEAD to a fresh database (wikidb didn't exist). Then when
saving an article I got an SQL error which indicated that logging.log_user_text
doesn't exist.

Ack-ing through the source it turns out that this field is only defined in a
maintenance patch:

ack --nocolor --nogroup  -- log_user_text
maintenance/archives/patch-log_user_text.sql:2: ADD log_user_text varchar(255)
binary NOT NULL default '',
includes/Import.php:258:                #'log_user_text' => $this->user_text,
includes/Import.php:275:            #'log_user_text' => $this->user_text,
includes/LogPage.php:69:            'log_user_text' => $this->doer->getName()

Running maintenance/update.php fixed the issue. But the installer should
probably have created it without further intervention.


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

Reply via email to