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#Interwi…
I'd be happy to know if there's a smoother way to approach this,
otherwise a batch-scripting-option?
Thank you,
Stratoprutser