Last modified: 2013-10-25 09:26:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57326, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55326 - "category.py move" fails on many pages.
"category.py move" fails on many pages.
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
category.py (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 05:08 UTC by Kunal Mehta (Legoktm)
Modified: 2013-10-25 09:26 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 05:08:05 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/583/
Reported by: purodha
Created on: 2008-01-07 02:53:34
Subject: "category.py move" fails on many pages.
Original description:
In the Wikipedia of Ripuarian languages, we have tons of samples which do not work. 
Here is another one:

python /home/purodha/pywikipedia/category.py move -putthrottle:51 -inplace -from:Geschichte\_Nordrhein-Westfalens -to:Noodrhing-Wäßfaale
Checked for running processes. 1 processes currently running, including the current process.
Reading dump from category.dump.bz2
Getting \[\[Saachjrupp:Geschichte Nordrhein-Westfalens\]\]...
Getting 3 pages from wikipedia:ksh...
No changes in made in page \[\[Herzogtum Geldern\]\].
No changes in made in page \[\[Herzogtum Jülich\]\].
No changes in made in page \[\[Herzogtum Kleve\]\].
Dumping to category.dump.bz2, please wait...

This is very likely due to various localized ways to write the name space name "Category:" which possibly pywikipediabot does not know about.

See also bug \# 1755347
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 05:08:08 UTC
Logged In: YES 
user\_id=46450
Originator: YES

Following the idea that, possibly, not all ways to spell "Category" were known, I created the attached patch which seemed to solve the problem for me.
File Added: family.py.4823.diff.txt
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 05:08:10 UTC
Logged In: YES 
user\_id=1327030
Originator: NO

Added first and fourth aliases in r4825. Second and third aliases don't seem to work, please check them again.
Comment 3 Kunal Mehta (Legoktm) 2013-10-05 05:08:12 UTC
Logged In: YES 
user\_id=46450
Originator: YES

I have possibly taken them from the ksh variants which are in the pipeline but not yet committed.
Comment 4 Kunal Mehta (Legoktm) 2013-10-05 05:08:14 UTC
Logged In: YES 
user\_id=1327030
Originator: NO

I added all ksh: namespace aliases from MessagesKsh.php in r4828.
Comment 5 xqt 2013-10-14 13:28:39 UTC
Is this bug still valid? Otherwise would close it as outdated.
Comment 6 Amir Ladsgroup 2013-10-25 09:26:20 UTC
It has been resolved several years ago

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links