Last modified: 2014-03-09 10:54:45 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 T31229, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29229 - Extension to provide access via the dict protocol
Extension to provide access via the dict protocol
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 57800 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-01 17:36 UTC by Mark A. Hershberger
Modified: 2014-03-09 10:54 UTC (History)
4 users (show)

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


Attachments

Description Mark A. Hershberger 2011-06-01 17:36:38 UTC
After talking with someone on #wiktionary, I had a great idea for an
extension: a MediaWiki implementation of the dict protocol
http://en.wikipedia.org/wiki/DICT

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. ;)
Comment 1 Bawolff (Brian Wolff) 2011-06-01 17:54:55 UTC
It appears that this protocol expects responses in text/plain (unless OPTION MIME is used, in which case it could have multiple types, but the impression i get [after not very much reading, so could be wrong] is dict servers should support plain text)

Converting wiktionary definitions to plain text is not exactly trivial.
Comment 2 Max Semenik 2011-06-01 18:19:14 UTC
Cough cough http://puszcza.gnu.org.ua/software/dico/modules.html
Comment 3 Bawolff (Brian Wolff) 2011-06-01 18:36:49 UTC
(In reply to comment #2)
> Cough cough http://puszcza.gnu.org.ua/software/dico/modules.html

Case in point:

From http://dicoweb.gnu.org.ua/?q=food&db=en-wiktionary&define=1 :

External links

(2, '{{')

projectlinks

|

pedia

|

}}commons


------
Seems as if the plugin still has something to be desired.
Comment 4 Mark A. Hershberger 2011-06-03 21:30:18 UTC
> Converting wiktionary definitions to plain text is not exactly
> trivial.

Which is why I wouldn't want the module to do it, necessarily.  The
output of

    links -dump http://en.wiktionary.org/wiki/quotidian

looks at least partly usable.
Comment 5 Max Semenik 2011-06-10 18:03:59 UTC
How significant is the interest in this, what is the target auditory? Any use cases not covered by web interface or the API?
Comment 6 Ricordisamoa 2014-03-09 10:47:52 UTC
*** Bug 57800 has been marked as a duplicate of this bug. ***

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


Navigation
Links