Manual talk:Wiki family/Drupal-style LocalSettings.php

Some people have had trouble with this code, and believe that it is in some way incorrect. My own experience was that the Drupal-style multi-site wiki did not work for other reasons (which I have now corrected in the Manual). Once these had been debugged, the Drupal algorithm worked fine. In the process of my own debugging, I created a greatly simplified  based on   to go in the mediawiki/code directory. It works only for sites where the host name and sites/sitename directory are the same.