Page MenuHomePhabricator

Remove duplicated JSDoc tag in mw.html.Raw
Closed, ResolvedPublic

Description

On the documentation page for mw.html.Raw, the value parameter is documented as a parameter and as a property, when it should be documented only as a parameter. (See the v1.41 JSDuck documentation for the same class.)

To do:

  • In the mediawiki.base.js file, remove line 673 with the @prop tag.
  • Run npm install and npm run doc to build the docs site.
  • Open docs/js/mw.html.Raw.html in your browser to confirm that the value parameter only appears once.

Details

Event Timeline

siebrand triaged this task as Low priority.

Change #1026890 had a related patch set uploaded (by Siebrand; author: Siebrand):

[mediawiki/core@master] Remove duplicated JSDoc tag in mw.html.Raw

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

Change #1026890 merged by jenkins-bot:

[mediawiki/core@master] Remove duplicated JSDoc tag in mw.html.Raw

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