Last modified: 2009-01-21 16:09:08 UTC
I tried to add the Uniwiki extensions to Configure.settings-ext.php. Did not do all the work yet, because I thought it would be best to try if it was going to work at all... This report is quite large, and may cover multiple issues with Configure. I added the following to Configure.settings-ext.php: array( 'name' => 'UW Authors', 'dir' => 'uniwiki/Authors', 'file' => 'Authors.php', 'settings' => array( 'wgShowAuthorsNamespaces' => 'array', 'wgShowAuthors' => 'bool', ), 'array' => array( 'wgShowAuthorsNamespaces' => 'ns-simple', ), 'url' => 'http://www.mediawiki.org/wiki/Extension:Uniwiki_Authors', ), array( 'name' => 'UW AutoCreateCategoryPages', 'dir' => 'uniwiki/AutoCreateCategoryPages', 'file' => 'AutoCreateCategoryPages.php', 'url' => 'http://www.mediawiki.org/wiki/Extension:Uniwiki_Auto_Create_Category_Pages', ), array( 'name' => 'UW CatBoxAtTop', 'dir' => 'uniwiki/CatBoxAtTop', 'file' => 'CatBoxAtTop.php', 'url' => 'http://www.mediawiki.org/wiki/Extension:Uniwiki_Category_Box_at_Top', ), Observed behaviour: 1. extensions show up as expected in the list on Special:Extensions 2. can check "Use this extension" for each of the extensions 3. wgShowAuthors has a default value of false 4. wgShowAuthorsNamespaces shows no content but 'array' and is not editable 5. when enabling for example only 'UW CatBoxAtTop', settings appear to get saved. Special:Version does not show the extension as enabled. Expected behaviour: 3. Default value is "true". I would expect the checkbox to be checked. (or does 'empty' also mean unchanged?) 4. Default value is NS_MAIN. I would expect that to be a value. Checked with for example "AntiBot": same unexpected behaviour. 5. Expect the extension to be enabled and the extension credits to show up in Special:Version Other information: * instead of 'dir' => 'uniwiki/CatBoxAtTop', I also tried 'dir' => 'uniwiki//CatBoxAtTop' to no avail. * I was able to enable AbsenteeLandlord, so the base use case appears to work. I could also disable it again. I also tried setting $wgAbsenteeLandlordMaxDays to "200". No idea if that succeeded, because after saving, the field for $wgAbsenteeLandlordMaxDays was empty again. Hmm, maybe I should create a few new issues out of this one? I will just wait for a reply before doing anything else :).
Fixed the issue for Uniwiki extensions in r45958, the problem was with the space in extensions names. Will fix the default values problem soon.
Fixed "no default values" bug in r45967, marking bug as fixed.