Last modified: 2007-11-01 18:59:57 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 T12540, the corresponding Phabricator task for complete and up-to-date bug report information.
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