https://bugzilla.wikimedia.org/show_bug.cgi?id=43862
Web browser: ---
Bug ID: 43862
Summary: opensearch filters wikt: references from the
Description tag in the returned XML
Product: MediaWiki
Version: unspecified
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: Search
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l