Last modified: 2010-05-15 15:42:53 UTC
It seems that there is an error in the messages file, because when the installation is completed, the wiki doesn't use the Bulgarian language system messages and displays empty pages (message that the pages doesn't exist) instead of system pages.
Works fine in current trunk and on Wikipedia. Please be more specific if possible: * exact version of MediaWiki * configuration? * URL to a site exhibiting the problem
*** Bug 7564 has been marked as a duplicate of this bug. ***
*** Bug 7563 has been marked as a duplicate of this bug. ***
(In reply to comment #1) > Works fine in current trunk and on Wikipedia. > > Please be more specific if possible: > * exact version of MediaWiki > * configuration? > * URL to a site exhibiting the problem > Sure, I've just installed a new wiki (MediaWiki 1.8.1), downloaded from the Sourceforge page. * PHP 5.0.4 installed * Found database drivers for: MySQL * Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. * GNU diff3 not found. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: D:\www\xampp\htdocs\mediawiki-1.8.1 * Script URI path: /mediawiki-1.8.1 * Environment checked. You can install MediaWiki. * Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it manually. Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as website...success. * Connected to 4.1.12 * Created database testmw * Creating tables... using MySQL 4 table defs... done. * Initializing data... * Created sysop account DCLXVI. * Initialising "MediaWiki" namespace for language code bg... * Done. Updated: 0, inserted: 1495, kept: 0. Creating LocalSettings.php... Installation successful! Move the config/LocalSettings.php file into the parent directory, then follow this link to your wiki. * You can see the wiki here -> http://gregg.mine.nu/mediawiki-1.8.1/
Did you modify LocalSettings.php after setup?
(In reply to comment #5) > Did you modify LocalSettings.php after setup? No, I can post the content here (w/out the db password, of course) if that will help, but the file was created by the installer.
(In reply to comment #6) > No, I can post the content here (w/out the db password, of course) if that will > help, but the file was created by the installer. Yes - please post it here. It seems that all of your Namespaces are broken...
(In reply to comment #7) > (In reply to comment #6) > > No, I can post the content here (w/out the db password, of course) if that will > > help, but the file was created by the installer. > > Yes - please post it here. It seems that all of your Namespaces are broken... > <?php # This file was automatically generated by the MediaWiki installer. # If you make manual changes, please keep track in case you need to # recreate them later. # # See includes/DefaultSettings.php for all configurable settings # and their default values, but don't forget to make changes in _this_ # file, not there. # If you customize your file layout, set $IP to the directory that contains # the other MediaWiki files. It will be used as a base to locate files. if( defined( 'MW_INSTALL_PATH' ) ) { $IP = MW_INSTALL_PATH; } else { $IP = dirname( __FILE__ ); } $path = array( $IP, "$IP/includes", "$IP/languages" ); set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() ); require_once( "includes/DefaultSettings.php" ); # If PHP's memory limit is very low, some operations may fail. # ini_set( 'memory_limit', '20M' ); if ( $wgCommandLineMode ) { if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) { die( "This script must be run from the command line\n" ); } } elseif ( empty( $wgNoOutputBuffer ) ) { ## Compress output if the browser supports it if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' ); } $wgSitename = "Test"; $wgScriptPath = "/mediawiki-1.8.1"; $wgScript = "$wgScriptPath/index.php"; $wgRedirectScript = "$wgScriptPath/redirect.php"; ## For more information on customizing the URLs please see: ## http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url ## If using PHP as a CGI module, the ?title= style usually must be used. $wgArticlePath = "$wgScript/$1"; # $wgArticlePath = "$wgScript?title=$1"; $wgStylePath = "$wgScriptPath/skins"; $wgStyleDirectory = "$IP/skins"; $wgLogo = "$wgStylePath/common/images/wiki.png"; $wgUploadPath = "$wgScriptPath/images"; $wgUploadDirectory = "$IP/images"; $wgEnableEmail = false; $wgEnableUserEmail = false; $wgEmergencyContact = "dimitar.tsonev@gmail.com"; $wgPasswordSender = "dimitar.tsonev@gmail.com"; ## For a detailed description of the following switches see ## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent ## There are many more options for fine tuning available see ## /includes/DefaultSettings.php ## UPO means: this is also a user preference option $wgEnotifUserTalk = false; # UPO $wgEnotifWatchlist = false; # UPO $wgEmailAuthentication = false; $wgDBtype = "mysql"; $wgDBserver = "localhost"; $wgDBname = "something"; $wgDBuser = "something"; $wgDBpassword = "something"; $wgDBport = "something"; $wgDBprefix = ""; # Schemas for Postgres $wgDBmwschema = "mediawiki"; $wgDBts2schema = "public"; # Experimental charset support for MySQL 4.1/5.0. $wgDBmysql5 = false; ## Shared memory settings $wgMainCacheType = CACHE_NONE; $wgMemCachedServers = array(); ## To enable image uploads, make sure the 'images' directory ## is writable, then set this to true: $wgEnableUploads = false; $wgUseImageResize = true; # $wgUseImageMagick = true; # $wgImageMagickConvertCommand = "/usr/bin/convert"; ## 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; $wgMathPath = "{$wgUploadPath}/math"; $wgMathDirectory = "{$wgUploadDirectory}/math"; $wgTmpDirectory = "{$wgUploadDirectory}/tmp"; $wgLocalInterwiki = $wgSitename; $wgLanguageCode = "bg"; $wgProxyKey = "removed"; ## 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 = ""; # When you make changes to this configuration file, this will make # sure that cached pages are cleared. $configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); $wgCacheEpoch = max( $wgCacheEpoch, $configdate ); ?>
Don't post large files in comments please; attach them if necessary. What we could use is the output of the phpinfo() function, and the exact version of XAMPP you have installed.
(In reply to comment #9) > Don't post large files in comments please; attach them if necessary. > > What we could use is the output of the phpinfo() function, > and the exact version of XAMPP you have installed. Okay, I'm sorry. phpinfo() -> http://gregg.mine.nu/phpinfo.php I don't know the version of XAMPP, but it is quite old, the package includes PHP: 5.0.4 (apache2handler) and MySQL: 4.1.12
I can reproduce this with XAMPP 1.5.4 (the current download) on Windows XP SP 2. Will investigate...
Okay, thanks. I don't know if that will help you somehow, but I have another MediaWiki here, on the same machine, version 1.7.1 and everything is okay there.
Fixed on trunk in r16995 and on REL1_8 in r16997, will be in 1.8.2.