Last modified: 2011-03-13 18:05:21 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 8640 - ImageMap extension icon assumes a standard location
ImageMap extension icon assumes a standard location
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-15 06:04 UTC by Rob Church
Modified: 2011-03-13 18:05 UTC (History)
0 users

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


Attachments

Description Rob Church 2007-01-15 06:04:40 UTC
The little blue "information" icon for the ImageMap extension is loaded with a
path that assumes the extension is installed in mediawiki/extensions/ImageMap.
This doesn't work if the extension is being loaded from another location.
Comment 1 Michael Daly 2007-05-02 21:12:15 UTC
$descImg->setAttribute( 'src', "$wgScriptPath/extensions/ImageMap/desc-20.png" );

This is a particular problem is you set up one extension directory structure in
a "pool" wiki and share extensions across several wikis in a Wiki Family.

Perhaps the icon should be uploaded to the wiki's image/file repository and the
image defined equivalent to [[Image:desc-20.png]].  Then standard image
functions can be used to generate the path and filename.
Comment 2 Michael Daly 2007-05-02 22:36:12 UTC
This seems to work for an icon that's in the wiki's image directories:

$descImgImage = Image::newFromName( 'desc-20.png' );
$descImg->setAttribute( 'src', $descImgImage->getURL());
Comment 3 Raimond Spekking 2007-05-03 05:43:10 UTC
The upload to the wikis image repository did not solve this bug, to be backwards
compatible we need still a fix.

For a propoposal to allow user-defined images see bug 9772.
Comment 4 Brion Vibber 2007-05-03 15:25:58 UTC
ln -s ../shared/extensions .

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


Navigation
Links