Manual talk:RefreshLinks.php

refreshlinks
Hi, can you give an example of article? I'm trying this php maintenance/refreshLinks.php [starting_article] but it doesn't work :( --Mark 07:57, 11 December 2009 (UTC)
 * php maintenance/refreshLinks.php 8000
 * will make it start with page id 8000. Added that. --88.130.74.229 19:06, 20 June 2014 (UTC)

What about langlinks?
Does it refresh this table?

Troubleshooting
I've added a troubleshooting section as the known memory issues have not been dealt with here. See also Help:Download @de-Wiki. --DuyTrinh 08:45, 2 November 2011 (UTC)
 * Cool, good point. I added instructions to avoid this in the first place. Cheers --&#91;&#91;kgh&#93;&#93; 22:26, 2 November 2011 (UTC)

Script stops processing data
This script gets to

Refreshing links table. Starting from page_id 1 of 3651. 100 200

and then just sits there. According to TOP php and mysqld both drop to 0%CPU so I cant imagine that its still processing anything. I know it says it can take a long time, but after an hour it was still in the same place.

Is there a known problem?

I need to run this because i imported a large chunk of data into the DB (exported a chunk of data made a Find/Replace change, and import) and I need to run this to get it updated.

Warnings thrown when allow_url_fopen=0
As the title says, after this script gets through the redirects table, it will throw several warnings from XML.php if  in php.ini. Is this something that should be fixed (or perhaps at least detected) in the script? Googling, I found references to leaving it enabled creating an XSS vulnerability, but I didn't find a lot by way of details. The specific sequence of error messages I'm getting is: PHP Warning: XMLReader::open: data:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/uesp/www/w/includes/media/XMP.php on line 501 PHP Warning: XMLReader::open( in /home/uesp/www/w/includes/media/XMP.php on line 501 PHP Warning:  XMLReader::open: Unable to open source data in /home/uesp/www/w/includes/media/XMP.php on line 501 PHP Warning:  XMLReader::setParserProperty: Invalid parser property in /home/uesp/www/w/includes/media/XMP.php on line 504 – Robin Hood   (talk)  09:12, 10 April 2016 (UTC)