Admin Forum:Testers needed for automated signature!

I'm the sort of person who constantly forgets to sign his posts. But I'm also a programmer and as such I fail to see why I should do what a script could do in my stead. This is this script:

Or at least I hope it is. I did test it and it does seem to work. But it would be helpful if a few others would test it as well before I publish it at the dev wiki.

To install the script go to your global.js and copypaste the code from here to there. You will need to refresh both global.js and the test page. You may also have to wait a while for the script to take effect or purge manually. I'm not certain about the latter.

Note: If you don't want to have your post signed, check "Minor edit".

Let me know whether it does or does not work! Suggestions and critique are welcome too! -- Pecoes 06:29, March 9, 2012 (UTC)

UPDATE1: added check for input#wpMinoredit. -- Pecoes 07:03, March 9, 2012 (UTC)

UPDATE2: replaced call to editorInstance.setContent with call to editorInstance.getEditbox.append for WYSIWYG editor -- Pecoes 09:24, March 9, 2012 (UTC)

UPDATE3: made the sining for "source" editor a little smarter: when the sine would be on the same line with a block element, a newline is inserted; when the sine is on a line of its own, it will be indented if the preceding lines were indented -- Pecoes 08:50, March 10, 2012 (UTC)