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

From SemanticOrganization
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
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
 +
$wgTweekiSkinGridNone = [
 +
  "mainoffset" => 0,
 +
  "mainwidth" => 12
 +
];

Latest revision as of 18:18, 18 May 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' ];

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