View text source at Wikipedia
Author(s) | Anomie |
---|---|
First released | December 12, 2011 |
Updated | April 16, 2024 (9 months ago) |
Source | User:Anomie/unsignedhelper.js |
This script adds an entry to the Insert and Wikitext sections of the Edit tools box (at the bottom of the edit page) for adding {{subst:unsigned}} or {{subst:unsignedIP}}.
To use the script, add the following to your skin-specific Javascript file.
importScript('User:Anomie/unsignedhelper.js'); // Linkback: [[User:Anomie/unsignedhelper.js]]
Note that this script has only been extensively tested on Monobook with Firefox.
Then, when editing a page, highlight the unsigned comment (or the last part of it) or position the cursor just after it and use the {{unsigned}}
in the Edit tools box. This will use the API to find the user who added that comment and add the appropriate {{subst:unsigned}} or {{subst:unsignedIP}} at the cursor position.