Manual talk:RefreshLinks.php

From MediaWiki.org
Jump to navigation Jump to search

refreshlinks[edit]

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?[edit]

Does it refresh this table?

Troubleshooting[edit]

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 --[[kgh]] 22:26, 2 November 2011 (UTC)

Script stops processing data[edit]

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.