Topic on Extension talk:Semantic MediaWiki

Resources fail to load with non-default extensions setup (e.g. symlinks)

2
Summary by Kghbln

SMW 2.4.0 brought a solution

Andreas Plank (talkcontribs)

I configured a shared wiki setup with different extension features per wiki. In SMW 2.3.1 when debug=true in the URL some resources issue an error not to be loaded. With MW 1.25+ it is considered to set up a different extension directory (Manual:$wgExtensionDirectory) but it is not taken into account for SMW resources. I checked out and see why: SemanticMediaWiki/res/Resources.php assumes folder extensions to be there but allowing a different $wgExtensionDirectory this assumption is proven wrong. So if I add debug=true to the URL I get http://offene-naturfuehrer.de/w/extensions//usr/share/mediawiki26/extensions-rich-features/SemanticMediaWiki/res/smw/util/ext.smw.util.tooltip.js it becomes 404 and does not get loaded. Is there any fix I can do, LocalSettings or so? See also https://phabricator.wikimedia.org/T130520

Kghbln (talkcontribs)