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
https://www.mediawiki.org/w/api.php?action=query&prop=info&pageids=1...
The result tells me that pageid 13 is missing.
So, can any one please tell me what I'm doing wrong?
Best, Alan