The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Semantic MediaWiki
(Just notes for now)
root # from http://www.mediawiki.org/wiki/Extension:Validator#Git_downloads user $ cd extensions user $ git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Validator.git user $ git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticMediaWiki.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Maps.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticMaps.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticForms.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/SemanticInternalObjects.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/DataTransfer.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CategoryTree.git git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Widgets.git svn export http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi cd Widgets chmod ug+w compiled_templates wget get http: //www.smarty.net/files/Smarty-3.1.11.tar.gz tar xf Smarty-3.1.11.tar.gz install -d smarty cp -a Smarty-3.1.11/libs/* smarty localsettings: require_once( "$IP/extensions/Validator/Validator.php" ); include_once( "$IP/extensions/SemanticMediaWiki/SemanticMediaWiki.php" ); enableSemantics('zenoss.org'); user $smwgNamespacesWithSemanticLinks[NS_ZENPACK] = true; include_once( "$IP/extensions/SemanticForms/SemanticForms.php" ); include_once( "$IP/extensions/Maps/Maps.php" ); include_once( "$IP/extensions/SemanticMaps/SemanticMaps.php" ); include_once( "$IP/extensions/SemanticInternalObjects/SemanticInternalObjects.php" ); include_once("$IP/extensions/DataTransfer/DataTransfer.php"); user $wgUseAjax = true; require_once("$IP/extensions/CategoryTree/CategoryTree.php"); user $wgEnableMWSuggest = true; require_once("$IP/extensions/Variables/Variables.php"); require_once("$IP/extensions/Widgets/Widgets.php"); user $wgGroupPermissions['sysop']['editwidgets'] = true; go to: http 10.0.1.128/Special:SMWAdmin videolectures.net/eswc08_vrandecic_sw/
http://semantic-mediawiki.org/wiki/Help:Properties_and_types http://semantic-mediawiki.org/w/images/f/f1/SMW_quick_reference.png https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Quick_start_guide
http://comments.gmane.org/gmane.comp.web.wiki.semediawiki.user/12162 biowikifarm.net/meta/Help:SMWAddExtensions
For installation and upgrade, SMW needs the rights to create new tables (CREATE) and to alter tables (ALTER TABLE). You can remove both rights after SMW is set up. The script SMW_setup.php can use the DB credentials from AdminSettings.php for this purpose, avoiding the need of extra rights for the wiki DB user. When using SMWSQLStore2 (the default data store for SMW), SMW creates and alters temporary tables for certain semantic queries. To do this, your wikidb user must have privileges for CREATE TEMPORARY TABLES. The according features can be disabled by adding the following to Localsettings.php:
https://bugzilla.wikimedia.org/show_bug.cgi?format=multiple&id=33560
Internal SubObjects Steps
- enable extension
- Create template for a subobject, like you normally would (CreateTemplate)
- Now you can add subobjects to pages with set_internal
- Use ask queries to display subobjects
jmresearchgroup.wordpress.com/2011/08/20/using-semantic-internal-objects-to-build-dynamic-book-gallery/ rwbookclub.com/wiki/The_Master_Switch