Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
//mw.loader.load( '/w/index.php?title=User:WOSlinker/lint2.js&action=raw&ctype=text/javascript' );

/*
mw.loader.using( ['mediawiki.util', 'jquery.client'] ).done( function () {

//importScript('User:WOSlinker/hlist-private.js');

function phonecode_queryString(p) {
    var re = RegExp('[&?]' + p + '=([^&]*)');
    var matches;
    if (matches = re.exec(document.location)) {
        try { 
            return decodeURI(matches[1]);
        } catch (e) { }
    }
    return null;
}

$( function tafEditButton() {
        mw.util.addPortletLink('p-cactions', 
                       mw.util.getUrl(null,{action:'edit',tagedit:true}),
                       'tagedit',
                       'p-tagedit',
                       'TAG edit');
});
 
if(mw.config.get('wgAction') == 'edit' && phonecode_queryString('tagedit') == 'true') {
    var myContent = document.getElementById('wpTextbox1').value;
    
    //myContent = myContent.replace(/\<tt\>([^\<]*)\<\/tt\>/gi,'<code>$1</code>');
    //myContent = myContent.replace(/\<tt\>(\<nowiki\>[^\<]*\<\/nowiki\>)\<\/tt\>/gi,'<code>$1</code>');
    myContent = myContent.replace(/\[\[User talk\:Ата\|\'\'\'\<span style\=\"color\:\#80A0FF\"\>\'\'\'\(talk\)\'\'\'\<\/span\>\'\'\'\]\]/g,'[[User talk:Ата|<span style="color:#80A0FF">(talk)</span>]]');

    if (myContent != document.getElementById('wpTextbox1').value) {
        document.getElementById('wpTextbox1').value=myContent;
        document.getElementById('wpSummary').value='fix lint issues';
        document.getElementById('wpMinoredit').checked = true;
    }

}

} );
*/