Topic on Project:Support desk

convertExtensionToRegistration.php

3
MarcoAurelio (talkcontribs)

When running the conversion script it required me to have a LocalSettings.php file. I solved the issue creating an empty LocalSettings.php file and that seemed to work just fine. Question is if the LocalSettings.php file should have really had anything or if its contents affect how the migration is done. Thanks.

Osnard (talkcontribs)

The convertExtensionToRegistration.php does not rely on any particular information in LocalSettings.php. But may need a functional MediaWiki installation. Therefore the absence of the main configuration file can be a problem.

Ciencia Al Poder (talkcontribs)

I think LocalSettings.php shouldn't be a requirement for this script and is probably caused by it inheriting the Maintenance class. This is solved in the install.php script, for example, that does not require it (and in fact will fail if present)