I recently copied this script to quickly fix redlinks. The script adds a button to the WikiHeader which I find distracting. Can someone provide me a rewrite of the execution button to display as an option under My Tools in the lower toolbar instead?
I recently copied this script to quickly fix redlinks. The script adds a button to the WikiHeader which I find distracting. Can someone provide me a rewrite of the execution button to display as an option under My Tools in the lower toolbar instead?
Since Monchoman45 is one of the co-authors, your best bet is to ask him directly. I could figure it out, but compared to Monchoman45, I am a weak substitute.
Replace the very first line ($('#WikiHeader')...
) with:
$('#my-tools-menu').append('<li class="overflow"><a onclick="this.innerHTML = \'Processing...\'; FixRedlinks();">Fix redlinks</a></li>');