Board Thread:Support Requests - Getting Technical/@comment-24155515-20180503175137/@comment-168424-20180504020853

Okay, have some JS that will change the edit button to use source editor, but only on templates with portable infoboxes. I didn't test it in Monobook, but it works in the default skin.

/* Try to change Edit drop menu link to always go to source editor for portable infobox templates */ $(function {    if ($('aside.portable-infobox').length) {        $('a#ca-edit[href^="/wiki/Template:"]').attr('href', '/wiki/' + wgPageName + '?action=edit&useeditor=source');    } });