Last modified: 2007-11-01 18:59:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10540 - CLI API request
CLI API request
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-11 17:07 UTC by Jim R. Wilson
Modified: 2007-11-01 18:59 UTC (History)
3 users (show)

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


Attachments

Description Jim R. Wilson 2007-07-11 17:07:07 UTC
Please add a command line version of api.php that does not impose result set size restrictions.
Comment 1 Yuri Astrakhan 2007-07-11 17:17:04 UTC
Removed "easy" :)

It is fairly simple to remove maximum limit checks when processing an internal query. Implementing a nice command line script that takes all the arguments (possibly from a file), and passes it to the API is a bit harder.
Comment 2 Jim R. Wilson 2007-07-11 17:25:41 UTC
> It is fairly simple to remove maximum limit checks when processing
> an internal query.

How so?  It's embedded pretty deep in ApiBase at last look.

> Implementing a nice command line script that takes all the arguments 
> (possibly from a file), and passes it to the API is a bit harder.

Nah - just expect a single argument called "query" which is the query string (same as would be in a url).  Run that through parse_str() and pass the params off to the ApiMain derivitive.

I stand by my "easy" keyword :)
Comment 3 Yuri Astrakhan 2007-07-15 01:04:40 UTC
Maximum limit removed in 24099
Comment 4 Roan Kattouw 2007-09-03 19:40:56 UTC
(In reply to comment #3)
> Maximum limit removed in 24099
> 

Does that mean this is fixed, or is this bug still supposed to be open? Either way, no one's posted on it since July.
Comment 5 Daniel Cannon (AmiDaniel) 2007-09-20 20:29:06 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Maximum limit removed in 24099
> > 
> 
> Does that mean this is fixed, or is this bug still supposed to be open? Either
> way, no one's posted on it since July.
> 


The CLI is still being worked on (though I don't know, ATM, by whom). I'd suggest leaving this open until we really have something working. :)

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


Navigation
Links