Emanuele D'Arrigo wrote:
On 8/9/07, Brion Vibber brion@wikimedia.org wrote:
Or should I modify include/SpecialImport.php so that it fixes the links right away?
It already does?
Don't think so. Unless the issue is with links through templates rather than standard links.
The pages I imported included instances of templates and the links in those templates were in the form
mediawiki.mydomain.co.uk/index.php/MyPage
rather than the correct
mediawiki.mydomain.co.uk/index.php?title=MyPage
Refreshing the links with refreshLinks.php solved the problem. Maybe only links through templates are not refreshed when the import occurs?
refreshLinks.php has nothing to do with that -- it updates the pagelinks tables in the database.
You seem to have an inconsistency in your $wgArticlePath.
-- brion vibber (brion @ wikimedia.org)