Wikipedia:Bots/Requests for approval/HighInBCBot
From Wikipedia, the free encyclopedia
[edit] HighInBCBot
tasks • contribs • count • logs • page moves • block user • block log • flag log • flag bot
Operator: HighInBC
Automatic or Manually Assisted:
Automatic
Programming Language(s):
Perl with the MediaWiki module
Function Summary:
It will go through all of the archives of a particular user, take all of the section headings, and index them on one page.
Edit period(s) (e.g. Continuous, daily, one time run):
Once daily, non peak times
Edit rate requested: X edits per TIME
For each user benefiting from this bot, this bot will use special:export to read all archives at once, and write one time to the index page. I consider this a negligible use of bandwidth for the service provided.
No more than 3 writes per minute, reading potentially more, most likely through the special:export command.
This bot will use it's watchlist to coordinate a cache, checking all of the archives it serves for changes in a single http request. It will only read altered archives after the initial reading. see User:HighInBCBot#Method_of_reading for details.
Already has a bot flag (Y/N):
No
Function Details:
Will go through all of a users archives, take all of the section headings, and index them on one page.
The idea being that somebody looking for a specific section from an old link(linking to a section no longer on my userapge) will see a notice saying
If you are looking for a section that has already been archived you can look for it in the index of archived sections
This index will have every section title linked to it's location in it's archive. If the same section title is on more than one archive title then it will be given a link for each archive.
- Example
- Atomic power - Archive 1
- Irish - Archive 2
- RfA thanks - Archive 1 (2 sections with this name in Archive 1)
- RfA thanks - Archive 2
- thanks - Archive 3
- Welcome! - Archive 1
This can also create a second index by username on the same page. This will not effect how many times it must read or write.
Any user can benefit from this. Parameters would include a mask for the archives in printf format, and the target location for the result of the indexing. The user can add themselves to a category and define their parameters in HTML comments like so:
{{User:HighInBCBot/Archive_index_opt_in}}<!-- ARCHIVES=User:HighInBC/Archive%d TARGET=User:HighInBC/Archive_index -->
This bot would only write to a page with <!--BOT Writable--> or something similiar somewhere on it as it will be blanking and replacing the target page each write, this will prevent abuse as ordering the bot to blank the page involves making an edit people on that page can see.
I for one am always looking through the WP:AN archives trying to find a specific item, an index of that would be usefull. More detials and progress reports on User:HighInBCBot. HighInBC (Need help? Ask me) 15:30, 9 December 2006 (UTC)
[edit] Discussion
- Note I have not written this yet, but I feel I can in within a couple of days. I am currently working on the read only portion. HighInBC (Need help? Ask me) 16:35, 9 December 2006 (UTC)
- Oh yes, I am willing to release the source to GFDL for all to see. HighInBC (Need help? Ask me) 16:48, 9 December 2006 (UTC)
- I'm not sure what I think about this bot. Would it be possible to create a mockup? It doesn't have to be done with a bot, but I'd like to see an example diff or two of this. -- RM 23:57, 11 December 2006 (UTC)
-
- Here is a rough example of what I had in mind: User_talk:HighInBC/archive_index(diff). I will of course format it better. This is all done in one posting. HighInBC (Need help? Ask me) 19:27, 12 December 2006 (UTC)