Yahoo Web Search

Search results

  1. Jul 22, 2010 · Using MediaWiki, you can view the infobox on the right of a Wikipedia page by using this link below. As you see, the format is in JSON (can be changed) and by changing the "hydrogen" word to the specific title you want you will get an page with an infobox.

    Code sample

    >>> import wptools
    >>> so = wptools.page('Stack Overflow').get_parse()
    >>> so.infobox
    {'alexa': '{{DecreasePositive}}',
      'author': '[[Joel Spolsky]] and [[Jeff Atwood]]',...
  2. Aug 13, 2015 · Given a Wikipedia page like Wikipedia: Stack Overflow there are often Infoboxes (mostly on the right hand at the top of the page). Example screenshot: DBPedia lists all these attributes as RDF triples. You can see the example at DBPedia: Stack Overflow. There you see the property dbpprop:wikiPageUsesTemplate with the value dbpedia:Template ...

  3. Jan 20, 2018 · Wikipedia uses a "template system". For example, the "Info Box" on the right side of most pages commonly uses this template: https://en.wikipedia.org/wiki/Template:Infobox; A few other templates: https://en.wikipedia.org/wiki/Template:CURRENTYEARYY; https://en.wikipedia.org/wiki/Template:Date; I have assumed your using MediaWiki to implement ...

  4. Dec 2, 2011 · Check out the MediaWiki API example for getting the main picture of a wikipedia page: https://www.mediawiki.org/wiki/API:Page_info_in_search_results. As other's have mentioned, you would use prop=pageimages in your API query. If you also want the image description, you would use prop=pageimages|pageterms instead in your API query.

  5. Jul 9, 2012 · I need to find out the template type of a Wikipedia page entry. Up to this point, I've relied on parsing the results from a query to Wikipedia, which works to a point. For instance, if I search for Joel Spolsky, I can regex match 'infobox' and find out that this page refers to Infobox Person.

  6. Jun 23, 2013 · Are there any other libraries that do wiki api download of templates and store locally. And then convert to html. I have found the expandtemplates api call of mediawiki, but the (wiki)text to be converted is sent through the url get parameter and there is inherent limit to the size of text.

  7. Apr 26, 2015 · For example, the page about Abraham Lincoln: http://en.wikipedia.org/wiki/Abraham_Lincoln. I querying which templates exist for this page like so: http://en.wikipedia.org/w/api.php?action=query&prop=templates&format=jsonfm&tllimit=500&titles=Abraham_Lincoln. There are many templates. In particular I am interested in the "infobox" templates.

  1. People also search for