Page MenuHomePhabricator

(Schedule) hard deprecation (emit notices) for old style registration in Translate
Closed, ResolvedPublic

Description

Once T228053: Update translatewiki.net config to use extension registration for Translate and T228051: Update Wikimedia production config to use extension registration for Translate and MLEB 2019.07 (or 2019.10 if we want to be cautious) has been released, add deprecation notices to alert that the old style registration will be removed.

Event Timeline

Change 490117 had a related patch set uploaded (by Nikerabbit; owner: Jforrester):
[mediawiki/extensions/Translate@master] Hard-deprecate loading the extension via Translate.php

https://gerrit.wikimedia.org/r/490117

Change 490117 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Hard-deprecate loading the extension via Translate.php

https://gerrit.wikimedia.org/r/490117

You need access to LocalSettings.php`. Using require_once "$IP/extensions/Translate/Translate.php"; should cause a deprecation notice to appear in the error log. Using wfLoadExtension( 'Translate' ) should not.