Page MenuHomePhabricator

The message apihelp-disabled-extended-description is undefined
Closed, ResolvedPublicBUG REPORT

Description

Steps to Reproduce:
See https://www.mediawiki.org/w/api.php?action=help&modules=imagerotate

Actual Results:

action=imagerotate
(main | imagerotate)
This module has been disabled.
⧼apihelp-disabled-extended-description⧽

Expected Results:
The message "apihelp-disabled-extended-description" should be defined.

Event Timeline

The key was added in change 355825 without definition (probably an oversight). It also appears to me a similar-looking message key apihelp-main-extended-description was defined at the same time, but that key was not actually used in the code at the time and neither it's now. Adding @Anomie to look at the issue.

Change 564017 had a related patch set uploaded (by Anomie; owner: Anomie):
[mediawiki/core@master] ApiDisabled: Correctly fall back to api-help-no-extended-description

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

Change 564017 merged by jenkins-bot:
[mediawiki/core@master] ApiDisabled: Correctly fall back to api-help-no-extended-description

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