Last modified: 2013-04-04 22:02:47 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 T25323, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23323 - OpenSearch description is useless on Wiktionary
OpenSearch description is useless on Wiktionary
Status: NEW
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 20411
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-25 23:34 UTC by Conrad Irwin
Modified: 2013-04-04 22:02 UTC (History)
1 user (show)

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


Attachments

Description Conrad Irwin 2010-04-25 23:34:31 UTC
Due to the structure of Wiktionary, it's unlikely that the opensearch description (as currently implemented) will ever give a useful result

It would be nice to customise this for Wiktionary - particularly we would need the content of the first <ol> (or # list) to be used in place of the first paragraph. It would also be preferably not to delete cross-project links.

Relevant links:

User trying to get information from opensearch:
http://www.mwusers.com/forums/showthread.php?14641-Questions-about-the-MediaWiki-API-Component

http://en.wiktionary.org/w/api.php?format=xml&action=opensearch&search=test&limit=1
 <Description xml:space="preserve"><   <   < *, pp. </Description>

http://en.wiktionary.org/w/api.php?format=xml&action=opensearch&search=chalcidology&limit=1

 <Description xml:space="preserve"># The study of .</Description>
Comment 1 Brion Vibber 2010-04-26 14:09:31 UTC
I'd probably recommend two things:

1) Merge the OpenSearch XML summary extraction into core

2) Give it some nice extension hooks to allow overrides

Shouldn't be too hard then to add a custom extraction for Wiktionary which does better.
Comment 2 Brion Vibber 2011-05-25 00:01:50 UTC
This is basically the same problem as bug 20411, though Wiktionary pages are particularly egregious in not actually including much (or any) inline body text.
Comment 3 Krinkle 2011-08-11 11:02:34 UTC
Since the core bug is bug 20411, moving this one to site requests.

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


Navigation
Links