[Pkg-mediawiki-devel] Bug#497042: Bug#497042: mediawiki: populateCategory.php script fails with PostgreSQL

Jaume Sabater jsabater at linuxsilo.net
Sat Aug 30 11:43:16 UTC 2008


Romain Beauxis wrote:

> severity 497042 important
> thanks
> 
> Le Friday 29 August 2008 15:18:33 Jaume Sabater, vous avez écrit :
>> Package: mediawiki
>> Version: 1:1.13.0-1
>> Severity: grave
>> Justification: renders package unusable
> 
> Well, not really, mysql users and fresh postgresql users can still use the 
> package..

Yes, you are right. Sorry, my fault.

>> Using PostgreSQL 8.3.3 and Mediawiki 1.13. Upgraded from Mediawiki 1.12
>> to 1.13. Had to execute the populateCategory.php script inside
>> maintenance due to the changes made by upstream in the software, so that
>> new category and categorylinks tables are populated.
>>
>> When doing so, it fails and leaves the pages plenty of corrupted
>> information, displaying tons of links/pages that should not be there.
>> Please note the segmentation fault at the end. The update.php executed
>> before also ended in a segmentation fault error, but seemed to work
>> fine.
> 
> Ok, this issue seems to come from a custom debian patch.
> 
> Could you try with the original file, attached with this mail ?

It works fine. I used the --force option on the populateCategory.php
script call and the category pages are now showing the contents (pages)
correctly.

Thanks for the update.

It still gave the segmentation fault error at the end, though:

/var/lib/mediawiki# php maintenance/populateCategory.php  --force
Category population complete.
Segmentation fault

Shall you need any more help testing Mediawiki on PostgreSQL, please let
me know. I will most gladly help you with it.

-- 
Jaume Sabater
http://linuxsilo.net/

"Ubi sapientas ibi libertas"






More information about the Pkg-mediawiki-devel mailing list