[go: up one dir, main page]

Page MenuHomePhabricator

Fix formatting in docs for addPortlet
Closed, ResolvedPublic

Description

In https://doc.wikimedia.org/mediawiki-core/master/js/module-mediawiki.util.html#.addPortlet, there is an extra paragraph break after "Dropdown". This is due to including <pre> tags in the code comment.

To do:

  1. In https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.util/util.js#522, replace <pre> tags with markdown code block formatting (three backticks on new lines)
  2. Run npm install and npm run doc to build the docs site
  3. Open docs/js/module-mediawiki.util.html#.addPortlet to confirm that the formatting appears correctly

Event Timeline

Change #1027246 had a related patch set uploaded (by HakanIST; author: HakanIST):

[mediawiki/core@master] Replace <pre> tags with markdown backticks in JSDoc comments

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

Change #1027246 merged by jenkins-bot:

[mediawiki/core@master] Replace <pre> tags with markdown backticks in JSDoc comments

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