Page MenuHomePhabricator

Robot problem in azbwiki
Closed, InvalidPublic

Event Timeline

Ebrahimi-amir claimed this task.
Ebrahimi-amir raised the priority of this task from to Needs Triage.
Ebrahimi-amir updated the task description. (Show Details)
Ebrahimi-amir subscribed.
Mjbmr added a project: Pywikibot.
Mjbmr set Security to None.
Mjbmr added a subscriber: jayvdb.
Mjbmr subscribed.

category.py move function, only detects canonical category links not also localized ones, must be with pywikibot it self not category.py

Could you please be more specific? Not everyone (like me) understands South Azerbaijani to understand what went wrong.

Now when looking at https://azb.wikipedia.org/wiki/%D8%A8%D8%A4%D9%84%D9%85%D9%87:%DA%AF%D8%A6%D8%B1%D9%85%DB%8C_%D8%B4%D9%87%D8%B1%DB%8C%D8%B3%D8%AA%D8%A7%D9%86%DB%8C%E2%80%8C%D9%86%DB%8C%D9%86_%DA%A9%D9%86%D8%AF%D9%84%D8%B1%DB%8C it seems like it did also move non-English names:

  • اون‌بیربه‌ی‌لی
  • اینی
  • خان کندی، گئرمی
  • خسبک
  • شاهمار به‌ی‌لی
  • نوروالله به‌ی‌لی

And at least the first page was edited by the bot: https://azb.wikipedia.org/w/index.php?title=%D8%A7%D9%88%D9%86%E2%80%8C%D8%A8%DB%8C%D8%B1%D8%A8%D9%87%E2%80%8C%DB%8C%E2%80%8C%D9%84%DB%8C&type=revision&diff=45678&oldid=7134

category.py move function, only detects canonical category links not also localized ones, must be with pywikibot it self not category.py

AH! That clears it up. So it only changed pages where the category was defined using the English name.

category.py move function, only detects canonical category links not also localized ones, must be with pywikibot it self not category.py

AH! That clears it up. So it only changed pages where the category was defined using the English name.

Yes.

Okay I think it's inside Page.change_category() (or inside a method called there). And I've manually checked a few points and getCategoryLinks seems to work fine as well as old_cat_pos = cats.index(oldCat) so in the cats list should be working correctly. Maybe I can basically step through the method later more thoroughly.

I got to solve the problem for myself robots. I added "self.namespaces[14]['azb'] = [u'بؤلمه', u'بؤلمه']" to the wikipedia_family file.

I got to solve the problem for myself robots. I added "self.namespaces[14]['azb'] = [u'بؤلمه', u'بؤلمه']" to the wikipedia_family file.

Are you using core or compat?

I use compat.

I got to solve the problem for myself robots. I added "self.namespaces[14]['azb'] = [u'بؤلمه', u'بؤلمه']" to the wikipedia_family file.

Are you using core or compat?

I use compat.

jayvdb triaged this task as Lowest priority.Sep 9 2015, 9:16 AM
jayvdb edited projects, added Pywikibot-compat; removed Pywikibot.

Please re-try using core.
compat is not actively maintained. Most developers put their time into improving core. So, if you want this change to the wikipedia_family.py file in compat, you (or someone else) can submit a patch to Gerrit.

I apologize to you. The problem is in my computer. I've got the solution.

Xqt claimed this task.
Xqt subscribed.

See last comment

Restricted Application removed a subscriber: Mjbmr. · View Herald TranscriptJan 25 2016, 9:26 AM
jayvdb removed Xqt as the assignee of this task.Jan 25 2016, 1:38 PM