The page in question is:  AfghanistanHistory However you are querying medawiki.org, not en wikipedia. Also Its far better to grab the page table dump and use both of those.

On Mon, Nov 16, 2015 at 7:05 AM, Alan Said <alansaid@acm.org> wrote:
Hi all,
I want to recreate the redirect graph form the redirect sql file. Having loaded the file into a local MySQL database I have a table with the fields listed in https://www.mediawiki.org/wiki/Manual:Redirect_table (except the rf_interwiki column).

For instance, the second row in the table contains the values:
rd_from   rd_namespace  rd_title
13           0                        History_of_Afghanistan

I interpret this as page ID 13 in namespace 0 redirects to https://en.wikipedia.org/wiki/History_of_Afghanistan

Now, trying to use the id in the rf_from column, I attempt to access the page information using the example at https://www.mediawiki.org/wiki/Manual:Page_table#page_id i.e. loading the url


The result tells me that pageid 13 is missing.

So, can any one please tell me what I'm doing wrong?

Best,
Alan


-- 
Alan Said
Recorded Future
t: @alansaid

_______________________________________________
Xmldatadumps-l mailing list
Xmldatadumps-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/xmldatadumps-l