Last modified: 2010-05-15 15:42:50 UTC
I installed a mediawiki 1.8.1 on FC4 server (Linux 2.6.11 x86_64, apache 2.0.54, php 5.0.4, mysqld 4.1.16) and found out that all urls that should have 'Special' do not. For example, I have the following url for 'Log in/create account' : https://mail.clusterfs.com/mwiki/index.php?title=:Userlogin&returnto=Main_Page instead of https://mail.clusterfs.com/mwiki/index.php?title=Special:Userlogin&returnto=Main_Page There is the same things for all other special pages. I have tested that all is ok for version 1.7.1 Please advise.
1) try 1.8.2, which fixes bug 7562 2) provide details of configuration
Created attachment 2500 [details] LocalSettings.php (mediawiki 1.8.2)
1) I have tried both 1.8.2 and 1.9-svn and have got the same problem. Currently you can find 1.8.2 at https://mail.clusterfs.com/mwiki/ 2) Please find below the output of the mediawiki 1.8.2 installation and the attached LocalSettings.php. Please let me know if you need some extra information. PHP 5.0.4 installed Found database drivers for: MySQL PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) Have XML / Latin1-UTF-8 conversion support. PHP's memory_limit is 32M. If this is too low, installation may fail! Have zlib support; enabling output compression. Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be used. Found GNU diff3: /usr/bin/diff3. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /home/var/www/mediawiki-1.8.2 Script URI path: /mwiki Environment checked. You can install MediaWiki. Generating configuration file... Database type: MySQL Loading class: DatabaseMysql Attempting to connect to database server as mwiki28...success. Connected to 4.1.16 Database mwiki28db exists Creating tables... using MySQL 4 table defs... done. Initializing data... Created sysop account WikiSysop. Initialising "MediaWiki" namespace for language code en... 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.
There seems to be something wrong with basic numerics on this system. The namespace assignments are borked as visible in the export information: https://mail.clusterfs.com/mwiki/index.php?title=Special:Export/x&x <namespace key="4294967294">Media</namespace> <namespace key="4294967295">Special</namespace> (Those should be -2 and -1 respectively.) I seem to recall problems with corruption of negative numbers on some versions of PHP on AMD64. Here it is: http://bugs.php.net/bug.php?id=34879 Andrey, can you upgrade to PHP 5.1 and try again?
Yes, indeed! I have reproduced that bug on our system. I will upgrade php and inform you asap. Thanks!
It works with php 5.1 on my x86_64 system This bug can be closed Thanks!
*** Bug 7873 has been marked as a duplicate of this bug. ***