Difference between revisions of "Template:LocalSettings.php-Tweaks"

From SemanticOrganization
Jump to: navigation, search
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' ];

Revision as of 20:54, 7 February 2022

# 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;

# Encode section IDs with modern html5 style so Scrollspy works with special chars
# becomes obsolete with MW 1.37
$wgFragmentMode = [ 'html5', 'legacy' ];