The script in action
This script is no longer being maintained and may not work correctly or at all.




If the script isn't working for you, please make sure you're using the new path (ie. User:S/tags.js) and not the old one (ie. User:Seed/tags.js).


Introduction

edit

Tags is a small script that helps editors add various frequently used maintenance templates to the top of articles. The script is designed to only work in editing mode and is disabled on talk pages.

Background

edit

Tags started out as a simple hack that I threw together over the course of a few hours. Please run it at your own risk and notify me if you encounter any grues problems. My main motivation in writing this script was most and foremost laziness. I also tend to omit the 'date' parameter when adding certain templates and found that some tools don't like the consequential bot corrections. If you're looking for a more flexible or configurable script, please be sure to also check out Flexitags.

Installation

edit

To install Tags, just copy the following lines to your monobook.js file (if you're using a different skin you probably know what to do).

importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('User:S/tags.js');

If you already have the first two lines in your user Javascript file, you don't need to add them again to use Tags.

Options

edit

Tags is a very simple script and currently only has three options, which can be modified via your monobook.js file. These are the defaults.

autosubmit=false;
minoredit=true;
show_cwli=false;

autosubmit Possible values: true or false. Default is false. Determines if the script automatically clicks the submit button. This may be desirable if you're routinely adding just one maintenance template to an article.

minoredit Possible values: true or false. Default is true. Determines if edits are marked as "minor".

show_cwli Possible values: true or false. Default is false. Determines if the a link to the Can we link it tool is added to the pulldown menu. Please be sure to use discretion when wikifying articles. Thank you.

Compatibility

edit

The script doesn't work with Internet Explorer.

I routinely use a variety of browsers on different operating systems. As far as I can tell, Tags plays nicely with almost all other scripts. During testing, I have discovered a few incompatibilities when using more exotic (mostly non Win32-) browsers. This script appears to work with the latest stable release and as of April 3, 2007, also with the latest nightly Firefox build on Win32 machines. If you encounter any problems, please contact me. Thanks.

Inevitable disclaimer

edit

This code is licensed under the GPL for now. If you want to use or modify this script, I'm basically cool with it (unless you integrate it into Skynet  ) but I'm dotting all the 'i's and crossing all the 't's, just in case. Since it's alpha code, use it at your own risk. If you have questions or suggestions, please don't hesitate to leave me a message on my talk page.