Page MenuHomePhabricator

Remove wfNegotiateType
Open, Needs TriagePublic

Description

The global function wfNegotiateType is only used in its tests (GlobalTest.php) and thus does not appear needed. I suggest deprecating and removing it

The method documentation includes a note @todo The function appears unused. Is it worth to keep?

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

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 650569 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Deprecate a bunch of global functions

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

Change 650569 merged by jenkins-bot:
[mediawiki/core@master] Deprecate a bunch of global functions

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