Last modified: 2012-11-22 12:07:16 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 T43532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41532 - Make OAI aware of ContentHandler
Make OAI aware of ContentHandler
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OAI (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 36423 42234
  Show dependency treegraph
 
Reported: 2012-10-30 09:28 UTC by Daniel Kinzler
Modified: 2012-11-22 12:07 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2012-10-30 09:28:19 UTC
The OAI extension should make use of the ContentHandler facility. Especially, it should:

1) report the correct content model and format (and DC media type) for the data it serves.

2) Use the generic Content::getTextForSearchIndex to generate plain text from non-text content when asked for lsearch output, for use by the lucene indexer.
Comment 1 Daniel Kinzler 2012-10-30 09:30:03 UTC
This blocks bug 36423 because MWSearch uses LucenSearch wich in turn access the OAI feed in order to update the search index incrementally.
Comment 2 Daniel Kinzler 2012-10-30 09:36:31 UTC
Patch for outputting the correct type info in DC meta data: Ia6e0df7e

Patch for returning flat text from non-text content: I8135402d
Comment 3 Daniel Kinzler 2012-11-14 19:58:01 UTC
patches have been merged.

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


Navigation
Links