Page MenuHomePhabricator

Can't save article text after installation because logging.log_user_text doesn't exist
Closed, ResolvedPublic

Description

Author: avarab

Description:
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.


Version: 1.16.x
Severity: normal

Details

Reference
bz19570

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:40 PM
bzimport set Reference to bz19570.
bzimport added a subscriber: Unknown Object (MLST).