Wikipedia

Languages and libraries

api client library

SHOW HN2013

218points
35comments
#60of 1,739 in 2013
Top 4%of 2013 by points

How HN took it

CuriousMostly questions and neutral comments

4 positive, 9 neutral or asking, 1 mixed, 2 critical, out of 16 comments about the project. Thread score +0.09.

Execution: 1 for, 1 againstPerformance: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Good work, useful for MediaWiki access

    From 2 comments
    • Nice work on this. It's always good to see people giving more visibility to MediaWiki's capabilities. To engineers who would like to use this library, I would give a caveat that…
      languagehacker on HN
    • Fantastic job Johnathon. To HN readers, I just want to point out that this awesome library was created by a high school student (who is extremely motivated and builds a bunch of…
      cjbarber on HN

Objections

  • Does not follow MediaWiki API etiquette (user agent, throttling)

    From 1 comment
    • Please note that this API does not make any specific attempts to obey the mediawiki etiquette (http://www.mediawiki.org/wiki/API:Etiquette). This sort of API is easy and clean…
      nevermore on HN
  • Caching everything may leak memory

    From 1 comment
    • You might really want to not cache everything coming back into a never ending python dictionary. Lookup memory leak on wikipedia ;)
      harlowja on HN

Requests

  • Support for other Wikipedia languages

    From 1 comment
    • Excellent ! Are there any apis for other languages ? tried to query using unicode strings and it worked but I only got English content.
      level09 on HN
  • Extract infobox data

    From 1 comment
    • Is there an API for extracting data from infoboxes?
      ksrm on HN
  • Wikitext stripping to plain text

    From 1 comment
    • Any advice on stripping wiki markup to obtain plain text from the wikipedia dump? A friend is doing linguistic research and could benefit from large bodies of text in different…
      DenisM on HN

Questions

  • Is there an API for infobox data?

    From 1 comment
    • Is there an API for extracting data from infoboxes?
      ksrm on HN

Alternatives named

  • pywikipediabot

    From 1 comment
    • Please note that this API does not make any specific attempts to obey the mediawiki etiquette (http://www.mediawiki.org/wiki/API:Etiquette). This sort of API is easy and clean…
      nevermore on HN
  • Pattern

    From 1 comment
    • Nice work on this. It's always good to see people giving more visibility to MediaWiki's capabilities. To engineers who would like to use this library, I would give a caveat that…
      languagehacker on HN
  • wiki-api (richardasaurus)

    From 1 comment
    • I've used (and patched) this alternative: https://github.com/richardasaurus/wiki-api
      toyg on HN
  • mwparserfromhell

    From 1 comment
    • Since I am using the MediaWiki extracts API, I never had to find/write my own Wikitext parser. However, I did run into a couple in my research that seemed relatively popular: -…
      jgoldsmith on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/6279380)