https://bugzilla.wikimedia.org/show_bug.cgi?id=58084
Strainu <crangasi2001(a)yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |crangasi2001(a)yahoo.com,
| |siebrand(a)wikimedia.org
Assignee|Pywikipedia-bugs(a)lists.wiki |crangasi2001(a)yahoo.com
|media.org |
Severity|normal |major
--- Comment #2 from Strainu <crangasi2001(a)yahoo.com> ---
I've looked a bit into this bug today as one of my robots made such a mistake
too. The person who noticed the problem (commons user Denniss) said that he
reported the problem to Siebrand and SieBot was fixed, so adding him to the CC
list in the hope that he might have a working solution that is not yet
upstream.
The problems seems to be the page.categories function, which returns all the
categories, including the ones from templates. Instead, the getCategoryLinks
function should be used in page.change_category. This does not currently happen
neither in compat nor core, so not sure how can compat work correctly.
I will make and test a patch later on this week if nobody has a working
solution.
--
You are receiving this mail because:
You are the assignee for the bug.