Configuration Options

From SemanticOrganization
Jump to: navigation, search

Additional Properties

$wgSemorgAdditionalProperties[""] = [
  "id" => "",
  "fields" => [
    "id" => "",
    "type" => ""
  ]
];
Use this configuration option as a convenient way to create new predefined properties. If you use semorg-generator to create a new feature it will provide this line to be inserted into LocalSettings.php.

Custom Styles

$wgSemorgUseCustomStyles = false;

You have to create your custom styles first (requires node.js and npm):

cd extensions/SemanticOrganization
cd /var/www/html/extensions/SemanticOrganization
cp resources/custom/styles/example.custom.scss resources/custom/styles/custom.scss
npm run prod

List Limit

$wgSemorgListLimit = 20;