Page MenuHomePhabricator

Doc for javascript functions needs proper indentation
Closed, ResolvedPublic

Description

The task "jscs:src" does not fail for the doc comment indentations, but the indention need to be re-arranged.

Actual state

		/**
			* Perform a task.
			*
			* @param {Object} a - a.
			* @return {Object} - Modified a.
			*/

Expected

		/**
		 * Perform a task..
		 *
		 * @param {Object} a - a.
		 * @return {Object} - Modified a.
		 */

Developer Notes

This comprises reducing the indentation from the second line of comment to the last for each doc block.

Event Timeline

Hi, I'd like to work on this if possible, where can i find the link to the file to improve the indentation?
Thanks

@Eugene233 I would also love to work on this.
Kindly include the link to the Javascript documentation.

The FormWizard link goes to https://phabricator.wikimedia.org/project/profile/1496/ which says this tag is about a gadget. It links to https://meta.wikimedia.org/wiki/Meta:FormWizard . It does not link to https://www.mediawiki.org/wiki/Extension:FormWizard (an extension). This is super confusing to me.

The FormWizard link goes to https://phabricator.wikimedia.org/project/profile/1496/ which says this tag is about a gadget. It links to https://meta.wikimedia.org/wiki/Meta:FormWizard . It does not link to https://www.mediawiki.org/wiki/Extension:FormWizard (an extension). This is super confusing to me.

Thanks very much @Aklapper, this needs to be modified...

Thanks @Mahveotm for pointing @Didicodes and @Areefa to the correct resource. Please feel free to poke me on irc if you have any issues.

Hello, @Eugene233 is this your IRC nickname eugene23?

Change 497295 had a related patch set uploaded (by Didicodes; owner: Didicodes):
[mediawiki/extensions/FormWizard@master] Improved indentation of javascript functions doc

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

Change 497295 had a related patch set uploaded (by D3r1ck01; owner: Didicodes):
[mediawiki/extensions/FormWizard@master] Improve indentation of javascript functions doc

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

went through the files, it appears the doc comment are all properly indented.
why am i still getting a mail related to this task?

why am i still getting a mail related to this task?

??? What do you mean?

@Aklapper I think @Anyijonathan forgot to unsubscribe from the task. :)

Hello, @Eugene233 Kindly review the patch here. @D3r1ck01 has already reviewed it, but you still have to review it before it can be merged. Thanks!

@Didicodes Thanks for working on this and @D3r1ck01 & @Aklapper for assisting. Marking this as resolved.

Change 497295 merged by jenkins-bot:
[mediawiki/extensions/FormWizard@master] Improve indentation of javascript functions doc

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