Skip to content

pageid/curid as a unique id for Wikipedia pages

In my learning how to program Freebase, I've come across links to the Wikipedia that make use of a curid parameter.  For example,

is the same as

At least, the two pages seem to be the same thing as far as I can see.

How to do a lookup btween curid and the page title?  One way is ff we're screen-scraping, the page source of contains

var wgArticleId = "296716";

And if you go to lots of indication of what the title is, including the permanent link (e.g.,

To dig deeper, I might want to understand the mediawiki data structure and the mediawiki API.

Post a Comment

You must be logged in to post a comment.