Forum:Automatically remove street price from every item page; Bot flag requested

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Automatically remove street price from every item page; Bot flag requested
Archive
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 30 January 2009 by Azaz129.

I wish to automatically remove the old street price field from every item page. I have written a bot and have done 60 successful test edits(I only had one problem with it creating an \n on every page, but I have since fixed that). This bot is written in python and uses pywikipedia. The source code can be found here. This bot would run for one time only, although I may ask for permission to do other jobs with the bot later on. This bot would run on TehKittyBot, a user I have created just for running as a bot and I am the only one who will be able to access it. The street price field in Template:Infobox_Item was removed shortly after the Grand Exchange was created and the exchange field replaced its use. Many old articles still have this field(around 1950 pages), and it has been said that this field can be removed from those articles in the template's talk. My bot has 2 operation modes 'assisted', where I check every edit, and 'auto', where the bot automatically says yes to the changes. Currently the bot has been running in 'assisted' and doing about 1 edit per minute. With the bot flag I will run in 'auto' mode and do 1 edit at most every 15 seconds. - TehKittyCat 04:58, 13 December 2008 (UTC).

  • I have upgraded my bot's code to use command line args instead of manually editing the code to change the pages. For example categories use -cat:Items and pages use -pages:Bow,Animal_skull.Auto(-mode:auto) mode is now the default and it has a command line arg to switch to assisted(-mode:assisted). - TehKittyCat 18:41, 13 December 2008 (UTC).
  • The amount of pages left with the field is about 950 pages, according to my more accurate search query(I removed duplicates and anything not in the mainspace). - TehKittyCat 22:02, 13 December 2008 (UTC).
Is there a reason you are removing the street prices here? The field has been removed from active use on the individual item pages, but I fail to see the urgency of removing it from all of the pages where it has been used. --Robert Horning 02:27, 14 December 2008 (UTC)
That is a good question to ask someone requesting a bot flag, like me, so I will try and answer both sides of this and in detail.
  • According to Template:Infobox_Item/doc#Removed_field(s) this field should be removed from old articles, but no where in that article is it said to be official policy.
  • Only 1/4 of the item articles still have it and only about 1/3-1/2 did before it was removed from some articles.
  • If street price was brought back, we would need to insert it in most of the item pages again any way.
  • I do not see the value in keeping it for historical prices, and if someone wanted to see them they could just click on a revision before I removed street price, since I use "Removing the no longer used field, street." as my edit summary.
  • I agree there is no urgency, but we might as well do it sometime, and better at once than finally finishing it at a much later time.
  • To do this fast it would be too fast for recent changes, so I would need a bot flag, even editing once every 2 minutes takes up a lot of recent changes on slower times and on fast times when it is harder to catch vandalism it would be even harder.
I have other reasons, but they are based on scenarios too hypothetical. I will admit had not really thought about my reasons until you asked this question, and may still not be good enough reasons. - TehKittyCat 19:07, 14 December 2008 (UTC).

I just now gave User:TehKittyBot bot status.--Richardtalk 20:59, 29 December 2008 (UTC)

Thank you every much. - TehKittyCatTalk Wikian-Book 04:17, 30 December 2008 (UTC)