After talking with someone on All-and-every-Wiktionary, I had a great idea for an
extension: a MediaWiki implementation of the dict protocol
I think this would involve writing an API client that could listen on
port 2628 for dict queries, ask mediawiki to fulfill the request, and
then send a reply to the dict client. Really, just a SMOP. ;)
Cf. https://www.mediawiki.org/wiki/Content_translation/FAQ#What_dictionaries_will_be_available.3F for an "internal" use case.