Wikipedia:Bots/Requests for approval/SoxBot
- 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: Soxred93
Automatic or Manually Assisted: Manually Assisted
Programming Language(s): Python
Function Summary: Gnome Work, such as helping in fixing broken links, solving redirects, and updating pages that have out of date templates. Make pages with HTML turn into wiki syntax. Turn links to disambiguation pages into the correct link. Putting {{orphan}} onto pages without any links and without the template already added. Substing templates that should be substed, but have not been.
Edit period(s) (e.g. Continuous, daily, one time run): Daily
Edit rate requested: maxlag=5, 5 epm.
Already has a bot flag (Y/N): N
Function Details:
Convert HTML tags to Wiki syntaxFix links to disambiguation pagesFind external links that are brokenAdd Categories to pagesPut {{orphan}} onto all pages that have no links, and have no orphan template on it already.- Subst templates that need to be but not.
Discussion
[edit]Can I see the source code? βcommand 03:28, 11 November 2007 (UTC)[reply]
- It's going to be a combination of the m:replace.py, m:category.py, m:solve_disambiguation.py, and m:template.py.
- This task request is too broad. You need to specify how it will be decided that the bot will run given tasks. For example, adding categories to pages... why? Who decides this needs to be done? How will they tell the bot to do this? What will be the scope of the change? Et cetera. Task requests are designed for individual tasks. — madman bum and angel 03:46, 11 November 2007 (UTC)[reply]
- Ok, here are some examples:
- Someone makes a new template for external links, it's accepted, and it needs to be put onto a lot of pages.
- I find new templates on the Special:Newpages page, and if there are new templates, I run that part of the bot. Here's the process:
- Get all the pages in the wiki, or in a specific category to make it work quicker.
- Get the page-specific text in the link, and put that into a specified area of some text, which replaces the original link.
- Go onto the next page, and repeat the process.
- Someone makes a section of the page, that says "The fish ate the worm on the hook".
- As you can see, "fish" and "worm" go straight to the right pages, but "hook" goes to a disambiguation. If I'm not mistaken, disambiguation pages should not be linked to from anywhere.
- It searches the wiki for pages that link to disambiguation pages.
- It gives me a lot of options
- I select the correct one
- Repeat.
- Someone makes a new template for external links, it's accepted, and it needs to be put onto a lot of pages.
- For that last one, adding categories to pages, should be removed, as now that I think about it, it is very vague. Soxred93 04:34, 11 November 2007 (UTC)[reply]
- I have modified it above, now it is a wikification bot. It is still under the broad category of gnome work, but it is a lot more focused. Soxred93 03:36, 12 November 2007 (UTC)[reply]
- I dont think this will be that useful, HTML tags will get fixed over time by AWB users, who are doing other things. the HTML conversion is very minor task that should not be done as a stand-alone task. βcommand 22:36, 12 November 2007 (UTC)[reply]
- Ok, revised. Now it'll find links to disambiguation pages and change them to the corrent link. It automatically skips it is it has (disambiguation) in the page title, meaning it was intended. Soxred93 has a boring sig 23:28, 12 November 2007 (UTC)[reply]
- I dont think this will be that useful, HTML tags will get fixed over time by AWB users, who are doing other things. the HTML conversion is very minor task that should not be done as a stand-alone task. βcommand 22:36, 12 November 2007 (UTC)[reply]
- I have modified it above, now it is a wikification bot. It is still under the broad category of gnome work, but it is a lot more focused. Soxred93 03:36, 12 November 2007 (UTC)[reply]
- Ok, here are some examples:
- This task request is too broad. You need to specify how it will be decided that the bot will run given tasks. For example, adding categories to pages... why? Who decides this needs to be done? How will they tell the bot to do this? What will be the scope of the change? Et cetera. Task requests are designed for individual tasks. — madman bum and angel 03:46, 11 November 2007 (UTC)[reply]
Revised again. sorry for all these revisions, I keep getting more ideas! Soxred93 has a boring sig 04:26, 13 November 2007 (UTC)[reply]
- Changed once more. That last script failed on another wiki. {{BAGAssistanceNeeded}} Soxred93 has a boring sig 21:49, 13 November 2007 (UTC)[reply]
- Update: I have just customized it to only work if User:SoxBot/enable is set to enabled. Soxred93 has a boring sig 02:55, 16 November 2007 (UTC)[reply]
- Sigh...what does it take to get a reply? The {{BAGAssistanceNeeded}} template has been up for a couple days now...I thought that was what helped get a reply. Soxred93 has a boring sig 21:07, 16 November 2007 (UTC)[reply]
I apologize for the delay, I thought someone would have got to this by now. Approved., flag approved, for substing. --uǝʌǝsʎʇɹnoɟʇs(st47) 02:50, 17 November 2007 (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.