Currently wikipedia.(com|org) is hardcoded in wikipedia_onebox.rb, but there are plenty of other MediaWiki driven sites for which this onebox would (or should!) work just the same.
It would be neat if it could be made possible to list other sites/URLs to get parsed by this onebox.
admin/settings search for “onebox”. There is a domain whitelist. You can add “com” (or maybe it’s .com I’ve not bothered to figure out which and just put both) if you want to whitelist everything. I’m not quite sure why this level of paranoia is necessary, so I eventually added com, edu, and so on.
It becomes very easy to DDoS your site by writing a post with a hundred oneboxes, etc. And most sites on the web don’t support opengraph or oembed, so it’d be a wasted HTTP request for every URL.
I suppose if I had thousands (or even hundreds) of messages per day rather than dozens, and I wasn’t having people post oneboxes of their Wordpress sites I might go ahead and be properly paranoid sooner rather than later.
… لدينا تثبيت لـ MediaWiki (نملك الموقع) ونود أن يكون لدينا Onebox خاص بتلك الويكي المحددة فقط في منتدى Discourse الخاص بنا. هل من الممكن أخذ سكريبت Onebox الخاص بـ Wikipedia الحالي وتكييفه مع ويكي الخاصة بنا؟