Template: LocalSettings.php-Tweaks: Difference between revisions

From SemanticOrganization
Jump to: navigation, search
No edit summary
No edit summary
 
Line 22: Line 22:
  # Allow display titles for automatically created page names
  # Allow display titles for automatically created page names
  $wgRestrictDisplayTitle = false;
  $wgRestrictDisplayTitle = false;
# Encode section IDs with modern html5 style so Scrollspy works with special chars
# becomes obsolete with MW 1.37
$wgFragmentMode = [ 'html5', 'legacy' ];
   
   
  # Use full screen width when no sidebar is shown
  # Use full screen width when no sidebar is shown

Latest revision as of 21:48, 17 June 2024

# Use Tweeki as default skin
$wgDefaultSkin = 'tweeki';

# Show Tweeki's advanced features by default
$wgDefaultUserOptions['tweeki-advanced'] = 1;

# Use Bootstrap Tooltips
$wgTweekiSkinUseTooltips = true;

# Enable String Functions
$wgPFEnableStringFunctions = true;

# Enable Semantic MediaWiki
enableSemantics('YOURDOMAIN.TLD');
$smwgEnabledEditPageHelp = false;
$smwgLinksInValues = true;
$smwgPageSpecialProperties[] = '_CDAT';

# Settings for Page Forms
$wgPageFormsAutocompleteOnAllChars = true;

# Allow display titles for automatically created page names
$wgRestrictDisplayTitle = false;

# Use full screen width when no sidebar is shown
$wgTweekiSkinGridNone = [ 
  "mainoffset" => 0, 
  "mainwidth" => 12
];