Last modified: 2011-04-30 01:16:46 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 T20846, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18846 - Password failure after upgrade to MW 1.13 or 1.14
Password failure after upgrade to MW 1.13 or 1.14
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.14.x
All All
: Normal major (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks: 18629
  Show dependency treegraph
 
Reported: 2009-05-19 16:59 UTC by Tim Starling
Modified: 2011-04-30 01:16 UTC (History)
1 user (show)

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


Attachments

Description Tim Starling 2009-05-19 16:59:38 UTC
Submitting this here before I forget it. 

http://permalink.gmane.org/gmane.org.wikimedia.mediawiki/31026

Users with $wgPasswordSalt=false before 1.13 will have their wiki destroyed by upgrade to 1.13 or 1.14, by re-running the web installer. The web installer has a default LocalSettings.php and so $wgPasswordSalt will not be right in updaters.inc update_password_format(). My fault, r35923. I probably assumed that nobody actually used $wgPasswordSalt, but of course it was documented in various places as a trial-and-error fix for miscellaneous upgrade problems.

Removing update_password_format() is probably the best thing to do, it was never run on Wikimedia and is unnecessary since b/c code exists. Needs 1.15 release.

Repair of a broken wiki is possible as in the mailing list post:

UPDATE user SET user_password =
CONCAT(':A:', SUBSTRING_INDEX(user_password,':',-1))
WHERE user_password LIKE ':B:%';

Don't try this without backing up your user table first.
Comment 1 Tim Starling 2009-06-09 13:23:20 UTC
Fixed in r51587/r51640 for release in 1.15.0.

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


Navigation
Links