Wikipedia:Bots/Requests for approval/SharafBot


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Symbol keep vote.svg Approved

SharafBot
Operator:

Time filed: 06:58, Thursday August 25, 2011 (UTC)

Automatic or Manual: Automatic supervised

Programming language(s): Python (Pywikipedia)

Source code available: Standard pywikipedia

Function overview: see function details

Links to relevant discussions (where appropriate): Talk page on the Arabic wikipedia

Edit period(s): Continuous

Estimated number of pages affected: open-ended

Exclusion compliant (Y/N): Y

Already has a bot flag (Y/N): N

Function details:


 * interwiki.py
 * for articles " ".
 * for categories " ".
 * Bypass category redirects (double redirects) in Category redirect template example
 * Update  to   in articles
 * Fixing double redirects as in  ->   example
 * Convert  on category pages to   example

Discussion
Please don't edit pages before you are given a trial (BotTrial). Does the bot only change Category redirect type redirects? — HELL KNOWZ  ▎TALK 07:04, 25 August 2011 (UTC)


 * I apologize for I temporarily run the bot for the experiment prematurely. Of course not, SharafBot can work to add InterWiki also. -- Sharaf Al Deen (Talk) 10:23, 25 August 2011 (UTC)


 * I meant if it only changes the  redirects and not the normal   ones? I see it also updates the   inside the pages. Which namespaces (e.g. article) does that affect?
 * Regarding interwiki, what pywiki commandline options are you using and for which namespaces? Please make sure you read WP:INTERWIKIBOT. — HELL KNOWZ  ▎TALK 10:32, 25 August 2011 (UTC)

I have read it. I use the interwiki.py script, and i will edit on articles and categories only. I use this scripts to do that: -- Sharaf Al Deen (Talk) 11:22, 25 August 2011 (UTC)
 * This for articles " ".
 * This for categories " ".


 * Okay. What about redirect fixes? What are the exact changes the bot makes? I see in the edits it only corrected . Does it also correct   type redirects? The last few edits also show that it would fix   inside the pages? —  HELL KNOWZ  ▎TALK 13:04, 25 August 2011 (UTC)


 * I know that there is a bot do this work, But I don't know its own script, Because I have never tried before, maybe I'll do this later. Yes, the bot is correct  and fix   also, It is as you mentioned replacing the converted Categories in Articles. -- Sharaf Al Deen (Talk) 01:23, 26 August 2011 (UTC)

Also, again, do not edit the pages without approval. The bot is now bypassing redirects in links, which is not even allowed WP:NOTBROKEN.

You also need to be very precise about what changes the bot makes. I made a list of what I understood above in "function details". Feel free to update and correct. The bot can only be approved for a list of such changes. If you want more tasks, you need to describe them now, or get new approval later. — HELL KNOWZ  ▎TALK 07:08, 26 August 2011 (UTC)


 * All of these additions were by mistake, And I'm sorry for these. I wanted to run bot of fixing redirects in Arabic Wikipedia, But I forgot to modify the file "user-config.py" to work there not here, And when I noticed it stopped working immediately. I hope you will consider these amendments as if the were not. -- Sharaf Al Deen (Talk) 09:20, 26 August 2011 (UTC)


 * No problem. Are "Function details" now correctly listing all tasks and the only tasks that will be done? — HELL KNOWZ  ▎TALK 09:25, 26 August 2011 (UTC)


 * Yes, I would only add a new function for the bot, is the reform of the double redirects, that you asked about it. I will use this script " " to do function. Thanks a lot. -- Sharaf Al Deen (Talk) 12:48, 26 August 2011 (UTC)


 * By "reform of the double redirects", do you mean fixing double redirects, for example  -> , as in ? —  HELL KNOWZ  ▎TALK 13:30, 26 August 2011 (UTC)


 * Yes, I mean that. -- Sharaf Al Deen (Talk) 13:43, 26 August 2011 (UTC)

Run the interwiki task for around 15 articles and 15 categories. — HELL KNOWZ  ▎TALK 13:30, 26 August 2011 (UTC)

, as in  ->.

, as in  to   in articles —  HELL KNOWZ  ▎TALK 13:57, 26 August 2011 (UTC)


 * OK, I will do. -- Sharaf Al Deen (Talk) 13:43, 26 August 2011 (UTC)


 * -- Sharaf Al Deen (Talk) 13:46, 2 September 2011 (UTC)


 * Comment - since RussBot already runs daily fixing category redirects, I'm not sure what value is added by having another bot running the same script (at least, it appears to be the same script based on the trial edits). However, it also doesn't seem to be doing any harm.  --R'n'B (call me Russ) 09:11, 27 August 2011 (UTC)

How much time have to wait until the bot flag is granted?! -- Sharaf Al Deen (Talk) 10:43, 21 September 2011 (UTC)


 * Sorry, I've missed the trail complete note and I've been pretty busy and it seems other BAGs haven't followed this.
 * Anyway, are you now also converting all  on category pages to   as here?
 * In this edit bot changed the native "Category" word to English one. But as far as I can see, the native one uses non-English: . Similar here and others. Is that a pywiki bug? —  HELL KNOWZ  ▎TALK 10:58, 21 September 2011 (UTC)


 * Realy, I don't understand, Why all these questions man?! It took more than they deserve! -- Sharaf Al Deen (Talk) 12:15, 21 September 2011 (UTC)


 * "All these questions"? That's only two questions, and both are highly relevant to WP:BOTPOL. The first is about a change the bot did that you did not list before. The second is about what looks like a bug. — HELL KNOWZ  ▎TALK 12:23, 21 September 2011 (UTC)

Anyway, I hope to be finished as soon as. Answer your first question: Yes, bot do that task. Answer your second question: I don't know, but it may also be. -- Sharaf Al Deen (Talk) 13:39, 21 September 2011 (UTC)


 * You need to find out if that is a bug or not, BAG cannot approve bots with bugs, even if that is not your fault. — HELL KNOWZ  ▎TALK 13:53, 21 September 2011 (UTC)


 * Well, thank you for noticing, I think SharafBot has this little bug. In such a case, what do you suggest I do? -- Sharaf Al Deen (Talk) 20:21, 21 September 2011 (UTC)


 * Sorry, I am not sure how to answer that. Obviously, you need to fix the bug. I don't think other interwiki bots have this problem. So may be your pywikipedia is outdated? — HELL KNOWZ  ▎TALK 07:19, 25 September 2011 (UTC)


 * I'll make sure to update it anyway. In the meantime, only the maintenance bot will be operational and not the interwiki bot; can you flag it? -- Sharaf Al Deen (Talk) 21:52, 25 September 2011 (UTC)

To do the tasks as outlines in function details. Interwiki task subject to fixing the bug. Otherwise, uncontroversial maintenenace edits, consensus by silence, as no other comments by BAG or anyone else have been given for quite some time. Most details clarified. Please wait while your bot is flagged by a beaurocrat. — HELL KNOWZ  ▎TALK 15:02, 2 October 2011 (UTC)
 * I've given this bot a flag for the limited basis approved by HELLKNOWZ above. If you intend to run any other task, you will need further approval from BAG. WJBscribe (talk) 15:24, 2 October 2011 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.