localsettings.php Mediawiki

S

sylvia73

Guest
Hallo,

ich brauche Euren Rat.

Ich bin gerade dabei ein Projekt mit der Mediawiki-Software umzusetzen.
Um zusätzliche Programmodule zu installieren, müssen zusätzlich Änderungen an der Localsettings.php durchgeführt werden.

In allen Anleitungen die ich finden konnte, steht nur z.B. require_once ( "extensions / articletocategory.php"); in diese Datei einfügen.

Mein Problem ist ich weiß nicht wo.

Wenn ich den Code beliebig einsetze, geht die ganze Seite off.

Weiß jemand wie ich das machen muss?

Sylvia
 
Ich habe jetzt herausgefunden, dass der Code ans Ende soll. Wenn ich da platziere, erhalte ich wieder eine weiße Seite.

Ich kopiere das Ende der Datei mal her. Vielleicht ist es dann leichter mein Problem zu verstehen.

## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
$wgHashedUploadDirectory = false;

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX = false;

$wgLocalInterwiki = $wgSitename;

$wgLanguageCode = "de";

$wgProxyKey = "xxxxx....";

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'monobook';

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
# $wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# $wgRightsCode = ""; # Not yet used

$wgDiff3 = "/usr/bin/diff3";

# When you make changes to this configuration file, this will make
# sure that cached pages are cleared.
$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) );

Und das ist der fragliche Code:

require_once ( "extensions / articletocategory.php");

Wie sollte das aussehen?

Sylvia
 
Gelöst!

Es war eine instabile Extension, die das Problem verursacht hat.

Was ne Geburt....!
 
Hat doch nicht funktioniert.

Was mache ich falsch?
 
Zurück
Oben