Last modified: 2014-02-12 23:37:55 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 T45862, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43862 - opensearch silently drops references to wikt: references from Description tag in returned XML
opensearch silently drops references to wikt: references from Description tag...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
OpenSearchXml (Other open bugs)
master
PC Linux
: Normal normal with 1 vote (vote)
: ---
Assigned To: Brion Vibber
http://simple.wikipedia.org/w/api.php...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-11 16:22 UTC by office
Modified: 2014-02-12 23:37 UTC (History)
2 users (show)

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


Attachments

Description office 2013-01-11 16:22:16 UTC
example query:

http://simple.wikipedia.org/w/api.php?action=opensearch&search=Murder&format=xml&limit=1&namespace=0

this query returns the following description tag:

<Description xml:space="preserve">Murder is when one person kills another person on . It is only called "murder" when it is  the law. If a person does something that makes someone else die, it is often known as manslaughter or homicide. </Description>

in this description are words missing - I placed [!!!] where this is the case:

<Description xml:space="preserve">Murder is when one person kills another person on [!!!]. It is only called "murder" when it is [!!!] the law. If a person does something that makes someone else die, it is often known as manslaughter or homicide. </Description>

here's the wiki-code:

'''Murder''' is when one [[person]] [[kill]]s another person on [[wikt:purpose|purpose]]. It is only called "murder" when it is [[wikt:against|against]] the [[law]]. If a person does something that makes someone else die, it is often known as [[manslaughter]] or [[homicide]].

the following elements where filtered wrongly:
[[wikt:purpose|purpose]]
[[wikt:against|against]]

solution: fix how "wikt:" references are handled
Comment 1 Andre Klapper 2013-01-14 12:46:13 UTC
Thanks for taking the time to report this!

Confirming.

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


Navigation
Links