Wikipedia:Bots/Requests for approval/Addbot 18
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was Approved.
Operator: ·Add§hore· Talk To Me!
Automatic or Manually Assisted: Automatic
Programming Language(s): PHP
Function Overview: Removing orphan tags from articles that now have incoming links.
Edit period(s): Continuous (run 3 times a day)
Already has a bot flag (Y/N): Y
Function Details:
- Gets a list of pages that include an orphan tag but now have incoming links
- Find
"\{\{ *orphan *(\| *(date|att) *= *(January|February|March|April|May|June|July|August|September|October|November|December) 200[0-9] *){0,2} *\}\}"
and replace with nothing - Save page and be done
Discussion
[edit]- I remember reading somewhere that an orphan constituted an article with one or less incoming links. How will the bot operate upon finding these? Also, will the bot distinguish between the namespaces - ie if it is only made unorphaned by a link from within userspace or projectspace, will the bot leave the orphan tag alone? — neuro(talk) 12:01, 19 February 2009 (UTC)[reply]
- Oppsy forgot to add the link. The bot will read from this page The page will show any article that has 3 or more incoming links from the article space (not disambiguations). This may change over time. ·Add§hore· Talk To Me! 12:02, 19 February 2009 (UTC)[reply]
- That's just peaches. Cheers. — neuro(talk) 12:05, 19 February 2009 (UTC)[reply]
- Oppsy forgot to add the link. The bot will read from this page The page will show any article that has 3 or more incoming links from the article space (not disambiguations). This may change over time. ·Add§hore· Talk To Me! 12:02, 19 February 2009 (UTC)[reply]
- Approved for trial (20 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Looks simple enough. Richard0612 13:41, 19 February 2009 (UTC)[reply]
- All edits went well, Diffs include [1] [2] [3] [4] all of which had incommign links [5] ·Add§hore· Talk To Me! 13:54, 19 February 2009 (UTC)[reply]
- Approved. Everything looks OK, and this task will certainly be useful. One tiny thing: the edit summary is
(Bot: Removing Orphan Tag (Nolonger an Orphan) (Report Errors))
. You might want to fix that spacing! Richard0612 14:06, 19 February 2009 (UTC)[reply]
- Approved. Everything looks OK, and this task will certainly be useful. One tiny thing: the edit summary is
- All edits went well, Diffs include [1] [2] [3] [4] all of which had incommign links [5] ·Add§hore· Talk To Me! 13:54, 19 February 2009 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.