User talk:Cobaltcigs/IllWill.js
Appearance
Support syntax highlighting
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
@Cobaltcigs Piotrus recently pointed out that this script doesn't work in the WikiEditor when syntax highlighting is enabled to fix that:
- Replace the textbox variable with
var $textbox = $( '#wpTextbox1' );
- Replace lines 63-64 with and other instances of textbox.value similarly
if(!$textbox.length) { alert("can't find the textbox"); return; } var wl = $textbox.textSelection('getContents').match(/\[\[[^\[\]\n]+\]\]/g);
- Except for line 163
textbox.value = t;
, which should be replaced with$textbox.textSelection('setContents', t);
Aaron Liu (talk) 03:37, 2 February 2025 (UTC)
Not done as to the interface administrator edit request, this user is active and may of course decide to update their script if they choose, and has already been notified above. — xaosflux Talk 15:31, 6 February 2025 (UTC)