Hi,
Can I get help please with setting up a WikiFamily. I follow Manual:Wiki family but don't understand it..
I have a new MediWiki.
I made a LocalSettings.php and made of that LocalSettings_test.php LocalSettings_test2 and LocalSettings_test3.php.
<?php
// Include common settings to all wikis before this line (eg. database configuration)
$callingurl = strtolower( $_SERVER['REQUEST_URI'] ); // get the calling url
if ( strpos( $callingurl, '/test1' ) === 0 ) {
require_once 'LocalSettings_test1.php';
} elseif ( strpos( $callingurl, '/test2' ) === 0 ) {
require_once 'LocalSettings_test2.php';
} elseif ( strpos( $callingurl, '/test3' ) === 0 ) {
require_once 'LocalSettings_test3.php';
} else {
require_once 'LocalSettings_test.php
The page is standard loading LocalSettings_test.php and loads the page https://testserver.local/index.php/mainpage
When I type in https://testserver.local/test1 I get a page that test1 is not existing.
What am I doing wrong?
And when I change LocalSettings_test.php at the end of the line to LocalSettings_test1.php I get a not good loaded page, no structure.