Content deleted Content added
creating script to add persondata |
adding edit summary and show diff |
||
Line 147:
var insertPosition = text.indexOf('[[Category:')-1;
document.getElementById('wpTextbox1').value = text.substr(0,insertPosition)+persondata+text.substr(insertPosition+1);
document.getElementById('wpSummary').value += 'adding [[WP:PDATA|persondata]]';
document.getElementById('wpDiff').click();
}
|