Open addshore opened 8 years ago
Good point. At present the EntityStore component does not support redirects, and neither does the importing code (Replicator and JsonDumpReader). Actually not sure how redirects are represented in the dump, if at all.
They are not represented in the dump :/ Thought there is a bug for that https://phabricator.wikimedia.org/T98320
What about the API? I know it follows redirects by default, but will it somehow tell you it did, so you can also store the redirect info?
And is there a sane way to fetch all redirect info, to mitigate it not being in the dump?
Just ignore non items
Also youll have to do a second query to find the target from the pageid
If I'm not mistaken, some smug created 500k redirects or something, so doing this via the API will take some time :)
Hah, yes indeed, some smug did. done.txt redirects.txt
Currently this thing has no idea / concept of redirects. They are important and should be accounted for.