Last modified: 2014-11-02 12:45:33 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 T57253, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55253 - Limited search in pagegenerators.py, invalid help
Limited search in pagegenerators.py, invalid help
Status: NEW
Product: Pywikibot
Classification: Unclassified
pagegenerators (Other open bugs)
unspecified
All All
: High minor
: ---
Assigned To: Amir Ladsgroup
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:51 UTC by Kunal Mehta (Legoktm)
Modified: 2014-11-02 12:45 UTC (History)
4 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:51:59 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1272/
Reported by: binbot
Created on: 2010-12-18 08:54:35
Subject: Limited search in pagenerators.py, invalid help
Original description:
pagenerators.py, current ver 8652

Help says:
-search           Work on all pages that are found in a MediaWiki search
across all namespaces.
But this is not the truth; it will work on 100 pages at most.

line 875:
def SearchPageGenerator\(query, number = 100, namespaces = None, site = None\):
This limits the results to 100 pages, and there is no possibility to pass a different number from command line. Please build in this parameter and write it in the help, or alternatively give an unlimited number to the query as stated in help.

Thank you\!
Comment 1 Kunal Mehta (Legoktm) 2013-10-05 04:52:01 UTC
I increased the priority because the dump server has already been dead for several weeks and seems not to revive in the near future. In this emergency we are compelled to use -search for replace.py instead of dump.
Comment 2 Kunal Mehta (Legoktm) 2013-10-05 04:52:03 UTC
- **priority**: 5 --> 7
Comment 3 Amir Ladsgroup 2014-07-27 00:37:45 UTC
the limit now is 500, but fixing documentation would be easy
Comment 4 Fabian 2014-11-02 12:45:33 UTC
I haven't tested it yet but doesn't it support continuation so returning more than 500 results?

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


Navigation
Links