Semantic MediaWiki

From Hypertwins Community
Revision as of 20:41, 8 April 2011 by Woozle (talk | contribs) (however, this is a bad idea)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.