Page MenuHomePhabricator

Replace deprecated UserSaveOptions hook in deployed extensions
Closed, ResolvedPublic


According to codesearch, these extensions need to be updated to the SaveUserOptions hook.

After that, it can be hard-deprecated.

WMF Deployed

  • extensions / Echo
  • extensions / Flow
  • extensions / GlobalPreferences
  • extensions / WikimediaEvents
  • extensions / ContentTranslation
  • extensions / BetaFeatures

Event Timeline

Now that all the hooks have been replaced, we can hard-deprecate the old hook. To do that you need to remove 'silent' => true for the old hook from DeprecatedHooks class. That will make it emit deprecation warnings when the old hook is being used.

Change 710063 had a related patch set uploaded (by TChin; author: TChin):

[mediawiki/core@master] Hard deprecate UserSaveOptions hook

Change 710063 merged by jenkins-bot:

[mediawiki/core@master] Hard deprecate UserSaveOptions hook