Last modified: 2010-05-15 15:38:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8352, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6352 - Special:Version - 'tools' added to start of extension name.
Special:Version - 'tools' added to start of extension name.
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.5.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-18 02:57 UTC by Mark Clements (HappyDog)
Modified: 2010-05-15 15:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Clements (HappyDog) 2006-06-18 02:57:58 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!
Comment 1 Edward Z. Yang 2006-06-18 04:02:40 UTC
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'
);
Comment 2 Mark Clements (HappyDog) 2006-06-18 12:00:01 UTC
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]


Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links