Configuration Options

From SemanticOrganization
Revision as of 07:26, 3 November 2021 by Admin (talk | contribs) (→‎Additional Properties)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;