Jump to content

MediaWiki talk:FR2014/Resources/BannerFormHtml

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 1 year ago by Pcoombe (WMF) in topic Edit request to fix Linter error

Edit request to fix Linter error

[edit]

Please change the opening and closing span tags in this page to div tags to resolve high-priority Linter errors that are caused when this page is transcluded, for example at MediaWiki:Centralnotice-template-B15 0422 skrolvenSKROLV dsk tp test. There may be other ways to fix this error, but this one should work. In general, span tags, which are inline tags, cannot wrap block content or content containing manual line breaks. Here's the proposed replacement code:

                <div id="input_label_other" onclick="$('#input_amount_other').prop('checked', true);">
$<input style="height: 1em;" type="text" name="amountGiven" size="3" autocomplete="off" onfocus="$('#input_amount_other').prop('checked', true);" id="input_amount_other_box">
                </div>

Thanks. There will be more of these requests as I sift through the error list, but this should fix about 1,500 of the 15,000 remaining errors. Jonesey95 (talk) 17:11, 27 April 2023 (UTC)Reply

Done, thanks @Jonesey95. Peter Coombe (WMF) (talk) 14:42, 28 April 2023 (UTC)Reply