Jump to content

User:SineBot/ChangeLog

From Wikipedia, the free encyclopedia

This page contains all the intimate details about new stuff related to the bot, sorted by version number.

1.0.0pre1

[edit]

--slakr 13:59, 1 August 2007 (UTC)

1.0.0pre2

[edit]
  • Added two non-hager behaviors: for people who sign but don't date, {{undated}} is used; for people who date but don't sign, {{unsigned}} is used without the date argument.
  • No longer adds signatures after html comments.

--slakr 13:59, 1 August 2007 (UTC)

1.0.0pre3

[edit]
  • Added RC caching so that the bot uses less memory.
  • Added {{tilde}} warnings on >= 3 unsigned comments in < 24 hours. Will only warn a user once every 3 days so as to not be overly annoying but still be annoying enough to have people want to sign their contribs more often.
  • Allow bot to create pages when adding warnings, but explicitly prevent it any other time (just in case a page gets deleted in the interim between unsigned edit and bot edit).
  • Add a special exception for requests for arbitration edits to certain sections (i.e., those where users frequently contribute without signing, but it's no big deal).

--slakr 06:53, 2 August 2007 (UTC)

1.0.0pre4

[edit]
  • Changed detection of new pages/old revision edits to a different method (since the whole "starttime" and "edittime" thing can be kooky every so often and make the bot think it shouldn't place an edit when it actually should).
  • Made detection of signatures more generic. Instead of looking for signatures that explicitly contain the user's name, the bot will now assume someone "signed" with the username portion of the signature if there's any User page or User talk page reference.
  • Fixed a silly login bug whereby the bot thought it didn't log in but actually did.

--slakr 21:59, 13 August 2007 (UTC)

1.0.0pre5

[edit]
  • Added extra regex for date checking. It seems some people were pasting dates without the "(UTC)," which is in the format of the revision history datestamps, so the bot thought that there wasn't a datestamp when there actually was.
  • Added delay. I figured the best/most efficient way of doing this was:
    1. Read RC feed as usual.
    2. If a certain page is a high-priority page (e.g., AIV), process it immediately; otherwise, enqueue all candidate entries from RC into a database table and don't actually fetch content yet.
    3. Check the table every five seconds for entries that satisfy the delay.
    4. Proceed as normal on the entries. If there has been a newer change to a given page within the last minute or so, the bot will abort, because the newer entry will be somewhere in the queue.
    • The downside to this, however, is that there's a possibility that in order to avoid being annoying, the bot might not add some signatures when they should be added. The upside, on the other hand, is that if someone honestly does forget to sign a post, he/she can very quickly sign it without worrying about being botified (is that a word? :P). Additionally, people who vandalize a page or otherwise add bad content to it can be more easily reverted, since RC patrollers and RC anti-vandal bots don't have to worry about the bot making a lightning-fast change right under their noses.
  • Bot should now catch slave server errors instead of throwing a weird, hard-to-understand-for-people-who-didn't-write-the-bot warning :).
  • Changed wording on "skipping tilde" message, as it's only skipping checking the database (since it's already cached in memory).
  • Added db table of page title masks so that edits to those pages will bypass the aforementioned delay (i.e., the table makes a range of pages high-priority pages so that all unsigned contribs will more or less be instantly signed).

--slakr 03:21, 15 August 2007 (UTC)

1.0.0

[edit]
  • Looks like it might be ready for a big-boy version now.
  • Account for a silly squid cache error that made the bot get all scared that something went wrong.

--slakr 01:27, 18 August 2007 (UTC)

1.0.1

[edit]
  • I have no idea why, but I apparently forgot to make the bot skip unsigned [[Category]] inserts. Should be fixed now.
    • Actually, it looks like I just didn't account for the pipe in category inserts. Yay.
  • Also, accounted for image tag only inserts.
  • Made regex checking for line indenting less specific.

--slakr 00:57, 19 August 2007 (UTC)

1.1.0

[edit]
  • Added some more date regexes for formats that people have reported to me (or the bot has come across).
    1. 08:46 [[19 August]] [[2007]]
    2. 2007-08-18 23:50
    3. 06:53, 01 August 2007.
    4. (cst|gmt|etc...)
      • Also included variants for short/abbreviated stuff in this one (e.g., '1 Aug 07').
  • More exceptions for strange multi-line templates (i.e., pre and post-add context check for pipes that would indicate edits inside a template, but added lines don't have pipes).
  • Ignore contribs whose last lines are <!--solely comments-->
  • Changed up category addition detection to be more and less specific at the same time (paradoxically) :P
  • Removed seconds from the {{unsigned}}, {{unsignedIP}}, etc parameters the bot feeds to the templates in order to maintain compatibility with bots that are actually reading the datestamps and aren't using as wonderful a function as strtotime().
  • Added some simple bot stats tracking (eg, total signed comments)

--slakr 00:16, 20 August 2007 (UTC)

1.1.1

[edit]
  • Some signatures had a ":" before the [[User or [[User talk links and the bot was signing them. That should be fixed now.
  • Bot will no longer place {{tilde}} warnings on redirected User talk: pages.

--slakr 01:47, 21 August 2007 (UTC)

1.1.2

[edit]
  • Bot will no longer sign contributions made by blocked users.
  • Fixed small bug where &nbsp; wasn't converted into whitespace, so it therefore missed some datestamp regexes.
  • Made bot a little more specific on [[User checking, so that if someone only the bot it won't assume that's a valid user component of the signature.

--slakr 01:29, 22 August 2007 (UTC)

1.1.3

[edit]
  • Memory optimizations. Yay --slakr 10:46, 22 August 2007 (UTC)

1.1.4

[edit]
  • Added exceptions for {{vandal}}, {{ipvandal}}, and {{userlinks}} templates that are added to unsigned posts on WP:AIV. Since these were non-t1 templates, they caused the bot to skip over the contrib.
    ... and fixed a stupid regex in the meantime (forgot a parenthesis). :P
  • Added exceptions for twinkle warnings (since they usually autosign).
  • Ignore unsigned User talk: contribs made by the user to whom the page is referencing. Should eliminate some confusion, hopefully.

--slakr 01:41, 23 August 2007 (UTC)

1.1.5

[edit]
  • Added exceptions for lines that are indents/enumerations/bullets but are blank.
  • Added liveLog disable setting in prep for irc bot.

--slakr (talk) 05:05, 24 August 2007 (UTC)

1.1.6

[edit]
  • Undid the line exception thing temporarily since it was causing problems with the bot calculating the correct line on which to add a signature. I'll test this a little more to get it working, but for now it's nixed.
  • Better detection of edit summaries that indicate trivial edits. (maelgwn)
  • Added exemptions for magic words (SarekOfVulcan) ... this naturally doesn't affect abracadabra, which is a classic magic word. ;)
  • Added exemption for Template:Afd bottom, which tricked the bot because it doesn't look like a template to the bot. :P (Sandstein)
  • Added a tricky exemption for WP:RFA optional questions, since there's no standard format for them. (Boricuaeddie)
    This gives me an idea, though: Use some sort of bot configuration template to instruct it to only sign under certain headers or sign under all headers EXCEPT certain ones-- as opposed to simply signing everything on any given page. I like the idea a lot, and I'll probably add it in an upcoming version.

--slakr (talk) 03:41, 26 August 2007 (UTC)

1.1.7

[edit]
  • Got WP:TWINKLE exemptions working again fro mthe 1.1.6 revert. It helps when I spell it "continue;" instead of "contine;"

--slakr (talk) 06:52, 27 August 2007 (UTC)

1.1.8

[edit]
  • Deactivated {{undated}} usage for now, since it seems to be causing some silly problems when people have [[User:]] links in their last added lines but aren't actually signing. Plus, it seems that {{undated}} is actually using template functions, which kind of sucks.

--slakr (talk) 07:36, 27 August 2007 (UTC)

1.1.9

[edit]
  • Added a isThisUser function to check if a block of text links to a particular user.
  • Added exception for additions right before an already-signed line when the prior revision is the same editor.

--slakr (talk) 23:33, 27 August 2007 (UTC)

1.2.0

[edit]
  • Added opt out by transclusion of a page/backreference support. Users can now opt out by transcluding {{NoAutosign}}.
  • Disabled public log output for now, since most serious bugs have been ironed out.
  • Fixed regex on did-the-person-remove-my-unsigned-template checking

--slakr(talk) 00:44, 28 August 2007 (UTC)

1.2.1

[edit]
  • Minor fix to template arguments just in case someone with an '=' in their name comes along.

--slakr(talk) 03:34, 28 August 2007 (UTC)

1.2.2

[edit]
  • Fixed a tiny problem where template opt out wasn't updating every 5 minutes-- only when the bot was restarted.

--slakr(talk) 09:59, 28 August 2007 (UTC)

1.2.3

[edit]
  • Exempted hr-only and hr-with-whitespace edits (eg, '----').

--slakr(talk) 21:52, 28 August 2007 (UTC)

1.2.4

[edit]
  • Another small fix to the datestamp formatting. Switch month & day, and removed the comma, since the old date format might be messing with some archive bots' minds.

--slakr(talk) 21:36, 30 August 2007 (UTC)

1.2.5

[edit]
  • Exempt pages ending in "/to do" (case insensitive) unless the page is explicitly opted in via another form.

--slakr(talk) 03:54, 2 September 2007 (UTC)

1.2.6

[edit]

--slakr(talk) 04:19, 4 September 2007 (UTC)

1.2.7

[edit]
  • Make bot ignore what appear to be postscript comments made by a user who might have signed somewhere else in the text addition.
  • Increased the limits for the opt out & opt in category requests to api.php (since the bot is botflagified and those queries are light anyway).

--slakr(talk) 19:23, 4 September 2007 (UTC)

1.2.8

[edit]
  • Exempt subpages starting with 'archive' to avoid weird things with archive lists and such. It should be apparent by the history who makes changes to an archive page, while it could be annoying to someone archiving pages.

--slakr(talk) 22:48, 4 September 2007 (UTC)

1.2.9

[edit]
  • {{undated}} support should be fixed now, and the template is protectified, so I've re-enabled {{undated}} support.
  • Because of new code, bot will now get pissy at someone who mis-signs his post (i.e., the bot will no longer buy someone signing as someone else-- at least, not in talk page linking).

--slakrtalk / 19:47, 14 September 2007 (UTC)

1.2.10

[edit]
  • Fixed hasThisUser() to trim() before comparing user name.

--slakrtalk / 23:16, 14 September 2007 (UTC)

1.2.11

[edit]
  • Added ELOGIC logging level as a slightly lower level than EDEBUG.
  • Added dbLogLevel config directive for minimum log level before writing entry to database (as opposed to only echoing if not fork()ing.)
  • Reclassified a lot of EDEBUGs into ELOGICs.

--slakrtalk / 05:39, 19 September 2007 (UTC)

1.3.0

[edit]
  • Edit summary changes: (thanks for reminding me, Tagishsimon) =)
    • Shorter
    • Includes the original edit summary given by the user.
    • Includes whether it's simply Dating or fully Signing
  • Exempted FAQ pages for {{FAQ}}
  • Fix to parsing of eicontinue and cmcontinue directives from api.php.

--slakrtalk / 22:13, 20 September 2007 (UTC)

1.3.1

[edit]
  • Rearranged order of arguments on cURL's submission of the edit form so that the edit token is last. This fixes a nasty little bug whereby text was deleted if transmission of the edit failed during transmission of wpTextbox1 (due to its uplink lagging out or dying abruptly), therein allowing Mediawiki to assume that transmission had finished and commit only a partial edit. Phew, that was a mouthful.

--slakrtalk / 06:59, 24 September 2007 (UTC)

1.3.2

[edit]
  • Added exemption for interwiki-only link additions

--slakrtalk / 19:49, 24 September 2007 (UTC)

1.3.3p7

[edit]
Actualy, the p7 is just to make '1337' (leet). Sorry... I'm weird. Feel free to pwn me or something. :D
  • Increased non-high-priority pages delay to 120 seconds.
  • Template-based opt out now works on User talk: namespace for people who purposefully don't have User: namespace pages.
  • User/user talk page component now recognizes subpages in signatures. This does deviate from WP:SIG, but *shrug*.
  • Fixed funky character encoding on hasThisUser() checks (for people like Hroðulf).

--slakrtalk / 21:49, 30 October 2007 (UTC)

1.3.4

[edit]
  • Someone decided to change api.php's "rctype" directive on recent changes, breaking the bot. Fixed.

--slakrtalk / 21:45, 17 November 2007 (UTC)

1.3.5

[edit]
  • Now using html_entity_decode() on hasThisUser() for misc. funky chars in usernames that translate to html entities in talk pages and such.
  • Added second step before death'n'mail on bad login responses.

--slakrtalk / 08:05, 19 November 2007 (UTC)

1.4.0

[edit]
  • Code cleanup.
  • Made more code less site-specific.
  • Added config file.
  • Added db table prefixes.
  • Config directive for RC checking sleep delay.

--slakrtalk / 16:18, 21 November 2007 (UTC)

1.4.1

[edit]
  • Add isEnableContribs to allow enabling of Special:Contributions as a valid signature. Disabled by default, but can be enabled for sites like Wikinews (where IP contribs use Special:Contribs instead of talk/user page links).

--slakrtalk / 17:35, 21 November 2007 (UTC)

1.5.0

[edit]
  • Added ignore for redirected talk page creations.
  • Added ignore for possible <gallery> tag additions.
  • Added interprocess communication with eggdrop IRC bots (so that various channels across various networks can be notified if needed; plus, bot can run on different server altogether).
  • Added basic vandalism detection and notification through IRC bot.
    This doesn't have a timing mechanism yet, so the bot will still sign it. I'll fix this when I'm less tired. :P
    IRC bot (sinebot.tcl), new channel flags:
    • +sinevandals — possible vandalism.
    • +sineflames — flame detection info (i.e., harshly worded messages that aren't necessarily vandalism but would probably be WP:NPA violations).
    • +sinesigns — info on signatures the bot makes successfully.
    • +sineinfo — important bot notices
    • +sinebroken — send a warning if the bot runs across a talk page on which wikitext may have stopped working.
  • Added basic flame detection, but it's not yet enabled.
  • Added broken rendering detection and alerting (preliminary), so bot should detect when everything goes haywire on a page due to a forgotten </nowiki> or something.
  • Some other minor optimizations.

--slakrtalk / 06:48, 21 January 2008 (UTC)

1.5.1

[edit]
  • Bot will ignore possible vandalism when it comes across it; timing for delayed signing on vandal posts not yet enabled, but gathering statistics for a good timeout.

--slakrtalk / 18:38, 22 January 2008 (UTC)

1.5.2

[edit]
  • Added establishedEditCount config directive plus corresponding exemption from autosigning.

--slakrtalk / 10:33, 9 March 2008 (UTC)

1.5.3

[edit]
  • Added MSG_EDIT_PRO_IP to allow different edit summaries for anons; pointed it to Special:Contributions/ip instead of User:ip.

--slakrtalk / 13:20, 17 March 2008 (UTC)

1.5.4

[edit]
  • Added static exempt list (ignoreList) *grumble grumble grumble*
  • Couple small changes

--slakrtalk / 19:07, 29 July 2008 (UTC)

1.5.5

[edit]
  • Support bookmarks in sigs. (e.g., User:SomeUser#something)
  • Account for 3 letter language links, as well ('scn' was what prompted it :P)
  • Fixed hole that was allowing dated-yet-unsigned stuff to seep through in special conditions (i.e., what the bot assumed to be revising edits).

--slakrtalk / 21:08, 21 September 2008 (UTC)

1.5.6

[edit]
  • More properly support bookmarks in sigs; fix regex.

--slakrtalk / 15:39, 26 September 2008 (UTC)

1.5.7

[edit]
  • Interwiki sig support.
  • Fixed xfer stat.
  • Added some extra throttling.
  • Fixed overly-lax image-only regex that resulted in pre-emptive greenlighting in some instances.
  • Included some other commonly used templates in the tl check.

--slakrtalk / 04:06, 10 November 2008 (UTC)

1.5.8

[edit]
  • Bug fixes on weirder interwiki sigs.

--slakrtalk / 04:50, 6 February 2009 (UTC) (actual date was probably in November 2008)

1.5.9

[edit]
  • Added config-level ignorability for subpages (like "pages with subpages that aren't autosigned").

--slakrtalk / 04:50, 6 February 2009 (UTC) (actual date was probably in December 2008)

1.5.10

[edit]
  • Enabled {{YesAutosign}} support.
  • "Image talk:" to "File talk:" in configs. Not really part of the revision (as it's in the config), but w/e. :P

--slakrtalk / 04:50, 6 February 2009 (UTC)

1.5.11

[edit]
  • Fixed tiny logging typo "BWARN" instead of "EWARN"
  • Updated edit conflict detection.

--slakrtalk / 23:43, 12 February 2009 (UTC)

1.5.12

[edit]
  • Now uses write api.
  • Kludge due to a bug on wikimedia's end.

--slakrtalk / 06:24, 24 February 2009 (UTC)

1.5.13

[edit]
  • Forgot what I changed. Probably just a minor fix. :P

--slakrtalk / 16:13, 27 June 2009 (UTC)

1.5.14

[edit]
  • Compatibility with error->code / error->info ambiguity

--slakrtalk / 16:13, 27 June 2009 (UTC)

1.5.15

[edit]
  • Minor bugfixes / api.

1.5.16

[edit]
  • Minor bugfixes / api.

1.5.17

[edit]
  • Minor fixes.

1.5.18

[edit]
  • Minor fix: account for RFA variations.

--slakrtalk / 23:33, 11 November 2011 (UTC)

1.5.19

[edit]
  • Kludgefix back-to-back revision signing.

--slakrtalk / 03:20, 31 May 2012 (UTC)