On a Wikisource Index page edit form, you can choose to have a "help" icon for a field.
In Gadget JS, if you add something to the field's label
$( '#wpprpindex-Transclusion' ) .closest( '.oo-ui-fieldLayout-body' ) .find( 'label' ) .append( $( '<a>' ).append( 'Link text' );
It will flash up briefly and then disappear because something is deleting and re-creating the field.
The ProofreadPage extension delivers this JS:
mw.loader.using( 'mediawiki.widgets.CategoryMultiselectWidget' ).done( function () { $( function () { // eslint-disable-next-line no-jquery/no-global-selector $( '.prp-fieldLayout-help' ).each( function () { OO.ui.infuse( this ); } );
I am not sure if that is related.
The added link remains just fine if the help text is not set.