Page MenuHomePhabricator

list=proofreadpagesinindex and prop=imageforpage does not provide help messages for its values
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • There are no help messages for prppiiprop, it shows (no description)
  • There are no help messages for prppifpprop, it shows (no description)

What should have happened instead?:
Show help messages

Other information (browser name/version, screenshots, etc.):
When an api module is using ApiBase::PARAM_HELP_MSG_PER_VALUE in the params definition, it must provide messages in en.json for each value.
Message format "apihelp-<module>-paramvalue-<parameter>-<value>"

So the following messages should be created:

apihelp-proofreadpagesinindex-paramvalue-prop-ids
apihelp-proofreadpagesinindex-paramvalue-prop-title
apihelp-proofreadpagesinindex-paramvalue-prop-formattedPageNumber
apihelp-imageforpage-paramvalue-prop-filename
apihelp-imageforpage-paramvalue-prop-size
apihelp-imageforpage-paramvalue-prop-fullsize
apihelp-imageforpage-paramvalue-prop-responsiveimages

Event Timeline

Change 945614 had a related patch set uploaded (by Sohom Datta; author: Sohom Datta):

[mediawiki/extensions/ProofreadPage@master] Add descriptions for paramvalues for prppii and prppifp API modules

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

Change 945614 merged by jenkins-bot:

[mediawiki/extensions/ProofreadPage@master] Add descriptions for paramvalues for prppii and prppifp API modules

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