GuildWiki talk:Bot tasks/Builds redlinks rewrite

For red links with less than X number of links to it, just unlink it and bold the name, not worth the effort of finding a corresponding PvX article. I propose the X threshold to be set around 10. -User:PanSola (talk to the ) 06:28, 30 April 2008 (UTC)
 * Good idea - there's certainly a point beyond which the work required to find the new name is much greater than the benefit gained from fixing the link. Personally I'd set the threshold at 5, though.  Oh, and I may have to get Wizerdboy to do the correspondence file - Ereanor seems to be otherwise occupied at the moment. &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 23:33, 30 April 2008 (UTC)
 * Change edit summary to  imo. Also, I don't know perl so I cant tell if you're going through both anything starting with Build: and also starting with the usual Prof/Prof prefix or what. Also, some builds had Prof/Any which I don't think is included here. &mdash;♥ Jedi ♥ Rogue ♥  00:04, 1 May 2008 (UTC)
 * Hmm, does it really need the bot name in the summary? If you're looking at RC or at the article's history, the editor's name is always displayed on the same line anyway, so it seems redundant.
 * Yes, the line  strips "Build:" off the beginning of $title so that the following if statement can match against the de-namespaced article name.  The full name is retained in $full_title.
 * Said if statement checks for article titles beginning with "Team" or beginning with "X/Y", where X is a prof code, and Y is a prof code or "Any". (I changed this just now - the previous version would've only matched "X/" and ignored whatever followed the slash.) &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 01:56, 1 May 2008 (UTC)


 * I just made a new template, that should help with removing links without greatly changing the original presentation. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 01:10, 1 May 2008 (UTC)
 * Ooooh.... I likes. That'll also let me get rid of a bunch of mostly useless images I've been placing on the non-orphaned page.  I'll have to modify this script to actually check the number of links in the Wantedpages list so it can use this below the threshold. &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 01:56, 1 May 2008 (UTC)

Final version, 24 hour notice
I have uploaded a final version of the code, and I have a complete correspondence file thanks to Wizardboy777. The only unresolved issue from above is whether to include the bot name in the edit summary. If no other concerns are raised, I will begin running this bot at 11 AM CST (16:00 GMT) tomorrow. &mdash;Dr Ishmael 15:46, 1 May 2008 (UTC)
 * You don't need the bot name in the edit summery. GL&mdash;♥ Jedi ♥ Rogue ♥ 15:55, 1 May 2008 (UTC)