Last modified: 2010-05-15 15:38:07 UTC
I am experiencing this problem on 1.5.6. This may be fixed in more recent versions, but currently I have no way of testing. Here is an example array containing the details about a custom extension: $wgExtensionCredits['other'][] = array( 'name' => 'Database tools', 'author' => 'Author', 'url' => 'http://www.extensionaddress.co.uk/wiki/DB tools' ); When viewing Special:Version, the name of the extension is listed as "''tools'' Database tools" instead of just "Database tools". If you change the URL to read 'http://www.extensionaddress.co.uk/wiki/DB' then this problem does not exist. For some inexplicable reason, if the URL ends in 'tools' then MediaWiki decides to add the word 'tools' to the beginning of the extension name. Expected behaviour: The extension name is the name defined in the array!
Bug is invalid: you're passing a bad URL. Try: $wgExtensionCredits['other'][] = array( 'name' => 'Database tools', 'author' => 'Author', 'url' => 'http://www.extensionaddress.co.uk/wiki/DB%20tools' );
OK - That works. The reason this is a problem is that the URL is created by building it as wiki text, so my original example becomes [http://www.extensionaddress.co.uk/wiki/DB tools Database tools]