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
- Initial release for testing. Stays relatively close to HagermanBot's original behavior.
- Future proofing:
- Categories are now bot-neutral.
- Opting out is now done by users placing Category:Users who have opted out of automatic signing on their User: page.
- Added page log for monitoring bot activity.
--slakr 13:59, 1 August 2007 (UTC)
1.0.0pre2
1.0.0pre3
- 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
- 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
- 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:
- Read RC feed as usual.
- 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.
- Check the table every five seconds for entries that satisfy the delay.
- 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
- 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
- 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
- Added some more date regexes for formats that people have reported to me (or the bot has come across).
- 08:46 [[19 August]] [[2007]]
- 2007-08-18 23:50
- 06:53, 01 August 2007.
- (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
1.1.2
- Bot will no longer sign contributions made by blocked users.
- Fixed small bug where 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
- Memory optimizations. Yay --slakr 10:46, 22 August 2007 (UTC)
1.1.4
- 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
1.1.6
- 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.
1.1.7
- Got WP:TWINKLE exemptions working again fro mthe 1.1.6 revert. It helps when I spell it "continue;" instead of "contine;"
1.1.8
1.1.9
1.2.0
- 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
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6
- Fix hasThisUser() to recognize '_' in user names.
- Add an exemption for standard-format extra diff additions to Wikipedia:Administrators' noticeboard/3RR.
1.2.7
- 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).
1.2.8
1.2.9
1.2.10
1.2.11
1.3.0
1.3.1
- 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.
1.3.2
1.3.3p7
- 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).
1.3.4
1.3.5
1.4.0
1.4.1
1.5.0
- 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.
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
- 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).
1.5.6
1.5.7
1.5.8
1.5.9
1.5.10
- 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
1.5.11
1.5.12
1.5.13
1.5.14
1.5.15
- Minor bugfixes / api.
1.5.16
- Minor bugfixes / api.
1.5.17
- Minor fixes.