Manual talk:Wiki family/de

I'm the only author of the text, copied it from m:Hilfe:Wiki family and hereby released it in the public domain.. have fun, --Produnis 21:25, 20 April 2006 (UTC)Reply

wikifamily nachträglich edit

kann man das auch nachträglich machen, das heißt es gibt schon drei wikis und dann soll ein "poolwiki" dazu kommen --Bernie-rv 20:33, 29 November 2006 (UTC)Reply

Ja. --MF-Warburg 15:59, 14 March 2008 (UTC)Reply

Eingabe in phpmyadmin edit

Wie muß ich die Eingabe in phpmyadmin gestalten? In der Beschreibung steht ja, dass ich einmal iw_prefix und iw_url ändern soll, aber wie? In welchen Feld gebe ich die Sprache und Url ein? Einfach bei Standart de eingeben? Dies wird ja gespeichert, aber wenn ich dir URL fürs Poolwiki eingeben möchte, wird mir gesagt, das iw_url keinen default Wert haben kann. --Markus79 19:19, 28 January 2009 (UTC)Reply

Globale Benutzer edit

Hallo! Wie schaffe ich es, dass sich alle meine Benutzer aus dem einen Wiki auch im zweiten Wiki anmelden können, ohne sich neu registrieren zu müssen?

Seht mal hier Manual:Shared_database, da steht wie die (User-)Datenbank geteilt werden kann.

Dateiverwendungen richtig anzeigen? edit

Ich habe ein deutsches und ein englisches Wiki, beide greifen auf den Media-Pool zu (funktioniert). Wenn ich jetzt im dt. Wiki auf ein Bild klicke werden mir die Bildinformationen im dt. Wiki angezeigt, wenn dieses Bild jetzt aber auch im englischen Wiki ist, steht dies nicht unter den Dateiverwendungen. Im Media-Pool auf der Bildinformationsseite steht sogar, dass dieses Bild garnicht verlinkt wäre. Gibt es eine Lösung, dass er alle Verwendungen anzeigt (so wie es im Commons ja auch ist) --User:Tobby 20:50, 6 November 2010 (UTC)Reply

How to link 2 MediaWikis to one WikiFarm? edit

I have two MediaWikis on the same server installed on the domains /de and /en.

My goal is to link them both to a WikiFamily or WikiFarm in order to have a multilinguale wiki and be able to use Interlinks. I have read many documentations but hit a dead-end.

Can someone please provide instructions on how to do so since the documentation is really hard for non-programmers to grasp :/ Ratte1313 (talk) 11:10, 3 October 2023 (UTC)Reply

What I have understood from the manual so far:
I have two fresh installations on the domains wiki.org/de and wiki.org/en with following IDs
/de = mediawiki-mdk_
/en = mediawiki__2-mdk_
  1. I rename the LocalSettings.php to LocalSetting_mediawiki-mdk_.php and LocalSetting_mediawiki__2-mdk_.php in both installation directories to match the WikiID of the installation
  2. I create a new LocalSettings.php in both installations (?!)
  3. Inside the newly created LocalSettings.php I put the following:
$wikis = [
   'de' => 'mediawiki-mdk_',
   'en' => 'mediawiki__2-mdk_'
];
if ( defined( 'MW_DB' ) ) {
   // Automatically set from --wiki option to maintenance scripts.
   $wikiID = MW_DB;
} else {
   $path = explode( '/', $_SERVER['REQUEST_URI'] ?? '', 3 )[1] ?? '';
   $wikiID = $_SERVER['MW_DB'] ?? $wikis[ $path ] ?? null;
}
if ( $wikiID ) {
   require_once "LocalSettings_$wikiID.php";
} else {
   die( 'Unknown wiki.' );
}
The part with MW_DB I dont really get, do I put something in or just leave it like that?
Result: I get a Unknown Wiki error on both wikis. Where did I go wrong? Ratte1313 (talk) 11:39, 3 October 2023 (UTC)Reply
Return to "Wiki family/de" page.