The Linter extension currently calls the deprecated ApiBase::dieUsage() function in ApiRecordLint.php. It should be swapped for dieWithError(), which will require creating localization messages. An example change that you can use for reference is https://gerrit.wikimedia.org/r/#/c/321448/ except that we don't need to check for is_callable, we can just replace the function usage directly.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Replace deprecated usage of ApiBase::dieUsage() | mediawiki/extensions/Linter | master | +11 -8 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | PRODUCTION ERROR | None | T181834 Fix MediaWiki deprecated calls in Wikimedia production, 2017-12-01 | ||
Resolved | PRODUCTION ERROR | Haikalizz | T181758 Stop using deprecated ApiBase::dieUsage() in Linter extension |
Event Timeline
Comment Actions
Change 394821 had a related patch set uploaded (by Haikalizz; owner: Haikalizz):
[mediawiki/extensions/Linter@master] extensions/Linter: Replace deprecated usage of ApiBase::dieUsage()
Comment Actions
Change 394821 merged by jenkins-bot:
[mediawiki/extensions/Linter@master] Replace deprecated usage of ApiBase::dieUsage()