Last modified: 2013-01-07 22:22:44 UTC
Mediawiki provides two users: the standard http://www.mediawiki.org/wiki/Manual:$wgDBuser with restricted rights and http://www.mediawiki.org/wiki/Manual:$wgDBadminuser to be used with extended rights, e.g. when running upgrade.php. SMW_refreshData.php however uses the restricted rights mysql user $wgDBuser instead of $wgDBadminuser and fails to upgrade the database. This requires for each update to change the rights of $wgDBuser for each database with SMW and reset afterwards. Please align the operation of SWM with standard Mediawiki in this respect to reduce this work.
Looks like this variable is currently specific to the Maintenance code. Maybe core should be changed to use it in the database class.