Wikimedia

wfWaitForSlaves is deprecated, replace usages #3

wfWaitForSlaves has been deprecated since 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.

Task tags

  • deprecation
  • php
  • cleanup
  • tech-debt

Students who completed this task

Albert Wolszon

Task type

  • code Code
close

2017