Last modified: 2009-07-17 17:46:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T21570, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19570 - Can't save article text after installation because logging.log_user_text doesn't exist
Can't save article text after installation because logging.log_user_text does...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-07 20:30 UTC by Ævar Arnfjörð Bjarmason
Modified: 2009-07-17 17:46 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ævar Arnfjörð Bjarmason 2009-07-07 20:30:45 UTC
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.
Comment 1 Roan Kattouw 2009-07-17 17:46:20 UTC
Should be fixed with r53408

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links