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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 15 2019, 1:41 PM

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

Jpita added a subscriber: Jpita.Mon, Sep 2, 10:54 AM

@Nikerabbit how can I test this?

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.

Jpita closed this task as Resolved.Tue, Sep 3, 10:06 AM