Last modified: 2008-09-04 13:36:31 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 T17469, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15469 - Proxying capability of old query.php in the API
Proxying capability of old query.php in the API
Status: RESOLVED DUPLICATE of bug 14024
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-04 08:23 UTC by Lupo
Modified: 2008-09-04 13:36 UTC (History)
2 users (show)

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


Attachments

Description Lupo 2008-09-04 08:23:41 UTC
Could the proxying capability of the old query.php also be provided in api.php?

At the Commons, we have a script that checks where on other WMF wikis an image is used:
http://commons.wikimedia.org/wiki/MediaWiki:Gadget-Check-usage.js

This script was written using query.php. Since it queries Wikis in other domains, it used the proxying feature of query.php (&proxysite= and &proxylang=). As far as I can see, the API does not have this feature, which means that this script cannot be rewritten to use the API. Using the current API, the script would need to make cross-domain calls (e.g., from commons.wikimedia.org to en.wikipedia.org to check whether an image was used there). AFAIK, browser security policies normally forbid cross-domain Javascript calls. Therefore, a proxy feature in the API is needed if this script is to rewritten. (It's currently inactive because of this problem, but while it worked, it was apparently used by many editors, who preferred it over the toolserver-based checkusage.)
Comment 1 Roan Kattouw 2008-09-04 13:36:31 UTC

*** This bug has been marked as a duplicate of bug 14024 ***

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


Navigation
Links