Hello,
I'm trying to see if it is possible to post an api request to all wiktionaries with a single query?
As interwikis in wiktionary interlink to other wiktionaries on homonyms, I thought it to be useful to present users who end up at 404-not found pages with interwiki links to possible existing articles on other wiktionaries.
These interwikis could be dynamically added to http://en.wiktionary.org/wiki/MediaWiki:Noarticletext
I wrote a little php script which recursively queries all wiktionaries to see if an article exists, but it takes too long to query all wiktionaries to verify the existence of a certain.
See the (draft) script at http://pastebin.com/mLAdDpwA
More on the application of this you can read at http://en.wiktionary.org/wiki/Wiktionary:Beer_parlour/2013/February#Interwik...
I'd be happy to know if there's a smoother way to approach this, otherwise a batch-scripting-option?
Thank you,
Stratoprutser
On Wed, Feb 20, 2013 at 3:36 PM, Wikimaas Wikipedia < wikimaas+wikipedia@gmail.com> wrote:
I'm trying to see if it is possible to post an api request to all wiktionaries with a single query?
No, there's no way to post an API request to multiple sites with one HTTP request.
mediawiki-api@lists.wikimedia.org