Emanuele D'Arrigo wrote:
Brion Vibber 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?
It seems like importdump.php used different settings than the normal
wiki. Try putting on LocalSetttings.php explicitely that the path to
articles is /index.php?title= and not /index.php/
However, refreshLinks is also a maintenance utility, so should have the
same configuration :S