https://bugzilla.wikimedia.org/show_bug.cgi?id=24944
Summary: Need hook to all user object to be modified before it is saved to the database Product: MediaWiki Version: 1.16.0 Platform: All URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3 /includes/Preferences.php?view=markup OS/Version: All Status: NEW Severity: enhancement Priority: Normal Component: User preferences AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: seventow...@gmail.com CC: agarr...@wikimedia.org In 1.16, when the preferences form is submitted, there doesn't seem to be any way to modify the user object before it is saved to the database. When the preference form is submitted it calls Preferences->tryFormSubmit which in turn calls User->saveSettings. There are two hooks that fire after the user object has been saved (UserSaveSettings and UserSaveOptions) but that doesn't help. You used to be able to use the SavePreferences hook but it's gone in 1.16. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l