Guild Wars 2 Wiki:Requests for technical administration/Semantic MediaWiki

From Guild Wars 2 Wiki
Jump to navigationJump to search

Request for Semantic MediaWiki[edit]

Home page
http://www.semantic-mediawiki.org/
Type
MediaWiki extension
Reason for request
Reference discussion
Like DPL, SMW provides the ability to create lists of pages based on the data they contain, or to pass the data from those pages to a template for custom formatting/processing. Unlike DPL, SMW is under active development, has a collection of semantic extensions that build on its functionality, is less load on the server, is more flexible, and has a less confusing invocation syntax.
What else uses it
GuildWiki, STOWiki
Possible pitfalls

Installation notes[edit]

Recommend using Semantic Bundle - only SMW and Validator are enabled by default (Validator is required by SMW), the other extensions can be enabled individually. The following would be the most immediately useful, as several potential projects have been discussed that require them:

  • Semantic Result Formats
  • Semantic Forms
  • Semantic Internal Objects
  • Semantic Drilldown
  • Semantic Maps
  • Arrays
  • External Data
  • Maps (required by Semantic Maps)
  • Widgets

The only change needed to LocalSettings.php is to include the Semantic Bundle:

require_once( "$IP/extensions/semantic-bundle/SemanticBundleSettings.php" );
require_once( "$IP/extensions/semantic-bundle/SemanticBundle.php" );

Within SemanticBundleSettings.php, the individual extensions that we want to use need to be un-commented. Other extensions could be enabled later if/when the community decides they would be useful.

Additional notes:

  • SMW requires CREATE/ALTER TABLE database permissions for initial setup. [1]
  • Both SMW and Semantic Drilldown require CREATE/ALTER TEMPORARY TABLE and CREATE INDEX database permissions.
  • SMW, Semantic Drilldown, and Widgets create new namespaces, but the default indexes for these are currently unused on GW2W, so no special configuration is needed. (SMW: 102 – 109; Drilldown: 170; Widgets: 274)
  • For Widgets, the web server system account must have write permissions on the folder $IP/extensions/Widgets/compiled_templates/ [2][3]
  • The Widgets: namespace, by default, can only be edited by users in the groups sysop and widgeteditor. The latter is a new group created by the extension so that selected users can edit widgets without having to be full sysops.