Page MenuHomeDevCentral

Add MediaWiki datasource to Nasqueron search API
Open, WishlistPublic

Description

MediaWiki supports OpenSearch.

Documentation is available at mw:API:Opensearch.

Implementation tip

  • Choose one:
    • Implement directly the search using the XML output, to also get wiki pages descriptions (ie the first line of the article)
    • Implement the search using the JSON output, and open a task to get description result in JSON on the upstream MediaWiki bug tracker
    • Add on api.nasqueron.org a generic XML to JSON converter or a MediaWikiSearchAPI to do XML -> JSON conversion
  • If there are some 403 or blank issues, see mw:API:Cross-site requests.

Related Objects

Event Timeline

dereckson raised the priority of this task from to Wishlist.
dereckson updated the task description. (Show Details)
dereckson added a subscriber: dereckson.