Wikimedia
wfWaitForSlaves is deprecated, replace usages #1
wfWaitForSlaves
has been deprecated since MediaWiki version 1.27 with a suggestion to use LBFactory::waitForReplication
instead.
Usages in MediaWiki maintenance scripts and extensions should be replaced
There's about 160 odd usages in WMF extensions and the maintenance folder of MW core.
You should find at least 5 usages of wfWaitForSlaves() in the MediaWiki core codebase (https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/core) and replace it with the suggested replacement.
You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.
Task tags
Students who completed this task
Haikal Izzuddin, Ryan Chang