Commons:Bots/Requests/Innocent bot

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Innocent bot (talk · contribs)

Operator: Lavallen (talk)

Bot's tasks for which permission is being sought: Adding {{BookNaviBar}} and maintanance of {{Information}} in pages related to Wikisource. (Begin at Swedish Wikisource.) Maybe in the future: adding links to Wikisource, when it is suitible to do so with a bot.

Automatic or manually assisted: Supervised automatic in simple cases, manually in others.

Edit type (e.g. Continuous, daily, one time run): Perodically

Maximum edit rate (eg edits per minute): 6 edits/min (I know I accidently exceed that limit sometimes on w:sv when running manually.)

Bot flag requested: (Y/N): Yes

Programming language(s): AWB

Lavallen (talk) 16:15, 5 July 2010 (UTC)


Looks generally ok, but a few example edits would be nice. And, I love it's name--DieBuche (talk) 16:20, 5 July 2010 (UTC)

On hold! I have requested AWB-registration for the bot.
My username was earlier Innocent bystander. I could not SUL that name, so I had to change. -- Lavallen (talk) 17:23, 5 July 2010 (UTC)
100 edits made, some conflicts with the abusefilter, I guess. I think I have to find other ways to do some kind of edits. Replacing {{Information}} with another template, which I later substituted was not a good solution. -- Lavallen (talk) 08:33, 6 July 2010 (UTC)
Could you try to do everything in one edit? And which template are you subst'ing--DieBuche (talk) 11:41, 6 July 2010 (UTC)
First I introduced the pagenumber (000-950) by writing {{subst:PAGENAME}}. I hide that code for the public by putting it within a dummy-user-namespace-template: User:Innocent bot/Noop. Thereafter I removed the Information template and removed the code around the pagenumber and put it within: {{subst:User:Innocent bot/BookNavi}} which introduced {{Fjellstedt-I-BookNaviBar}}. Therafter I substituted that template, which gave the Information-template back.
Instead, I can do this within two edits. I have to introduce the PAGENAME in some way first to get the correct pagenumber. The rest can be done in one edit. What I have to do, is making a better User-namespace-template. -- Lavallen (talk) 13:32, 6 July 2010 (UTC)
I don't think it's good idea to expand book information template, since similar changes will require to edit many pages.
Is it possible to check correctness of {{BookNaviBar}} usage (navigation from begin to end of book should be same in opposite direction)? However, {{BookNaviBar}} may be nested.
EugeneZelenko (talk) 15:09, 6 July 2010 (UTC)
There are books where the "information template" is all and the same in all pages in a book. There is no need to have separate "information templates" in each page then. But in this case, the book contains some illustrations. (Not many for Biblia Fjellstedt, but Illustrerad Verldshistoria contains hundreds.) Then it could be of use to reach the parameter: other_versions in a simple manner on all pages. -- Lavallen (talk) 16:34, 6 July 2010 (UTC)

FYI: Since this Request was made, I have been granted botflag at sv.wikinews. -- Lavallen (talk) 12:23, 16 July 2010 (UTC)

@Lavallen, I don't think that the {{subst:PAGENAME}} bot and the workaround is really needed. You could also use %%title%% and AWB will insert the title directly. A little adjustement of the order of processing the AWB statements will then do the trick and you can get the same result in one edit. --Schlurcher (talk) 16:57, 2 August 2010 (UTC)
I will try that later. It's to hot, running a bot, in this weather. -- Lavallen (talk) 18:52, 2 August 2010 (UTC)
Looks like that made it much simplier! - Thank You! -- Lavallen (talk) 08:47, 3 August 2010 (UTC)

Ready to flag. --Schlurcher (talk) 18:53, 27 September 2010 (UTC)

My activity on WMF-sites has been low during a period because of ISP-problems. But now I have good IP-access again and is ready to be more active. -- Lavallen (talk) 18:32, 28 September 2010 (UTC)

✓ Approved I've granted the bot flag per consensus here, and no sign of trouble. --99of9 (talk) 05:59, 18 May 2012 (UTC)