http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88206
Revision: 88206 Author: ashley Date: 2011-05-15 23:01:33 +0000 (Sun, 15 May 2011) Log Message: ----------- SocialProfile: fix what looks like an obvious bug with EditProfile's logging system -- params for LogPage::addEntry() are action (log type), target, description; previous code used the description as the action (wtf) and '' as the description Modified Paths: -------------- trunk/extensions/SocialProfile/UserProfile/SpecialEditProfile.php Modified: trunk/extensions/SocialProfile/UserProfile/SpecialEditProfile.php =================================================================== --- trunk/extensions/SocialProfile/UserProfile/SpecialEditProfile.php 2011-05-15 22:56:44 UTC (rev 88205) +++ trunk/extensions/SocialProfile/UserProfile/SpecialEditProfile.php 2011-05-15 23:01:33 UTC (rev 88206) @@ -93,10 +93,10 @@ $log->updateRecentChanges = false; } $log->addEntry( + 'profile', + $target->getUserPage(), wfMsgForContent( 'user-profile-edit-profile', - array( '[[User:' . $target->getName() . ']]' ) ), - $target->getUserPage(), - '' + array( '[[User:' . $target->getName() . ']]' ) ) ); $wgOut->addHTML( '<span class="profile-on">' . _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs