Page MenuHomePhabricator

cssclass option does not apply class to help text
Closed, ResolvedPublic

Description

When adding a CSS class to an HTMLForm element using the "cssclass" option the class is not applied to the text that is displayed below the element that is provided in the "help" option.

This is counter-intuitive and if the cssclass option is not applied to the help text a separate option should be provided to allow the styling of the help text.


Version: 1.21.x
Severity: normal

Details

Reference
bz65087

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:12 AM
bzimport set Reference to bz65087.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 15326
Patch that fixes bug 65087

Uploaded a patch that adds an option to allow styling of the help text. This is my first patch to Mediawiki and I don't have Gerrit access, so I am uploading it here instead.

Attached:

Hi! Thanks for your patch!

You are welcome to use Developer access

https://www.mediawiki.org/wiki/Developer_access

to submit this as a Git branch directly into Gerrit:

https://www.mediawiki.org/wiki/Git/Tutorial

Putting your branch in Git makes it easier to review it quickly. If you don't want to set up Git/Gerrit, you can also use https://tools.wmflabs.org/gerrit-patch-uploader/
Thanks again! We appreciate your contribution.

Change 132946 had a related patch set uploaded by Gerrit Patch Uploader:
Adding css styling option for help option in HTMLForm

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

Uploaded a new patch. Mentioning here since I noticed that the Gerrit Notification Bot didn't. Just corrects the issues with the previous patch.

Change 132946 merged by jenkins-bot:
Adding css styling option for help option in HTMLForm

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