Page MenuHomePhabricator

starting from the middle of the category is broken
Closed, ResolvedPublic

Description

pwb.py script -cat:foo#H should take members of category from H, I, J...

but it seems to take always from another letter:

M
I:\py\rewrite>pwb.py touch -cat:Muži#H
Retrieving 50 pages from wikipedia:cs.
Page [[François Rabelais]] saved
Page [[Václav Rabas]] saved
Page [[Ignác Raab]] saved
Page [[Jean Racine]] saved
Page [[Bernd Rabehl]] saved
...

I:\py\rewrite>pwb.py touch -cat:obce_v_okrese_Příbram#D
Retrieving 47 pages from wikipedia:cs.
Page [[Příbram]] saved
Page [[Stará Huť]] saved
Page [[Rosovice]] saved
Page [[Voznice]] saved
Page [[Rybníky (okres Příbram)]] saved
Page [[Svaté Pole]] saved
Page [[Rožmitál pod Třemšínem]] saved
Page [[Višňová (okres Příbram)]] saved
...

I:\py\rewrite>pwb.py touch -cat:obce_v_okrese_Příbram#T
Retrieving 4 pages from wikipedia:cs.
Page [[Zduchovice]] saved
Page [[Zbenice]] saved
Page [[Županovice (okres Příbram)]] saved
Page [[Zalužany]] saved


Version: core-(2.0)
Severity: major

Details

Reference
bz67285

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:35 AM
bzimport set Reference to bz67285.
bzimport added a subscriber: Unknown Object (????).
In T69285#731531, @JAnD wrote:

Maybe there should be connection with
https://bugzilla.wikimedia.org/show_bug.cgi?id=64885 ?

T66885 is completed. Has this fixed the pywikibot problem also? It doesnt look like it ..

$ python pwb.py listpages -family:wikipedia -lang:cs -cat:Muži#H
WARNING: API warning (categorymembers): The gcmstartsortkey parameter has been deprecated.
   1 Sun Ra
   2 František Antonín Raab
   3 Ignác Raab
   4 Julius Raab
   5 Karol Raab
   6 Miroslav Raab
   7 Ondřej Raab
   8 Wilhelm Raabe
   9 Jaska Raatikainen
   ...

It works on English pages:

$ python pwb.py listpages -family:wikipedia -lang:en -cat:Defunct_journals#H
WARNING: API warning (categorymembers): The gcmstartsortkey parameter has been deprecated.
   1 Hudební nástroje
   2 Human Genomics and Proteomics
   3 In Theory Only
   4 International Journal of Sexuality and Gender Studies
   5 Irish Naturalist
   6 Journal de Trévoux
   7 Journal of Asthma & Allergy Educators
   8 Journal of Botany, British and Foreign
   9 Journal of Comparative and Physiological Psychology
  10 Journal of Discourses
  ...
In T69285#731531, @JAnD wrote:

Maybe there should be connection with
https://bugzilla.wikimedia.org/show_bug.cgi?id=64885 ?

T66885 is completed. Has this fixed the pywikibot problem also? It doesnt look like it ..

No, I mean this might be caused by T66885. There was no problem before.

JAnD claimed this task.