Page MenuHomePhabricator

Special:Makesysop fails by doubling database prefix
Closed, ResolvedPublic

Description

Author: clef+mediazilla

Description:
The Makesysop page fails by adding the table prefix twice to the SQL query:

For instance, on an installation with the prefix "mediawiki2",

<tt>A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:

REPLACE INTO mediawiki2mediawiki2user_rights (ur_user,ur_rights) VALUES

('2','sysop,bureaucrat')

from within function "MakesysopForm::doSubmit". MySQL returned error "1146:
Table 'brm.mediawiki2mediawiki2user_rights' doesn't exist".
</tt>


Version: 1.4.x
Severity: normal

Details

Reference
bz1009

Event Timeline

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