[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Consider deprecating/removing MW_CMDLINE_CALLBACK constant
Closed, ResolvedPublic

Description

Extracted from T253547:

@Nikerabbit wrote in T253547 task description:

MW_CMDLINE_CALLBACK seems completely unused according to code search. Consider removing it, or at least document it.

This has been unused since its introduction in r54225.

https://codesearch.wmcloud.org/search/?q=MW_CMDLINE_CALLBACK&i=nope&files=&excludeFiles=&repos=

Event Timeline

This has been unused since its introduction in r54225.

It was once in use; and last appeared in r72551. It seems Maintenance::afterFinalSetup was introduced as a replacement.

Change 777425 had a related patch set uploaded (by Ammarpad; author: Ammarpad):

[mediawiki/core@master] Maintenance: Remove unused MW_CMDLINE_CALLBACK constant

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

Krinkle triaged this task as Medium priority.

Nice catch. Thanks for finding that.

Change 777425 merged by jenkins-bot:

[mediawiki/core@master] Maintenance: Remove unused MW_CMDLINE_CALLBACK constant

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