User:Tawkerbot

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Headline text'[1][edit]


About Tawkerbot[edit]

If you need Tawkerbot to do anything, leave me a message @ User talk:Tawkerbot or go down for my bot request form (post on this page)

Tawkerbot is a python wikipediabot from http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot. It will be running subst: on a list of userpages that I have created and checked that have templates without the subst tag.

Until I am certain this bot works properly, I will be using it in manual per record control, after I am happy that it will not cause harm to Wikipedia, I will set it on auto mode to go through its list. For every new edit, I run the first few manually then hand it over to computer control, much faster, doing it all manually is too much like doing it myself.

The bot will be started manually by myself when I have a list of user pages that need the changes. I will run the bot every 10-45 seconds (5s in non peak hours if low traffic and cleared on wikipedia-tech and/or mediawiki IRC channels)

Contributors[edit]

The following users have helped with some portion of Tawkerbot be it custom scripts, regex's or monitoring:

Note to admins if the bot does something it's not susposed to[edit]

This bot runs on my server in a datacenter not on my local ISP connection. As such, my local connection may go down preventing me from accessing the server to issue a stop request. If you have a problem with Tawkerbot and I don't respond within a reasonable amount of time please go ahead and apply a block - a block will stop it, I will make a request on the IRC channel to have it lifted when I have access and it's sorted out (this may or may not happen with a note beforehand, you'll usually get a "Thanks" message though :) -- Tawker 01:36, 23 February 2006 (UTC)

I?m helping tawker to keep an eye on the ot. If it goes nuts also let me know. -- ( drini's page ) 04:48, 23 February 2006 (UTC)

Tasks[edit]

Stale IP talk pages[edit]

Blanking stale IP talk pages per consensus reached on IRC (#wikipedia / #mediawiki / #wikipedia-en-vandalism / Wikipedia_talk:Criteria_for_speedy_deletion#IP_talk_pages on pages older than 180 days. This will not remove sharedip or blockedproxy notices.

Rename[edit]

Rename {{ArtificialLightSources}} to {{LightSources}} per material contained, and then fix the redirects. 68.39.174.238 22:42, 18 February 2006 (UTC)

Hold off on this. That template has become a monster. I'm going to try to simplify it. The current name may well be more appropriate when I'm done.--Srleffler 05:23, 23 March 2006 (UTC)
Discussion on this issue at Template talk:ArtificialLightSources--Srleffler 07:07, 24 March 2006 (UTC)

Subst'ing[edit]

I'm subst'ing in commonly used templates in user talk pages, grabbing a list from AWB and importing for manual control, see the above list for instructions.

Working on....

  • test5 -- done (protected pages not subst'ed)
  • test4 -- done
  • test3 -- done (protected pages not subst'd) (also subst'ing test0,test1,test2,test3,welcome,bv)
  • welcome -- done
  • anon -- done
  • blank -- qued (blank0,1,2,3,4,5)
  • user qued - (pending decision to execute)
  • unsigned qued - (pending decision on to execute)


Regexs[edit]

Here is a bunch of regex strings I use with tawkerbot, feel free to add a useful regex to the bottom of the list, just document the fact please :)


Hey Tawker. Per our discussion on IRC, this is a regex pattern that will match most or all test templates. Specifically, it matches selftest, test-n, test2-n, test2a, test2a-n, test2b, test3-n, test4a, test4-n, test, test0, test1, test2, test2a, test3, test4, test5, and test6, and takes into account the use of deprecated syntax {{msg:test}} and {{template:test}}. It also matches any parameter or parameters. It won't match similar templates that might be subst-averse.

Search:

{{(?:msg:|template:)?((?:self)?test(?:-n|2-n|2a|2a-n|2b|3-n|4a|4-n|0|1|2|3|4|5|6)?)(\|?[^}]*?)}}

Replace:

{{subst:\1\2}}

Welcome "{{(.*?welcome.*?)}}" and change to "{{subst:\1}}" '''Anon''' "{{(.*?anon.*?)}}" and change to "{{subst:\1}}"


reason Subst'ing mesgs per WP:SUBST using User:Pathoschild/Projects/Template_substitution's regex Pathoschild's master regex

Search:

{{(?:msg:|template:)?(bio-cats|Prettytable|sub|sup|lived|Lifetime|lifespan|moved-n|moved|tmfrom|tmto|3RR2|3RR3|3RR|nn-warn|nothanks-sd|nothanks|obscene|selftest|test-n|test2-n|test2a-n|test2a|test2b|test3-n|test4a|test4-n|test0|test1|test2|test3|test4|test5|test6|test|blatantvandal|bv|No personal attacks|attack|Npa2|Npa3|Npa4|Npa|blanking1|blanking2|blanking3|blanking4|drmafd|drmafd2|drmafd3|drmafd4|drmafd5|MIPblock|multipleIPs|spam2|spam2a|spam3|spam4|spam|UsernameBlocked|vanity|vblock|verror|verror2|verror3|verror4|Edit summary personal|Editsummarynew|sofixit|Edit summary|summary|name your images|image source|image copyright|subst|SharedIP|ISP|AOL|repeat vandal|anon vandal|vw|Award|newvoter|welcome2|welcome3|welcome4|welcomeip|welcome-anon|welcome-anon-from|anon|welcome|Album Image|albumcover|Gameicon|Icon|afd|WP:RM|Move2|TFAfooter|See also|ed|ln|tln|nobr|doctl|archivebox)(\|[^}]*)?}}

Replace:

{{subst:\1\2}}

Subst of FeaturedPicture[edit]

Job was run on IRC with no concerns, running....


Name: substing of {{FeaturedPicture}}

Purpose: reduce server load

What do you need done: substitution of {{FeaturedPicture}}

Consensus of community for operation (wikilink showing support): generally accepted consensus to substitute templates as needed if they are for all intents and purposes never removed or modified.

Your name: Pegasus1138Talk | Contribs | Email ----

So, we'll never want to update or alter this template? I think it's possible we might want to tweak the wording etc. This should have been discussed, with at least a mention on Talk:FeaturedPicture. Please undo. — Matt Crypto 09:23, 19 March 2006 (UTC)

Fair Use Rational Reminder[edit]

The bot would leave a friendly message on an fair use image uploader's talk page to kindly leave a fair use rationale for the image.

It would essentially

  1. Grab a category of fair use images
  2. Use a regex to see if the worlds "rationale" or "fair use" do not appear (outside of the template)
  3. Post a message on the image uploader's talk page requesting that they rationalize the image. This could be done for all uploaders of an image or just the first one.

I haven't seen anything that does it specifically and it might get us a little more than the 0.5% of images with fair use rationales. -- Tawker 15:47, 27 March 2006 (UTC)


Bot Requests[edit]

This is a list of bot requests for Tawkerbot, I will run them in the order recieved unless something is critical, Tawkerbot will do it during non-peak times if possible and I will monitor it to ensure nothing goes wonky.

Please add a new task in the following format:

Name:

Purpose:

What do you need done:

Consensus of community for operation (wikilink showing support):

Your name:



Beliefs userboxes substitution[edit]

Purpose: Getting rid of the capability for factionalists to use "Whatlinkshere" to recruit people for the purposes of vote-stuffing. Also to remove unencyclopedic templates without disrupting user's pages.

What do you need done: Substitution of all templates listed at Wikipedia:Userboxes/Beliefs. You can start with {{user No Smoking}}, {{user Drug-free}}, {{user not stoned}}, and {{user not-Drug-free}}, and proceed from there.

Consensus of community for operation (wikilink showing support): Is Jimbo himself good enough for you?  :-P

Cyde Weys 06:30, 22 February 2006 (UTC)

Factions are bad, but substituting userbox templates is worse. What links here is a very valuable tool that shouldn't be mangled for political reasons. — Omegatron 15:56, 22 February 2006 (UTC)


Template updates for resolved transwikis[edit]

Purpose: General maintenance

What do you need done: I would like to have a bot convert all {{Transwikied to Wiktionary}} to {{Transwiki to Wiktionary Finished}} on talk pages iff the article is listed on one of the transwiki log archives (1, 2, 3, 4, 5), and not the main WP:TL. In other words, if the article has been resolved and archived from WP:TL, but the template was not updated to reflect this fact (which is most of them), then I would like it to be updated, without changing the ones currently listed and opem.

Consensus of community for operation (wikilink showing support): Just normal maintenance I've been putting off. :-)

Your name: Dmcdevit·t 08:44, 30 March 2006 (UTC)

Ok, the bot is doing the task right now, well, I'm using AWB to do it but its doing it. Pywikipedia refuses to do the job, I don't have a clue why but I'm having to use AWB on bot mode but its getting done. -- Tawker 06:15, 3 April 2006 (UTC)

Image:Utah state flag.png to Image:Flag of Utah.svg[edit]

Purpose: Switch all uses of smaller, PNG formated Utah flag > new larger SVG flag so that the PNG can be deleted

What do you need done: Automated change of all wikilinks of Image:Utah state flag.png to Image:Flag of Utah.svg

Consensus of community for operation (wikilink showing support): Norma WikiCleanup; SVG is a prefered format.

Your name: Admrb♉ltz (T | C | k) 05:12, 9 April 2006 (UTC)

Spoken article RSS feed[edit]

Purpose: The RSS feed here is 20 days out of date. It's been somehow maintained by hand up to now.

What do you need done: Find out when all the spoken articles were uploaded, and make an RSS out of the newest few (starting with most recent). Maybe this should be run every day or so?

Consensus of community for operation (wikilink showing support): here?

Your name: Snarius 18:36, 21 May 2006 (UTC)

Removing userpage redirects[edit]

Name:Logical2u (Formerly User:ArdoMelnikov)

Purpose: Removing redirects that link User:ArdoMelnikov, which is no longer my username, to User:Logical2u, my current username, in order to reduce browser strain, increase directness.

What do you need done:Take The list of pages linking to ArdoMelnikov and change every instnace of [[User:ArdoMelnikov|Logical2u ... ]] and replace to [[User:Logical2u|Logical2u ... ]] The only reason I have the ... in there, is because for a bit there are edits with (Wikibreak) appended into the end because I was on wikibreak. I've edited a few of them, so that lowers some of the work to do. Once the list is empty (Except for the Changing Username page, I think, which I could fix myself if the bot does it), the job is done. It's a very short term thing for a bot.

Consensus of community for operation (wikilink showing support): Er, it's a personal request and something that shouldn't affect anyone in the longrun... do I really need community support? You could look at the Changing Username page?

Your name: Logical2u 13:28, 21 August 2006 (UTC)

Wiktionary requested articles[edit]

Name: Wiktionary requested articles cleanup

Purpose: To cleanup Wiktionary:Requested articles:English/DictList

What do you need done: There are a series of pages here that should only list redlinks, all links to existing pages need removed, this would be best as a recurring task.

Consensus of community for operation (wikilink showing support): There are instructions at the top of the page for users to do this [1]

Your name: Vicarious

  1. ^ Italic text