Page MenuHomePhabricator

"category.py move" fails on many pages.
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal
See Also:
https://sourceforge.net/p/pywikipediabot/bugs/583

Details

Reference
bz55326

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:34 AM
bzimport set Reference to bz55326.
bzimport added a subscriber: Unknown Object (????).

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

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.

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.

Logged In: YES
user\_id=1327030
Originator: NO

I added all ksh: namespace aliases from MessagesKsh.php in r4828.

Is this bug still valid? Otherwise would close it as outdated.

It has been resolved several years ago