User:Yair rand/FindRedirectsForAliases.js

Autopatroller edit

Hello, Reza1615! I am just letting you know that I have added the autopatroller flag to your account, as you are a trusted user on Wikidata. If you have any questions or concerns, please don't hesitate to contact me or leave a message at the Project chat. Thanks, Bináris (talk) 15:11, 17 February 2013 (UTC)Reply[reply]

Hi, thank you. I hope I can help this projectReza1615 (talk) 15:13, 17 February 2013 (UTC)Reply[reply]

Stop your bot edit

Please stop your bot now, there is some mistakes. --Stryn (talk) 11:01, 21 February 2013 (UTC)Reply[reply]

Ok I stopped my bot. please tell me what was mistakes?Reza1615 (talk) 11:02, 21 February 2013 (UTC)Reply[reply]
Looks like it don't handle interwiki conflicts, see also Wikidata:Requests for permissions/Bot/Rezabot. --Stryn (talk) 11:04, 21 February 2013 (UTC)Reply[reply]

اگر فعال هستید! edit

درود اگر فعال هستید در بحث‌های قهوه‌خانه شرکت کنید تا بخش فارسی زبان این پروژه فعال شود.Mojdeh.h (talk) 14:02, 24 February 2013 (UTC)Reply[reply]

Template:Direction edit

Hey there Reza. Hope you don't mind, but I simplified your template using something that Bene*, Merlissimo, and I put together a while back. The template I used to simplify it, {{LangDirSwitch}}, is based on MediaWiki:rtl. If you see anything missing in here, feel free to add it. Everything you mentioned in your template documentation is there except for am, dz, and ha... I looked everywhere, and I couldn't find anything that showed they were rtl (though I know that bug said they did)... if you know more on the topic, though, I'll defer to your judgment. — PinkAmpers&(Je vous invite à me parler) 15:02, 2 March 2013 (UTC)Reply[reply]

Thanks, that is great and Ok. I checked am, dz, ha wiki and there is ltr! so we should mention on that bug :)▬ Reza1615 / T 15:33, 2 March 2013 (UTC)Reply[reply]

Re Wikidata talk:Database reports/Popular properties edit

Sorry I didn't have that page on my watchlist. I have responded to your comment there. Thanks, Legoktm (talk) 19:38, 2 March 2013 (UTC)Reply[reply]

your welcome, I will answer there▬ Reza1615 / T 09:09, 3 March 2013 (UTC)Reply[reply]

سوال edit

سلام رضا جان. چند روز پیش ایمیلی مفصل برایت زدم که چگونگی فعالیت در اینجا را خواسته بودم ولی جوابی ندادی. حالا میخوام بپرسم چگونه به صفحه یک آیتم (در حالت انگلیسی بودن محیط) می توان پیوند آن آیتم به نسخه ویکی فارسی مقاله را ایجاد کرد؟ با تشکر.Gire 3pich2005 (talk) 17:54, 3 March 2013 (UTC)Reply[reply]

سلام اون بار هم گفتم چند وقت پیش که ایملت ویروس داشت رفت جزو اسپم لیست حالا هر کاری می‌کنم باز هم همانجاست :) با یک ایمیل دیگر برایم بفرست. در مورد آیتم یک راهنما در صفحه‌ات می گذارم▬ Reza1615 / T 18:41, 3 March 2013 (UTC)Reply[reply]

Re: userinfo.js edit

Did you mean that it isn't working properly on Wikidata, didn't you? However, I'm going to completely rewrite it (using jQuery, and standard browser techniques) to reduce code and ensure compatibility. --Ricordisamoa 18:38, 4 March 2013 (UTC)Reply[reply]

yes! I mean it doesn't show the statistics if you rewrite it. I will be appreciated :)▬ Reza1615 / T 18:43, 4 March 2013 (UTC)Reply[reply]
I've found the problem! It adds all info into an element called "siteSub", which is in fact hidden by default on Wikidata. One can show it by calling
Try it with your browser's console! anyway, I'm going to rewrite it. --Ricordisamoa 19:01, 4 March 2013 (UTC)Reply[reply]
\o/ thank you. now it needs localization can you help me ? code. if localization is done we can use it as a gadget. ▬ Reza1615 / T 19:09, 4 March 2013 (UTC)Reply[reply]
In these moments I'm rewriting it, I think it'll weigh much less! Later on, we can add l10n. --Ricordisamoa 19:46, 4 March 2013 (UTC)Reply[reply]
So I wait for your code :)▬ Reza1615 / T 19:47, 4 March 2013 (UTC)Reply[reply]

Re: DeletionHelper edit

Well, it wouldn't be very easy, give me some time. --Ricordisamoa 16:12, 5 March 2013 (UTC)Reply[reply]

Also, I don't see urgency; however, I'll also add the ability to view whether an item's sitelink has been moved elsewhere. :) --Ricordisamoa 16:29, 5 March 2013 (UTC)Reply[reply]
seeing the movements is good :) when you have time please add it▬ Reza1615 / T 16:34, 5 March 2013 (UTC)Reply[reply]

Re: merge edit

Hello, there! In this case, I don't see of new idea for merged it, lol!. I'm sorry for late answer because I'm most very busy in the real world this week.   -- Wagino 20100516 (talk) 19:08, 5 March 2013 (UTC)Reply[reply]

Farsi question edit

Hey Reza. Doostdar (talkcontribsnew itemsnew lexemesSULBlock logUser rights logUser rightsxtools) looks fine to autopatrol, but I don't speak Farsi, so I thought I'd ask your opinion. See any red flags? — PinkAmpers&(Je vous invite à me parler) 17:04, 6 March 2013 (UTC)Reply[reply]

Hi in my opinion he is ok! and he adds correct labels and aliases▬ Reza1615 / T 17:07, 6 March 2013 (UTC)Reply[reply]

Help edit

Hi dear Reza

Kindly could you please help me here. I can not understand what the problem--عباس 10:42, 7 March 2013 (UTC) Reply[reply]

Special pages edit

Hi, I think that we should not add special pages with interwiki links here, like you did with Q6019955. --Stryn (talk) 12:35, 7 March 2013 (UTC)Reply[reply]

Hi, till now unfortunately we don't have any rule for this! and because of that I wrote Wikidata:Project_chat#Inclusion of non-article pagesReza1615 / T 12:39, 7 March 2013 (UTC)Reply[reply]

User:Reza1615/Simple Python codes edit

Could you change the code for updating item: - use list of articles - change property ? JAn Dudík (talk) 13:08, 7 March 2013 (UTC)Reply[reply]

I wrote a bot which can work on items. it can solve your problem for items.▬ Reza1615 / T 13:12, 7 March 2013 (UTC)Reply[reply] edit

سلام رضا جان

  1. آیا در اينجا نياز هست كه داخل كد يوزرنيم وپسوورد رو وارد کنیم؟
  2. وقتی این بوت رو روشن می کنم میگه گه ربات شما در ویکیدیتا بسته شده است
  3. آیا اگر برای اجرای این بوت برای عربی درخواست بدیم موافقت می کنن؟

با سپاس--عباس 14:28, 7 March 2013 (UTC) سلام Reply[reply]

  1. نه
  2. رباتت درست لاگین نمی‌شود فایل passfile را ساختی؟
  3. آره مجوز می‌دهند ▬ Reza1615 / T 14:32, 7 March 2013 (UTC)Reply[reply]

متاسفانه با خطاي زير مواجه ميشم.--عباس 14:52, 7 March 2013 (UTC) Reply[reply]

User:Reza1615/BOT#running_bot باید مشکلت را حل کنه! ▬ Reza1615 / T 14:58, 7 March 2013 (UTC)Reply[reply]

رضا جان مشكل لوگین حل شد ولی پس از فراخوانی صفحات خطای زیر رو میده. من از اینکه وقتتو میگیرم پوزش می خوام--عباس 15:15, 7 March 2013 (UTC) Reply[reply]

Traceback (most recent call last):

 File "", line 530, in <module>
 File "", line 525, in main
 File "", line 365, in run
   my_data = wikipedia.DataPage(my_page)

AttributeError: 'module' object has no attribute 'DataPage'

باید svn update را بزنی تا پای‌ویکی‌پدیا به روز شود همچنین باید به ربات بگویی کدام صفحه را می خواهی ویرایش کنی مثلا بنویس

python -strat:!

خودش همه ویکی را اسکن می‌کند▬ Reza1615 / T 15:25, 7 March 2013 (UTC)Reply[reply]

أقا دست شما درد نكناد. در اينجا براي ربات درخواست مجوز دادم.--عباس 16:02, 7 March 2013 (UTC) Reply[reply]

Traceback edit

Hi Reza, when i run, get the following traceback

  File "", line 18, in <module>
    import wikidata
  File "/home/shuaib/pywikipedia/", line 10, in <module>
    Config = Config('/home/shuaib/pywikipedia/')
  File "/home/shuaib/pywikipedia/", line 10, in __init__
    execfile(self.config2File, {}, self.config2)
  File "/home/shuaib/pywikipedia/", line 10, in <module>
    password_fa = open(wikipedia.config.datafilepath(config.password_file), 'r')
  File "/home/shuaib/pywikipedia/", line 544, in datafilepath
    return makepath(os.path.join(base_dir, *filename))
  File "/opt/ts/python/2.7/lib/python2.7/", line 66, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

what should I do? Muhammad Shuaib (talk) 17:53, 7 March 2013 (UTC)Reply[reply]

be sure that you done User:Reza1615/BOT#running_bot steps▬ Reza1615 / T 17:58, 7 March 2013 (UTC)Reply[reply]
in you didn't set correctly your path▬ Reza1615 / T 17:59, 7 March 2013 (UTC)Reply[reply]
I followed all steps mentioned in that page correctly, and I put here. Please check it out. Thanks. Muhammad Shuaib (talk) 18:15, 7 March 2013 (UTC)Reply[reply]
did you make file passfile?▬ Reza1615 / T 18:17, 7 March 2013 (UTC)Reply[reply]
Yes :) Muhammad Shuaib (talk) 18:19, 7 March 2013 (UTC)Reply[reply]
cd pywikipedia

after that run your bot▬ Reza1615 / T 18:20, 7 March 2013 (UTC)Reply[reply]

I run this code in this method, but did not run. Muhammad Shuaib (talk) 18:26, 7 March 2013 (UTC)Reply[reply]
:) I don't know it works for me and some of my friends you should check your pywikipedia and your toolserver account ▬ Reza1615 / T 18:29, 7 March 2013 (UTC)Reply[reply]
I changed your run with this file and tell me the error▬ Reza1615 / T 18:31, 7 March 2013 (UTC)Reply[reply]
Now its running well. Thanks a lott :) Muhammad Shuaib (talk) 18:39, 7 March 2013 (UTC)Reply[reply]

when i faced this problem i changed "" to "config" in line 10 in to solve the problem.--عباس 18:36, 7 March 2013 (UTC) Reply[reply]

I have same problem and I don't know how to correcxly set paths on windows, when I have bot (and also all scripts) in E:\Pywikipedia.

E:\Pywikipedia> -remove -cat:Dobříš
Traceback (most recent call last):
  File "E:\Pywikipedia\", line 19, in <module>
    import wikidata
  File "E:\Pywikipedia\", line 10, in <module>
    Config = Config('E:\Pywikipedia\')
  File "E:\Pywikipedia\", line 10, in __init__
    execfile(self.config2File, {}, self.config2)
  File "E:\Pywikipedia\", line 10, in <module>
    password_fa = open(wikipedia.config.datafilepath(config.password_file), 'r')

  File "E:\Pywikipedia\", line 544, in datafilepath
    return makepath(os.path.join(base_dir, *filename))
  File "C:\Python27\lib\", line 73, in join
    elif isabs(b):
  File "C:\Python27\lib\", line 57, in isabs
    s = splitdrive(s)[1]
  File "C:\Python27\lib\", line 125, in splitdrive
    if p[1:2] == ':':
TypeError: 'NoneType' object is not subscriptable

JAn Dudík (talk) 21:25, 7 March 2013 (UTC)Reply[reply]

I made new try, deleted all and followed manual step-by step. Now the traceback is:
E:\Pywikipedia> plav
Logging in to wikidata:wikidata as JAnDbot via API.
Should be logged in now
Logging in to wikipedia:cs as JAnDbot via API.
Should be logged in now
Traceback (most recent call last):
  File "E:\Pywikipedia\", line 1211, in __iter__
    for page in self.wrapped_gen:
TypeError: 'NoneType' object is not iterable
'NoneType' object is not iterable

JAn Dudík (talk) 21:25, 7 March 2013 (UTC)Reply[reply]

IP block edit

My IP has been blocked on wikidata. why? Muhammad Shuaib (talk) 18:47, 7 March 2013 (UTC)Reply[reply]

it is your tool server IP because your bot should sign in to wikidata. after setting your as I said it should work▬ Reza1615 / T 18:49, 7 March 2013 (UTC)Reply[reply]
after setting user-config, did not work also :( Muhammad Shuaib (talk) 18:55, 7 March 2013 (UTC)Reply[reply]
write error completely with your command▬ Reza1615 / T 19:02, 7 March 2013 (UTC)Reply[reply]
I put the error text here Muhammad Shuaib (talk) 19:15, 7 March 2013 (UTC)Reply[reply]

your should be like this:

family = 'wikipedia'
mylang = 'ur'
password_file= 'passfile'
usernames['wikipedia']['ur'] = u'Shuaib-bot'
usernames['wikidata']['wikidata'] = u'Shuaib-bot'

it will work▬ Reza1615 / T 19:27, 7 March 2013 (UTC)Reply[reply]

My user config is as pasted [[here, but did not work. Muhammad Shuaib (talk) 19:42, 7 March 2013 (UTC)Reply[reply]
I changed it▬ Reza1615 / T 19:44, 7 March 2013 (UTC)Reply[reply]
dosent run, same error. Muhammad Shuaib (talk) 19:49, 7 March 2013 (UTC)Reply[reply]
in my opinion you wrote your password in wrong if it is not in numbers please change your password to numbers.▬ Reza1615 / T 19:57, 7 March 2013 (UTC)Reply[reply]

Alas!! Having changed password to number get the same error also. Muhammad Shuaib (talk) 20:06, 7 March 2013 (UTC) typeReply[reply]

python -all

do you have error ?▬ Reza1615 / T 20:18, 7 March 2013 (UTC)Reply[reply]

Yeah! Result of is "already logged in to wikidata", but when I run new_interwiki get the same error :( Muhammad Shuaib (talk) 20:25, 7 March 2013 (UTC)Reply[reply]
did you change line 100 in▬ Reza1615 / T 20:32, 7 March 2013 (UTC)Reply[reply]
Yes brother. Muhammad Shuaib (talk) 20:35, 7 March 2013 (UTC)Reply[reply]
use User:Reza1615/BOT/new interwiki2.pyReza1615 / T 20:40, 7 March 2013 (UTC)Reply[reply]
Also got error, error text. Muhammad Shuaib (talk) 20:53, 7 March 2013 (UTC)Reply[reply]
Are you using tool server IP ? if not please download pywikipedia on your pc and run it with your ip. by sure your ip is not blocked because you are editing here :) ▬ Reza1615 / T 21:00, 7 March 2013 (UTC)Reply[reply]
Yes I run that code on toolserver. btw the test to run from pc has also been failed and got error :( Muhammad Shuaib (talk) 21:33, 7 March 2013 (UTC)Reply[reply]

Brother! Is there any solution of this problem? Muhammad Shuaib (talk) 10:58, 8 March 2013 (UTC)Reply[reply]

I don't know why you have this problem :( ▬ Reza1615 / T 11:03, 8 March 2013 (UTC)Reply[reply]
On pc got the traceback, API Url needs to be defined in config. Muhammad Shuaib (talk) 11:06, 8 March 2013 (UTC)Reply[reply]

درخواست حذف edit

سلام، Q5819736 با Q4663057 تکراری است لطفاً زحمت ادغامش را بکشید. --Z 14:13, 8 March 2013 (UTC)Reply[reply]

سلام اینجا ادغام تاریخچه ندارند باید یکی را خالی کنید و پیوندهایش را در دیگری بریزید و با دکمهٔ سمت راست نوار جستجو برای آنکه خالیش ده درخواست حذف دهید مدیران خودشان آن مورد خالی را حذف می‌کنند فقط در درخواست حذف باید مورد تکراری را بنویسید تا بدانند چه آیتم را کجا بردید. همین! اینطوری کار خیلی راحت هست کاش در ویکی‌فا هم ادفام تاریخچه نبود▬ Reza1615 / T 14:40, 8 March 2013 (UTC)Reply[reply]

Question edit

Hi Reza
I want to run my bot GanimalBot on Wikidata to import pages form kuwiki but the bot can't log in on Meta. I also used your code on your user pageIs that correct?:
# -*- coding: utf-8  -*-
family = 'wikipedia'
mylang = 'ku'
password_file= 'passfile'
usernames['wikipedia']['ku'] = u'GanimalBot'
usernames['wikidata']['wikidata'] = u'GanimalBot'
The result is: KeyError='Wikidata'-

-thanks and best regards--George Animal (talk) 12:42, 9 March 2013 (UTC)Reply[reply]

yes it is correct! please write the complete error text here▬ Reza1615 / T 14:14, 9 March 2013 (UTC)Reply[reply]

C:\Users\someone\Desktop\pywikipedia>python -start:AB -remove
Traceback (most recent call last):
  File "", line 58, in <module>
    import re, os, query
  File "C:\Users\someone\Desktop\pywikipedia\", line 29, in <module>
    import wikipedia as pywikibot
  File "C:\Users\someone\Desktop\pywikipedia\", line 142, in <module>

    from pywikibot import *
  File "C:\Users\someone\Desktop\pywikipedia\pywikibot\", line 15, in
    from exceptions import *
  File "C:\Users\someone\Desktop\pywikipedia\pywikibot\", line 13, i
n <module>
    import config
  File "C:\Users\someone\Desktop\pywikipedia\", line 582, in <module>
  File "C:\Users\someone\Desktop\pywikipedia\", line 6, in <module>

    usernames['wikidata']['wikidata'] = u'GanimalBot'
KeyError: 'wikidata'
here is the error text.thanks for help--George Animal (talk) 14:47, 9 March 2013 (UTC)Reply[reply]
did you instal pywikipedia? and did you update it?▬ Reza1615 / T 15:06, 9 March 2013 (UTC)Reply[reply]
Hi ,
I have the version 2.7.3 of python.Pywikipedia was installed on my PC.George Animal (talk) 15:55, 9 March 2013 (UTC)Reply[reply]
It doesn't work.Can your bot import pages from kuwiki?Thanks--George Animal (talk) 16:39, 9 March 2013 (UTC)Reply[reply]
for bot you should use linux systems or toolserevr account becuse for wikidows it needs many customizations. now I am importing after that I should import after that i can work on your wiki (my acount has limitation and i can not work on many wiki at the same time :( ▬ Reza1615 / T 16:43, 9 March 2013 (UTC)Reply[reply]

Bot runs edit

Eventually my bot has run on wikidata, see test edits. I have updated all relevent codes, Now status is that, code makes some edits, then prompts the same erorr as mentioned above "Your account or IP is blocked on wikidata". Why? Muhammad Shuaib (talk) 15:07, 9 March 2013 (UTC)Reply[reply]

I don't know when you could edit with your bot how it can be blocked !▬ Reza1615 / T 15:11, 9 March 2013 (UTC)Reply[reply]
:) Do you help me to correct the code of مقالہ ہائے حیاتی? I got traceback. Muhammad Shuaib (talk) 15:15, 9 March 2013 (UTC)Reply[reply]
Now I am wroking on wikidata code. may be in future :( ▬ Reza1615 / T 15:17, 9 March 2013 (UTC)Reply[reply]
Thanks :) Muhammad Shuaib (talk) 15:20, 9 March 2013 (UTC)Reply[reply]
I requested to get bot flag here, but it dosent appear on this page. Muhammad Shuaib (talk) 15:36, 9 March 2013 (UTC)Reply[reply]

Query edit

What would be a toolserver query for users by pages created in all namespaces? Muhammad Shuaib (talk) 18:11, 9 March 2013 (UTC)Reply[reply]

Query edit

I want to use the gadget User:Yair rand/FindRedirectsForAliases.js in English Wikipedia and I copied the code here en:User:Vivaelcelta/common.js, but it doesn't work. What am I doing wrong? --Vivaelcelta (talk) 20:40, 9 March 2013 (UTC)Reply[reply]

you should Check the gadget "FindRedirectsForAliases: Adds a "Find redirects" button in a submenu next to the "Watch" button that, when clicked, displays a list of Wikipedia redirects and allows the user to select some of them to add as aliases." in your preferences in wikidata not :) ▬ Reza1615 / T 20:43, 9 March 2013 (UTC)Reply[reply]
Sorry, I have confused, I want to use User:Yair_rand/checksitelinks.js. --Vivaelcelta (talk) 20:46, 9 March 2013 (UTC)Reply[reply]
now it is correct when you are in edit mode it will add a label near search box to remove interwikis▬ Reza1615 / T 20:53, 9 March 2013 (UTC)Reply[reply]
Thanks, I thought it work in see mode. --Vivaelcelta (talk) 20:57, 9 March 2013 (UTC)Reply[reply]

آی پی edit

سلام حاجی این ویرایش چیه؟ منظورم اینه که درست هست یا خیر؟--عباس 09:38, 10 March 2013 (UTC) Reply[reply]

salam are doroste▬ Reza1615 / T 09:41, 10 March 2013 (UTC)Reply[reply]

نسخه جديد ارور داره.skip_new معرفي نشده است.عباس 10:05, 10 March 2013 (UTC) Reply[reply]

NameError: global name 'skip_new' is not defined

  DoneReza1615 / T 10:11, 10 March 2013 (UTC)Reply[reply]

User:Reza1615/BOT/new edit

I barely glanced at this script but there are some serious flaws with it.

  1. You should use site.dbName() rather than trying to manually construct the name.
  2. remove_old_IW will not work. It removes anything with a 2-3 letter prefix, including "WP:Page", and will miss things like "be-x-old". There is already a function in pywikipedia standard lib that does this perfectly, I don't know why you're rewriting it.
  3. Why are you manually querying with templatequery? Why not use the default function.
  4. Same with Check_Page_Exists, redirect_find.
  5. get_interwikis uses the API, which cannot tell whether the link is from Wikidata or locally. This is the biggest problem.

Sorry if this comes off as harsh, but these are serious problems that will cause even bigger ones the more people reuse the script. Legoktm (talk) 02:48, 11 March 2013 (UTC)Reply[reply]

Hi, thank you for your time and your comment. I answer your questions by the number
  1. I didn't know about this function because according to project chat I thought pywikipedia has bug with prefixes which have - in their name but now code doesn't have any problem with them .thanks for your recommend :)
  2. It doesn't remove "WP:Page" because of line 85. it checks prefix if it is in database dictionary after that it will remove Also it can remove correctly be-x-old or similar prefixes here or here or you can check my bots contributes here. I didn't use pywikipedia function because I didn't want to remove every interwiki. I wanted to remove only which are existed in wikidata or which are their interwiki's changed in wikidata but existed (e.g. en:page1 existed in article and en:page2 existed in wikidata so has interwiki in wikidata and my bot will remove en:page1 from article because it is bad link or conflict.) like: here
  3. for templatequery I had these queries so I used it. but for Check_Page_Exists and redirect_find I had bug from pywikipedia and it cause error so I used mine which are tested before in many codes and they are OK. (If I remembered I will report in soursefourge)
  4. for interwikis in my code I didn't care the place where they stored because in many cases My bot only added labels which are not in interwikis! it means bot checks all interwikis (locale and repository) if they don't have label it will add (if they didn't have conflict and after Bot's edits they are existed in the item). e.g. this which is other bots didn't add label!

before publishing this code It had more that 17000 edits in wikidata and and I checked most of it's edits. writing this code and debugging takes more than hundred times. this code also had possibility to guess category interwiki name and template interiki name which are in English. I removed them form this code because they were useful only for you for your time.▬ Reza1615 / T 08:06, 11 March 2013 (UTC)Reply[reply]

Mistake edit

In this page MediaWiki:Gadget-MainLangFirst, in the phrase "... on the top. for second..." there is a lowercase word after full stop (period). I think the word "top" has to be capitalized. --Vivaelcelta (talk) 08:27, 11 March 2013 (UTC)Reply[reply]

  DoneReza1615 / T 08:32, 11 March 2013 (UTC)Reply[reply]

Update Persian translation edit

Please translate into Persian this "'close': 'Close'" phrase in MediaWiki:Gadget-RequestDeletion.js. --Vivaelcelta (talk) 09:04, 11 March 2013 (UTC)Reply[reply]

thanks   DoneReza1615 / T 09:06, 11 March 2013 (UTC)Reply[reply]

Query edit

Where do I translate Template:User sandbox, in Template:User sandbox with {{LangSwitch}} or in Template:User sandbox/es?

in my opinion we should change Template:User sandbox to use {{LangSwitch}}Reza1615 / T 11:53, 11 March 2013 (UTC)Reply[reply]
Now you can use Template:User sandbox/es for translation ▬ Reza1615 / T 12:30, 11 March 2013 (UTC)Reply[reply]

MediaWiki:Gadget-mySandbox.js edit

In Persian translation, you can create Template:User_sandbox/preload/fa, like I have created Template:User_sandbox/preload/es, and change

editintroPagename: 'Template:User_sandbox/preload'


editintroPagename: 'Template:User_sandbox/preload/fa'

--Vivaelcelta (talk) 12:55, 11 March 2013 (UTC)Reply[reply]

thanks I will do it ▬ Reza1615 / T 14:45, 11 March 2013 (UTC)Reply[reply]

MainLangFirst/ur edit

Please put the urdu translation on relevant message page. --Muhammad Shuaib (talk) 13:11, 11 March 2013 (UTC)Reply[reply]

  DoneReza1615 / T 14:12, 11 March 2013 (UTC)Reply[reply]

تداخل ميانويكي edit

سلام رضا جان ربات در اين ويرايش الگوی تداخل میانویکی را خارج از


گذاشته است، در نتیجه تمام صفحاتی که به قالب:بش-جدول می رسند نیز در زمره صفحاتی که تداخل میانویکی دارند به شمار می آیند. بعنوان مثال این مقاله در حالي كه تداخل ميانويكي ندارد در گزارش أمده است.--عباس 13:31, 11 March 2013 (UTC) Reply[reply]

من برای فضای الگو تستش نکرده بودم وبا این وجود الان به‌روز کنید مشکلش را رفع کردم برای رده و مقاله صد در صد درست است برای الگو لطفا با احتیاط برانید تا اگر باز هم مشکلی بود حلش کنیم▬ Reza1615 / T 14:42, 11 March 2013 (UTC)Reply[reply]

متشكرم.عباس 20:11, 11 March 2013 (UTC) Reply[reply]

summary in new_interwiki edit

Brother, is that possible to add query number in local wiki summary message along with [[wp:wikidata|wikidata]] like this "d:q182186 در ویکی‌داده" Muhammad Shuaib (talk) 19:08, 11 March 2013 (UTC)Reply[reply]

Skip edit

سلام. ربات از روي مقاله كروماتين مغاير وصدها نمونه مشابه مي پرد و اينترويكي نمي افزايد. أيا دليل خاصي دارد؟--عباس 05:17, 12 March 2013 (UTC) Reply[reply]

یا مشکل از ای‌پی‌آی هست یا مقاله نیاز به به‌روز رسانی ندارد ‍‍▬ Reza1615 / T 08:27, 12 March 2013 (UTC)Reply[reply]

من از همون ای‌پی آی که نوشتی استفاده می کنم. اینکه مقاله نیاز به بروزرسانی داشته باشه رو نمی فهمم یعنی چی.--عباس 09:14, 12 March 2013 (UTC) Reply[reply]

نگفتم مشکل از شماست مشکل از باگ ای‌پی‌ای هست من هم ۳ هزار مقاله بدون آیتم دارم که ای‌پی‌آی نامشان را قبول نمی‌کند▬ Reza1615 / T 09:21, 12 March 2013 (UTC)Reply[reply]

ما ارادات داریم خدمت شما. ان شاالله اون باگ هم بزودی رفع میشه--عباس 09:32, 12 March 2013 (UTC) Reply[reply]

سؤال edit

سلام آقا رضا، سؤالی داشتم و اون این هست که این جریان کیو و عدد رو چجوری بفهمیم کدوم کد مال چه مقاله‌ای هست اصلاً راهی برای فهمیدنش هست؟! Faramarz (talk) 09:22, 25 March 2013 (UTC)Reply[reply]

Check mail edit

Hi, Check mail please.Best Regards.Javad|Talk (11 Farvardin 1392) 08:23, 31 March 2013 (UTC)Reply[reply]

سلام رضا، کار من نیز واجب است. میلت را چک کنAmir (talk) 13:50, 31 March 2013 (UTC)Reply[reply] and createitem edit

Could you update to create item pages with whole sitelinkes? I've updated the example code at Wikidata:Creating a bot#Example 3: Create an item. -- ChongDae (talk) 01:56, 2 April 2013 (UTC)Reply[reply]

  Done I updated it as a test code --hereYamaha5 (talk) 19:52, 13 April 2013 (UTC)Reply[reply]
now it is released at the main code Yamaha5 (talk) 11:02, 20 April 2013 (UTC)Reply[reply]

Talkback edit

Hello, Reza1615. You have new messages at Ricordisamoa's talk page.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

--Ricordisamoa 19:27, 12 April 2013 (UTC)Reply[reply]

Are you Yamaha5? --Ricordisamoa 19:37, 12 April 2013 (UTC)Reply[reply]
yes I decided to switch to this account Yamaha5 (talk) 08:56, 13 April 2013 (UTC)Reply[reply]

bot edit

Please see وپ:تار in --Javad|Talk (24 Farvardin 1392) 10:09, 13 April 2013 (UTC)Reply[reply] negahi be bahsam dar wikifa bendaz (ردهٔ همسنگ تکراری) agar vaght dari albate :) eradatmand --Javad|Talk (31 Farvardin 1392) 11:08, 20 April 2013 (UTC)Reply[reply]
oon ok . User:Reza1615/BOT/ ya ham vase wiki beroon niaz be mojavez ham nist choon mojaveze update item dari :) wase test rooie wiki en beroon ke koli move dare :) Yamaha5 (talk) 11:16, 20 April 2013 (UTC)Reply[reply]
mamnoon.code jadido gozashtam vase test roo nazar karesh khoobe.--Javad|Talk (31 Farvardin 1392) 14:04, 20 April 2013 (UTC)Reply[reply]
na khoob nist :D error dad
working on Wikipedia:Malik Adil Raza Saleem
Traceback (most recent call last):
  File "", line 81, in <module>
  File "", line 78, in main
  File "", line 46, in move_wikidata
    old_data = wikipedia.DataPage(page)
  File "/home/javadyou/pywikipedia/", line 4034, in __init__
    Page.__init__(self, source, title, *args, **kwargs)
  File "/home/javadyou/pywikipedia/", line 383, in __init__
    self._site = getSite(otherlang, familyName)
  File "/home/javadyou/pywikipedia/", line 8765, in getSite
    _sites[key] = Site(code=code, fam=fam, user=user)
  File "/home/javadyou/pywikipedia/pywikibot/", line 121, in wrapper
    return method(*__args, **__kw)
  File "/home/javadyou/pywikipedia/", line 5951, in __init__
    % (self.__code,
pywikibot.exceptions.NoSuchSite: Language wikidata does not exist in family wikipedia

--Javad|Talk (31 Farvardin 1392) 14:06, 20 April 2013 (UTC)Reply[reply]

برای چه زبانی تست کردی؟Yamaha5 (talk) 14:14, 20 April 2013 (UTC)Reply[reply]
english --Javad|Talk (31 Farvardin 1392) 14:18, 20 April 2013 (UTC)Reply[reply]
ok shod . moshkelash moved and deleted pages bood!Yamaha5 (talk) 14:23, 20 April 2013 (UTC)Reply[reply]
tnx, ajrakom end allah --Javad|Talk (31 Farvardin 1392) 14:25, 20 April 2013 (UTC)Reply[reply]
nemidonam, gozashtam beroone, vali chera hichio tagheer nemide :D az roo hame mipare, albatechand taro negah kardam, baghie robatha zahmatesho keshide bodan.faghat yek mored,vase safahti ke hazf mishe vase momken shodane enteghal,age beshe ona ham ye kari kard khoobe.maslan morede zir too :
working on Indiana 250 (auto race)
Sleeping for 5.5 seconds, 2013-04-20 14:40:49
Updating page [[wikidata:Q6023021]] via API
Got an unknown error when putting data: Site link [[enwiki:Indiana 250]] already used by item [[Q6023015]].
Sleeping for 5.3 seconds, 2013-04-20 14:40:56
Updating page [[wikidata:Q6023021]] via API
Bot:Updating enwiki's moved page: Indiana 250 (auto race) > Indiana 250

ke elatesh in boode va alan 2 ta item vase on maghale hast.age robat betone az Q6023015 linko hazf kone, va badesh Q6023021 ro upedate kone khoobe.badesh Q6023015 ke khali mishe ro too ye file zakhire kone, ke badan dasti hazfesh konim :D age vaght dashty roosh fek kon :)) vagarna bikhial.mer30--Javad|Talk (31 Farvardin 1392) 14:52, 20 April 2013 (UTC)Reply[reply]

ie bot dige vase delete log minevisam ke baiad bade in roonede beshe albate delete log ziad moshkel afarin nist choon hezard-bot oono anajam midele. dar kole move moheme choon vaghti user move mikone entezar dare ke interwiki ham move beshe ba in baes mishe sardargom beshe baiad in bot ra ba faseleh zamani kam maslan har az 10 min berooni ta zood move ha ra update kone. delete faghat vase wikidta moheme ke khodeshoon anjam midan. bot ra roo wiki haie dige test kon ta agar error ehtemali bood radifesh konam. dar asl ino vase this neveshtam Yamaha5 (talk) 14:57, 20 April 2013 (UTC)Reply[reply]
ok.raftam ye maghale enteghal dadam, bebinam kar mikone ya na :D man mamolan codhaye jadido dasti mironam ta errorhaye ehtemalio bebinam, too crontab ham mizaram, har 10 min vase move log hamoon rooz --Javad|Talk (31 Farvardin 1392) 15:02, 20 April 2013 (UTC)Reply[reply]
mibakhshid, vase cat ke robate interwiki ro mironam, in erroro dar hamon lahzeye aval mide va aslan kari nemikone.
javadyou@willow:~/pywikipedia$ python -cat:"صفحه‌های دارای تداخل میان‌ویکی"
Traceback (most recent call last):
  File "", line 9, in <module>
    import wikidata
  File "/home/javadyou/pywikipedia/", line 14, in <module>
    api = API(Config)
  File "/home/javadyou/pywikipedia/", line 15, in __init__
    self.request = RequestHandler(config)
  File "/home/javadyou/pywikipedia/", line 20, in __init__
    self.login(config2["username"], config2["password"])
  File "/home/javadyou/pywikipedia/", line 38, in login
    return log(self, user, password)
  File "/home/javadyou/pywikipedia/", line 28, in log
    result =
  File "/home/javadyou/pywikipedia/", line 54, in post
    js = json.loads(content)
  File "/opt/ts/python/2.7/lib/python2.7/json/", line 326, in loads
    return _default_decoder.decode(s)
  File "/opt/ts/python/2.7/lib/python2.7/json/", line 360, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/opt/ts/python/2.7/lib/python2.7/json/", line 378, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Regards --Javad|Talk (31 Farvardin 1392) 15:44, 20 April 2013 (UTC)Reply[reply]

albate vase hame chi hamin error mide,mibinam 2-3 roze robat edit nadare :D nemidonam filehaye confige man moshkel dare ? tagheer nadadameshon --Javad|Talk (31 Farvardin 1392) 15:47, 20 April 2013 (UTC)Reply[reply]
fekr konam file config2 ya wikiata ra taghir dadi. moshkel az code man nist choon bade import motevaghef mishe ke rabt be codhaie library dare. hame ra az now copy konYamaha5 (talk) 15:51, 20 April 2013 (UTC)Reply[reply]
Dr jan, man hamaro dobare copy kardam.nemishe:( age emkanesh hast, ta private key va ramzamo bedam, khodet bebin --Javad|Talk (31 Farvardin 1392) 16:39, 20 April 2013 (UTC)Reply[reply]
In ham bebin fekri be zehnet nemirese [1] chon bot ishoon too hame wikiha run mishe va vase wikifa didam ke onvan ba sitelink fargh dare, yekam najoore . --Javad|Talk (31 Farvardin 1392) 17:35, 20 April 2013 (UTC)Reply[reply]

edameh edit

Bara avali key va pass ra email kon baiad account dame dastam bashe ta irad ra raf konam

Vase dovomi choon to faghat roo fa mirooni moshkeli nist choon fa harchi link bashe hamoon onvan mishe pas vase fa beroon Yamaha5 (talk) 09:18, 21 April 2013 (UTC)Reply[reply]

vase avali : be hamon emaile ghabli mail konam ? age avaz shode , ye mail be man az tarighe samane bezan,zemnan fek mikonam in robat ba update jadid pywikipedia moshkel dare.chon man ye pooshe pywikipedia dige ham daram va ono motmaenam ke tagheer nadadm, vali oonja ham hamin erroro daram.
vase dovomi : robate khodam made nazar nabod.robate ishoon vase hame wikiha roonde mishe az jomle wikifa, va chon label ba sitelink pas az eslah fargh dasht ( labelo update nemikone ) behesh goftam inkaro anjam bede, ke baghiash too bahsam hast.goftam age fekri be zehnet resid, behesh begi.mamnoon.--Javad|Talk (1 Ordibehesht 1392) 09:25, 21 April 2013 (UTC)Reply[reply]
be hamoon email ghabli
moshkel az API hast ke update shode va library wikidta choon update namishe be moshkel khorde :(
man ham too bahset javabesho dadam ke taghir be codesho va dar ayande be to ham natoone gir bede. alan ba in javab roo har wiki ie ke berooni moshkel nist :) choon agar generate moshkel dasht baiad oon abzar ham ke khaili estefadeh shode moshkel dashte bashe :) Yamaha5 (talk) 09:46, 21 April 2013 (UTC)Reply[reply]
Mer30 :) mail kardam, vali gooya fahmidi moshkel chie --Javad|Talk (1 Ordibehesht 1392) 09:55, 21 April 2013 (UTC)Reply[reply]
hal shod moshkel az www bood ke avale API gozashtand :) alan mesle benz kar mikone :))) crontabet ham moshkel dasht too addresesh pywikipedia nadasht :) Yamaha5 (talk) 11:08, 21 April 2013 (UTC)Reply[reply]
Mamnoon reza jan.gooya shoma az willow.toolserver raftid, crontabe aslim ke yek safhe ham bishtare :) too yarrow.toolserver hast --Javad|Talk (1 Ordibehesht 1392) 18:47, 21 April 2013 (UTC)Reply[reply]

Minor bugs in edit

Thanks for this script, I found these minor bugs, so if you can repair them, It would be much useful:

  1. When name of page contains / bot skips it as subpage. But in main namespace there are usually not subpages, but part of name: C/2012 S1 or Silnice I/3
  2. Some categories are skipped (only ---- appears in terminal window), your previous vesion did the same for articles too, but after removing some lines (in old version lines 368 and 464, per amir) it worked fine for all namespaces (but project namespace crashed often for unknown reason)
  3. some {{Interwiki conflict}} are not written to page when there is no interwiki to remove
  4. interwiki to anchors ([[en:foo#bar]] should be skipped and not to be removed; these cases are usually not in conflicted state
  5. when page contains interwiki with -(roa-rup, zh-min-nan...) bot crashes, because unknown wiki roa_rup - in families/ in section self.obsolete you must add line for each of these language:
           'bat_smg': 'bat-smg',
           'be_x_old': 'be-x-old',
           'cbk_zam': 'cbk-zam',
           'fiu_vro': 'fiu-vro',
           'map_bms': 'map-bms',
           'nds_nl': 'nds-nl',
           'roa_rup': 'roa-rup',
           'roa_tara': 'roa-tara',
           'zh_classical': 'zh-classical',
           'zh_min_nan': 'zh-min-nan',
           'zh_yue': 'zh-yue',
           'roa_rup': 'roa-rup',

Thanks, JAn Dudík (talk) 20:27, 21 April 2013 (UTC)Reply[reply]

Hi, I'll answer by number
  1.   Done. but now it will only work for namespace 0 because for others may be it makes subpages
  2. when it shows --- it means it passed 200 new pages after that it will check all pages.
  3. please show the example
  4. usually [[en:foo#bar]] has conflict because we have item for [[en:foo]]
  5. I solved it by replacing _ to - in some part of code please show me an example which dosen't work on these links because now it works fine.
thank you for your comments.Yamaha5 (talk) 23:19, 21 April 2013 (UTC)Reply[reply]
also if you are interested you can use this bot for moved pages Yamaha5 (talk) 23:57, 21 April 2013 (UTC)Reply[reply]

Thanks 1-Example of not adding iw conflict

D:\Py> -page:2001:_Vesmírná_odysea
Logging in to wikidata:wikidata as JAnDbot via API.
Logging in to wikipedia:cs as JAnDbot via API.
IW-Item= 2001: Vesmírná odysea
+ es > 2001: A Space Odyssey
for 2001: A Space Odyssey added as label of es
Page Q1177031Passed!
Item did not updated..!2
+ A
{{Interwiki konflikt}}
Bot couldn't remove interwikis from 2001: Vesmírná odysea in Local wiki!F

2-Example with #

IW-Item= C-3PO
+ de > Figuren aus Star Wars#C-3PO
+ he > mlkhmth hkvkbym - dmvyvth#C-3PO
Item has been created. Skipping...
he has confilict!
-->Q51787 Passed! because of safe mode and conflict
Item did not updated..!2

3-This links should be ignored - links are OK, but items not

4-Example with skipping categories:

D:\Py> -newcat
Getting 60 pages from wikipedia:cs...
----------------------(Should be Kategorie:Křimov)
----------------------(Should be Kategorie:Absolventi vysokých škol v Itálii
----------------------(Should be ‎Kategorie:Německý nacionalismus 
----------------------(Should be Kategorie:Ukrajinští spisovatelé knížek pro děti
----------------------(Should be Kategorie:Liturgické památky 
----------------------(Should be Kategorie:Liturgické svátky 
IW-Item= Kategorie:Paramenta
IW-Item= Kategorie:Alba Jamese Blakea
IW-Item= Kategorie:Fotbalisté Doncasteru Rovers
NoIW-Item= Kategorie:Fotbalisté HŠK Zrinjski Mostar
IW-Item= Kategorie:Skotské právo
----------------------(Should be ‎Kategorie:Pohřbení v Bolzanu)
IW-Item= Kategorie:Fotbalisté NK Inter Zaprešić
IW-Item= Kategorie:Anglicko-skotská hranice
IW-Item= Kategorie:Fotbalisté Vitória SC
IW-Item= Kategorie:Kubánští trumpetisté

5-Additionally, you removed (10s) pause after wikidata edit and now bot cannot be stopped by ctrl+c (this pause should be defined in the localisation part). THe problem with roa_rup was in first version, I updated my, so it worked for me.

JAn Dudík (talk) 07:05, 22 April 2013 (UTC)Reply[reply]

answer edit

I will answer by number:

1-  Done
2-cs:C-3PO has item Q51787
de:Figuren aus Star Wars#C-3PO has item Q51805
so bot and users can not add de:Figuren aus Star Wars#C-3PO as iterwiki to item Q51787 and these old interwikis (which has #) after wikidata are useless! and they makes interwiki confilict! because they suggest two different item for one page!
4-for the first categories which has --- you can set Skip_New=0 after that it will add item for them
for the rest categories they have item so bot don't have any work to do.
take care in bot's comments which is shown in CMD the abbreviation has meaning
IW-Item=: means it has Interwiki in local wiki (old one or wikidata one) & Item in wikidata
NOIW-Item=: it dosen't have Interwiki at all ( in local and wikidata) but it has Item in wikidata
IW-NOItem=: it has interwiki (old one or wikidata one) but doesn't have Item in wikidata
NOIW-NOItem=: No interwiki and No Item
Iw-others=: means it has interwiki and bot found item for other languages which are linked there
I added a comment which shows the rank of the skipped page in red
5-  Done
6- because of some un-none API errors bot stopped! So I made it automatic to skip the errors Now we should press Ctr+C for some minute ! to stop it and I couldn't find any general solution in internet to break the while loop :(
Yamaha5 (talk) 09:09, 22 April 2013 (UTC)Reply[reply]
For 4 I mean that first categiories and ‎Kategorie:Pohřbení v Bolzanu is skipped with doing nothing. JAn Dudík (talk) 13:24, 22 April 2013 (UTC)Reply[reply]
I told you they was passed because bot doesn't work on new 200 categories if you want to work on the set Skip_new=0 then it will workYamaha5 (talk) 16:19, 22 April 2013 (UTC)Reply[reply]
I deleted some lines in output - bot worked for all pages from 6th, but why skipped this category? But now seems to work correctly. JAn Dudík (talk) 20:21, 22 April 2013 (UTC)Reply[reply]

Next bugs :-) edit

I updated my script (it would be fine, if also line with path to passfile will be on the top, so I can only replace everything under translations) and is much more useful. But there are still some not serious bugs.

  1. When is conflict solved and bot again works with that page, and there is nothing to remove except conflict template, bot write in red that removes template, but template is still in page (e.g. cs:Kategorie:Čínská lidová republika)
  2. When is in page dead link, bot skips all other valid links (cs:Portál:Chorvatsko with dead link to bs:Portal:Hrvatska
  3. When in page is shortcut like [[WP:Foo]] (where WP means Wikipedia), bot take it as interwiki and add conflict template [2], [3]
  4. Bot does not ignore interwiki in <nowiki> section [4]

Thanks, JAn Dudík (talk) 20:21, 22 April 2013 (UTC)Reply[reply]

Thank you for your comments all of them solved :) (version 3.5) Yamaha5 (talk) 17:35, 24 April 2013 (UTC)Reply[reply]

Talkback edit

Hello, Reza1615. You have new messages at جواد's talk page.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

A new bot list edit

Hi there! Per a request I have been working on a new informative bot list (that has secretly been hidden under the current list at Wikidata:List_of_bots. I think I am finished and it would be great if every botop (including you) could add your bot to the new list. I have added Addbot already and tried to make the template simple! Goodluck and if you have any problems get in touch on my talk page! ·Add§hore· Talk To Me! 20:21, 22 April 2013 (UTC)Reply[reply]

  DoneYamaha5 (talk) 20:14, 24 April 2013 (UTC)Reply[reply]
reza jan, emaileto lotfan bebin.sharmande Javad|Talk (6 Ordibehesht 1392) 10:50, 26 April 2013 (UTC)Reply[reply]

"Staff" and "General staff" edit

Could you please explain, what happened with edits [5] and [6], when the discussion Talk:Q495430 ([7]) clearly has a request to split the record (into "Staff" and "General staff")? If you think that they should be merged, perhaps at least a note on the talk page could have been in order..? --Martynas Patasius (talk) 19:36, 29 April 2013 (UTC)Reply[reply]

Help edit

Can you explain me how to do this [8]? Xaris333 (talk) 22:34, 29 April 2013 (UTC)Reply[reply]

Ok. I find it. Thx! Xaris333 (talk) 22:37, 29 April 2013 (UTC)Reply[reply]

Twinkle edit

Hi Reza, What do you do about twinkle ( mass deletion section)? :) Javad|Talk (13 Ordibehesht 1392) 09:36, 3 May 2013 (UTC)Reply[reply]

هنوز وقت نکردم اولین فرصت حتما ردیفش می کنم Yamaha5 (talk) 12:43, 10 May 2013 (UTC)Reply[reply]
mamnooon Javad|Talk (20 Ordibehesht 1392) 12:47, 10 May 2013 (UTC)Reply[reply]

درخواست حذف edit

سلام رضا جان، لطفا هنگامی که درخواست حذف آیتمی را می دهید، مطمئن شوید به آن آیتم لینکی وجود ندارد.ممنون Javad|Talk (18 Ordibehesht 1392) 20:08, 8 May 2013 (UTC)Reply[reply]

hatman merci be in morede deghat nakarde boodam :)Yamaha5 (talk) 17:39, 9 May 2013 (UTC)Reply[reply]
daram ba bot oon rade tadakhol ha ra miterkoonam ba dast tak takeshoon ra check mikonam :(Yamaha5 (talk) 17:40, 9 May 2013 (UTC)Reply[reply]
Khoda kheyrat dahad :) too wikifa tanha kasi ke wiki vasash ahamiat dare toee, poostet ham kolofte :D, baghie vase bahs kardan afaride shodan Javad|Talk (19 Ordibehesht 1392) 17:43, 9 May 2013 (UTC)Reply[reply]

Busia edit

Please, draw your attention that some articles tell about non-existent "Busia - town in Kenya and Uganda". But in Russian, Swahili and some other ones it is a question of town only in Kenya, and there is other article about Busia in Uganda (there are two different towns in two different countries, and articles in Sweden, Indonesian etc tell untruth. --VAP+VYK (talk) 21:25, 9 May 2013 (UTC)Reply[reply]

Re: archive pages edit

Now the bot will not take more care of that element. Thanks for your report. Do you know other pages that are to be excluded? --β16 - (talk) 21:53, 9 May 2013 (UTC)Reply[reply]

in my opinion it should exclude pages which are in wikipedia namespace and which have / in their name because wikipedians only archive wikipedia and talk pages and by sure bot doesn't work on talk so we should set it only for wikipedia. Yamaha5 (talk) 12:43, 10 May 2013 (UTC)Reply[reply]

چک میل رضاجان لطفا:)Mahdi talk 16:25, 16 May 2013 (UTC)Reply[reply]

میل پلیز:)Mahdi talk 16:03, 18 May 2013 (UTC)Reply[reply]

Thanks edit

Hi dear Reza,

Thank you so much for this code.It works properly ;) Best Regards Javad|Talk (27 Ordibehesht 1392) 14:56, 17 May 2013 (UTC)Reply[reply]

thank you for your helps and ebraminio's helps :)Yamaha5 (talk) 17:10, 22 May 2013 (UTC)Reply[reply]

کددار edit

سلام رضاجان، میل رو که میری میای، اینجا بپرسم میگویم شاید حل شود:). [9] چی کار می کند؟ چرا دوبار میرود؟ درچندجای دیگه هم اتفاق افتاده. ممنون:)Mahdi talk 17:43, 25 May 2013 (UTC)Reply[reply]

Bot editing logged out? edit

Hey, Reza. Do you know if the recent edits from Special:Contributions/ are from your bot? This relates to the ongoing WD:AN discussion about whether or not to block that IP address, which is apparently a Wikimedia Labs proxy. — PinkAmpers&(Je vous invite à me parler) 08:17, 28 May 2013 (UTC)Reply[reply] and anchors edit

Hello, I solved all conflicts on, but there is still couple of pages with links with anchor, like [[en:Foo#bar]]. We don't want to remove them, there is technically no conflict, but bot skips these pages without updating labels or adds {{Interwiki conflict}}. Can you change your script to completely ignore such links? eg. cs:62 contains link to als:60er#62 and bot cannot update labels of 5 other languages. JAn Dudík (talk) 09:45, 23 June 2013 (UTC)Reply[reply]

removing of \n edit

Version 5.0 made strange edits on some pages. JAn Dudík (talk) 12:33, 23 June 2013 (UTC)Reply[reply]

Wikidata:Project_chat#minimizing_Item.27s_UI edit

Hey! Just wondering if you could pop back to the above linked section? :) People generally like the idea and have a few small questions! ·addshore· talk to me! 16:02, 29 June 2013 (UTC)Reply[reply]

Re: Need Help for making Merge Tool edit

Hello, Reza1615. You have new messages at Wikidata:Bot requests#Need Help for making Merge Tool.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

--Ricordisamoa 04:56, 4 July 2013 (UTC)Reply[reply]

خطای ربات edit

درود بررضا. میل را که مثل اینکه سرنمیزنی، گفتم اینجا بگوییم. ربات میان ویکی خطای خاصی میدهد که متاسفانه عملکرد این چند وقته اش راخوابانده. پای ویکی را هم اپدیت کردم تاثیری نداشت. این حطایش است. ممنون

Logging in to wikidata:wikidata as MahdiBot via API.
Should be logged in now
Logging in to wikipedia:fa as MahdiBot via API.
Should be logged in now
Getting 60 pages from wikipedia:fa...
Page: -------- کاترینا بودن --------
Traceback (most recent call last):
  File "", line 698, in <module>
  File "", line 690, in main
  File "", line 544, in run
    if my_data.exists():# normal updating to existed item
  File "/home/mahdiz/new2/", line 1335, in exists
  File "/home/mahdiz/new2/", line 4693, in get
    self._getentity(*args, **kwargs)
  File "/home/mahdiz/new2/", line 4629, in _getentity
    self._title = self._contents['entity'].title()
AttributeError: 'list' object has no attribute 'title'

:)Mahdi talk 10:26, 10 July 2013 (UTC)Reply[reply]

"Gadget-properties" using templates edit

Hi Reza1615, in this conversation we were talking about how to automate adding statements depending on a category or template item. Your gadget already does that, so I was wondering if you could share your thoughts on the conversation? The latest proposed method is as follows:

  1. A gadget sets a template on the category/template item talk page with all needed parameters (language, exclude items, statements to add, recursion, etc)
  2. A bot scans the language category and creates periodically a list of candidate items with the missing properties (similar to {{Constraint}})
  3. Depending on the number of hits, a person or a bot can add the missing statements

What do you think? --Micru (talk) 17:51, 19 August 2013 (UTC)Reply[reply]

Update: move summary edit

Hello, Reza1615. You have new messages at MediaWiki talk:Gadget-Move.js#+ move summary.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

--Ricordisamoa 02:45, 14 September 2013 (UTC)Reply[reply]

رده‌ها edit

سلام جناب رضا. جناب امیر زحمت کشیده یه فهرست بلند والا در w:fa:کاربر:Ladsgroup/رده‌ها تهیه کرده. درصدد هستم فهرستی به نام «رده‌های نیازمند اقدام برای ادغام» از داخلش دستی انتخاب کنم تا بشه میان ویکی داد. پیشنهاد می کنم اون رو چند تیکه کنید کاربرای ویکی پدیا هم کمک کنن.دوستدار ایران بزرگ (talk) 17:14, 21 September 2013 (UTC)Reply[reply]

رده‌های عجیب! edit

جناب رضا، چرا کسی به وضع رده‌های مث w:fa:رده:رئیسان دانشگاه آزاد اسلامی و w:fa:رده:ورزش در استان اردبیل رسیدگی نمیکنه؟ نیازمند رسیدگی نیستن؟ –دوستدار ایران بزرگ (talk) 13:28, 28 September 2013 (UTC)Reply[reply]

سلام   Done Yamaha5 (talk) 19:14, 9 October 2013 (UTC)Reply[reply] : no → nb edit

Hi, could you update your script so it uses language code "nb" instead of "no"? Seems to be a matter of line 364 in We are trying to move away from the use of "no", and I have a bot running that moves labels from no to nb, but another bot running your script re-added a label my bot had just removed :) Danmichaelo (talk) 12:26, 9 October 2013 (UTC)Reply[reply]

سلام رضا. یک کاری می‌توانی انجام بدی که مشکلش را حل کنی؟ سپاس.--Calak (talk) 17:47, 9 October 2013 (UTC)Reply[reply]
Hi, Two month ago I asked in the project chat and they told me we want to switch nb > no ! so I added these lines to code.
Now I changed the code and it will change no > nb. and it shouldn't have this bug Yamaha5 (talk) 19:09, 9 October 2013 (UTC)Reply[reply]
Thanks, seems like there has been some confusion about nb/no :) Danmichaelo (talk) 21:19, 10 October 2013 (UTC)Reply[reply]

The bot still adds labels with the language code no (example). nowiki has the wgContentLanguage nb. uselang=no is converted to wgUserLanguage nb and shows the content of the label with language code nb. The language code no is not accessible. Please change the bot to not adding labels with the language code no. --Fomafix (talk) 16:18, 27 December 2013 (UTC)Reply[reply]

Your bot flooding on RC page edit

Why your bot is editing without marking edits as bot edits? It's flooding recent changes page. --Stryn (talk) 17:19, 25 October 2013 (UTC)Reply[reply]

Hi, I use standard API and I got flag and it should work as bot I will ask amir may be he knowsYamaha5 (talk) 17:28, 25 October 2013 (UTC)Reply[reply]

Bot blocked edit

Per Wikidata:Notability, subpages of templates are not suitable to be included in Wikidata, so I have blocked your bot (Rezabot). When you reconfigure it to not add such pages, it will be unblocked.--Jasper Deng (talk) 06:02, 27 December 2013 (UTC)Reply[reply]

  Done I stopped the bot also left a massage in your talkYamaha5 (talk) 07:21, 27 December 2013 (UTC)Reply[reply]

error edit

Hi Reza, when I run, get the following traceback:

  File "", line 14
SyntaxError: Non-ASCII character '\xd8' in file on line 14, but no encoding declared; see                 0263.html for details

the line 14 in the code is:

Ignore_Templates=[u'سانچہ:ویکی ڈیٹا نہیں',u'سانچہ:زمرہ رجوع مکرر',u'سانچہ:سریع حذف شدگی',u'سانچہ:مجوزہ حذف شدگی/پیغام',u'سانچہ:پیشنهاد حذف ۲',u'سانچہ:ادغام با',u'سانچہ:ادغام شد در',u'سانچہ:درخواست ادغام',u'سانچہ:پوشیدہ زمرہ جات',u'سانچہ:Hiddencat',u'سانچہ:زمرہ رجوع مکرر',u'سانچہ:تغییر مسیر رده',u'سانچہ:DB',u'سانچہ:DELETE',u'سانچہ:Db',u'سانچہ:Db-Reason',u'سانچہ:Db-because',u'سانچہ:Db-reason',u'سانچہ:Delbecause',u'سانچہ:Delete because',u'سانچہ:Delete',u'سانچہ:Deletebecause',u'سانچہ:Speedy delete',u'سانچہ:Speedy',u'سانچہ:Speedydelete',u'سانچہ:سریع حذف شدگی',u'سانچہ:حس',u'سانچہ:کاندید حذف',u'سانچہ:بدون حوالہ',u'سانچہ:بدون منبع ۲',u'سانچہ:بدون منبع۲',u'سانچہ:Prod',u'سانچہ:مجوزہ حذف شدگی',u'سانچہ:Proposed deletion',u'سانچہ:حذف زماندار']

how to fix it? --Muhammad Shuaib (talk) 17:38, 6 March 2014 (UTC)Reply[reply]

Try to add

# -*- coding: utf-8 -*- as first line in JAn Dudík (talk) 19:53, 6 March 2014 (UTC)Reply[reply]

Now got this traceback
Traceback (most recent call last):
 File "/data/project/shuaib-bot/pywikipedia/", line 1282, in __iter__
   for page in self.wrapped_gen:
TypeError: 'NoneType' object is not iterable
'NoneType' object is not iterable

--Muhammad Shuaib (talk) 20:30, 6 March 2014 (UTC)Reply[reply]

Thanks problem solved :-) Muhammad Shuaib (talk) 21:55, 6 March 2014 (UTC)Reply[reply]
Brother Reza, Plz reply this message --Muhammad Shuaib (talk) 11:26, 7 March 2014 (UTC)Reply[reply]

Language codes edit

Please have a look to User talk:Ladsgroup#Language and User:Ladsgroup/Labels. --Fomafix (talk) 11:01, 15 March 2014 (UTC)Reply[reply]

Hi, Thank you for your comment I will solve it as soon as possibleYamaha5 (talk) 11:18, 15 March 2014 (UTC)Reply[reply]
Your bot still not follows User:Ladsgroup/Labels. (diff) --Fomafix (talk) 16:35, 4 April 2014 (UTC)Reply[reply]
Now it is ok .@User:Calak, User: JAn Dudík I updated the codeYamaha5 (talk) 18:06, 6 April 2014 (UTC)Reply[reply]

mw:Requests for comment/Deprecate pywikibot-compat edit

May interest you. --Ricordisamoa 04:11, 26 April 2014 (UTC)Reply[reply]

Human groups edit

Hello, [10], [11]. Please do not thread human groups as humans. Values listed in {{Constraint:Conflicts with}} on Property talk:P21 can be used to avoid such errors. Or you can check instance of (P31) = human (Q5) also. — Ivan A. Krestinin (talk) 19:37, 26 October 2014 (UTC)Reply[reply]

Hi, thank you for your comment I will solve itYamaha5 (talk) 09:51, 6 November 2014 (UTC)Reply[reply]
  Done Yamaha5 (talk) 11:13, 6 November 2014 (UTC)Reply[reply]

Special:Contributions/Rezabot edit

You forgot to redirect merged items.--GZWDer (talk) 11:39, 31 October 2014 (UTC)Reply[reply]

Ok I will do it Yamaha5 (talk) 09:53, 6 November 2014 (UTC)Reply[reply]