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

From SemanticOrganization
Jump to: navigation, search
Line 26: Line 26:
 
  # becomes obsolete with MW 1.37
 
  # becomes obsolete with MW 1.37
 
  $wgFragmentMode = [ 'html5', 'legacy' ];
 
  $wgFragmentMode = [ 'html5', 'legacy' ];
 +
 +
# Use full screen width when no sidebar is shown
 +
$wgTweekiSkinGridNone = [
 +
  "mainoffset" => 0,
 +
  "mainwidth" => 12
 +
];

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