Last modified: 2012-03-09 14:57:13 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 T22411, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20411 - OpenSearch XML description excludes inline template text
OpenSearch XML description excludes inline template text
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
OpenSearchXml (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Brion Vibber
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks: 23323
  Show dependency treegraph
 
Reported: 2009-08-26 21:35 UTC by Fedot Praslov
Modified: 2012-03-09 14:57 UTC (History)
7 users (show)

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


Attachments

Description Fedot Praslov 2009-08-26 21:35:37 UTC
opensearch results in XML format contain Description node in every Item, which most times is the first sentence in page described by Item.

And the text of Description many times corrupted because of stripping templates, like in the URL for bug.

>Moscow (Russian: Москва, romanised: Moskva, IPA: ru-Moskva.ogg [mɐˈskva] (help·info); see also other names) is the capital and the largest city of Russia.
Became:
>Moscow (, romanised: Moskva, IPA: ; see also other names) is the capital and the largest city of Russia.

Some times this results are wrong at all since there is a character (like: + or -) between templates written in this page and it's became the Description in results.
See: http://en.wikipedia.org/w/api.php?action=opensearch&limit=1&format=xmlfm&search=Roger%20Federer

Maybe it's possible to change the way opensearch return this results to include rendered/unrendered wiki text or at least to resolve some of templates and detect non alphanumeric characters in the start of the sentence?..
Comment 1 Alexandre Emsenhuber [IAlex] 2009-08-27 06:55:19 UTC
Changing Product/Component to MediaWiki extensions/[other] since we don't have a OpenSearchXml component.

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


Navigation
Links