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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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