Semantic MediaWiki

From Hypertwins Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The commands which finally worked for running the SMW setup file:

cd ~/AppDev/L48/issuepedia.org/maintenance
php -r "putenv('MW_INSTALL_PATH=/home/woozle/AppDev/L48/issuepedia.org'); require('/home/woozle/AppDev/L48/issuepedia.org/extensions/smw/SemanticMediaWiki/maintenance/SMW_setup.php');"

However, it turns out to be a bad idea to put SMW in a sub-folder (extensions/smw/SemanticMediaWiki) because the extension is hard-coded to look for CSS and Java files in "extensions/SemanticMediaWiki/..." Maybe they will fix this in a later version.