Last modified: 2011-08-28 21:25:25 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 T30118, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28118 - The path to images
The path to images
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Christoph Kepper
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-19 17:06 UTC by DCLXVI
Modified: 2011-08-28 21:25 UTC (History)
3 users (show)

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


Attachments

Description DCLXVI 2011-03-19 17:06:17 UTC
If the extension is not loaded from the /extensions directory, the images didn't appear. There is a line in Collection.templates.php (line 15), where the path to the images is hardcoded ($mediapath = $GLOBALS['wgScriptPath'] . '/extensions/Collection/images/';)
Comment 1 Roan Kattouw 2011-03-20 10:25:39 UTC
The right way to do this is to use "$wgExtensionAssetsPath/Collection/images"
Comment 2 Bugmeister Bot 2011-08-19 19:12:31 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 3 Christoph Kepper 2011-08-28 21:25:25 UTC
fixed in r95637

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


Navigation
Links