User:Rotatebot/config.js: Difference between revisions

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Content deleted Content added
No edit summary
Saibo (talk | contribs)
2 per 15... there went something wrong. As a precaution
Line 21: Line 21:
//Maximal rotatings at once (standard: 30, max. 30) max: otherwise it could lead to disk full 40 seems to be okay, too.
//Maximal rotatings at once (standard: 30, max. 30) max: otherwise it could lead to disk full 40 seems to be okay, too.
//please roughly adjust [[User:Rotatebot/approx time in hours per image]] for the time estimation if the full-load speed changes due to this
//please roughly adjust [[User:Rotatebot/approx time in hours per image]] for the time estimation if the full-load speed changes due to this
var limit = 40;
var limit = 2;


//maximal filesize of pictures in bytes - more could lead to hangs on upload attempt of big files. 37,28 MB was too big.
//maximal filesize of pictures in bytes - more could lead to hangs on upload attempt of big files. 37,28 MB was too big.

Revision as of 23:54, 6 March 2012

// ***************************** SETUP FOR ROTATEBOT ******************************
// Admins can change the config if there are problems with the bot.
//<nowiki>
// Comments starts ONLY with //

//Bot active? (true/false) (standard: true)
var active = true;

//User-group with permission for rotating (standard: 0)
//0 = all users
//1 = autoconfirmed users
var rotatepermission = 0;

//minimum contribs of autoconfirmed users for rotating (standard: 0)
//(ONLY if rotatepermission == 1 !)
var mincontribs = 0;

//Size of the Logfile (User:Rotatebot/Log) (standard: 90)
var logfilesize = 80;

//Maximal rotatings at once (standard: 30, max. 30) max: otherwise it could lead to disk full  40 seems to be okay, too.
//please roughly adjust [[User:Rotatebot/approx time in hours per image]] for the time estimation if the full-load speed changes due to this
var limit = 2;

//maximal filesize of pictures in bytes  -  more could lead to hangs on upload attempt of big files. 37,28 MB was too big.
var fileSizeLimit = 20000000;

//minimal lag of the bot in minutes
//please keep in sync with [[User:Rotatebot/min lag]] for time calculation
var lag = 45;

//Kill all running rotatebots? (true/false) (standard: false)
var killAllRotatebots = false;

//Do not die if there are lock problems? (true/false) (standard: false)
var dontDieOnLockProblems = true;

//Upload summary
var uploadsummary = "Bot: Image rotated by %s°";
var resetuploadsummary = "Bot: Reset EXIF-specified Orientation of image";
var exifuploadsum = "(EXIF-Orientation set from %s to %s%s, rotated %s°)";

//Edit summary (when removing template)
var editsummary = "Bot: removing rotate %s° order";
var reseteditsummary = "Bot: removing EXIF reset order";


//Header of the logfile
var logheader = "That's the '''logfile''' of [[User:Rotatebot|Rotatebot]]. It shows '''the %s last rotations'''.<br>[[Special:ListFiles/Rotatebot|List of uploaded files]] or the [[Special:Log/Rotatebot|upload log]] (with [[Help:Gadget-PrettyLog|PrettyLog]]) may be more useful in some cases.<br><br> Rotatebot has rotated '''%s images''' since his first edit at 17.11.2007.<br> Last activity of this bot was at ~~~~~";

//</nowiki>